Bug 324064 - Plasma NM can't connect to wifi, crashes after disabling/re-enabling wifi with wireless-killswitch
Summary: Plasma NM can't connect to wifi, crashes after disabling/re-enabling wifi wit...
Status: RESOLVED DUPLICATE of bug 321256
Alias: None
Product: Network Management
Classification: Unmaintained
Component: general (show other bugs)
Version: 0.9
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Lamarque V. Souza
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-08-26 12:34 UTC by Paul Konecny
Modified: 2013-11-28 11:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Old Qt network management (1.02 MB, image/png)
2013-09-02 11:05 UTC, Paul Konecny
Details
New QML network management (1.23 MB, image/png)
2013-09-02 11:06 UTC, Paul Konecny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Konecny 2013-08-26 12:34:55 UTC
Application: kded4 (4.11.00)
KDE Platform Version: 4.11.00
Qt Version: 4.8.4
Operating System: Linux 3.11.0-3-generic x86_64
Distribution: Ubuntu Saucy Salamander (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
Logging in to KDE 4.11 (Kubuntu 13.10 saucy developmental release), I noticed that nm-applet won't connect to wifi after I entered my KWallet credentials. (it just shows the signalbars with the key and is awaiting authorization). 

- Unusual behavior I noticed:
Switching wifi off and on again causes nm-applet to crash. After it reloads, it connects just fine. 
Happens almost everytime I log in. 

On a sidenote:
My original intention was to use wifi without Kwallet (unencrypted) but even when i changed the setting nm-applet would still try to access KWallet even though I saved my wifi-key in the unencrypted file. I doesn't seem to apply my change.

I hope we can work this issue out. Other than that 4.11 is amazing! 
Regards, Paul

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7fd9fbeab700 (LWP 1468)):
#0  0x00007fda14613b1d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fda117617f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fda117220ec in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fda1172255b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fda117226cc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fda15a4ca76 in QEventDispatcherGlib::processEvents (this=0x7fd9f40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fda15a1e5ef in QEventLoop::processEvents (this=this@entry=0x7fd9fbeaadb0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fda15a1e8e5 in QEventLoop::exec (this=this@entry=0x7fd9fbeaadb0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fda1591d88f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007fda1591ff2f in QThreadPrivate::start (arg=0x190a6b0) at thread/qthread_unix.cpp:338
#10 0x00007fda11dfdf6e in start_thread (arg=0x7fd9fbeab700) at pthread_create.c:311
#11 0x00007fda14621e2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7fd9f308e700 (LWP 1475)):
#0  0x00007fda11721d15 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fda117224e3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fda117226cc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fda15a4ca76 in QEventDispatcherGlib::processEvents (this=0x7fd9ec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fda15a1e5ef in QEventLoop::processEvents (this=this@entry=0x7fd9f308dd70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fda15a1e8e5 in QEventLoop::exec (this=this@entry=0x7fd9f308dd70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fda1591d88f in QThread::exec (this=this@entry=0x18bfad0) at thread/qthread.cpp:542
#7  0x00007fda159ffd13 in QInotifyFileSystemWatcherEngine::run (this=0x18bfad0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fda1591ff2f in QThreadPrivate::start (arg=0x18bfad0) at thread/qthread_unix.cpp:338
#9  0x00007fda11dfdf6e in start_thread (arg=0x7fd9f308e700) at pthread_create.c:311
#10 0x00007fda14621e2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7fd9e165c700 (LWP 1496)):
#0  0x00007fda14613b1d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fda117617f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fda117220ec in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fda1172255b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fda11722a2a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd9e1b5e956 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007fda11747275 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fda11dfdf6e in start_thread (arg=0x7fd9e165c700) at pthread_create.c:311
#8  0x00007fda14621e2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fd9e0c4f700 (LWP 1497)):
#0  0x00007fda11762440 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fda117628c9 in g_private_get () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fda11747710 in g_thread_self () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fda117216fc in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fda11722485 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fda117226cc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fda15a4ca76 in QEventDispatcherGlib::processEvents (this=0x7fd9d00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007fda15a1e5ef in QEventLoop::processEvents (this=this@entry=0x7fd9e0c4ed70, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fda15a1e8e5 in QEventLoop::exec (this=this@entry=0x7fd9e0c4ed70, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fda1591d88f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#10 0x00007fd9f94b7fd7 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#11 0x00007fda1591ff2f in QThreadPrivate::start (arg=0x1926c10) at thread/qthread_unix.cpp:338
#12 0x00007fda11dfdf6e in start_thread (arg=0x7fd9e0c4f700) at pthread_create.c:311
#13 0x00007fda14621e2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fd9d7fff700 (LWP 1498)):
#0  0x00007fda146153dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fda117225c4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fda117226cc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fda15a4ca76 in QEventDispatcherGlib::processEvents (this=0x7fd9c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fda15a1e5ef in QEventLoop::processEvents (this=this@entry=0x7fd9d7ffedb0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fda15a1e8e5 in QEventLoop::exec (this=this@entry=0x7fd9d7ffedb0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fda1591d88f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007fda1591ff2f in QThreadPrivate::start (arg=0x18fb8a0) at thread/qthread_unix.cpp:338
#8  0x00007fda11dfdf6e in start_thread (arg=0x7fd9d7fff700) at pthread_create.c:311
#9  0x00007fda14621e2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fda16dba7c0 (LWP 1466)):
[KCrash Handler]
#6  WirelessNetworkInterfaceActivatableProvider::handleAdd (this=0x1c468a0, addedConnection=0x1a0f6e0) at ../../../libs/service/wirelessnetworkinterfaceactivatableprovider.cpp:132
#7  0x00007fd9f01804fc in ConnectionList::addConnection (this=<optimized out>, connection=connection@entry=0x1a0f6e0) at ../../../libs/service/connectionlist.cpp:92
#8  0x00007fd9e3de5f73 in NMDBusSettingsConnectionProvider::initialiseAndRegisterRemoteConnection (this=this@entry=0x19fee70, path=...) at ../../../backends/NetworkManager/nmdbussettingsconnectionprovider.cpp:152
#9  0x00007fd9e3de7841 in NMDBusSettingsConnectionProvider::initConnections (this=this@entry=0x19fee70) at ../../../backends/NetworkManager/nmdbussettingsconnectionprovider.cpp:115
#10 0x00007fd9e3de8099 in NMDBusSettingsConnectionProvider::serviceOwnerChanged (this=0x19fee70, changedService=..., oldOwner=..., newOwner=...) at ../../../backends/NetworkManager/nmdbussettingsconnectionprovider.cpp:224
#11 0x00007fda15a33a58 in QMetaObject::activate (sender=0x189a480, m=m@entry=0x7fda12ffd840 <QDBusConnectionInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff3d278c20) at kernel/qobject.cpp:3539
#12 0x00007fda12de17ff in QDBusConnectionInterface::serviceOwnerChanged (this=<optimized out>, _t1=..., _t2=..., _t3=...) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:224
#13 0x00007fda12de1ca1 in QDBusConnectionInterface::qt_static_metacall (_o=0x0, _c=4030584416, _id=6, _a=0x7fff3d278db0) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:114
#14 0x00007fda15a33a58 in QMetaObject::activate (sender=0x189a480, m=m@entry=0x7fda12ffd840 <QDBusConnectionInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fff3d278db0) at kernel/qobject.cpp:3539
#15 0x00007fda12de18cf in QDBusConnectionInterface::NameOwnerChanged (this=<optimized out>, _t1=..., _t2=..., _t3=...) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:252
#16 0x00007fda12de1a81 in QDBusConnectionInterface::qt_static_metacall (_o=0x0, _o@entry=0x189a480, _c=4030584416, _c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=6, _a=0x7fff3d279010) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:118
#17 0x00007fda12de2167 in QDBusConnectionInterface::qt_metacall (this=0x189a480, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff3d279010) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:177
#18 0x00007fda12da7e36 in QDBusConnectionPrivate::deliverCall (this=0x1904a90, object=0x189a480, msg=..., metaTypes=..., slotIdx=11) at qdbusintegrator.cpp:951
#19 0x00007fda15a37dce in QObject::event (this=0x189a480, e=<optimized out>) at kernel/qobject.cpp:1194
#20 0x00007fda14dbcdfc in QApplicationPrivate::notify_helper (this=this@entry=0x17122c0, receiver=receiver@entry=0x189a480, e=e@entry=0x1b606b0) at kernel/qapplication.cpp:4567
#21 0x00007fda14dc3470 in QApplication::notify (this=this@entry=0x7fff3d2797f0, receiver=receiver@entry=0x189a480, e=e@entry=0x1b606b0) at kernel/qapplication.cpp:4353
#22 0x00007fda167a39aa in KApplication::notify (this=0x7fff3d2797f0, receiver=0x189a480, event=0x1b606b0) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007fda15a1f8bd in QCoreApplication::notifyInternal (this=0x7fff3d2797f0, receiver=receiver@entry=0x189a480, event=event@entry=0x1b606b0) at kernel/qcoreapplication.cpp:946
#24 0x00007fda15a22e1f in sendEvent (event=0x1b606b0, receiver=0x189a480) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1676150) at kernel/qcoreapplication.cpp:1570
#26 0x00007fda15a232c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#27 0x00007fda15a4d073 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#28 postEventSourceDispatch (s=0x1712730) at kernel/qeventdispatcher_glib.cpp:279
#29 0x00007fda117222d6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fda11722628 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fda117226cc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fda15a4ca55 in QEventDispatcherGlib::processEvents (this=0x1678670, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007fda14e5e9d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007fda15a1e5ef in QEventLoop::processEvents (this=this@entry=0x7fff3d2796c0, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007fda15a1e8e5 in QEventLoop::exec (this=this@entry=0x7fff3d2796c0, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007fda15a23e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#37 0x00007fda14dbb34c in QApplication::exec () at kernel/qapplication.cpp:3828
#38 0x00007fda0174195b in kdemain (argc=1, argv=0x16f4ce0) at ../../kded/kded.cpp:925
#39 0x00000000004083f5 in launch (argc=argc@entry=1, _name=_name@entry=0x40b006 "kded4", args=<optimized out>, 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=0x40aeee "0") at ../../kinit/kinit.cpp:738
#40 0x00000000004059a6 in main (argc=4, argv=<optimized out>, envp=0x7fff3d279f50) at ../../kinit/kinit.cpp:1853

Reported using DrKonqi
Comment 1 Paul Konecny 2013-09-02 11:03:31 UTC
UPDATE:
I think I've found the root of the problem. Today, after I logged in two Icons for networking showed up. 
My guess is that one is the "old" version and one is the new QML version (from what I've read over at planetkde.org).
Removing the old Qt one solved the crash issue but now rekonq isn't able to connect to the internet anymore. (Pings and Firefox seem to work fine).
So this may just be a packaging issue on the kubuntu side.
Comment 2 Paul Konecny 2013-09-02 11:05:09 UTC
Created attachment 82104 [details]
Old Qt network management

The "old" Network plasmoid doesn't seem to get access to the network list anymore.
Comment 3 Paul Konecny 2013-09-02 11:06:10 UTC
Created attachment 82105 [details]
New QML network management

The new one seems to work fine.
Comment 4 Lamarque V. Souza 2013-09-02 11:45:59 UTC
Which Plasma NM versions do you use? You can see the version string in "Manage Connections" -> "Other" for the old applet and in "Edit Connections" -> "About" -> "About Connection Editor" for the new QML applet.
Comment 5 Paul Konecny 2013-09-02 11:52:44 UTC
Thanks for the quick reply Lamarque!
New output:
Connection editor
Version 0.9.3.0
Using KDE Development Platform 4.11.00

Manage your network connections

This application allows you to create, edit and delete network connections.

Using NM version: 0.9.8.0

(C) 2013 Jan Grulich and Lukáš Tinkl

Old output:
Version 0.9.0.9 (nm09 20130615)
Comment 6 Lamarque V. Souza 2013-11-28 11:20:46 UTC
Is this problem still happening?
Comment 7 Lamarque V. Souza 2013-11-28 11:21:16 UTC

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