Bug 313810

Summary: Segfault on 'service network-manager restart'
Product: [Unmaintained] Network Management Reporter: Byron Hawkins <byron>
Component: generalAssignee: Lamarque V. Souza <lamarque>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 0.9   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Byron Hawkins 2013-01-24 07:54:14 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.9.4
Qt Version: 4.8.3
Operating System: Linux 3.5.0-22-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
First I did '/etc/init.d/network-manager restart', and then it told me to use the 'service' wrapper instead. So I tried it right away: 'service network-manager restart', and then this crash report popped up. Nothing much else was going on in this machine.

-- 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 0x7fed7147a780 (LWP 1761))]

Thread 5 (Thread 0x7fed52940700 (LWP 1870)):
#0  0x00007fed76675303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fed73571d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fed735721e2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fed52c2c4a6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fed73595645 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fed73e4ae9a in start_thread (arg=0x7fed52940700) at pthread_create.c:308
#6  0x00007fed76680cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fed51f33700 (LWP 1871)):
#0  0x00007fed76675303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fed73571d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fed73571ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fed77aa1c16 in QEventDispatcherGlib::processEvents (this=0x7fed3c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fed77a722bf in QEventLoop::processEvents (this=this@entry=0x7fed51f32dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fed77a72548 in QEventLoop::exec (this=0x7fed51f32dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fed77973b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fed5c2eb352 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#8  0x00007fed77976aec in QThreadPrivate::start (arg=0x21e6c10) at thread/qthread_unix.cpp:338
#9  0x00007fed73e4ae9a in start_thread (arg=0x7fed51f33700) at pthread_create.c:308
#10 0x00007fed76680cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fed51732700 (LWP 1872)):
#0  0x00007fffce7ff65e in clock_gettime ()
#1  0x00007fed7382515d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007fed779cc9c4 in do_gettime (frac=0x7fed51731b58, sec=0x7fed51731b50) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fed77aa241d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fed44002660) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007fed77aa2763 in QTimerInfoList::timerWait (this=0x7fed44002660, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007fed77aa12cc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fed51731c44) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fed77aa1375 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fed73571618 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fed73571cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fed73571ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fed77aa1c16 in QEventDispatcherGlib::processEvents (this=0x7fed440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007fed77a722bf in QEventLoop::processEvents (this=this@entry=0x7fed51731e00, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fed77a72548 in QEventLoop::exec (this=0x7fed51731e00, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007fed77973b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007fed77976aec in QThreadPrivate::start (arg=0x2114100) at thread/qthread_unix.cpp:338
#16 0x00007fed73e4ae9a in start_thread (arg=0x7fed51732700) at pthread_create.c:308
#17 0x00007fed76680cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fed50f31700 (LWP 1873)):
#0  0x00007fffce7ff65e in clock_gettime ()
#1  0x00007fed7382515d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007fed779cc9c4 in do_gettime (frac=0x7fed50f30b28, sec=0x7fed50f30b20) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fed77aa241d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fed40002660) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007fed77aa2763 in QTimerInfoList::timerWait (this=0x7fed40002660, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007fed77aa12cc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fed50f30c14) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fed77aa1375 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fed73571618 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fed73571cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fed73571ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fed77aa1c16 in QEventDispatcherGlib::processEvents (this=0x7fed400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007fed77a722bf in QEventLoop::processEvents (this=this@entry=0x7fed50f30dd0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fed77a72548 in QEventLoop::exec (this=0x7fed50f30dd0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007fed77973b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007fed77a529af in QInotifyFileSystemWatcherEngine::run (this=0x212fc70) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007fed77976aec in QThreadPrivate::start (arg=0x212fc70) at thread/qthread_unix.cpp:338
#17 0x00007fed73e4ae9a in start_thread (arg=0x7fed50f31700) at pthread_create.c:308
#18 0x00007fed76680cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fed7147a780 (LWP 1761)):
[KCrash Handler]
#6  0x00007fed5835ce96 in Solid::Control::WiredNetworkInterfaceNm09::d_func() const () from /usr/lib/libsolidcontrolnm09.so.4
#7  0x00007fed5835cb58 in Solid::Control::WiredNetworkInterfaceNm09::carrier() const () from /usr/lib/libsolidcontrolnm09.so.4
#8  0x00007fed587ff480 in WiredNetworkInterfaceActivatableProvider::handleAdd(Knm::Connection*) () from /usr/lib/libknmservice.so.4
#9  0x00007fed587ef850 in ConnectionList::addConnection(Knm::Connection*) () from /usr/lib/libknmservice.so.4
#10 0x00007fed585abdc9 in NMDBusSettingsConnectionProvider::initialiseAndRegisterRemoteConnection(QString const&) () from /usr/lib/libknm_nm.so
#11 0x00007fed585ab768 in NMDBusSettingsConnectionProvider::initConnections() () from /usr/lib/libknm_nm.so
#12 0x00007fed585ac551 in NMDBusSettingsConnectionProvider::serviceOwnerChanged(QString const&, QString const&, QString const&) () from /usr/lib/libknm_nm.so
#13 0x00007fed5857d7f1 in NMDBusSettingsConnectionProvider::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libknm_nm.so
#14 0x00007fed77a88f5f in QMetaObject::activate (sender=0x20da220, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffce77c560) at kernel/qobject.cpp:3547
#15 0x00007fed74e2717f in QDBusConnectionInterface::serviceOwnerChanged (this=<optimized out>, _t1=..., _t2=..., _t3=...) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:224
#16 0x00007fed74e273b1 in QDBusConnectionInterface::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fffce77c7e0) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:114
#17 0x00007fed77a88f5f in QMetaObject::activate (sender=0x20da220, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffce77c7e0) at kernel/qobject.cpp:3547
#18 0x00007fed74e2724f in QDBusConnectionInterface::NameOwnerChanged (this=<optimized out>, _t1=..., _t2=..., _t3=...) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:252
#19 0x00007fed74e27411 in QDBusConnectionInterface::qt_static_metacall (_o=_o@entry=0x20da220, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=6, _a=_a@entry=0x7fffce77cb10) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:118
#20 0x00007fed74e27bef in QDBusConnectionInterface::qt_metacall (this=0x20da220, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fffce77cb10) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:177
#21 0x00007fed74deaed3 in QDBusConnectionPrivate::deliverCall (this=0x20d7420, object=0x20da220, msg=..., metaTypes=..., slotIdx=11) at qdbusintegrator.cpp:947
#22 0x00007fed77a8843e in QObject::event (this=0x20da220, e=<optimized out>) at kernel/qobject.cpp:1195
#23 0x00007fed76e1ae9c in QApplicationPrivate::notify_helper (this=this@entry=0x1ed0290, receiver=receiver@entry=0x20da220, e=e@entry=0x22942f0) at kernel/qapplication.cpp:4562
#24 0x00007fed76e1f30a in QApplication::notify (this=0x7fffce77d710, receiver=0x20da220, e=0x22942f0) at kernel/qapplication.cpp:4423
#25 0x00007fed787ec1d6 in KApplication::notify (this=0x7fffce77d710, receiver=0x20da220, event=0x22942f0) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00007fed77a7356e in QCoreApplication::notifyInternal (this=0x7fffce77d710, receiver=receiver@entry=0x20da220, event=event@entry=0x22942f0) at kernel/qcoreapplication.cpp:915
#27 0x00007fed77a773f1 in sendEvent (event=0x22942f0, receiver=0x20da220) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1e282b0) at kernel/qcoreapplication.cpp:1539
#29 0x00007fed77aa1a63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#30 postEventSourceDispatch (s=0x1ece860) at kernel/qeventdispatcher_glib.cpp:279
#31 0x00007fed73571ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fed73571de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fed73571ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fed77aa1bf6 in QEventDispatcherGlib::processEvents (this=0x1e2a7d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007fed76ebfc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fed77a722bf in QEventLoop::processEvents (this=this@entry=0x7fffce77d490, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fed77a72548 in QEventLoop::exec (this=0x7fffce77d490, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007fed77a77708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#39 0x00007fed6417f3f0 in kdemain (argc=1, argv=0x1ea9750) at ../../kded/kded.cpp:924
#40 0x00000000004084c6 in launch (argc=argc@entry=1, _name=_name@entry=0x40b126 "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=0x40afb6 "0") at ../../kinit/kinit.cpp:738
#41 0x0000000000405a29 in main (argc=4, argv=<optimized out>, envp=0x7fffce77e110) at ../../kinit/kinit.cpp:1853

This bug may be a duplicate of or related to bug 308125.

Possible duplicates by query: bug 313220, bug 311213, bug 310724, bug 309237.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-01-24 08:50:22 UTC
Should be fixed in Plasma NM 0.9.0.6

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