Bug 199122 - Network manager applet crashes on startup
Summary: Network manager applet crashes on startup
Status: RESOLVED DUPLICATE of bug 198522
Alias: None
Product: Network Management
Classification: Miscellaneous
Component: Plasma Widget (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Will Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-06 10:30 UTC by Dima Ryazanov
Modified: 2009-07-24 00:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dima Ryazanov 2009-07-06 10:30:44 UTC
Version:            (using KDE 4.2.90)
OS:                Linux
Installed from:    Ubuntu Packages

(This is actually from KDE 4.3 RC1, but it wasn't in the list)

As I tried connecting to my wireless network, the network manager crashed more and more frequently. Now it crashes as soon as it starts up - and since it's part of plasma, it makes the whole desktop unusable.

Here's the backtrace. I couldn't find the Ubuntu dbg package for the network manager applet, and I couldn't really search for it without a working network.

Application: Plasma Workspace (plasma-desktop), signal: Segmentation fault
[Current thread is 0 (LWP 28965)]

Thread 2 (Thread 0x7f0230ff6950 (LWP 28966)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f024ca29939 in QWaitCondition::wait (this=0x2e3b2c0, mutex=0x2e3b2b8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f024ffed4cc in QHostInfoAgent::run (this=0x2e3b2a0) at kernel/qhostinfo.cpp:260
#3  0x00007f024ca28952 in QThreadPrivate::start (arg=0x2e3b2a0) at thread/qthread_unix.cpp:189
#4  0x00007f02491d03ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f024bf85fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f02515e9790 (LWP 28965)):
[KCrash Handler]
#5  0x00007f02327559ff in RemoteConnection::settings () from /usr/lib/libknmdbus.so.4
#6  0x00007f0232985eb4 in ?? () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#7  0x00007f023298692b in ?? () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#8  0x00007f0232974710 in ?? () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#9  0x00007f024cb271f2 in QMetaObject::activate (sender=0x30cd590, from_signal_index=<value optimized out>, to_signal_index=5, argv=0x30dc8d0) at kernel/qobject.cpp:3069
#10 0x00007f023298d042 in ?? () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#11 0x00007f0232973f4e in ?? () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#12 0x00007f02329743f5 in ?? () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#13 0x00007f024cb271f2 in QMetaObject::activate (sender=0x2b25020, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x30dc8d0) at kernel/qobject.cpp:3069
#14 0x00007f0234e0e081 in Solid::Control::NetworkInterface::connectionStateChanged (this=0x7fff59726050, _t1=4)
    at /build/buildd/kdebase-workspace-4.2.95/obj-x86_64-linux-gnu/libs/solid/control/networkinterface.moc:140
#15 0x00007f0234e0e166 in Solid::Control::NetworkInterface::qt_metacall (this=0x2b25020, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff59726870)
    at /build/buildd/kdebase-workspace-4.2.95/obj-x86_64-linux-gnu/libs/solid/control/networkinterface.moc:115
#16 0x00007f0234e12e35 in Solid::Control::WirelessNetworkInterface::qt_metacall (this=0x7fff59726050, _c=51180784, _id=1500667584, _a=0x30dc8d0)
    at /build/buildd/kdebase-workspace-4.2.95/obj-x86_64-linux-gnu/libs/solid/control/wirelessnetworkinterface.moc:99
#17 0x00007f024cb271f2 in QMetaObject::activate (sender=0x2b66e00, from_signal_index=<value optimized out>, to_signal_index=5, argv=0x30dc8d0) at kernel/qobject.cpp:3069
#18 0x00007f0232533971 in NMNetworkInterface::connectionStateChanged (this=0x7fff59726050, _t1=4)
    at /build/buildd/kdebase-workspace-4.2.95/obj-x86_64-linux-gnu/solid/networkmanager-0.7/networkinterface.moc:160
#19 0x00007f0232533e7a in NMNetworkInterface::qt_metacall (this=0x2b66e00, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff59726a60)
    at /build/buildd/kdebase-workspace-4.2.95/obj-x86_64-linux-gnu/solid/networkmanager-0.7/networkinterface.moc:104
#20 0x00007f023252ab45 in NMWirelessNetworkInterface::qt_metacall (this=0x7fff59726050, _c=51180784, _id=1500667584, _a=0x30dc8d0)
    at /build/buildd/kdebase-workspace-4.2.95/obj-x86_64-linux-gnu/solid/networkmanager-0.7/moc_wirelessnetworkinterface.cpp:82
#21 0x00007f024cb271f2 in QMetaObject::activate (sender=0x2b223f0, from_signal_index=<value optimized out>, to_signal_index=5, argv=0x30dc8d0) at kernel/qobject.cpp:3069
#22 0x00007f023253e51a in OrgFreedesktopNetworkManagerDeviceInterface::StateChanged (this=0x7fff59726050, _t1=4, _t2=3, _t3=0)
    at /build/buildd/kdebase-workspace-4.2.95/obj-x86_64-linux-gnu/solid/networkmanager-0.7/nm-deviceinterface.moc:128
#23 0x00007f023253e719 in OrgFreedesktopNetworkManagerDeviceInterface::qt_metacall (this=0x2b223f0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff59726e40)
    at /build/buildd/kdebase-workspace-4.2.95/obj-x86_64-linux-gnu/solid/networkmanager-0.7/nm-deviceinterface.moc:84
#24 0x00007f024ce2ff83 in QDBusConnectionPrivate::deliverCall (this=0x2b9f570, object=0x2b223f0, msg=@0x30efbb8, metaTypes=@0x30efbc0, slotIdx=5) at qdbusintegrator.cpp:891
#25 0x00007f024ce37d0f in QDBusCallDeliveryEvent::placeMetaCall (this=0x1500000066, object=0x30cf4f0) at qdbusintegrator_p.h:101
#26 0x00007f024cb21848 in QObject::event (this=0x2b223f0, e=0x30efb70) at kernel/qobject.cpp:1118
#27 0x00007f024d25678d in QApplicationPrivate::notify_helper (this=0x23dddb0, receiver=0x2b223f0, e=0x30efb70) at kernel/qapplication.cpp:4084
#28 0x00007f024d25e97a in QApplication::notify (this=0x23ce380, receiver=0x2b223f0, e=0x30efb70) at kernel/qapplication.cpp:4049
#29 0x00007f024f92562b in KApplication::notify (this=0x23ce380, receiver=0x2b223f0, event=0x30efb70) at /build/buildd/kde4libs-4.2.95/kdeui/kernel/kapplication.cpp:302
#30 0x00007f024cb1175c in QCoreApplication::notifyInternal (this=0x23ce380, receiver=0x2b223f0, event=0x30efb70) at kernel/qcoreapplication.cpp:602
#31 0x00007f024cb123ca in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x23b6040) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#32 0x00007f024cb3b1e3 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#33 0x00007f02475a020a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0x00007f02475a38e0 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0x00007f02475a3a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0x00007f024cb3ae6f in QEventDispatcherGlib::processEvents (this=0x23b5dc0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#37 0x00007f024d2eebef in QGuiEventDispatcherGlib::processEvents (this=0x7fff59726050, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#38 0x00007f024cb10002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1500673936}) at kernel/qeventloop.cpp:149
#39 0x00007f024cb103cd in QEventLoop::exec (this=0x7fff597277d0, flags={i = 1500674016}) at kernel/qeventloop.cpp:200
#40 0x00007f024cb12694 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#41 0x00007f02512bf63b in kdemain (argc=1, argv=0x7fff59727ad8) at /build/buildd/kdebase-workspace-4.2.95/plasma/shells/desktop/main.cpp:50
#42 0x00007f024bebe5a6 in __libc_start_main (main=0x400890 <main>, argc=1, ubp_av=0x7fff59727ad8, init=0x4008c0 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fff59727ac8) at libc-start.c:220
#43 0x00000000004007c9 in _start () at ../sysdeps/x86_64/elf/start.S:113
Comment 1 Dario Andres 2009-07-07 00:42:10 UTC
Please install the "plasma-widget-networkmanager-dbg" package and try to post a new (and hopefully more complete) backtrace. Thanks!
Comment 2 Dima Ryazanov 2009-07-07 00:44:16 UTC
Where can I download it, though?

If you provide a URL of the actual .dpkg file, that would be best, since I can't use "apt-get" without network...
Comment 4 Dima Ryazanov 2009-07-07 01:19:13 UTC
Nice, thanks!

Here's the updated backtrace:

Thread 1 (Thread 0x7f29fbf79750 (LWP 9679)):
[KCrash Handler]
#5  QMap<QString, QMap<QString, QVariant> >::detach_helper (this=0x7fff03faf3e0) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#6  0x00007f29dcfa1a1b in RemoteConnection::settings (this=0xffffffff) at /usr/include/qt4/QtCore/qmap.h:172
#7  0x00007f29dd1d1ec4 in InterfaceGroup::networksToShow (this=0x290d790) at /build/buildd/plasma-widget-network-manager-0.0+svn966653/applet/interfacegroup.cpp:226
#8  0x00007f29dd1d293b in InterfaceGroup::updateNetworks (this=0x290d790) at /build/buildd/plasma-widget-network-manager-0.0+svn966653/applet/interfacegroup.cpp:184
#9  0x00007f29dd1c0710 in InterfaceGroup::qt_metacall (this=0x290d790, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff03faf590)
    at /build/buildd/plasma-widget-network-manager-0.0+svn966653/obj-x86_64-linux-gnu/applet/moc_interfacegroup.cpp:90
#10 0x00007f29fbab18d2 in QMetaObject::activate (sender=0x290e8d0, from_signal_index=<value optimized out>, to_signal_index=5, argv=0x7fff03faf128) at kernel/qobject.cpp:3120
#11 0x00007f29dd1d9052 in InterfaceItem::connectionStateChanged (this=0x290e8d0, state=<value optimized out>, silently=<value optimized out>)
    at /build/buildd/plasma-widget-network-manager-0.0+svn966653/applet/interfaceitem.cpp:401
#12 0x00007f29dd1bff4e in InterfaceItem::qt_metacall (this=0x290e8d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff03fafaa0)
    at /build/buildd/plasma-widget-network-manager-0.0+svn966653/obj-x86_64-linux-gnu/applet/moc_interfaceitem.cpp:82
#13 0x00007f29dd1c03f5 in WirelessInterfaceItem::qt_metacall (this=0x29579f0, _c=4294967295, _id=0, _a=0x7fff03faf128)
    at /build/buildd/plasma-widget-network-manager-0.0+svn966653/obj-x86_64-linux-gnu/applet/moc_wirelessinterfaceitem.cpp:68
#14 0x00007f29fbab18d2 in QMetaObject::activate (sender=0x1d07280, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x7fff03faf128) at kernel/qobject.cpp:3120
#15 0x00007f29df414081 in Solid::Control::NetworkInterface::connectionStateChanged (this=0x29579f0, _t1=4)
    at /build/buildd/kdebase-workspace-4.2.95/obj-x86_64-linux-gnu/libs/solid/control/networkinterface.moc:140
#16 0x00007f29df414166 in Solid::Control::NetworkInterface::qt_metacall (this=0x1d07280, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff03fafc00)
    at /build/buildd/kdebase-workspace-4.2.95/obj-x86_64-linux-gnu/libs/solid/control/networkinterface.moc:115
#17 0x00007f29df418e35 in Solid::Control::WirelessNetworkInterface::qt_metacall (this=0x29579f0, _c=4294967295, _id=0, _a=0x7fff03faf128)
    at /build/buildd/kdebase-workspace-4.2.95/obj-x86_64-linux-gnu/libs/solid/control/wirelessnetworkinterface.moc:99
#18 0x00007f29fbab18d2 in QMetaObject::activate (sender=0x23be510, from_signal_index=<value optimized out>, to_signal_index=5, argv=0x7fff03faf128) at kernel/qobject.cpp:3120
#19 0x00007f29dcd7f971 in NMNetworkInterface::connectionStateChanged (this=0x29579f0, _t1=4)
    at /build/buildd/kdebase-workspace-4.2.95/obj-x86_64-linux-gnu/solid/networkmanager-0.7/networkinterface.moc:160
#20 0x00007f29dcd7fe7a in NMNetworkInterface::qt_metacall (this=0x23be510, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff03fafdf0)
    at /build/buildd/kdebase-workspace-4.2.95/obj-x86_64-linux-gnu/solid/networkmanager-0.7/networkinterface.moc:104
#21 0x00007f29dcd76b45 in NMWirelessNetworkInterface::qt_metacall (this=0x29579f0, _c=4294967295, _id=0, _a=0x7fff03faf128)
    at /build/buildd/kdebase-workspace-4.2.95/obj-x86_64-linux-gnu/solid/networkmanager-0.7/moc_wirelessnetworkinterface.cpp:82
#22 0x00007f29fbab18d2 in QMetaObject::activate (sender=0x1cf7e50, from_signal_index=<value optimized out>, to_signal_index=5, argv=0x7fff03faf128) at kernel/qobject.cpp:3120
#23 0x00007f29dcd8a51a in OrgFreedesktopNetworkManagerDeviceInterface::StateChanged (this=0x29579f0, _t1=4, _t2=3, _t3=0)
    at /build/buildd/kdebase-workspace-4.2.95/obj-x86_64-linux-gnu/solid/networkmanager-0.7/nm-deviceinterface.moc:128
#24 0x00007f29dcd8a719 in OrgFreedesktopNetworkManagerDeviceInterface::qt_metacall (this=0x1cf7e50, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff03fb01d0)
    at /build/buildd/kdebase-workspace-4.2.95/obj-x86_64-linux-gnu/solid/networkmanager-0.7/nm-deviceinterface.moc:84
#25 0x00007f29f9d21433 in QDBusConnectionPrivate::deliverCall (this=0x1d0bb60, object=0x1cf7e50, msg=@0x280b878, metaTypes=@0x280b880, slotIdx=5) at qdbusintegrator.cpp:891
#26 0x00007f29f9d28e1f in QDBusCallDeliveryEvent::placeMetaCall (this=0x766006e00490030, object=0xffffffff) at qdbusintegrator_p.h:101
#27 0x00007f29fbaabf28 in QObject::event (this=0x1cf7e50, e=0x280b830) at kernel/qobject.cpp:1118
#28 0x00007f29f903eb9d in QApplicationPrivate::notify_helper (this=0x1ca4f80, receiver=0x1cf7e50, e=0x280b830) at kernel/qapplication.cpp:4057
#29 0x00007f29f9046dea in QApplication::notify (this=0x1c65b60, receiver=0x1cf7e50, e=0x280b830) at kernel/qapplication.cpp:4022
#30 0x00007f29fa17b62b in KApplication::notify (this=0x1c65b60, receiver=0x1cf7e50, event=0x280b830) at /build/buildd/kde4libs-4.2.95/kdeui/kernel/kapplication.cpp:302
#31 0x00007f29fba9bdfc in QCoreApplication::notifyInternal (this=0x1c65b60, receiver=0x1cf7e50, event=0x280b830) at kernel/qcoreapplication.cpp:610
#32 0x00007f29fba9ca6a in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1c17100) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#33 0x00007f29fbac58a3 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#34 0x00007f29f7ad220a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#35 0x00007f29f7ad58e0 in ?? () from /usr/lib/libglib-2.0.so.0
#36 0x00007f29f7ad5a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#37 0x00007f29fbac552f in QEventDispatcherGlib::processEvents (this=0x1ca4c20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#38 0x00007f29f90d770f in QGuiEventDispatcherGlib::processEvents (this=0x29579f0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#39 0x00007f29fba9a6a2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 66784032}) at kernel/qeventloop.cpp:149
#40 0x00007f29fba9aa6d in QEventLoop::exec (this=0x7fff03fb0b60, flags={i = 66784112}) at kernel/qeventloop.cpp:200
#41 0x00007f29fba9cd34 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#42 0x00007f29ef9aa63b in kdemain (argc=1, argv=0x1c177e0) at /build/buildd/kdebase-workspace-4.2.95/plasma/shells/desktop/main.cpp:50
#43 0x000000000040714e in launch (argc=1, _name=0x1c58648 "/usr/bin/plasma-desktop", args=<value optimized out>, cwd=0x0, envc=0, envs=0x1c58668 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x40a309 "0") at /build/buildd/kde4libs-4.2.95/kinit/kinit.cpp:672
#44 0x0000000000407978 in handle_launcher_request (sock=7, who=<value optimized out>) at /build/buildd/kde4libs-4.2.95/kinit/kinit.cpp:1164
#45 0x0000000000407f25 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.2.95/kinit/kinit.cpp:1357
#46 0x0000000000408a66 in main (argc=2, argv=0x7fff03fb19f8, envp=0x7fff03fb1a10) at /build/buildd/kde4libs-4.2.95/kinit/kinit.cpp:1784
Comment 5 Dima Ryazanov 2009-07-07 01:30:07 UTC
Some more info, in case it's useful:

(gdb) up
#2  0x00007f4ac77d2ec4 in InterfaceGroup::networksToShow (this=0x2720a90) at /build/buildd/plasma-widget-network-manager-0.0+svn966653/applet/interfacegroup.cpp:226
226     /build/buildd/plasma-widget-network-manager-0.0+svn966653/applet/interfacegroup.cpp: No such file or directory.
        in /build/buildd/plasma-widget-network-manager-0.0+svn966653/applet/interfacegroup.cpp
(gdb) info locals
conn = (class RemoteConnection *) 0xffffffff
settings = {{d = 0x27d4250, e = 0x27d4250}}
connectionSetting = {{d = 0xe, e = 0xe}}
_container_ = {c = {{d = 0x278c8d0, e = 0x278c8d0}}, brk = 0, i = {i = 0x25ac830}, e = {i = 0x278c8d0}}
net = (class AbstractWirelessNetwork *) 0x2784c80
connectionForNetworkExists = false
_container_ = {c = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 49053}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}},
          d = 0x2755400}, d = 0x2755400}}, <No data fields>}, brk = 0, i = {i = 0x2755418}, e = {i = 0x2755438}}
topNetworks = {{p = {static shared_null = {ref = {_q_value = 49053}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fffedca0aa0},
    d = 0x7fffedca0aa0}}
allNetworks = {{p = {static shared_null = {ref = {_q_value = 49053}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7f4ae13c2760},
    d = 0x7f4ae13c2760}}
(gdb) up
#3  0x00007f4ac77d393b in InterfaceGroup::updateNetworks (this=0x2720a90) at /build/buildd/plasma-widget-network-manager-0.0+svn966653/applet/interfacegroup.cpp:184
184     in /build/buildd/plasma-widget-network-manager-0.0+svn966653/applet/interfacegroup.cpp
(gdb) info locals
_container_ = {c = {{p = {static shared_null = {ref = {_q_value = 49053}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x27267c0},
      d = 0x27267c0}}, brk = 41188928, i = {i = 0x0}, e = {i = 0x7f4ae19d3cda}}
Comment 6 Will Stephenson 2009-07-23 09:31:19 UTC

*** This bug has been marked as a duplicate of bug 198522 ***
Comment 7 Dima Ryazanov 2009-07-23 18:11:18 UTC
I don't see how the backtraces have anything in common.
And you're saying that RC1 is "unreleased, less than half finished code"?
Comment 8 Dario Andres 2009-07-23 23:35:46 UTC
@Dima: the networkmanager plasmoid schedule is not related to the global KDE one. In fact, it is developed under "playground" (a branch in SVN used for unstable or unfinished code). The problem is that distributions are releasing unstable SVN snapshots (even outdated ones) as "stable" packages which the user could easily install (or installed by default, which is even worse).

So "RC1"(KDE4.3rc1) is not "unreleased, less than half finished code", but the current networkmanager plasmoid code is.

Regards
Dario
Comment 9 Dima Ryazanov 2009-07-24 00:20:01 UTC
Oh... So that would be Ubuntu's bug for including a pre-release version of the network manager applet.

Thanks for the explanation.