-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
5.0.0
-
None
-
qt/qtconnectivity bd4df1e8e148cee77f76830a43ddc044b7a6903c
Ubuntu 10.04 x86 32-bit
The tst_qndefmessage autotest segfaults, stably.
[rmcgover@bq-menoetius qndefmessage]$ make -j1 check master
./tst_qndefmessage
********* Start testing of tst_QNdefMessage *********
Config: Using QTest library 5.0.0, Qt 5.0.0
PASS : tst_QNdefMessage::initTestCase()
QFATAL : tst_QNdefMessage::tst_parse(nfc-rtd uri http://qt.nokia.com/) Received signal 11
FAIL! : tst_QNdefMessage::tst_parse(nfc-rtd uri http://qt.nokia.com/) Received a fatal error.
Loc: [Unknown file(0)]
Totals: 1 passed, 1 failed, 0 skipped
********* Finished testing of tst_QNdefMessage *********
make: *** [check] Aborted
[rmcgover@bq-menoetius qndefmessage]$ gdb --args ./tst_qndefmessage 'tst_parse:nfc-rtd uri http://qt.nokia.com/' master
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/rmcgover/build/qt/qt5/qtconnectivity/tests/auto/qndefmessage/tst_qndefmessage...done.
(gdb) r
Starting program: /home/rmcgover/build/qt/qt5/qtconnectivity/tests/auto/qndefmessage/tst_qndefmessage tst_parse:nfc-rtd\ uri\ http://qt.nokia.com/
[Thread debugging using libthread_db enabled]
********* Start testing of tst_QNdefMessage *********
Config: Using QTest library 5.0.0, Qt 5.0.0
PASS : tst_QNdefMessage::initTestCase()
Program received signal SIGSEGV, Segmentation fault.
0xb7f9c905 in QConcatenable<QLatin1String>::appendTo (a=..., out=@0xbfffe1b4)
at /home/rmcgover/build/qt/qt5/qtbase/include/QtCore/../../src/corelib/tools/qstringbuilder.h:224
224 for (const char *s = a.data(); *s; )
(gdb) bt
#0 0xb7f9c905 in QConcatenable<QLatin1String>::appendTo (a=..., out=@0xbfffe1b4)
at /home/rmcgover/build/qt/qt5/qtbase/include/QtCore/../../src/corelib/tools/qstringbuilder.h:224
#1 0xb7f9cadc in QConcatenable<QStringBuilder<QLatin1String, QString> >::appendTo<QChar> (p=..., out=@0xbfffe1b4)
at /home/rmcgover/build/qt/qt5/qtbase/include/QtCore/../../src/corelib/tools/qstringbuilder.h:405
#2 0xb7f9ca69 in QStringBuilder<QLatin1String, QString>::convertTo<QString> (this=0xbfffe22c)
at /home/rmcgover/build/qt/qt5/qtbase/include/QtCore/../../src/corelib/tools/qstringbuilder.h:110
#3 0xb7f9c9e1 in QStringBuilder<QLatin1String, QString>::operator QString (this=0xbfffe22c)
at /home/rmcgover/build/qt/qt5/qtbase/include/QtCore/../../src/corelib/tools/qstringbuilder.h:123
#4 0xb7f9c306 in QNdefNfcUriRecord::uri (this=0xbfffe2ac) at qndefnfcurirecord.cpp:113
#5 0x0804dc36 in tst_QNdefMessage::tst_parse (this=0xbfffecd0) at tst_qndefmessage.cpp:406
#6 0x0804e0ce in tst_QNdefMessage::qt_static_metacall (_o=0xbfffecd0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfffe3b0) at tst_qndefmessage.moc:51
#7 0xb7d6e3e8 in QMetaMethod::invoke (this=0xbfffe51c, object=0xbfffecd0, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=...,
val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1647
#8 0xb7d6d80a in QMetaObject::invokeMethod (obj=0xbfffecd0, member=0x805d748 "tst_parse", type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=...,
val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1189
#9 0xb7fc40a6 in QMetaObject::invokeMethod (obj=0xbfffecd0, member=0x805d748 "tst_parse", type=Qt::DirectConnection, val0=..., val1=..., val2=..., val3=..., val4=...,
val5=..., val6=..., val7=..., val8=..., val9=...) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:406
#10 0xb7fc164d in qInvokeTestMethodDataEntry (slot=0x805d748 "tst_parse") at qtestcase.cpp:1375
#11 0xb7fc1c6f in qInvokeTestMethod (slotName=0x80504a3 "tst_parse()", data=0x805d978 "nfc-rtd uri http://qt.nokia.com/") at qtestcase.cpp:1483
#12 0xb7fc2324 in qInvokeTestMethods (testObject=0xbfffecd0) at qtestcase.cpp:1626
#13 0xb7fc2b39 in QTest::qExec (testObject=0xbfffecd0, argc=2, argv=0xbfffeda4) at qtestcase.cpp:1854
#14 0x0804e002 in main (argc=2, argv=0xbfffeda4) at tst_qndefmessage.cpp:416
(gdb)