Bug 214920 - kopete crashes on startup; (may be related to amarok crashing before) [qFree, QVector<QObjectPrivate::ConnectionList>::free, ~QVector]
Summary: kopete crashes on startup; (may be related to amarok crashing before) [qFree,...
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-17 04:32 UTC by Matt
Modified: 2009-12-14 22:10 UTC (History)
3 users (show)

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 Matt 2009-11-17 04:32:31 UTC
Application: kopete (0.99.80)
KDE Version: 4.3.75 (KDE 4.3.75 (KDE 4.4 >= 20091113)) (Compiled from sources)
Qt Version: 4.6.0
Operating System: Linux 2.6.30.5 x86_64
Distribution (Platform): Gentoo Packages

 -- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
[Current thread is 0 (LWP 5625)]

Thread 2 (Thread 0x7f8201b21910 (LWP 5630)):
[KCrash Handler]
#5  0x00007f82160a7d78 in ?? () from /lib/libc.so.6
#6  0x00007f82160a9ad0 in ?? () from /lib/libc.so.6
#7  0x00007f821801e2fc in qFree (ptr=0xa41790) at global/qmalloc.cpp:60
#8  0x00007f82181711f7 in QVector<QObjectPrivate::ConnectionList>::free (this=0xa44d70, x=0xa41790) at ../../include/QtCore/../../src/corelib/tools/qvector.h:423
#9  0x00007f8218171238 in ~QVector (this=0xa44d70) at ../../include/QtCore/../../src/corelib/tools/qvector.h:112
#10 0x00007f821817124f in ~QObjectConnectionListVector (this=0xa44d70) at kernel/qobject.cpp:259
#11 0x00007f821816ef15 in ~QObject (this=0x8e9190) at kernel/qobject.cpp:931
#12 0x00007f82180d5e5f in ~QIODevice (this=0x8e9190) at io/qiodevice.cpp:408
#13 0x00007f8219631b95 in ~QLocalSocket (this=0x8e9190) at socket/qlocalsocket.cpp:353
#14 0x00007f8218165513 in QObjectPrivate::deleteChildren (this=0xa44880) at kernel/qobject.cpp:1984
#15 0x00007f821816f103 in ~QObject (this=0xa40f10) at kernel/qobject.cpp:973
#16 0x00007f8201ead280 in ~Session (this=0xa40f10) at /opt/kde4/kdesvn/kdepimlibs/akonadi/session.cpp:273
#17 0x00007f8201eb0133 in QThreadStorage<Akonadi::Session*>::deleteData (x=0xa40f10) at /opt/qt4/include/QtCore/qthreadstorage.h:133
#18 0x00007f8218023b49 in QThreadStorageData::finish (p=0xa446d0) at thread/qthreadstorage.cpp:182
#19 0x00007f8218026436 in QThreadPrivate::finish (arg=0xa42f30) at thread/qthread_unix.cpp:284
#20 0x00007f82180269f2 in ~__pthread_cleanup_class (this=0x7f8201b21040) at /usr/include/pthread.h:535
#21 0x00007f8218026715 in QThreadPrivate::start (arg=0xa42f30) at thread/qthread_unix.cpp:249
#22 0x00007f8217d76257 in start_thread () from /lib/libpthread.so.0
#23 0x00007f82160ff81d in clone () from /lib/libc.so.6
#24 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f821c41e760 (LWP 5625)):
#0  0x00007f8217d7ad29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f821802524d in QMutexPrivate::wait (this=0x7b8630, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f821801ed1b in QMutex::lock (this=0x7b8a20) at thread/qmutex.cpp:205
#3  0x00007f8218171e55 in QOrderedMutexLocker::relock (this=0x7fff7bff5330) at ../../include/QtCore/private/../../../src/corelib/thread/qorderedmutexlocker_p.h:82
#4  0x00007f8218171f26 in QOrderedMutexLocker (this=0x7fff7bff5330, m1=0x7b8a20, m2=0x7b8a20) at ../../include/QtCore/private/../../../src/corelib/thread/qorderedmutexlocker_p.h:72
#5  0x00007f821816bd3d in QMetaObjectPrivate::connect (sender=0xa8aa90, signal_index=3, receiver=0xa8aa90, method_index=20, type=0, types=0x0) at kernel/qobject.cpp:3013
#6  0x00007f821816fbed in QObject::connect (sender=0xa8aa90, signal=0x7f821b21b8d1 "pluginDataChanged()", receiver=0xa8aa90, method=0x7f821b21b871 "persistentDataChanged()", type=Qt::AutoConnection)
    at kernel/qobject.cpp:2724
#7  0x00007f821b16f8a1 in QObject::connect (this=0xa8aa90, asender=0xa8aa90, asignal=0x7f821b21b8d0 "2pluginDataChanged()", amember=0x7f821b21b870 "2persistentDataChanged()", 
    atype=Qt::AutoCompatConnection) at /opt/qt4/include/QtCore/qobject.h:311
#8  0x00007f821b1d01b8 in MetaContact (this=0xa8aa90) at /opt/kde4/kdesvn/kdenetwork/kopete/libkopete/kopetemetacontact.cpp:55
#9  0x00007f821b192d1b in Kopete::XmlContactStorage::load (this=0xa1a410) at /opt/kde4/kdesvn/kdenetwork/kopete/libkopete/contactlist/xmlcontactstorage.cpp:198
#10 0x00007f821b1b9416 in Kopete::ContactList::load (this=0x90ba00) at /opt/kde4/kdesvn/kdenetwork/kopete/libkopete/kopetecontactlist.cpp:363
#11 0x000000000041611b in KopeteApplication::slotLoadPlugins (this=0x7fff7bff6b00) at /opt/kde4/kdesvn/kdenetwork/kopete/kopete/kopeteapplication.cpp:127
#12 0x0000000000416644 in KopeteApplication::qt_metacall (this=0x7fff7bff6b00, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff7bff5bd0)
    at /opt/kde4/build/kdenetwork/kopete/kopete/kopeteapplication.moc:79
#13 0x00007f8218158403 in QMetaObject::metacall (object=0x7fff7bff6b00, cl=QMetaObject::InvokeMetaMethod, idx=29, argv=0x7fff7bff5bd0) at kernel/qmetaobject.cpp:237
#14 0x00007f821816d757 in QMetaObject::activate (sender=0x9e4fe0, m=0x7f82184c23e0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3399
#15 0x00007f821817732e in QSingleShotTimer::timeout (this=0x9e4fe0) at .moc/debug-shared/qtimer.moc:82
#16 0x00007f821817746f in QSingleShotTimer::timerEvent (this=0x9e4fe0) at kernel/qtimer.cpp:308
#17 0x00007f8218167e96 in QObject::event (this=0x9e4fe0, e=0x7fff7bff66a0) at kernel/qobject.cpp:1210
#18 0x00007f8216d4568f in QApplicationPrivate::notify_helper (this=0x683470, receiver=0x9e4fe0, e=0x7fff7bff66a0) at kernel/qapplication.cpp:4245
#19 0x00007f8216d45aec in QApplication::notify (this=0x7fff7bff6b00, receiver=0x9e4fe0, e=0x7fff7bff66a0) at kernel/qapplication.cpp:3669
#20 0x00007f8218e79d01 in KApplication::notify (this=0x7fff7bff6b00, receiver=0x9e4fe0, event=0x7fff7bff66a0) at /opt/kde4/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:302
#21 0x00007f821815065d in QCoreApplication::notifyInternal (this=0x7fff7bff6b00, receiver=0x9e4fe0, event=0x7fff7bff66a0) at kernel/qcoreapplication.cpp:704
#22 0x00007f821a370ac1 in QCoreApplication::sendEvent () from /opt/qt4/lib/libQt3Support.so.4
#23 0x00007f821818f961 in QTimerInfoList::activateTimers (this=0x686af0) at kernel/qeventdispatcher_unix.cpp:603
#24 0x00007f821818d127 in timerSourceDispatch (source=0x686a90) at kernel/qeventdispatcher_glib.cpp:184
#25 0x00007f821192b65a in IA__g_main_context_dispatch (context=0x685d20) at gmain.c:1824
#26 0x00007f821192eca8 in g_main_context_iterate (context=0x685d20, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2455
#27 0x00007f821192ee5c in IA__g_main_context_iteration (context=0x685d20, may_block=1) at gmain.c:2518
#28 0x00007f821818be49 in QEventDispatcherGlib::processEvents (this=0x64ea10, flags={i = 2080336160}) at kernel/qeventdispatcher_glib.cpp:407
#29 0x00007f8216e2f60f in QGuiEventDispatcherGlib::processEvents (this=0x64ea10, flags={i = 2080336256}) at kernel/qguieventdispatcher_glib.cpp:202
#30 0x00007f821814cae7 in QEventLoop::processEvents (this=0x7fff7bff6a60, flags={i = 2080336368}) at kernel/qeventloop.cpp:149
#31 0x00007f821814cd0b in QEventLoop::exec (this=0x7fff7bff6a60, flags={i = 2080336496}) at kernel/qeventloop.cpp:201
#32 0x00007f82181510a7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#33 0x00007f8216d48298 in QApplication::exec () at kernel/qapplication.cpp:3578
#34 0x00000000004154b2 in main (argc=1, argv=0x7fff7bff7978) at /opt/kde4/kdesvn/kdenetwork/kopete/kopete/main.cpp:105

Reported using DrKonqi
Comment 1 Matt 2009-11-17 04:39:49 UTC
related to bug #214793  ?
Comment 2 Dario Andres 2009-11-19 02:10:17 UTC
Mh, it is crashing on Akonadi code...
Comment 3 Matt 2009-11-19 06:44:10 UTC
I am running glibc 2.10.1.  Related to this maybe:

http://swik.net/Gentoo/Planet+Gentoo/Patrick+Lauer:+%22Random+crashes%22+with+glibc+2.10+and+2.11/dalrp
Comment 4 Dario Andres 2009-11-21 16:46:59 UTC
- Have you tried the workaround mentioned over there? (". For me setting MALLOC_CHECK_="" before starting some of the affected packages seems to completely hide the error")
Comment 5 Matt 2009-11-23 15:01:54 UTC
Not yet. After those couple of days where I got those multiple crashes, I haven't had any more since then.
Comment 6 Dario Andres 2009-12-14 22:10:36 UTC
Ok, closing as WORKSFORME. Reopen if you experience it again. Thanks