Bug 325324

Summary: Crash on upgrade from networkmanagement to plasma-nm
Product: [Plasma] plasma-nm Reporter: Jonathan Riddell <jr>
Component: appletAssignee: Jan Grulich <jgrulich>
Status: RESOLVED INTENTIONAL    
Severity: crash CC: browserbugs2, jgrulich, lukas
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jonathan Riddell 2013-09-26 10:16:46 UTC
Upgrading Kubuntu from 13.04 to 13.10 there is a plasma script to remove networkmanagement applet and add plasma-nm.  Plasma-nm then crashes kded when connecting to the previously used wifi network.


Reproducible: Always

Steps to Reproduce:
1. Upgrade Kubuntu
2. Connect to network
3. Crash



Application: KDE Dæmon (kded4), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f56e65b47c0 (LWP 1536))]

Thread 5 (Thread 0x7f56cb1b1700 (LWP 1538)):
#0  0x00007f56e3e08bbd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f56e0f56940 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f56e0f1725c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f56e0f176cb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f56e0f1783c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f56e5241a76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f56e52135ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f56e52138e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f56e511288f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f56e5114f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f56e15f2f6e in start_thread (arg=0x7f56cb1b1700) at pthread_create.c:311
#11 0x00007f56e3e16ecd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f56b97eb700 (LWP 1575)):
#0  0x00007f56e3e08bbd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f56e0f56940 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f56e0f1725c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f56e0f176cb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f56e0f1783c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f56e5241a76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f56e52135ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f56e52138e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f56e511288f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f56e51f4d13 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f56e5114f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007f56e15f2f6e in start_thread (arg=0x7f56b97eb700) at pthread_create.c:311
#12 0x00007f56e3e16ecd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f56b8de4700 (LWP 1576)):
#0  __GI___pthread_mutex_lock (mutex=0x7f56a0000a60) at pthread_mutex_lock.c:50
#1  0x00007f56e0f57671 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f56e0f17316 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f56e0f17798 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f56e0f1783c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f56e5241a76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f56e52135ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f56e52138e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f56e511288f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f56c87bdfd7 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#10 0x00007f56e5114f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007f56e15f2f6e in start_thread (arg=0x7f56b8de4700) at pthread_create.c:311
#12 0x00007f56e3e16ecd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f56a7fff700 (LWP 1577)):
#0  0x00007f56e0f17302 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f56e0f17798 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f56e0f1783c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f56e5241a76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f56e52135ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f56e52138e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f56e511288f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f56e5114f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f56e15f2f6e in start_thread (arg=0x7f56a7fff700) at pthread_create.c:311
#9  0x00007f56e3e16ecd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f56e65b47c0 (LWP 1536)):
[KCrash Handler]
#5  0x00007f56bb3a11d2 in WirelessNetworkInterfaceActivatableProvider::handleAdd(Knm::Connection*) () from /usr/lib/libknmservice.so.4
#6  0x00007f56bb3974fc in ConnectionList::addConnection(Knm::Connection*) () from /usr/lib/libknmservice.so.4
#7  0x00007f56bb162f73 in NMDBusSettingsConnectionProvider::initialiseAndRegisterRemoteConnection(QString const&) () from /usr/lib/libknm_nm.so
#8  0x00007f56bb163a6d in NMDBusSettingsConnectionProvider::onConnectionAdded(QDBusObjectPath const&) () from /usr/lib/libknm_nm.so
#9  0x00007f56e5228a58 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f56bb128521 in ?? () from /usr/lib/libknm_nm.so
#11 0x00007f56bb12a5e3 in ?? () from /usr/lib/libknm_nm.so
#12 0x00007f56e259ce36 in ?? () from /usr/lib/x86_64-linux-gnu/libQtDBus.so.4
#13 0x00007f56e522cdce in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007f56e45b1dfc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007f56e45b8470 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#16 0x00007f56e5f989aa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#17 0x00007f56e52148bd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007f56e5217e1f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007f56e5242073 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#20 0x00007f56e0f17446 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f56e0f17798 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f56e0f1783c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f56e5241a55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#24 0x00007f56e46539d6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007f56e52135ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007f56e52138e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007f56e5218e5b in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#28 0x00007f56d10aa95b in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_kded4.so
#29 0x00000000004083f5 in _start ()
Comment 1 Jan Grulich 2013-09-26 11:06:43 UTC
It crashes in the old networkmanagement applet, not in plasma-nm (the new one). Probably there is still running the old kded modul. The script won't be necessary for the upcoming plasma-nm version, because we renamed it so upgrade will be much easier.
Comment 2 Gérard Talbot (no longer involved) 2013-11-13 23:04:39 UTC
Johnathan, Jan,

Why is this bug WONTFIX? (just asking)
Is bug 327543 a DUPLICATE of this bug?

Just asking.

Gérard
Comment 3 Jonathan Riddell 2013-11-14 10:11:31 UTC
Gerard it won't be fixed because it was caused by the applet getting a new internal name compared to the old applet. it's now been renamed to match the old applet so it's no longer a problem.