Summary: | Crash plasmashell after openvpn disconnect | ||
---|---|---|---|
Product: | [Plasma] plasma-nm | Reporter: | Serge Pavlyuk <flopss> |
Component: | applet | Assignee: | Jan Grulich <jgrulich> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aacid, jgrulich, nalvarez, plasma-bugs, rdieter, valdikss |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.12.4 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/plasma-nm/37a924609d79e9fb87ef9ad4234ab335aa4db362 | Version Fixed In: | |
Attachments: |
New crash information added by DrKonqi
backtrace with debug symbols backtrace with debug symbols openvpn process remains after disconnection |
Description
Serge Pavlyuk
2018-05-01 00:54:53 UTC
Created attachment 112434 [details]
New crash information added by DrKonqi
plasmashell (5.12.4) using Qt 5.10.1
- What I was doing when the application crashed:
1. Using NetworkManager Plasma Applet, connect to Wi-Fi network and OpenVPN VPN.
2. Disconnect from OpenVPN.
-- Backtrace (Reduced):
#6 0x00007fe31ec64f34 in NetworkManager::Device::ipInterfaceName() const () at /lib64/libKF5NetworkManagerQt.so.6
#7 0x00007fe31f2a0a5b in NetworkModel::addAvailableConnection(QString const&, QSharedPointer<NetworkManager::Device> const&) () at /lib64/libplasmanm_internal.so
#8 0x00007fe31f2a1d11 in NetworkModel::availableConnectionAppeared(QString const&) () at /lib64/libplasmanm_internal.so
[...]
#10 0x00007fe31ed444b9 in NetworkManager::Device::availableConnectionAppeared(QString const&) () at /lib64/libKF5NetworkManagerQt.so.6
#11 0x00007fe31ec68c35 in NetworkManager::DevicePrivate::propertyChanged(QString const&, QVariant const&) () at /lib64/libKF5NetworkManagerQt.so.6
Created attachment 112438 [details]
backtrace with debug symbols
Here's the backtrace with debug symbols.
Created attachment 112439 [details]
backtrace with debug symbols
Sorry, here's the correct one.
Proposed patch at https://phabricator.kde.org/D12716 Created attachment 112440 [details] openvpn process remains after disconnection (In reply to Albert Astals Cid from comment #4) > Proposed patch at https://phabricator.kde.org/D12716 I've recompiled plasma-nm with this patch and disconnecting VPN does not crash the applet now, but I believe that crashing is just a part of the problem. OpenVPN process just won't terminate in 1/5 of times. Applet shows that VPN is disconnected, but in reality it's not. Please see the attached video. The other issue you have (OpenVPN not being disconnected properly) is fault of NetworkManager-openvpn plugin, which cannot be fixed in plasma-nm. You would need to report the other issue to NetworkManager instead. Git commit 37a924609d79e9fb87ef9ad4234ab335aa4db362 by Albert Astals Cid. Committed on 06/05/2018 at 17:58. Pushed by aacid into branch 'Plasma/5.12'. Check for device not being null Summary: In almost all places we use NetworkManager::findNetworkInterface we later check for the device is not null, do the same here Reviewers: #plasma, jgrulich Reviewed By: jgrulich Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D12716 M +3 -1 libs/models/networkmodel.cpp https://commits.kde.org/plasma-nm/37a924609d79e9fb87ef9ad4234ab335aa4db362 |