Bug 172051 - Crash at startup in debug code
Summary: Crash at startup in debug code
Status: RESOLVED INTENTIONAL
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-02 20:47 UTC by Alex Merry
Modified: 2008-10-07 20:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Merry 2008-10-02 20:47:47 UTC
Version:           r866700 (using Devel)
Compiler:          gcc version 4.3.2 
OS:                Linux
Installed from:    Compiled sources

Crashed at startup.  May be a problem in KConfig or in Qt.

Thread 2 (Thread 0xa8663b90 (LWP 5468)):
[KCrash Handler]
#6  0xb4da84e8 in strcmp () from /lib/libc.so.6
#7  0xb7edabe8 in qstrcmp (str1=0xa <Address 0xa out of bounds>, str2=0x804e424 "") at tools/qbytearray.cpp:207
#8  0xb7b10c47 in operator< (k1=@0x9be5860, k2=@0xa8662f50) at /home/kde-devel/src/KDE/kdelibs/kdecore/config/kconfigdata.h:126
#9  0xb7b10ce3 in qMapLessThanKey<KEntryKey> (key1=@0x9be5860, key2=@0xa8662f50) at /home/kde-devel/src/qt-copy/include/QtCore/../../src/corelib/tools/qmap.h:106
#10 0xb7b10d42 in QMap<KEntryKey, KEntry>::findNode (this=0x9ba0678, akey=@0xa8662f50) at /home/kde-devel/src/qt-copy/include/QtCore/../../src/corelib/tools/qmap.h:428
#11 0xb7b10dd6 in QMap<KEntryKey, KEntry>::find (this=0x9ba0678, akey=@0xa8662f50) at /home/kde-devel/src/qt-copy/include/QtCore/../../src/corelib/tools/qmap.h:549
#12 0xb7b113e6 in KEntryMap::findEntry (this=0x9ba0678, group=@0xa8663028, key=@0xa8662fc8, flags={i = -1469698156}) at /home/kde-devel/src/KDE/kdelibs/kdecore/config/kconfigdata.h:210
#13 0xb7b1143b in KEntryMap::getEntryOption (this=0x9ba0678, group=@0xa8663028, key=@0xa8662fc8, flags={i = -1469698108}, option=KEntryMap::EntryImmutable)
    at /home/kde-devel/src/KDE/kdelibs/kdecore/config/kconfigdata.h:401
#14 0xb7b0b589 in KConfig::isGroupImmutableImpl (this=0x9ba03a8, aGroup=@0xa8663028) at /home/kde-devel/src/KDE/kdelibs/kdecore/config/kconfig.cpp:595
#15 0xb7b154c1 in KConfigBase::isGroupImmutable (this=0x9ba03a8, aGroup=@0xa8663028) at /home/kde-devel/src/KDE/kdelibs/kdecore/config/kconfigbase.cpp:91
#16 0xb7b1fbe6 in KConfigGroupPrivate (this=0x9ba63a8, owner=@0xa8663058, name=@0xa8663028) at /home/kde-devel/src/KDE/kdelibs/kdecore/config/kconfiggroup.cpp:59
#17 0xb7b17c3b in KConfigGroup (this=0xa86630c0, master=@0xa8663058, _group=0x9be58a0 "General") at /home/kde-devel/src/KDE/kdelibs/kdecore/config/kconfiggroup.cpp:579
#18 0xb7b27cc9 in KSharedConfig::groupImpl (this=0x9ba03a8, groupName=@0xa8663098) at /home/kde-devel/src/KDE/kdelibs/kdecore/config/ksharedconfig.cpp:79
#19 0xb7b15766 in KConfigBase::group (this=0x9ba03a8, str=0xafed5aa9 "General") at /home/kde-devel/src/KDE/kdelibs/kdecore/config/kconfigbase.cpp:56
#20 0xafb91f28 in Debug::debugEnabled () at /home/kde-devel/src/extragear/multimedia/amarok/src/collection/sqlcollection/../../Debug.h:104
#21 0xafb92041 in Debug::dbgstream () at /home/kde-devel/src/extragear/multimedia/amarok/src/collection/sqlcollection/../../Debug.h:112
#22 0xafbcca13 in debug () at /home/kde-devel/src/extragear/multimedia/amarok/src/collection/sqlcollection/../../Debug.h:132
#23 0xafbce4b9 in ThreadInitializer (this=0xa38bc58) at /home/kde-devel/src/extragear/multimedia/amarok/src/collection/sqlcollection/MySqlEmbeddedCollection.cpp:55
#24 0xafbce570 in ThreadInitializer::init () at /home/kde-devel/src/extragear/multimedia/amarok/src/collection/sqlcollection/MySqlEmbeddedCollection.cpp:79
#25 0xafbcd07b in MySqlEmbeddedCollection::query (this=0x9d40750, statement=@0xa8663230)
    at /home/kde-devel/src/extragear/multimedia/amarok/src/collection/sqlcollection/MySqlEmbeddedCollection.cpp:179
#26 0xafbb0758 in SqlQueryMaker::runQuery (this=0xa49e7c8, query=@0xa8663230) at /home/kde-devel/src/extragear/multimedia/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:643
#27 0xafbb854a in SqlWorkerThread::run (this=0xa6667c0) at /home/kde-devel/src/extragear/multimedia/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:55
#28 0xb64e184c in ThreadWeaver::JobRunHelper::runTheJob (this=0xa86632a0, th=0xa663448, job=0xa6667c0) at /home/kde-devel/src/KDE/kdelibs/threadweaver/Weaver/Job.cpp:106
#29 0xb64e1ac3 in ThreadWeaver::Job::execute (this=0xa6667c0, th=0xa663448) at /home/kde-devel/src/KDE/kdelibs/threadweaver/Weaver/Job.cpp:135
#30 0xb64e0cc2 in ThreadWeaver::ThreadRunHelper::run (this=0xa8663308, parent=0xa5263d8, th=0xa663448) at /home/kde-devel/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:95
#31 0xb64e0e18 in ThreadWeaver::Thread::run (this=0xa663448) at /home/kde-devel/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:142
#32 0xb7ed4635 in QThreadPrivate::start (arg=0xa663448) at thread/qthread_unix.cpp:191
#33 0xb7e49145 in start_thread () from /lib/libpthread.so.0
#34 0xb4e0363e in clone () from /lib/libc.so.6
Comment 1 Mark Kretschmann 2008-10-02 23:04:46 UTC
Was this a random one-off crash, or are you able to reproduce this reliably?
Comment 2 Alex Merry 2008-10-03 22:18:49 UTC
Sorry, should have said.  It was a one-off thing.
Comment 3 Mark Kretschmann 2008-10-04 01:47:31 UTC
Well Alex, as we're both coders, I'm simply gonna ask you: What should we do with this report? We could reassign it to kdelibs, or close it and just assume it was a heisenbug ;)

Just keeping it open here in this state is probably not gonna do much good.
Comment 4 Alex Merry 2008-10-07 20:54:29 UTC
I'm not sure it's worth hunting down a rare race condition in the debugging code.  I suspect it's Amarok's fault, so I don't think it should be transferred, at least not until that possibility has been checked and eliminated.

I'll close it as WONTFIX on the basis it's probably not worth the effort.