Summary: | Crash when killing NetworkManager [WiredNetworkInterfaceActivatableProvider::needsActivatableForUnconfigured, NetworkInterfaceActivatableProvider::maintainActivatableForUnconfigured, NetworkInterfaceActivatableProvider::handleRemove] | ||
---|---|---|---|
Product: | [Unmaintained] Network Management | Reporter: | Lindsay Smart <idonoteverreadthis> |
Component: | KDED Module | Assignee: | Will Stephenson <wstephenson> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | admin, andresbajotierra, Enygma2002_ro, lamarque, me, tushargkwd |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi |
Description
Lindsay Smart
2010-10-13 16:02:57 UTC
[Comment from a bug triager] From bug 257706: Plasma crashed after trying to use Network Manager - What I was doing when the application crashed: Trying to activate network. Network manager service reported as Dead. Manually using dhclient, I can use the network, but trough the plasma network manager, I can not. Other backtrace hints from bug 254232: [KCrash Handler] #7 0x0760bb25 in Solid::Control::WiredNetworkInterface::carrier() const () from /usr/lib/libsolidcontrol.so.4 #8 0x0811c83d in WiredNetworkInterfaceActivatableProvider::needsActivatableForUnconfigured() const () from /usr/lib/libknmservice.so.4 ... *** Bug 254232 has been marked as a duplicate of this bug. *** *** Bug 257706 has been marked as a duplicate of this bug. *** Last November I commited a patch to solve this problem, commit number 1600a9301a86017d2d8522dee0da9861f4aeda86 in git. Is it still happening to you? If not we can close this bug and mark it as solved. *** Bug 235544 has been marked as a duplicate of this bug. *** *** Bug 267294 has been marked as a duplicate of this bug. *** Created attachment 58498 [details] New crash information added by DrKonqi plasma-desktop (0.3) on KDE Platform 4.5.5 (KDE 4.5.5) using Qt 4.7.1 - What I was doing when the application crashed: Reproducing bug #254070: "killall -9 NetworkManager" and then restart NetworkManager from services. -- Backtrace (Reduced): #7 Solid::Control::FrontendObjectPrivate::backendObject (this=0x10) at /usr/src/debug/kdebase-workspace-4.5.5/libs/solid/control/frontendobject.cpp:39 #8 0x047a5f85 in Solid::Control::NetworkInterface::uni (this=0xa8d6e00) at /usr/src/debug/kdebase-workspace-4.5.5/libs/solid/control/networkinterface.cpp:63 #9 0x04289f19 in UiUtils::connectionForInterface (activatables=0x9fa19c0, interface=0xa8d6e00) at /usr/src/debug/networkmanagement-0.9/libs/internals/uiutils.cpp:247 #10 0x0133c7a0 in InterfaceItem::currentConnectionChanged (this=0xac20f90) at /usr/src/debug/networkmanagement-0.9/applet/interfaceitem.cpp:309 #11 0x0133c600 in InterfaceItem::setConnectionInfo (this=0xac20f90) at /usr/src/debug/networkmanagement-0.9/applet/interfaceitem.cpp:271 This does not look resolved to me. As you can see, I reproduced the bug in the comment above. Additionally, bug #267294 (duplicate) was reported in February 2011, so I don`t know how effective the November 2010 patch was. I am still getting such crashes occasionally and will report as much as possible. Thanks. It's still present for me, but it might be possible that the fix is not in the updates that automatically come from the Ubuntu repositories. Is there a command I can run to see if the version I have is the one that contains the fix in comment #4 or not? Created attachment 59095 [details]
New crash information added by DrKonqi
plasma-desktop (0.4) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.1
- What I was doing when the application crashed:
1. Resumed from stand-by and NetworkManager was dead.
2. Tried to start the NM service using system-config-services and the crash occured.
-- Backtrace (Reduced):
#8 0x01be1e10 in NMPopup::updateHasWireless (this=0xa6cc5d8) at /usr/src/debug/networkmanagement-0.9/applet/nmpopup.cpp:536
#9 0x01be27a6 in NMPopup::networkingEnabledToggled (this=0xa6cc5d8, checked=false) at /usr/src/debug/networkmanagement-0.9/applet/nmpopup.cpp:512
#10 0x01bda710 in NMPopup::qt_metacall (this=0xa6cc5d8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf885cb8) at /usr/src/debug/networkmanagement-0.9/i686-redhat-linux-gnu/applet/moc_nmpopup.cpp:107
[...]
#13 0x029b62fa in Plasma::CheckBox::toggled (this=0xa6d1d18, _t1=false) at /usr/src/debug/kdelibs-4.6.1/i686-redhat-linux-gnu/plasma/checkbox.moc:145
#14 0x029b6386 in Plasma::CheckBox::qt_metacall (this=0xa6d1d18, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf885f48) at /usr/src/debug/kdelibs-4.6.1/i686-redhat-linux-gnu/plasma/checkbox.moc:96
I am not able to reproduce this bug in a recent Plasma NM snapshot. If nobody also can I will close this bug as fixed. Please keep in mind that some distributions is shipping very outdated Plasma NM snapshot from last year. When testing make sure it is recent Plasma NM snapshot. If you cannot assure that then it is better clone networkmanagement repository and compile Plasma NM yourself: git clone git://anongit.kde.org/netwokmanagement mkdir networkmanagement/build cd networkmanagement/build cmake -DCMAKE_INSTALL_PREFIX=/usr .. make make install Closing bug. Reopen if it happens again. *** Bug 282547 has been marked as a duplicate of this bug. *** Git commit 809bc46d2f4708b0e3d11568a72ed1ad335541e2 by Lamarque V. Souza. Committed on 22/09/2011 at 20:02. Pushed by lvsouza into branch 'nm09'. Prevents two crashes because of dangling pointers when NM stops. BUG: 254070 M +27 -0 libs/service/networkinterfaceactivatableprovider.cpp M +4 -0 libs/service/networkinterfaceactivatableprovider.h M +6 -1 libs/service/wirednetworkinterfaceactivatableprovider.cpp M +3 -1 libs/service/wirelessnetworkinterfaceactivatableprovider.cpp M +1 -1 plasma_nm_version.h http://commits.kde.org/networkmanagement/809bc46d2f4708b0e3d11568a72ed1ad335541e2 Git commit f72e4ecc141c450b139e0afb6adca00672079868 by Lamarque V. Souza. Committed on 22/09/2011 at 20:02. Pushed by lvsouza into branch 'master'. Prevents two crashes because of dangling pointers when NM stops. BUG: 254070 M +27 -0 libs/service/networkinterfaceactivatableprovider.cpp M +4 -0 libs/service/networkinterfaceactivatableprovider.h M +6 -1 libs/service/wirednetworkinterfaceactivatableprovider.cpp M +3 -1 libs/service/wirelessnetworkinterfaceactivatableprovider.cpp http://commits.kde.org/networkmanagement/f72e4ecc141c450b139e0afb6adca00672079868 |