Bug 311213

Summary: kdeinit crashes during network-manager restart
Product: [Unmaintained] kdelibs Reporter: Robert Auch <rauch>
Component: kdedAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Robert Auch 2012-12-05 16:44:32 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.9.2
Qt Version: 4.8.3
Operating System: Linux 3.5.7.20121204c x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:

Turning dnsmasq back on in the /etc/NetworkManager/NetworkManager.conf configuratoin, then ran "restart network-manager" while connected to wired, wireless, and VPN connections. one of the kdeinit processes then segfaulted.  This didn't happen during the first restart, when I disabled dnsmasq in network manager.

I haven't retried reproducing the issue yet.

-- Backtrace:
Application: KDE Daemon (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f55b191a780 (LWP 6124))]

Thread 6 (Thread 0x7f5599fb9700 (LWP 6142)):
#0  0x00007f55b3a4e9c2 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f55b3a4ec29 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f55b3a1104e in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f55b3a11c64 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f55b3a11ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f55b7f41c16 in QEventDispatcherGlib::processEvents (this=0x7f558c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f55b7f122bf in QEventLoop::processEvents (this=this@entry=0x7f5599fb8dd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f55b7f12548 in QEventLoop::exec (this=0x7f5599fb8dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f55b7e13b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f55b7ef29af in QInotifyFileSystemWatcherEngine::run (this=0xc3dd90) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f55b7e16aec in QThreadPrivate::start (arg=0xc3dd90) at thread/qthread_unix.cpp:338
#11 0x00007f55b42eae9a in start_thread (arg=0x7f5599fb9700) at pthread_create.c:308
#12 0x00007f55b6b20cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f558a701700 (LWP 6155)):
#0  0x00007f55b7df8c00 in __tls_get_addr@plt () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#1  0x00007f55b7e157ff in get_thread_data () at thread/qthread_unix.cpp:182
#2  QThreadData::current () at thread/qthread_unix.cpp:208
#3  0x00007f55b7f414d9 in postEventSourcePrepare (s=0x7f55840012d0, timeout=0x7f558a700c14) at kernel/qeventdispatcher_glib.cpp:256
#4  0x00007f55b3a11618 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f55b3a11cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f55b3a11ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f55b7f41c16 in QEventDispatcherGlib::processEvents (this=0x7f55840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#8  0x00007f55b7f122bf in QEventLoop::processEvents (this=this@entry=0x7f558a700dd0, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f55b7f12548 in QEventLoop::exec (this=0x7f558a700dd0, flags=...) at kernel/qeventloop.cpp:204
#10 0x00007f55b7e13b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#11 0x00007f559cbaf352 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#12 0x00007f55b7e16aec in QThreadPrivate::start (arg=0xd8f540) at thread/qthread_unix.cpp:338
#13 0x00007f55b42eae9a in start_thread (arg=0x7f558a701700) at pthread_create.c:308
#14 0x00007f55b6b20cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f5589f00700 (LWP 6156)):
#0  0x00007f55b6b15303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f55b3a11d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f55b3a11ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f55b7f41c16 in QEventDispatcherGlib::processEvents (this=0x7f557c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f55b7f122bf in QEventLoop::processEvents (this=this@entry=0x7f5589effe00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f55b7f12548 in QEventLoop::exec (this=0x7f5589effe00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f55b7e13b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f55b7e16aec in QThreadPrivate::start (arg=0xd722c0) at thread/qthread_unix.cpp:338
#8  0x00007f55b42eae9a in start_thread (arg=0x7f5589f00700) at pthread_create.c:308
#9  0x00007f55b6b20cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f5583557700 (LWP 6193)):
#0  __pthread_mutex_lock (mutex=0x7f5578000a60) at pthread_mutex_lock.c:92
#1  0x00007f55b3a4ec31 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f55b3a11897 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f55b3a11d22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f55b3a11ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f55b7f41c16 in QEventDispatcherGlib::processEvents (this=0x7f55780008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f55b7f122bf in QEventLoop::processEvents (this=this@entry=0x7f5583556dd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f55b7f12548 in QEventLoop::exec (this=0x7f5583556dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f55b7e13b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f55b7ef29af in QInotifyFileSystemWatcherEngine::run (this=0xeb3eb0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f55b7e16aec in QThreadPrivate::start (arg=0xeb3eb0) at thread/qthread_unix.cpp:338
#11 0x00007f55b42eae9a in start_thread (arg=0x7f5583557700) at pthread_create.c:308
#12 0x00007f55b6b20cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f559a7ba700 (LWP 11629)):
#0  0x00007f55b6b138bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f55b3a4df6f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f55b3a11914 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f55b3a11d22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f55b3a11ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f55b7f41c16 in QEventDispatcherGlib::processEvents (this=0x7f55940034e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f55b7f122bf in QEventLoop::processEvents (this=this@entry=0x7f559a7b9e00, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f55b7f12548 in QEventLoop::exec (this=0x7f559a7b9e00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f55b7e13b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f55b7e16aec in QThreadPrivate::start (arg=0xf19f80) at thread/qthread_unix.cpp:338
#10 0x00007f55b42eae9a in start_thread (arg=0x7f559a7ba700) at pthread_create.c:308
#11 0x00007f55b6b20cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f55b191a780 (LWP 6124)):
[KCrash Handler]
#6  0x00007f558bb89e96 in Solid::Control::WiredNetworkInterfaceNm09::d_func() const () from /usr/lib/libsolidcontrolnm09.so.4
#7  0x00007f558bb89b58 in Solid::Control::WiredNetworkInterfaceNm09::carrier() const () from /usr/lib/libsolidcontrolnm09.so.4
#8  0x00007f55980a1480 in WiredNetworkInterfaceActivatableProvider::handleAdd(Knm::Connection*) () from /usr/lib/libknmservice.so.4
#9  0x00007f5598091850 in ConnectionList::addConnection(Knm::Connection*) () from /usr/lib/libknmservice.so.4
#10 0x00007f558bdd8dc9 in NMDBusSettingsConnectionProvider::initialiseAndRegisterRemoteConnection(QString const&) () from /usr/lib/libknm_nm.so
#11 0x00007f558bdd8768 in NMDBusSettingsConnectionProvider::initConnections() () from /usr/lib/libknm_nm.so
#12 0x00007f558bdd9551 in NMDBusSettingsConnectionProvider::serviceOwnerChanged(QString const&, QString const&, QString const&) () from /usr/lib/libknm_nm.so
#13 0x00007f558bdaa7f1 in NMDBusSettingsConnectionProvider::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libknm_nm.so
#14 0x00007f55b7f28f5f in QMetaObject::activate (sender=0xbf63a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff77b49a00) at kernel/qobject.cpp:3547
#15 0x00007f55b52c717f in QDBusConnectionInterface::serviceOwnerChanged (this=<optimized out>, _t1=..., _t2=..., _t3=...) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:224
#16 0x00007f55b52c73b1 in QDBusConnectionInterface::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff77b49c80) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:114
#17 0x00007f55b7f28f5f in QMetaObject::activate (sender=0xbf63a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff77b49c80) at kernel/qobject.cpp:3547
#18 0x00007f55b52c724f in QDBusConnectionInterface::NameOwnerChanged (this=<optimized out>, _t1=..., _t2=..., _t3=...) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:252
#19 0x00007f55b52c7411 in QDBusConnectionInterface::qt_static_metacall (_o=_o@entry=0xbf63a0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=6, _a=_a@entry=0x7fff77b49fb0) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:118
#20 0x00007f55b52c7bef in QDBusConnectionInterface::qt_metacall (this=0xbf63a0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff77b49fb0) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:177
#21 0x00007f55b528aed3 in QDBusConnectionPrivate::deliverCall (this=0xbf2810, object=0xbf63a0, msg=..., metaTypes=..., slotIdx=11) at qdbusintegrator.cpp:947
#22 0x00007f55b7f2843e in QObject::event (this=0xbf63a0, e=<optimized out>) at kernel/qobject.cpp:1195
#23 0x00007f55b72bae9c in QApplicationPrivate::notify_helper (this=this@entry=0xab44e0, receiver=receiver@entry=0xbf63a0, e=e@entry=0x11fb510) at kernel/qapplication.cpp:4562
#24 0x00007f55b72bf30a in QApplication::notify (this=0x7fff77b4abb0, receiver=0xbf63a0, e=0x11fb510) at kernel/qapplication.cpp:4423
#25 0x00007f55b8c8c1d6 in KApplication::notify (this=0x7fff77b4abb0, receiver=0xbf63a0, event=0x11fb510) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00007f55b7f1356e in QCoreApplication::notifyInternal (this=0x7fff77b4abb0, receiver=receiver@entry=0xbf63a0, event=event@entry=0x11fb510) at kernel/qcoreapplication.cpp:915
#27 0x00007f55b7f173f1 in sendEvent (event=0x11fb510, receiver=0xbf63a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa1d2b0) at kernel/qcoreapplication.cpp:1539
#29 0x00007f55b7f41a63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#30 postEventSourceDispatch (s=0xab5650) at kernel/qeventdispatcher_glib.cpp:279
#31 0x00007f55b3a11ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f55b3a11de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f55b3a11ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f55b7f41bf6 in QEventDispatcherGlib::processEvents (this=0xa1f7d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007f55b735fc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f55b7f122bf in QEventLoop::processEvents (this=this@entry=0x7fff77b4a930, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f55b7f12548 in QEventLoop::exec (this=0x7fff77b4a930, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007f55b7f17708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#39 0x00007f55a4a483f0 in kdemain (argc=1, argv=0xa6a520) at ../../kded/kded.cpp:924
#40 0x00000000004085a2 in launch (argc=argc@entry=1, _name=_name@entry=0x40b226 "kded4", args=args@entry=0x0, cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x0, reset_env=reset_env@entry=false, tty=tty@entry=0x0, avoid_loops=avoid_loops@entry=false, startup_id_str=startup_id_str@entry=0x40b0b6 "0") at ../../kinit/kinit.cpp:746
#41 0x0000000000405a99 in main (argc=4, argv=<optimized out>, envp=0x7fff77b4b5c0) at ../../kinit/kinit.cpp:1861

Possible duplicates by query: bug 310724, bug 309237.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-12-05 20:03:52 UTC

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