Bug 345967 - Plasma crashes when NM service restart
Summary: Plasma crashes when NM service restart
Status: RESOLVED FIXED
Alias: None
Product: plasma-nm
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Lukáš Tinkl
URL:
Keywords: drkonqi
: 346556 347364 349489 352730 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-08 00:22 UTC by Dmitry Bergstein
Modified: 2015-09-23 15:11 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.9.3.5


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Bergstein 2015-04-08 00:22:04 UTC
Application: plasma-desktop (4.11.13)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.16.0-4-amd64 x86_64
Distribution: Debian GNU/Linux 8.0 (jessie)

-- Information about the crash:
service network-manager restart immediately crashes Plasma.

The crash can be reproduced every time.

-- Backtrace:
Application: Оболочка Plasma (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7faffd130800 (LWP 3384))]

Thread 3 (Thread 0x7fafcbfff700 (LWP 3406)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007faff5c4ddea in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007faff5c4de19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007faff047b0a4 in start_thread (arg=0x7fafcbfff700) at pthread_create.c:309
#4  0x00007faffcb4704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7faf448a0700 (LWP 3523)):
#0  0x00007faffcb3e50d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fafefb57ee4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fafefb57ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007faff9602d37 in QEventDispatcherGlib::processEvents (this=0x7faf400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007faff95d2271 in QEventLoop::processEvents (this=this@entry=0x7faf4489fd80, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007faff95d25d5 in QEventLoop::exec (this=this@entry=0x7faf4489fd80, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007faff94c6e99 in QThread::exec (this=this@entry=0x2935a30) at thread/qthread.cpp:538
#7  0x00007faff95b2ac3 in QInotifyFileSystemWatcherEngine::run (this=0x2935a30) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007faff94c970f in QThreadPrivate::start (arg=0x2935a30) at thread/qthread_unix.cpp:349
#9  0x00007faff047b0a4 in start_thread (arg=0x7faf448a0700) at pthread_create.c:309
#10 0x00007faffcb4704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7faffd130800 (LWP 3384)):
[KCrash Handler]
#6  0x00007faf4585f55d in NetworkManager::WirelessDevice::findNetwork(QString const&) const () from /usr/lib/x86_64-linux-gnu/libNetworkManagerQt.so.1
#7  0x00007faf45dfb9a3 in NetworkModel::addAvailableConnection (this=this@entry=0x2f41430, connection=..., device=...) at /build/plasma-nm-KS7yXL/plasma-nm-0.9.3.4/libs/models/networkmodel.cpp:359
#8  0x00007faf45dfe0bb in NetworkModel::addDevice (this=this@entry=0x2f41430, device=...) at /build/plasma-nm-KS7yXL/plasma-nm-0.9.3.4/libs/models/networkmodel.cpp:468
#9  0x00007faf45dfec57 in NetworkModel::deviceAdded (this=0x2f41430, device=...) at /build/plasma-nm-KS7yXL/plasma-nm-0.9.3.4/libs/models/networkmodel.cpp:838
#10 0x00007faf45df54d9 in NetworkModel::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/plasma-nm-KS7yXL/plasma-nm-0.9.3.4/obj-x86_64-linux-gnu/libs/moc_networkmodel.cpp:119
#11 0x00007faff95e871c in QMetaObject::activate (sender=0x27dbe30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff7b303c50) at kernel/qobject.cpp:3567
#12 0x00007faf4583f5b5 in NetworkManager::Notifier::deviceAdded(QString const&) () from /usr/lib/x86_64-linux-gnu/libNetworkManagerQt.so.1
#13 0x00007faf458436e8 in NetworkManager::NetworkManagerPrivate::init() () from /usr/lib/x86_64-linux-gnu/libNetworkManagerQt.so.1
#14 0x00007faf45844509 in NetworkManager::NetworkManagerPrivate::daemonRegistered() () from /usr/lib/x86_64-linux-gnu/libNetworkManagerQt.so.1
#15 0x00007faff95e871c in QMetaObject::activate (sender=0x27dbe40, m=m@entry=0x7faff9bb7800 <QDBusServiceWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff7b304090) at kernel/qobject.cpp:3567
#16 0x00007faff999a452 in QDBusServiceWatcher::serviceRegistered (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qdbusservicewatcher.cpp:145
#17 0x00007faff999b44f in QDBusServiceWatcher::qt_metacall (this=0x27dbe40, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff7b304270) at .moc/release-shared/moc_qdbusservicewatcher.cpp:106
#18 0x00007faff99606c6 in QDBusConnectionPrivate::deliverCall (this=0x16e2e80, object=0x27dbe40, msg=..., metaTypes=..., slotIdx=7) at qdbusintegrator.cpp:951
#19 0x00007faff95ece11 in QObject::event (this=0x27dbe40, e=<optimized out>) at kernel/qobject.cpp:1222
#20 0x00007faff892448c in QApplicationPrivate::notify_helper (this=this@entry=0x162c000, receiver=receiver@entry=0x27dbe40, e=e@entry=0x32aa880) at kernel/qapplication.cpp:4570
#21 0x00007faff892afa8 in QApplication::notify (this=this@entry=0x1626080, receiver=receiver@entry=0x27dbe40, e=e@entry=0x32aa880) at kernel/qapplication.cpp:4356
#22 0x00007faffa2f71aa in KApplication::notify (this=0x1626080, receiver=0x27dbe40, event=0x32aa880) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007faff95d371d in QCoreApplication::notifyInternal (this=0x1626080, receiver=receiver@entry=0x27dbe40, event=event@entry=0x32aa880) at kernel/qcoreapplication.cpp:955
#24 0x00007faff95d6fc1 in sendEvent (event=0x32aa880, receiver=0x27dbe40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1595220) at kernel/qcoreapplication.cpp:1579
#26 0x00007faff95d7453 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#27 0x00007faff9602bd3 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#28 postEventSourceDispatch (s=0x162ed20) at kernel/qeventdispatcher_glib.cpp:280
#29 0x00007fafefb57c5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fafefb57f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fafefb57ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007faff9602d1d in QEventDispatcherGlib::processEvents (this=0x1596b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#33 0x00007faff89c8f96 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007faff95d2271 in QEventLoop::processEvents (this=this@entry=0x7fff7b3048d0, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007faff95d25d5 in QEventLoop::exec (this=this@entry=0x7fff7b3048d0, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007faff95d8059 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#37 0x00007faff892292c in QApplication::exec () at kernel/qapplication.cpp:3828
#38 0x00007faffce4a4bd in kdemain (argc=1, argv=0x7fff7b304b28) at ../../../../plasma/desktop/shell/main.cpp:126
#39 0x00007faffca82b45 in __libc_start_main (main=0x4006f0 <main(int, char**)>, argc=1, argv=0x7fff7b304b28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff7b304b18) at libc-start.c:287
#40 0x000000000040071e in _start ()

Reported using DrKonqi
Comment 1 Jan Grulich 2015-04-17 08:40:45 UTC
Should be already fixed in plasma-nm 0.9.3.5 by this commit:
http://quickgit.kde.org/?p=plasma-nm.git&a=commit&h=cd8fe3c1295c99944e48109009bd22dc85f6ef7b
Comment 2 Jan Grulich 2015-04-25 09:55:39 UTC
*** Bug 346556 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2015-05-09 19:04:49 UTC
*** Bug 347364 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2015-09-23 15:11:10 UTC
*** Bug 349489 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Feck 2015-09-23 15:11:27 UTC
*** Bug 352730 has been marked as a duplicate of this bug. ***