tried to edit a user-only WiFi connection that has WPA-PSK security. The crash does not appear when the same connection is a system connection or when it is not secured. the crash happens in kde-nm-connection-editor, while I was able to change the settings with nm-connection-editor Reproducible: Always
-- Backtrace: Application: Connection editor (kde-nm-connection-editor), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [KCrash Handler] #5 0x00007f99022fc446 in ConnectionDetailEditor::gotSecrets(QString const&, bool, QMap<QString, QMap<QString, QVariant> > const&, QString const&) () at /usr/lib64/libplasmanetworkmanagement-editor.so #6 0x00007f9901bbf1fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4 #7 0x00007f9901f6947d in NetworkManager::Connection::gotSecrets(QString const&, bool, QMap<QString, QMap<QString, QVariant> > const&, QString const&) () at /usr/lib64/libNetworkManagerQt.so.1 #8 0x00007f9901f69ef1 in NetworkManager::Connection::onSecretsArrived(QDBusPendingCallWatcher*) () at /usr/lib64/libNetworkManagerQt.so.1 #9 0x00007f9901bbf1fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4 #10 0x00007f98ff4c4b5f in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () at /usr/lib64/libQtDBus.so.4 #11 0x00007f9901bc359e in QObject::event(QEvent*) () at /usr/lib64/libQtCore.so.4 #12 0x00007f990043780c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4 #13 0x00007f990043dd4d in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4 #14 0x00007f9901602a9a in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5 #15 0x00007f9901bab2ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4 #16 0x00007f9901bae57d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQtCore.so.4 #17 0x00007f9901bd88fe in () at /usr/lib64/libQtCore.so.4 #18 0x00007f98fd95fa04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #19 0x00007f98fd95fc48 in () at /usr/lib64/libglib-2.0.so.0 #20 0x00007f98fd95fcec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #21 0x00007f9901bd80be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #22 0x00007f99004d4716 in () at /usr/lib64/libQtGui.so.4 #23 0x00007f9901ba9e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #24 0x00007f9901baa165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #25 0x00007f9901baf5b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4 #26 0x000000000040a7b2 in main ()
Git commit f30429d4285b3ec0e961c232ded73ea6e9e55713 by Jan Grulich. Committed on 20/10/2014 at 11:47. Pushed by grulich into branch '0.9.3'. Request secrets only when we need them Backported from KF5/Plasma5 version M +77 -64 libs/editor/connectiondetaileditor.cpp M +0 -1 libs/editor/connectiondetaileditor.h http://commits.kde.org/plasma-nm/f30429d4285b3ec0e961c232ded73ea6e9e55713
Hi Jan, thanks a lot for this quick reaction. However, I still get this same error. Now though, I think it is a bit different. Before, I think it was only when the connection was a user connection, but now it crashes even on system connections. thx Michi
Do you mean with the fix above?
yep
Can you please tell me specifically what wireless security do you use in wireless security tab? Also can you please send me the new backtrace?
it is wpa2-psk Application: Connection editor (kde-nm-connection-editor), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [KCrash Handler] #5 0x00007f88c7b6d2ba in ConnectionDetailEditor::gotSecrets(QString const&, bool, QMap<QString, QMap<QString, QVariant> > const&, QString const&) () at /usr/lib64/libplasmanetworkmanagement-editor.so #6 0x00007f88c742f1fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4 #7 0x00007f88c77d947d in NetworkManager::Connection::gotSecrets(QString const&, bool, QMap<QString, QMap<QString, QVariant> > const&, QString const&) () at /usr/lib64/libNetworkManagerQt.so.1 #8 0x00007f88c77d9ef1 in NetworkManager::Connection::onSecretsArrived(QDBusPendingCallWatcher*) () at /usr/lib64/libNetworkManagerQt.so.1 #9 0x00007f88c742f1fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4 #10 0x00007f88c4d34b5f in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () at /usr/lib64/libQtDBus.so.4 #11 0x00007f88c743359e in QObject::event(QEvent*) () at /usr/lib64/libQtCore.so.4 #12 0x00007f88c5ca780c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4 #13 0x00007f88c5cadd4d in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4 #14 0x00007f88c6e72a9a in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5 #15 0x00007f88c741b2ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4 #16 0x00007f88c741e57d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQtCore.so.4 #17 0x00007f88c74488fe in () at /usr/lib64/libQtCore.so.4 #18 0x00007f88c36c4a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #19 0x00007f88c36c4c48 in () at /usr/lib64/libglib-2.0.so.0 #20 0x00007f88c36c4cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #21 0x00007f88c74480be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #22 0x00007f88c5d44716 in () at /usr/lib64/libQtGui.so.4 #23 0x00007f88c7419e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #24 0x00007f88c741a165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #25 0x00007f88c741f5b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4 #26 0x000000000040a7b2 in main ()
Are you sure you have the fix above? Did you compile it from git? According to your backtrace it looks it's the same one as before, which doesn't make sense to me as you got secrets twice, but with my fix you should get them just once.
yeah, I've also seen it and double checked. What I noticed was that the address of gotSecrets changed at least, so the binary seems to be different in some way ... And yes I compiled it from git (see https://build.opensuse.org/package/show/home:scalpel4k/plasma-nm)
Ah, I just realized that you the second slot gotSecrets() is from the editor while the first one is from NetworkManagerQt (libnm-qt) library. Can you please compile plasma-nm with debug symbols and send me again a backtrace? I would probably need it to see on what line it crashes. Otherwise I can just guess what could be wrong.
is this ok? Application: Connection editor (kde-nm-connection-editor), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [KCrash Handler] #5 0x00007f1571bf12ca in ConnectionDetailEditor::gotSecrets(QString const&, bool, QMap<QString, QMap<QString, QVariant> > const&, QString const&) (this=0xbb92f0, id=..., success=<optimized out>, secrets=..., msg=...) at /usr/src/debug/plasma-nm-0.9.3.4.git.1413894098.10c5a1a/libs/editor/connectiondetaileditor.cpp:505 #6 0x00007f15714b31fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4 #7 0x00007f157185d47d in NetworkManager::Connection::gotSecrets(QString const&, bool, QMap<QString, QMap<QString, QVariant> > const&, QString const&) (this=<optimized out>, _t1=..., _t2=true, _t3=..., _t4=...) at /usr/src/debug/libnm-qt-0.9.8.2.git.1413294658/build/connection.moc:114 #8 0x00007f157185def1 in NetworkManager::Connection::onSecretsArrived(QDBusPendingCallWatcher*) (this=0x7fff27652460, watcher=0x9fcb20) at /usr/src/debug/libnm-qt-0.9.8.2.git.1413294658/connection.cpp:143 #9 0x00007f15714b31fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4 #10 0x00007f156edb8b5f in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () at /usr/lib64/libQtDBus.so.4 #11 0x00007f15714b759e in QObject::event(QEvent*) () at /usr/lib64/libQtCore.so.4 #12 0x00007f156fd2b80c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4 #13 0x00007f156fd31d4d in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4 #14 0x00007f1570ef6a9a in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5 #15 0x00007f157149f2ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4 #16 0x00007f15714a257d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQtCore.so.4 #17 0x00007f15714cc8fe in () at /usr/lib64/libQtCore.so.4 #18 0x00007f156d748a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #19 0x00007f156d748c48 in () at /usr/lib64/libglib-2.0.so.0 #20 0x00007f156d748cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #21 0x00007f15714cc0be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #22 0x00007f156fdc8716 in () at /usr/lib64/libQtGui.so.4 #23 0x00007f157149de6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #24 0x00007f157149e165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #25 0x00007f15714a35b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4 #26 0x000000000040a7b2 in main(int, char**) (argc=2, argv=0x7fff27653178) at /usr/src/debug/plasma-nm-0.9.3.4.git.1413894098.10c5a1a/editor/main.cpp:85
Git commit 5ab73192a5ab44dbe4912396ea506e61e91c9b8a by Jan Grulich. Committed on 22/10/2014 at 07:35. Pushed by grulich into branch '0.9.3'. Prevent from crash when getting setting for adding secrets M +4 -2 libs/editor/connectiondetaileditor.cpp http://commits.kde.org/plasma-nm/5ab73192a5ab44dbe4912396ea506e61e91c9b8a
Ok, I probably found out the reason why it crashes for you, but I'm still not sure how is it possible. Anyway it should now work, can you please test it?
awesome, it now works! thanks a lot again.
*** Bug 345417 has been marked as a duplicate of this bug. ***
*** Bug 341650 has been marked as a duplicate of this bug. ***
*** Bug 346057 has been marked as a duplicate of this bug. ***
*** Bug 346145 has been marked as a duplicate of this bug. ***
*** Bug 346735 has been marked as a duplicate of this bug. ***
*** Bug 346897 has been marked as a duplicate of this bug. ***
*** Bug 347161 has been marked as a duplicate of this bug. ***
*** Bug 347544 has been marked as a duplicate of this bug. ***
*** Bug 347462 has been marked as a duplicate of this bug. ***
*** Bug 347716 has been marked as a duplicate of this bug. ***
*** Bug 348010 has been marked as a duplicate of this bug. ***
Created attachment 93860 [details] New crash information added by DrKonqi kde-nm-connection-editor (0.9.3.4) on KDE Platform 4.14.2 using Qt 4.8.7 - What I was doing when the application crashed: Double clicked an existing connection. Each time I tried it crashed. -- Backtrace (Reduced): #6 0x00007f7108c4a166 in ConnectionDetailEditor::gotSecrets(QString const&, bool, QMap<QString, QMap<QString, QVariant> > const&, QString const&) () from /usr/lib/libplasmanetworkmanagement-editor.so [...] #8 0x00007f71088bfb4d in NetworkManager::Connection::gotSecrets(QString const&, bool, QMap<QString, QMap<QString, QVariant> > const&, QString const&) () from /usr/lib/x86_64-linux-gnu/libNetworkManagerQt.so.1 #9 0x00007f71088c04d0 in NetworkManager::Connection::onSecretsArrived(QDBusPendingCallWatcher*) () from /usr/lib/x86_64-linux-gnu/libNetworkManagerQt.so.1 [...] #11 0x00007f7108642e1f in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /usr/lib/x86_64-linux-gnu/libQtDBus.so.4 #12 0x00007f710804ff51 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
*** Bug 351591 has been marked as a duplicate of this bug. ***
*** Bug 351808 has been marked as a duplicate of this bug. ***
Created attachment 97235 [details] New crash information added by DrKonqi kde-nm-connection-editor (0.9.3.5) on KDE Platform 4.14.9 using Qt 4.8.6 - What I was doing when the application crashed: OpenVPN certicate change. Tried to edit VPN and the Connection Editor crashed. Fully repeatable, every time. -- Backtrace (Reduced): #5 0x00007f1e1fba13d9 in SettingWidget::SettingWidget(QSharedPointer<NetworkManager::Setting> const&, QWidget*, QFlags<Qt::WindowType>) () at /usr/lib64/libplasmanetworkmanagement-editor.so #6 0x00007f1e1fb8547a in IPv6Widget::IPv6Widget(QSharedPointer<NetworkManager::Setting> const&, QWidget*, QFlags<Qt::WindowType>) () at /usr/lib64/libplasmanetworkmanagement-editor.so #7 0x00007f1e1fba5ab9 in ConnectionDetailEditor::initTabs() () at /usr/lib64/libplasmanetworkmanagement-editor.so #8 0x00007f1e1fbac6b2 in ConnectionDetailEditor::gotSecrets(QString const&, bool, QMap<QString, QMap<QString, QVariant> > const&, QString const&) () at /usr/lib64/libplasmanetworkmanagement-editor.so [...] #10 0x00007f1e1f81bfad in NetworkManager::Connection::gotSecrets(QString const&, bool, QMap<QString, QMap<QString, QVariant> > const&, QString const&) () at /usr/lib64/libNetworkManagerQt.so.1
I have version 0.9.3.5 and it's still broken :( Application: kde-nm-connection-editor (0.9.3.5) KDE Platform Version: 4.14.9 Qt Version: 4.8.6 Operating System: Linux 3.16.7-35-desktop x86_64 Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"
Created attachment 98819 [details] New crash information added by DrKonqi kde-nm-connection-editor (0.9.3.5) on KDE Platform 4.14.9 using Qt 4.8.6 I have the same. It's not fixed. -- Backtrace (Reduced): #5 0x00007fafbec5a3d9 in SettingWidget::SettingWidget(QSharedPointer<NetworkManager::Setting> const&, QWidget*, QFlags<Qt::WindowType>) () at /usr/lib64/libplasmanetworkmanagement-editor.so #6 0x00007fafbec3e47a in IPv6Widget::IPv6Widget(QSharedPointer<NetworkManager::Setting> const&, QWidget*, QFlags<Qt::WindowType>) () at /usr/lib64/libplasmanetworkmanagement-editor.so #7 0x00007fafbec5eab9 in ConnectionDetailEditor::initTabs() () at /usr/lib64/libplasmanetworkmanagement-editor.so #8 0x00007fafbec60ad2 in ConnectionDetailEditor::initEditor() () at /usr/lib64/libplasmanetworkmanagement-editor.so #9 0x00007fafbec62914 in ConnectionDetailEditor::ConnectionDetailEditor(NetworkManager::ConnectionSettings::ConnectionType, QWidget*, QString const&, bool, QFlags<Qt::WindowType>) () at /usr/lib64/libplasmanetworkmanagement-editor.so
Created attachment 98849 [details] New crash information added by DrKonqi kde-nm-connection-editor (0.9.3.5) on KDE Platform 4.14.9 using Qt 4.8.6 - What I was doing when the application crashed: I attempted to add an openVPN connection via the Network Manager. Reproducible at every attempt. The bug report claiming a fix for the afforementioned suggests that upgrading libNetworkManagerQt will solve the problem. I attempted to upgrade the library with zypper whereby I was informed that I was already running the most current version. 'libNetworkManagerQt1-0.9.8.2-3.1.3.x86_64' . -- Backtrace (Reduced): #5 0x00007fe8b9a383d9 in SettingWidget::SettingWidget(QSharedPointer<NetworkManager::Setting> const&, QWidget*, QFlags<Qt::WindowType>) () at /usr/lib64/libplasmanetworkmanagement-editor.so #6 0x00007fe8b9a1c47a in IPv6Widget::IPv6Widget(QSharedPointer<NetworkManager::Setting> const&, QWidget*, QFlags<Qt::WindowType>) () at /usr/lib64/libplasmanetworkmanagement-editor.so #7 0x00007fe8b9a3cab9 in ConnectionDetailEditor::initTabs() () at /usr/lib64/libplasmanetworkmanagement-editor.so #8 0x00007fe8b9a3ead2 in ConnectionDetailEditor::initEditor() () at /usr/lib64/libplasmanetworkmanagement-editor.so #9 0x00007fe8b9a40914 in ConnectionDetailEditor::ConnectionDetailEditor(NetworkManager::ConnectionSettings::ConnectionType, QWidget*, QString const&, bool, QFlags<Qt::WindowType>) () at /usr/lib64/libplasmanetworkmanagement-editor.so
After installing libNetworkManagerQt1 0.9.8.3 from the leap repositories (http://software.opensuse.org/package/libNetworkManagerQt1) into my opensuse 13.2 system, problem was solved.
Thanks Gerard Dirkse! That works great! I've created update request for openSUSE 13.2 https://build.opensuse.org/request/show/419818
*** Bug 369351 has been marked as a duplicate of this bug. ***