Bug 194937 - networkmanager plasma crash when interface is removed
Summary: networkmanager plasma crash when interface is removed
Status: RESOLVED DUPLICATE of bug 193677
Alias: None
Product: Network Management
Classification: Miscellaneous
Component: Plasma Widget (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Will Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-02 00:27 UTC by Sjors Gielen
Modified: 2009-07-23 08:15 UTC (History)
3 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 Sjors Gielen 2009-06-02 00:27:06 UTC
Application that crashed: plasma-desktop
Version of the application: 0.3
KDE Version: 4.2.85 (KDE 4.2.85 (KDE 4.3 Beta1))
Qt Version: 4.5.1
Operating System: Linux 2.6.30-6-generic x86_64
Distribution: Ubuntu karmic (development branch)

What I was doing when the application crashed:
This crash happened for me while installing and uninstalling (unloading) VMware; it unloads a kernel module causing two network interfaces to be removed, causing this crash.
However, I could not find the debugging packages for plasma-widget-network-manager on Ubuntu, so I can't provide a better backtrace at this moment. I think I can reproduce.

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

Thread 2 (Thread 0x7f3dcd06f950 (LWP 5535)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f3dec41783b in QWaitCondition::wait (this=<value optimized out>, mutex=0x202fb58, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f3de91cdd1c in QHostInfoAgent::run (this=0x202fb40) at kernel/qhostinfo.cpp:260
#3  0x00007f3dec416781 in QThreadPrivate::start (arg=0x202fb40) at thread/qthread_unix.cpp:189
#4  0x00007f3de6ccd3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f3def2870bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3def86a7a0 (LWP 5534)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:394
#6  0x00007f3dec43ac9d in QListData::detach2 (this=0x7fff8b5f8e00) at /usr/include/bits/string3.h:52
#7  0x00007f3dd09c5b63 in ?? () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#8  0x00007f3dd09c4aaf in ?? () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#9  0x00007f3dd09d625c in ?? () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#10 0x00007f3dd09c2b74 in ?? () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#11 0x00007f3dec514e12 in QMetaObject::activate (sender=0x20686c0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1bf7) at kernel/qobject.cpp:3120
#12 0x00007f3dd09c6a4a in ?? () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#13 0x00007f3dd09c2aa5 in ?? () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#14 0x00007f3dd09c2b40 in ?? () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#15 0x00007f3dec514e12 in QMetaObject::activate (sender=0x1e2bd40, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1bf7) at kernel/qobject.cpp:3120
#16 0x00007f3dd07a17e7 in NetworkManagerSettings::connectionRemoved () from /usr/lib/libknmdbus.so.4
#17 0x00007f3dd07a2d8f in NetworkManagerSettings::onConnectionRemoved () from /usr/lib/libknmdbus.so.4
#18 0x00007f3dd07a37fc in NetworkManagerSettings::qt_metacall () from /usr/lib/libknmdbus.so.4
#19 0x00007f3dec514e12 in QMetaObject::activate (sender=0x3a83450, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1bf7) at kernel/qobject.cpp:3120
#20 0x00007f3dd07a06c0 in OrgFreedesktopNetworkManagerSettingsConnectionInterface::qt_metacall () from /usr/lib/libknmdbus.so.4
#21 0x00007f3dec818024 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=@0x3a6f2f0, 
    slotIdx=<value optimized out>) at qdbusintegrator.cpp:891
#22 0x00007f3dec81f57f in QDBusCallDeliveryEvent::placeMetaCall (this=0x0, object=0x3bf1ff0) at qdbusintegrator_p.h:101
#23 0x00007f3dec50eef9 in QObject::event (this=0x3a83450, e=0x3a6f2a0) at kernel/qobject.cpp:1118
#24 0x00007f3decc053fc in QApplicationPrivate::notify_helper (this=0x18f7b10, receiver=0x3a83450, e=0x3a6f2a0) at kernel/qapplication.cpp:4057
#25 0x00007f3decc0c6ae in QApplication::notify (this=0x18e1280, receiver=0x3a83450, e=0x3a6f2a0) at kernel/qapplication.cpp:4022
#26 0x00007f3dedcf4526 in KApplication::notify (this=0x18e1280, receiver=0x3a83450, event=0x3a6f2a0) at ../../kdeui/kernel/kapplication.cpp:307
#27 0x00007f3dec4ff3ec in QCoreApplication::notifyInternal (this=0x18e1280, receiver=0x3a83450, event=0x3a6f2a0) at kernel/qcoreapplication.cpp:610
#28 0x00007f3dec4ffeda in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x18c7e60)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#29 0x00007f3dec528a93 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#30 0x00007f3de6f1dfce in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0x00007f3de6f21728 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0x00007f3de6f2189c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#33 0x00007f3dec528706 in QEventDispatcherGlib::processEvents (this=0x18c7a50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#34 0x00007f3decc9b1de in QGuiEventDispatcherGlib::processEvents (this=0x7f3d4d0e4210, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#35 0x00007f3dec4fdcc2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#36 0x00007f3dec4fe094 in QEventLoop::exec (this=0x7fff8b5f9fa0, flags=) at kernel/qeventloop.cpp:200
#37 0x00007f3dec500189 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#38 0x00007f3def54f21f in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../plasma/shells/desktop/main.cpp:50
#39 0x00007f3def1bf5a6 in __libc_start_main (main=0x400730 <main>, argc=1, ubp_av=0x7fff8b5fa2a8, init=0x400760 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fff8b5fa298) at libc-start.c:220
#40 0x0000000000400669 in _start () at ../sysdeps/x86_64/elf/start.S:113
Comment 1 Dario Andres 2009-06-02 13:14:19 UTC
The debug symbols for the NetworkManager plasmoid package are missing:

#7  0x00007f3dd09c5b63 in ?? () from
/usr/lib/kde4/plasma_applet_networkmanagement.so
#8  0x00007f3dd09c4aaf in ?? () from
/usr/lib/kde4/plasma_applet_networkmanagement.so
#9  0x00007f3dd09d625c in ?? () from
/usr/lib/kde4/plasma_applet_networkmanagement.so
#10 0x00007f3dd09c2b74 in ?? () from
/usr/lib/kde4/plasma_applet_networkmanagement.so

You would need to install some package (I don't know which); in order to get a completer backtrace. Thanks
Comment 2 Sjors Gielen 2009-06-02 18:30:24 UTC
I quote myself:

> However, I could not find the debugging packages for
> plasma-widget-network-manager on Ubuntu, so I can't provide a better backtrace
> at this moment. I think I can reproduce.

Is this applet downloadable as a seperate program, i.e. can I compile it apart from the rest of KDE and get debugging libraries to get a better backtrace? :-)
Comment 3 Dario Andres 2009-06-08 00:26:57 UTC
(In reply to comment #2)
> Is this applet downloadable as a seperate program, i.e. can I compile it apart
> from the rest of KDE and get debugging libraries to get a better backtrace? :-)

I think you can but that could mess your installation. Can you ask/search at http://ubuntuforums.org/ for the proper package name ? (if it exists)

Thanks!
Comment 4 Sjors Gielen 2009-06-08 01:37:56 UTC
I am quite sure there is no such package - packages which provide debugging symbols are usually named [thepackage]-dbg; I also tried using apt-file to search for the missing debugging symbol file and couldn't find it. 

Either way, I don't mind messing with that if it's only that .so being replaced with one with debugging symbols. I can always apt-get --reinstall the package, it's no problem as long as I don't have to install all of kdelibs or something like that.

My hard drive broke two days ago and I'm waiting for a replacement, so I can't test now, however. I'll keep this bug in mind for when it's back; when it is, I will try to find plasma_applet_networkmanagement in SVN (or do you have a link?) and install it from there. I'll report back here with a new back trace if I succeed :)
Comment 5 Dario Andres 2009-07-07 22:18:40 UTC
Thanks
Comment 6 Will Stephenson 2009-07-23 08:15:35 UTC
I guess this is the same crash

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