Bug 308548

Summary: Connecting to a wifi network crashed kontact
Product: [Applications] kontact Reporter: Beat Wolf <asraniel>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: michael.brach
Priority: NOR    
Version: 4.9.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Beat Wolf 2012-10-17 12:10:00 UTC
Application: kontact (4.9.2)
KDE Platform Version: 4.9.2
Qt Version: 4.8.2
Operating System: Linux 3.2.0-32-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I was connecting to a wifi network when kontact which was running in the background suddenly crashed.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb79281c7c0 (LWP 1876))]

Thread 4 (Thread 0x7fb7763b8700 (LWP 1894)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb78f00bdec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fb78f00bf19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fb78a4c0e9a in start_thread (arg=0x7fb7763b8700) at pthread_create.c:308
#4  0x00007fb78fd40dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb775bb7700 (LWP 1896)):
#0  0x00007fb78fd35403 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb789ff4036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb789ff4164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb7904b6906 in QEventDispatcherGlib::processEvents (this=0x7fb7700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fb790485e42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fb790486097 in QEventLoop::exec (this=0x7fb775bb6dc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fb790385057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fb79038807b in QThreadPrivate::start (arg=0x1744de0) at thread/qthread_unix.cpp:307
#8  0x00007fb78a4c0e9a in start_thread (arg=0x7fb775bb7700) at pthread_create.c:308
#9  0x00007fb78fd40dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb723da0700 (LWP 1945)):
#0  0x00007fb78fd35403 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb789ff4036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb789ff4164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb7904b6906 in QEventDispatcherGlib::processEvents (this=0x7fb71c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fb790485e42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fb790486097 in QEventLoop::exec (this=0x7fb723d9fd90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fb790385057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fb790465b4f in QInotifyFileSystemWatcherEngine::run (this=0x1cd6fd0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fb79038807b in QThreadPrivate::start (arg=0x1cd6fd0) at thread/qthread_unix.cpp:307
#9  0x00007fb78a4c0e9a in start_thread (arg=0x7fb723da0700) at pthread_create.c:308
#10 0x00007fb78fd40dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb79281c7c0 (LWP 1876)):
[KCrash Handler]
#6  0x00007fb72d8084da in MailCommon::Util::updatedCollection (col=...) at ../../mailcommon/mailutil.cpp:602
#7  0x00007fb72db86e23 in KMKernel::setAccountStatus (this=<optimized out>, goOnline=true) at ../../kmail/kmkernel.cpp:958
#8  0x00007fb72db87059 in KMKernel::slotSystemNetworkStatusChanged (this=<optimized out>, status=Solid::Networking::Connected) at ../../kmail/kmkernel.cpp:1057
#9  0x00007fb72db8da10 in KMKernel::qt_static_metacall (_o=0x1b1b240, _c=<optimized out>, _id=<optimized out>, _a=0x7fff60db4620) at ./kmkernel.moc:199
#10 0x00007fb79049b761 in QMetaObject::activate (sender=0x1afa010, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff60db4620) at kernel/qobject.cpp:3547
#11 0x00007fb7866ce11e in Solid::Networking::Notifier::statusChanged (this=<optimized out>, _t1=Solid::Networking::Connected) at ./networking.moc:104
#12 0x00007fb79049b761 in QMetaObject::activate (sender=0x1b0b350, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff60db4770) at kernel/qobject.cpp:3547
#13 0x00007fb786733d3e in OrgKdeSolidNetworkingClientInterface::statusChanged (this=<optimized out>, _t1=4) at org_kde_solid_networking_client.moc:132
#14 0x00007fb786733d8e in OrgKdeSolidNetworkingClientInterface::qt_static_metacall (_o=0x1b0b350, _c=<optimized out>, _id=<optimized out>, _a=0x7fff60db4a70) at org_kde_solid_networking_client.moc:58
#15 0x00007fb78673420f in OrgKdeSolidNetworkingClientInterface::qt_metacall (this=0x1b0b350, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff60db4a70) at org_kde_solid_networking_client.moc:99
#16 0x00007fb78cbfe37b in QDBusConnectionPrivate::deliverCall (this=0x15ece90, object=0x1b0b350, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:947
#17 0x00007fb7904a0926 in QObject::event (this=0x1b0b350, e=<optimized out>) at kernel/qobject.cpp:1195
#18 0x00007fb790e817b4 in notify_helper (e=0x2ab8450, receiver=0x1b0b350, this=0x1603300) at kernel/qapplication.cpp:4556
#19 QApplicationPrivate::notify_helper (this=0x1603300, receiver=0x1b0b350, e=0x2ab8450) at kernel/qapplication.cpp:4528
#20 0x00007fb790e86583 in QApplication::notify (this=0x7fff60db5470, receiver=0x1b0b350, e=0x2ab8450) at kernel/qapplication.cpp:4417
#21 0x00007fb791bbc756 in KApplication::notify (this=0x7fff60db5470, receiver=0x1b0b350, event=0x2ab8450) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007fb79048730c in QCoreApplication::notifyInternal (this=0x7fff60db5470, receiver=0x1b0b350, event=0x2ab8450) at kernel/qcoreapplication.cpp:915
#23 0x00007fb79048b0ea in sendEvent (event=0x2ab8450, receiver=0x1b0b350) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x15cc380) at kernel/qcoreapplication.cpp:1539
#25 0x00007fb7904b6473 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#26 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#27 0x00007fb789ff3d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fb789ff40a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fb789ff4164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fb7904b689f in QEventDispatcherGlib::processEvents (this=0x15cdc10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#31 0x00007fb790f29cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007fb790485e42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007fb790486097 in QEventLoop::exec (this=0x7fff60db5400, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007fb79048b3e7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#35 0x00000000004035c9 in main (argc=3, argv=0x7fff60db5a98) at ../../../kontact/src/main.cpp:219

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-02-03 10:14:20 UTC
*** Bug 304372 has been marked as a duplicate of this bug. ***
Comment 2 Denis Kurz 2016-09-24 19:26:51 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 21:50:45 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.