plasma-widget-networkmanagement and dot1x: segfault in libknmui

Bug #426692 reported by Jtb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
knetworkmanager
Fix Released
High
plasma-widget-networkmanagement (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: plasma-widget-networkmanagement

I tried to connect to a 802.1x secured ethernet and plasma-widget-networkmanagement segfaults each time I select the connection.

Steps:
created a new wired profile
default for everything except 802.1x Security. For 802.1x I tried several combinations (with or without user/pass, peap, ttls etc.).

Left click on systray icon, select connection and plasma-widget-networkmanagement segfaults.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff267db9d in WirelessSecuritySettingWidget::WirelessSecuritySettingWidget(Knm::Connection*, Solid::Control::WirelessNetworkInterface*, Solid::Control::AccessPoint*, QWidget*) () from /usr/lib/libknmui.so.4
(gdb) bt
#0 0x00007ffff267db9d in WirelessSecuritySettingWidget::WirelessSecuritySettingWidget(Knm::Connection*, Solid::Control::WirelessNetworkInterface*, Solid::Control::AccessPoint*, QWidget*) () from /usr/lib/libknmui.so.4
#1 0x00007ffff2692d80 in ConnectionSecretsJob::doAskUser() () from /usr/lib/libknmui.so.4
#2 0x00007ffff2693596 in ConnectionSecretsJob::doWork() () from /usr/lib/libknmui.so.4
#3 0x00007ffff26666f0 in ConnectionSecretsJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libknmui.so.4
#4 0x00007ffff571cd2c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#5 0x00007ffff5721d6f in ?? () from /usr/lib/libQtCore.so.4
#6 0x00007ffff5716cd3 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#7 0x00007ffff5e0befc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#8 0x00007ffff5e131ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#9 0x00007ffff7557db6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#10 0x00007ffff5707b7c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#11 0x00007ffff57327b2 in ?? () from /usr/lib/libQtCore.so.4
#12 0x00007ffff57301ad in ?? () from /usr/lib/libQtCore.so.4
#13 0x00007ffff168fade in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#14 0x00007ffff16934a8 in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00007ffff16935d0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#16 0x00007ffff57300f6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#17 0x00007ffff5ea03de in ?? () from /usr/lib/libQtGui.so.4
#18 0x00007ffff5706482 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#19 0x00007ffff5706854 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#20 0x00007ffff5708a09 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#21 0x000000000040b7df in _start ()

Description: Ubuntu karmic (development branch)
Release: 9.10

plasma-widget-networkmanagement:
  Installed: 0.1~svn1013816-0ubuntu1
  Candidate: 0.1~svn1013816-0ubuntu1

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Is this still a problem if you upgrade plasma-widget-networkmanagement to the latest version? The snapshot you are using is several weeks old.

Changed in plasma-widget-networkmanagement (Ubuntu):
status: New → Incomplete
Revision history for this message
Jtb (e-launchpad-jensthebrain-de) wrote :

Same with the new version:
plasma-widget-networkmanagement:
  Installed: 0.1~svn1017841-0ubuntu2
  Candidate: 0.1~svn1017841-0ubuntu2

Program received signal SIGSEGV, Segmentation fault.
0x00007fad895f980d in WirelessSecuritySettingWidget::WirelessSecuritySettingWidget(Knm::Connection*, Solid::Control::WirelessNetworkInterface*, Solid::Control::AccessPoint*, QWidget*) () from /usr/lib/libknmui.so.4
(gdb) bt
#0 0x00007fad895f980d in WirelessSecuritySettingWidget::WirelessSecuritySettingWidget(Knm::Connection*, Solid::Control::WirelessNetworkInterface*, Solid::Control::AccessPoint*, QWidget*) () from /usr/lib/libknmui.so.4
#1 0x00007fad8960e9f0 in ConnectionSecretsJob::doAskUser() () from /usr/lib/libknmui.so.4
#2 0x00007fad8960f206 in ConnectionSecretsJob::doWork() () from /usr/lib/libknmui.so.4
#3 0x00007fad895dee20 in ConnectionSecretsJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libknmui.so.4
#4 0x00007fad8c698d2c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#5 0x00007fad8c69dd6f in ?? () from /usr/lib/libQtCore.so.4
#6 0x00007fad8c692cd3 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#7 0x00007fad8cd87efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#8 0x00007fad8cd8f1ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#9 0x00007fad8e4d4db6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#10 0x00007fad8c683b7c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#11 0x00007fad8c6ae7b2 in ?? () from /usr/lib/libQtCore.so.4
#12 0x00007fad8c6ac1ad in ?? () from /usr/lib/libQtCore.so.4
#13 0x00007fad88606bee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#14 0x00007fad8860a5b8 in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00007fad8860a6e0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#16 0x00007fad8c6ac0f6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#17 0x00007fad8ce1c3de in ?? () from /usr/lib/libQtGui.so.4
#18 0x00007fad8c682482 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#19 0x00007fad8c682854 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#20 0x00007fad8c684a09 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#21 0x000000000040ce8f in _start ()

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Could you install plasma-widget-networkmanagement-dbgsym from the repository described at: https://wiki.kubuntu.org/DebuggingProgramCrash

And then in the gdb shell run "backtrace full" to get a better backtrace? Thanks in advance.

Revision history for this message
Jtb (e-launchpad-jensthebrain-de) wrote :
Download full text (4.3 KiB)

Program received signal SIGSEGV, Segmentation fault.
0x00007fe112dfa80d in Knm::WirelessSecuritySetting::setSecurityType (this=0xfa0350, connection=<value optimized out>,
    iface=<value optimized out>, ap=<value optimized out>, parent=<value optimized out>)
    at /build/buildd/plasma-widget-networkmanagement-0.1~svn1017841/libs/ui/../internals/settings/802-11-wireless-security.h:44
44 mSecurityType = v;
(gdb) bt full
#0 0x00007fe112dfa80d in Knm::WirelessSecuritySetting::setSecurityType (this=0xfa0350, connection=<value optimized out>,
    iface=<value optimized out>, ap=<value optimized out>, parent=<value optimized out>)
    at /build/buildd/plasma-widget-networkmanagement-0.1~svn1017841/libs/ui/../internals/settings/802-11-wireless-security.h:44
No locals.
#1 WirelessSecuritySettingWidget (this=0xfa0350, connection=<value optimized out>, iface=<value optimized out>, ap=<value optimized out>,
    parent=<value optimized out>)
    at /build/buildd/plasma-widget-networkmanagement-0.1~svn1017841/libs/ui/security/wirelesssecuritysettingwidget.cpp:142
No locals.
#2 0x00007fe112e0f9f0 in ConnectionSecretsJob::doAskUser (this=0xebf630)
    at /build/buildd/plasma-widget-networkmanagement-0.1~svn1017841/libs/ui/connectionsecretsjob.cpp:133
        __PRETTY_FUNCTION__ = "void ConnectionSecretsJob::doAskUser()"
#3 0x00007fe112e10206 in ConnectionSecretsJob::doWork (this=0xebf630)
    at /build/buildd/plasma-widget-networkmanagement-0.1~svn1017841/libs/ui/connectionsecretsjob.cpp:82
        __PRETTY_FUNCTION__ = "void ConnectionSecretsJob::doWork()"
#4 0x00007fe112ddfe20 in ConnectionSecretsJob::qt_metacall (this=0xebf630, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
    _a=0x7fffc87bf0d0)
    at /build/buildd/plasma-widget-networkmanagement-0.1~svn1017841/obj-x86_64-linux-gnu/libs/ui/moc_connectionsecretsjob.cpp:71
No locals.
#5 0x00007fe115e99d2c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#6 0x00007fe115e9ed6f in ?? () from /usr/lib/libQtCore.so.4
No symbol table info available.
#7 0x00007fe115e93cd3 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#8 0x00007fe116588efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
No symbol table info available.
#9 0x00007fe1165901ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
No symbol table info available.
#10 0x00007fe117cd5db6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
No symbol table info available.
#11 0x00007fe115e84b7c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#12 0x00007fe115eaf7b2 in ?? () from /usr/lib/libQtCore.so.4
No symbol table info available.
#13 0x00007fe115ead1ad in ?? () from /usr/lib/libQtCore.so.4
No symbol table info available.
#14 0x00007fe111e07bee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#15 0x00007fe111e0b5b8 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#16 0x00007fe111e0b6e0 in ...

Read more...

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at: http://bugs.kde.org/show_bug.cgi?id=206880

Changed in plasma-widget-networkmanagement (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
Changed in knetworkmanager:
status: Unknown → Confirmed
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Fix committed for the next upstream svn snapshot we upload.

Changed in plasma-widget-networkmanagement (Ubuntu):
status: Triaged → Fix Committed
Changed in knetworkmanager:
status: Confirmed → Fix Released
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Fix released to Karmic.

Changed in plasma-widget-networkmanagement (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Jtb (e-launchpad-jensthebrain-de) wrote :

Thank you Jonathan - it doesn't crash anymore :)
But there is still a bug which I've already filed...

Changed in knetworkmanager:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.