Bug 215085

Summary: Kontact crashes closing duplicated instances
Product: [Applications] kontact Reporter: Daniel Molina Wegener <dmw>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniel Molina Wegener 2009-11-18 09:27:13 UTC
Application that crashed: kontact
Version of the application: 4.3.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Kontact has started with a duplicated instance (two instances
running at time). When I was closing one of them it crashed.
I don't know if really there are more details about those
instances, but certainly both has crashed.


 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77d5700 (LWP 3244))]

Thread 3 (Thread 0xb041eb70 (LWP 3327)):
#0  0x00828422 in __kernel_vsyscall ()
#1  0x02198142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x025df7e4 in __pthread_cond_timedwait (cond=0xa014c48, mutex=0xa014c30, abstime=0xb041e2a0) at forward.c:152
#3  0x07077def in QWaitConditionPrivate::wait (this=0xa021c90, mutex=0xa021c8c, time=30000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0xa021c90, mutex=0xa021c8c, time=30000) at thread/qwaitcondition_unix.cpp:159
#5  0x0706c9ae in QThreadPoolThread::run (this=0xa033280) at concurrent/qthreadpool.cpp:140
#6  0x07076e32 in QThreadPrivate::start (arg=0xa033280) at thread/qthread_unix.cpp:188
#7  0x0219380e in start_thread (arg=0xb041eb70) at pthread_create.c:300
#8  0x025d27ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xafaffb70 (LWP 3332)):
#0  0x00828422 in __kernel_vsyscall ()
#1  0x02198142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x025df7e4 in __pthread_cond_timedwait (cond=0xa014c48, mutex=0xa014c30, abstime=0xafaff2a0) at forward.c:152
#3  0x07077def in QWaitConditionPrivate::wait (this=0xa021c90, mutex=0xa021c8c, time=30000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0xa021c90, mutex=0xa021c8c, time=30000) at thread/qwaitcondition_unix.cpp:159
#5  0x0706c9ae in QThreadPoolThread::run (this=0x9a41158) at concurrent/qthreadpool.cpp:140
#6  0x07076e32 in QThreadPrivate::start (arg=0x9a41158) at thread/qthread_unix.cpp:188
#7  0x0219380e in start_thread (arg=0xafaffb70) at pthread_create.c:300
#8  0x025d27ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77d5700 (LWP 3244)):
[KCrash Handler]
#6  QBasicAtomicInt::ref (this=0xa061450, job=0xa062260, uds=...) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#7  QString (this=0xa061450, job=0xa062260, uds=...) at /usr/include/qt4/QtCore/qstring.h:712
#8  jobData (this=0xa061450, job=0xa062260, uds=...) at ../../kmail/imapaccountbase.h:146
#9  QMap<KJob*, KMail::ImapAccountBase::jobData>::node_create (this=0xa061450, job=0xa062260, uds=...) at /usr/include/qt4/QtCore/qmap.h:421
#10 QMap<KJob*, KMail::ImapAccountBase::jobData>::detach_helper (this=0xa061450, job=0xa062260, uds=...) at /usr/include/qt4/QtCore/qmap.h:708
#11 QMap<KJob*, KMail::ImapAccountBase::jobData>::detach (this=0xa061450, job=0xa062260, uds=...) at /usr/include/qt4/QtCore/qmap.h:172
#12 QMap<KJob*, KMail::ImapAccountBase::jobData>::find (this=0xa061450, job=0xa062260, uds=...) at /usr/include/qt4/QtCore/qmap.h:565
#13 KMail::ImapAccountBase::findJob (this=0xa061450, job=0xa062260, uds=...) at ../../kmail/imapaccountbase.h:180
#14 KMail::ListJob::slotListEntries (this=0xa061450, job=0xa062260, uds=...) at ../../kmail/listjob.cpp:189
#15 0xb436ff86 in KMail::ListJob::qt_metacall (this=0xa061450, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbfe17494) at ./listjob.moc:78
#16 0x0717d263 in QMetaObject::activate (sender=0xa062260, from_signal_index=40, to_signal_index=40, argv=0xbfe17494) at kernel/qobject.cpp:3113
#17 0x0717dec2 in QMetaObject::activate (sender=0xa062260, m=0x3e9d3a0, local_signal_index=0, argv=0xbfe17494) at kernel/qobject.cpp:3187
#18 0x03ce53a9 in KIO::ListJob::entries (this=0xa062260, _t1=0xa062260, _t2=...) at ./jobclasses.moc:781
#19 0x03cf40ab in KIO::ListJobPrivate::slotListEntries (this=0xa061eb8, list=...) at ../../kio/kio/job.cpp:2333
#20 0x03cf4458 in KIO::ListJob::qt_metacall (this=0xa062260, _c=QMetaObject::InvokeMetaMethod, _id=46, _a=0xbfe17698) at ./jobclasses.moc:767
#21 0x0717d263 in QMetaObject::activate (sender=0x9d864e8, from_signal_index=10, to_signal_index=10, argv=0xbfe17698) at kernel/qobject.cpp:3113
#22 0x0717dec2 in QMetaObject::activate (sender=0x9d864e8, m=0x3e9ff64, local_signal_index=6, argv=0xbfe17698) at kernel/qobject.cpp:3187
#23 0x03db74a3 in KIO::SlaveInterface::listEntries (this=0x9d864e8, _t1=...) at ./slaveinterface.moc:179
#24 0x03dbb397 in KIO::SlaveInterface::dispatch (this=0x9d864e8, _cmd=106, rawdata=...) at ../../kio/kio/slaveinterface.cpp:193
#25 0x03db7a13 in KIO::SlaveInterface::dispatch (this=0x9d864e8) at ../../kio/kio/slaveinterface.cpp:91
#26 0x03da9aea in KIO::Slave::gotInput (this=0x9d864e8) at ../../kio/kio/slave.cpp:322
#27 0x03dabee3 in KIO::Slave::qt_metacall (this=0x9d864e8, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfe1792c) at ./slave.moc:76
#28 0x0717d263 in QMetaObject::activate (sender=0x9cabe30, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#29 0x0717dec2 in QMetaObject::activate (sender=0x9cabe30, m=0x3e9c8a0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#30 0x03cb3f97 in KIO::Connection::readyRead (this=0x9cabe30) at ./connection.moc:86
#31 0x03cb5d5e in KIO::ConnectionPrivate::dequeue (this=0x9d5d3a0) at ../../kio/kio/connection.cpp:82
#32 0x03cb5e8e in KIO::Connection::qt_metacall (this=0x9cabe30, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x9d3fee8) at ./connection.moc:73
#33 0x07175f0b in QMetaCallEvent::placeMetaCall (this=0x94d8360, object=0x9cabe30) at kernel/qobject.cpp:477
#34 0x071775fe in QObject::event (this=0x9cabe30, e=0x94d8360) at kernel/qobject.cpp:1111
#35 0x00de5f54 in QApplicationPrivate::notify_helper (this=0x912b308, receiver=0x9cabe30, e=0x94d8360) at kernel/qapplication.cpp:4056
#36 0x00ded67c in QApplication::notify (this=0xbfe181c4, receiver=0x9cabe30, e=0x94d8360) at kernel/qapplication.cpp:3603
#37 0x00b05bfa in KApplication::notify (this=0xbfe181c4, receiver=0x9cabe30, event=0x94d8360) at ../../kdeui/kernel/kapplication.cpp:302
#38 0x071676cb in QCoreApplication::notifyInternal (this=0xbfe181c4, receiver=0x9cabe30, event=0x94d8360) at kernel/qcoreapplication.cpp:610
#39 0x071682b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x90f9820) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x90f9820) at kernel/qcoreapplication.cpp:1247
#41 0x0716847d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#42 0x071923ff in QCoreApplication::sendPostedEvents (s=0x911fb90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#43 postEventSourceDispatch (s=0x911fb90) at kernel/qeventdispatcher_glib.cpp:210
#44 0x02110e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#45 0x02114720 in ?? () from /lib/libglib-2.0.so.0
#46 0x02114853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#47 0x0719202c in QEventDispatcherGlib::processEvents (this=0x90f99f8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#48 0x00e86be5 in QGuiEventDispatcherGlib::processEvents (this=0x90f99f8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#49 0x07165c79 in QEventLoop::processEvents (this=0xbfe18124, flags=) at kernel/qeventloop.cpp:149
#50 0x071660ca in QEventLoop::exec (this=0xbfe18124, flags=...) at kernel/qeventloop.cpp:201
#51 0x0716853f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#52 0x00de5dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#53 0x0804b4e6 in main (argc=3, argv=0xbfe183e4) at ../../../kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-18 12:54:46 UTC
Merging with bug 204107. Thanks

*** This bug has been marked as a duplicate of bug 204107 ***