qt4 w sparc64

Tomasz Mateja tommat w pimpek.one.pl
Pią, 11 Kwi 2008, 19:07:45 CEST


qt4 z HEAD (w zasadzie kazda inna wczesniejsza wersja miala to samo)
wywala sie tak:
/home/users/builder/rpm/BUILD/qt-x11-opensource-src-4.3.4/bin/rcc -name 
qstyle styles/qstyle.qrc -o .rcc/release-static/qrc_qstyle.cpp
Bus error

Co ciekawe:
[builder w moon gui]$ gdb 
/home/users/builder/rpm/BUILD/qt-x11-opensource-src-4.3.4/bin/rcc
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "sparc64-pld-linux"...
Using host libthread_db library "/lib64/libthread_db.so.1".
(gdb) break QVector<QXmlSimpleReaderPrivate::XmlRef>::operator=
Breakpoint 1 at 0x1aeda4: file 
../../../include/QtCore/../../src/corelib/tools/qvector.h, line 357.
(gdb) run -name qstyle styles/qstyle.qrc -o 
.rcc/release-static/qrc_qstyle.cpp
Starting program: 
/home/users/builder/rpm/BUILD/qt-x11-opensource-src-4.3.4/bin/rcc -name 
qstyle styles/qstyle.qrc -o .rcc/release-static/qrc_qstyle.cpp

Breakpoint 1, QVector<QXmlSimpleReaderPrivate::XmlRef>::operator= 
(this=0x2fb3e8, v=@0x7feffe408a8) at 
../../../include/QtCore/../../src/corelib/tools/qvector.h:357
357         typename QVector::Data *x = v.d;
(gdb) s
355     QVector<T> &QVector<T>::operator=(const QVector<T> &v)
(gdb) s
80      { return ++(*ptr); }
(gdb) s
94          register void *ret = *reinterpret_cast<void * volatile *>(ptr);
(gdb) s
95          *reinterpret_cast<void * volatile *>(ptr) = newval;
(gdb) s
83      { return --(*ptr); }
(gdb) s
360         if (!x->ref.deref())
(gdb) s
362         if (!d->sharable)
(gdb) p this.d->sharable
$1 = 1
(gdb) s

Program received signal SIGBUS, Bus error.
0x00000000001aede8 in 
QVector<QXmlSimpleReaderPrivate::XmlRef>::operator= (this=0x2fb3e8, 
v=<value optimized out>) at 
../../../include/QtCore/../../src/corelib/tools/qvector.h:362
362         if (!d->sharable)
(gdb) bt
#0  0x00000000001aede8 in 
QVector<QXmlSimpleReaderPrivate::XmlRef>::operator= (this=0x2fb3e8, 
v=<value optimized out>) at 
../../../include/QtCore/../../src/corelib/tools/qvector.h:362
#1  0x000000000019b9dc in QXmlSimpleReaderPrivate::initData 
(this=0x2fb3c0) at 
../../../include/QtCore/../../src/corelib/tools/qvector.h:313
#2  0x000000000019f5e8 in QXmlSimpleReaderPrivate::init (this=0x2fb3c0, 
i=<value optimized out>) at ../../xml/qxml.cpp:7949
#3  0x00000000001abab8 in QXmlSimpleReader::parse (this=<value optimized 
out>, input=0x7feffe40e40, incremental=false) at ../../xml/qxml.cpp:3394
#4  0x000000000019729c in QXmlSimpleReader::parse (this=0x7feffe40d58, 
input=0x7feffe40e40) at ../../xml/qxml.cpp:3356
#5  0x0000000000190998 in QDomDocumentPrivate::setContent (this=<value 
optimized out>, source=0x7feffe40e40, reader=0x7feffe40d58, 
errorMsg=0x7feffe412e8, errorLine=0x7feffe41348,
     errorColumn=0x7feffe41344) at ../../xml/qdom.cpp:6255
#6  0x0000000000190b60 in QDomDocumentPrivate::setContent 
(this=0x2fb200, source=0x7feffe40e40, namespaceProcessing=false, 
errorMsg=0x7feffe412e8, errorLine=0x7feffe41348, errorColumn=0x7feffe41344)
     at ../../xml/qdom.cpp:6236
#7  0x000000000019363c in QDomDocument::setContent (this=0x7feffe41328, 
dev=0x7feffe41418, namespaceProcessing=false, errorMsg=0x7feffe412e8, 
errorLine=0x7feffe41348, errorColumn=0x7feffe41344)
     at ../../xml/qdom.cpp:6802
#8  0x00000000001936a0 in QDomDocument::setContent (this=0x7feffe41328, 
dev=0x7feffe41418, errorMsg=0x7feffe412e8, errorLine=0x7feffe41348, 
errorColumn=0x7feffe41344) at ../../xml/qdom.cpp:6844
#9  0x000000000010706c in RCCResourceLibrary::interpretResourceFile 
(this=0x7feffe41550, inputDevice=0x7feffe41418, fname=@0x7feffe41438, 
currentPath=@0x7feffe41430, ignoreErrors=false) at rcc.cpp:250
#10 0x0000000000108be0 in RCCResourceLibrary::readFiles 
(this=0x7feffe41550, ignoreErrors=false) at rcc.cpp:424
#11 0x00000000001027bc in processResourceFile 
(filenamesIn=@0x7feffe41778, filenameOut=@0x7feffe41780, list=false) at 
main.cpp:72
#12 0x000000000010322c in main (argc=6, argv=0x6) at main.cpp:199

Pozdrawiam.

-- 
T.


Więcej informacji o liście dyskusyjnej pld-devel-pl