Bug 242891

Summary: Network Manager related crash when a password is asked for a WiFi connection [WirelessSecuritySettingWidget::writeConfig, ConnectionSecretsJob::dialogAccepted]
Product: [Unmaintained] knetworkmanager Reporter: claude castellani <claude.castellani>
Component: generalAssignee: Will Stephenson <wstephenson>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: andresbajotierra, batequeixo, dabrito.espinoza, eric.erfanian, gregorio-bos, jiernzuanzu, lamarque, mzanetti, pearson45j, rockdemon
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description claude castellani 2010-06-26 18:44:17 UTC
Application that crashed: knetworkmanager
Version of the application: v0.9
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-22-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Apres le telechargement des drivers de la carte wifi, le reseau wifi s identifie bien mais n arrive pas a se connecter. 

 -- Backtrace:
Application: KNetworkManager (knetworkmanager), signal: Segmentation fault
[KCrash Handler]
#6  0x00be53d9 in WirelessSecuritySettingWidget::writeConfig() () from /usr/lib/libknmui.so.4
#7  0x00bff437 in ConnectionSecretsJob::dialogAccepted() () from /usr/lib/libknmui.so.4
#8  0x00bc8b93 in ConnectionSecretsJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libknmui.so.4
#9  0x00e07263 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#10 0x00e07ec2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#11 0x009534d7 in KDialog::okClicked() () from /usr/lib/libkdeui.so.5
#12 0x00955de8 in KDialog::slotButtonClicked(int) () from /usr/lib/libkdeui.so.5
#13 0x00958319 in KDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#14 0x00e07263 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#15 0x00e07ec2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#16 0x00e09e73 in QSignalMapper::mapped(int) () from /usr/lib/libQtCore.so.4
#17 0x00e0a70d in QSignalMapper::map(QObject*) () from /usr/lib/libQtCore.so.4
#18 0x00e0a8ee in QSignalMapper::map() () from /usr/lib/libQtCore.so.4
#19 0x00e0b12b in QSignalMapper::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#20 0x00e07263 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#21 0x00e076d8 in QMetaObject::activate(QObject*, QMetaObject const*, int, int, void**) () from /usr/lib/libQtCore.so.4
#22 0x016cccc1 in QAbstractButton::clicked(bool) () from /usr/lib/libQtGui.so.4
#23 0x013f5549 in ?? () from /usr/lib/libQtGui.so.4
#24 0x013f71a4 in ?? () from /usr/lib/libQtGui.so.4
#25 0x013f7431 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#26 0x01095012 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#27 0x013f53ee in QAbstractButton::event(QEvent*) () from /usr/lib/libQtGui.so.4
#28 0x0149f66d in QPushButton::event(QEvent*) () from /usr/lib/libQtGui.so.4
#29 0x0103ff54 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#30 0x01048033 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#31 0x009eebfa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#32 0x00df16cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#33 0x01046f6e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib/libQtGui.so.4
#34 0x010b57c0 in ?? () from /usr/lib/libQtGui.so.4
#35 0x010b4c4b in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#36 0x010e1502 in ?? () from /usr/lib/libQtGui.so.4
#37 0x0772ce88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#38 0x07730730 in ?? () from /lib/libglib-2.0.so.0
#39 0x07730863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#40 0x00e1c02c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#41 0x010e0be5 in ?? () from /usr/lib/libQtGui.so.4
#42 0x00defc79 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#43 0x00df00ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#44 0x00df253f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#45 0x0103fdd7 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#46 0x08052905 in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2010-07-07 03:01:05 UTC
*** Bug 243162 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2010-07-07 03:01:10 UTC
*** Bug 243353 has been marked as a duplicate of this bug. ***
Comment 3 Nicolas L. 2010-08-12 16:59:46 UTC
*** Bug 243824 has been marked as a duplicate of this bug. ***
Comment 4 Nicolas L. 2010-08-12 16:59:59 UTC
*** Bug 246739 has been marked as a duplicate of this bug. ***
Comment 5 Nicolas L. 2010-08-12 17:00:08 UTC
*** Bug 247419 has been marked as a duplicate of this bug. ***
Comment 6 Michael Zanetti 2010-08-13 20:17:40 UTC
Bug 243824 contains a description how to reproduce this crash easily. Perhaps you should keep the bug containing the most/best information and close the others as duplicates, instead of just picking one randomly and hide useful informations from the others.

Anyways, thanks for that gorgeous Networkmanagement Plasmoid!
Comment 7 Dario Andres 2010-12-21 15:49:25 UTC
[Comment from a bug triager]
Note: the backtrace seems related to the one in bug 210785. Most of the backtraces here are from KDE SC 4.4.4, but NM-KDE 0.9, and I don't know if that is the latest version, or if it includes the fix for bug 210785.
Comment 8 Dario Andres 2010-12-21 15:52:08 UTC
[Comment from a bug triager]
From bug 243353:
What I was doing when the application crashed:
i was connected via wifi (WPA2) when the connection failed and if i tried to
reconnect it would ask me the wifi password over and over again until it
crashed and the icon in the system try disappeared.
laptop: HP pavillion tx2130el

From bug 246739:
Netmanager crashes when trying to connect with Wireless Tether
Don't know much about Tether but I connected to Internet in < 30 seconds  
under WinXP
(Note from Dario: the report contains other information about the connection)

From bug 243824 (kded4 crash):
- What I was doing when the application crashed:
* Click on a wireless LAN in the networkmanagement plasmoid, so that it asks
for a password. Don't close the password dialog.
* unload the networkmanagement module and load it again
* now click OK on the password dialog

This isn't actually a common use-case. However, having troubles connecting to
Wireless LANs I sometimes reload the module manually. Perhaps the password
dialog should be closed upon unloading the kded module.
The crash can be reproduced every time.

From bug 260877:
-- Information about the crash:
Tried to connect to a non-broadcasting Cisco AP at work that uses WEP. The
NetworkManager crashed after I've altered the name of the access point that the
computer should connect to. it did ask me to enter the KDE Wallet password,
then crashed.

-- Full backtrace from bug 247419:
[KCrash Handler]
#6  0x2e65646b in ?? ()
#7  0xb5c5707b in WirelessSecuritySettingWidget::writeConfig (this=0x81dc468)
at
/usr/src/debug/networkmanagement/libs/ui/security/wirelesssecuritysettingwidget.cpp:290
#8  0xb5c6a346 in ConnectionSecretsJob::dialogAccepted (this=0x82524c8) at
/usr/src/debug/networkmanagement/libs/ui/connectionsecretsjob.cpp:185
#9  0xb5c3de2c in ConnectionSecretsJob::qt_metacall (this=0x82524c8,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfa7445c)
    at
/usr/src/debug/networkmanagement/build/libs/ui/moc_connectionsecretsjob.cpp:78
#10 0xb6e1cefd in QMetaObject::metacall (object=0x82524c8,
cl=QMetaObject::InvokeMetaMethod, idx=27, argv=0xbfa7445c) at
kernel/qmetaobject.cpp:237
#11 0xb6e2bfe8 in QMetaObject::activate (sender=0x8325258, m=0x8070930,
local_signal_index=9, argv=0x0) at kernel/qobject.cpp:3295
#12 0xb72c0fa5 in KDialog::okClicked (this=0x8325258) at
/usr/src/debug/kdelibs-4.4.4/build/kdeui/kdialog.moc:258
#13 0xb744faa8 in KDialog::slotButtonClicked (this=0x8325258, button=4) at
/usr/src/debug/kdelibs-4.4.4/kdeui/dialogs/kdialog.cpp:862
#14 0xb74513b3 in KDialog::qt_metacall (this=0x8325258,
_c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfa745e8) at
/usr/src/debug/kdelibs-4.4.4/build/kdeui/kdialog.moc:190
#15 0xb6e1cefd in QMetaObject::metacall (object=0x8325258,
cl=QMetaObject::InvokeMetaMethod, idx=69, argv=0xbfa745e8) at
kernel/qmetaobject.cpp:237
#16 0xb6e2bfe8 in QMetaObject::activate (sender=0x83bd1f0, m=0xb6f32104,
local_signal_index=0, argv=0xbfa745e8) at kernel/qobject.cpp:3295
#17 0xb6e2f595 in QSignalMapper::mapped (this=0x83bd1f0, _t1=4) at
.moc/release-shared/moc_qsignalmapper.cpp:101
#18 0xb6e2f809 in QSignalMapper::map (this=0x83bd1f0, sender=0x83be6a0) at
kernel/qsignalmapper.cpp:266
#19 0xb6e2f91e in QSignalMapper::map (this=0x83bd1f0) at
kernel/qsignalmapper.cpp:257
#20 0xb6e2fec0 in QSignalMapper::qt_metacall (this=0x83bd1f0,
_c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfa74778) at
.moc/release-shared/moc_qsignalmapper.cpp:87
#21 0xb6e1cefd in QMetaObject::metacall (object=0x83bd1f0,
cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbfa74778) at
kernel/qmetaobject.cpp:237
#22 0xb6e2bfe8 in QMetaObject::activate (sender=0x83be6a0, m=0x8070940,
local_signal_index=2, argv=0xbfa74778) at kernel/qobject.cpp:3295
#23 0xb6a7321d in QAbstractButton::clicked (this=0x83be6a0, _t1=false) at
.moc/release-shared/moc_qabstractbutton.cpp:206
#24 0xb6772c1d in QAbstractButtonPrivate::emitClicked (this=0x83be940) at
widgets/qabstractbutton.cpp:546
#25 0xb67742db in QAbstractButtonPrivate::click (this=0x83be940) at
widgets/qabstractbutton.cpp:539
#26 0xb6774596 in QAbstractButton::mouseReleaseEvent (this=0x83be6a0,
e=0xbfa74e84) at widgets/qabstractbutton.cpp:1121
#27 0xb63c4f00 in QWidget::event (this=0x83be6a0, event=0xbfa74e84) at
kernel/qwidget.cpp:8044
#28 0xb67737d0 in QAbstractButton::event (this=0x83be6a0, e=0xbfa74e84) at
widgets/qabstractbutton.cpp:1080
#29 0xb68132d8 in QPushButton::event (this=0x83be6a0, e=0xbfa74e84) at
widgets/qpushbutton.cpp:679
#30 0xb636bc64 in QApplicationPrivate::notify_helper (this=0x8095500,
receiver=0x83be6a0, e=0xbfa74e84) at kernel/qapplication.cpp:4302
#31 0xb6374750 in QApplication::notify (this=0xbfa74b9c, receiver=0x83be6a0,
e=0xbfa74e84) at kernel/qapplication.cpp:3867
#32 0xb72e09d1 in KApplication::notify (this=0xbfa756f0, receiver=0x83be6a0,
event=0xbfa74e84) at
/usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#33 0xb6e16e0e in QCoreApplication::notifyInternal (this=0xbfa756f0,
receiver=0x83be6a0, event=0xbfa74e84) at kernel/qcoreapplication.cpp:726
#34 0xb636cc4c in sendSpontaneousEvent (receiver=0x83be6a0, event=0xbfa74e84,
alienWidget=0x83be6a0, nativeWidget=0x8325258, buttonDown=0xb6cb6078,
lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#35 QApplicationPrivate::sendMouseEvent (receiver=0x83be6a0, event=0xbfa74e84,
alienWidget=0x83be6a0, nativeWidget=0x8325258, buttonDown=0xb6cb6078,
lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#36 0xb63f458c in QETWidget::translateMouseEvent (this=0x8325258,
event=0xbfa7539c) at kernel/qapplication_x11.cpp:4380
#37 0xb63f373e in QApplication::x11ProcessEvent (this=0xbfa756f0,
event=0xbfa7539c) at kernel/qapplication_x11.cpp:3391
#38 0xb641c570 in x11EventSourceDispatch (s=0x80981f8, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#39 0xb5b0ab49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0xb5b0b350 in ?? () from /usr/lib/libglib-2.0.so.0
#41 0xb5b0b60e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#42 0xb6e42d4b in QEventDispatcherGlib::processEvents (this=0x8078610,
flags=...) at kernel/qeventdispatcher_glib.cpp:412
#43 0xb641c19a in QGuiEventDispatcherGlib::processEvents (this=0x8078610,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0xb6e1611d in QEventLoop::processEvents (this=0xbfa75654, flags=...) at
kernel/qeventloop.cpp:149
#45 0xb6e16319 in QEventLoop::exec (this=0xbfa75654, flags=...) at
kernel/qeventloop.cpp:201
#46 0xb6e1ac70 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#47 0xb6369164 in QApplication::exec () at kernel/qapplication.cpp:3581
#48 0x08053e59 in _start ()
Comment 9 Dario Andres 2010-12-21 15:52:22 UTC
*** Bug 260877 has been marked as a duplicate of this bug. ***
Comment 10 Lamarque V. Souza 2011-05-17 01:47:43 UTC
Is this bug still happening in the latest Plasma NM snapshot? I cannot reproduce it and there have been several bug fixes in the last two months.
Comment 11 Alexandre Gonçalves 2011-05-17 03:21:47 UTC
Lamarque,

Thanks for following up.  To be honest, I've switched over to the NM 
plasmoid and then, like you said, accepted a bunch of pending updates. 
Haven't had the problem reoccurring since that was done...

Thanks!

Alex


On 05/16/2011 07:47 PM, Lamarque V. Souza wrote:
> https://bugs.kde.org/show_bug.cgi?id=242891
>
>
> Lamarque V. Souza<lamarque@gmail.com>  changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |lamarque@gmail.com
>
>
>
>
> --- Comment #10 from Lamarque V. Souza<lamarque gmail com>   2011-05-17 01:47:43 ---
> Is this bug still happening in the latest Plasma NM snapshot? I cannot
> reproduce it and there have been several bug fixes in the last two months.
>
Comment 12 Lamarque V. Souza 2011-05-17 03:46:32 UTC
Ok, closing this bug as umaintained since monolithic knetworkmanager is unmaintained and the problem does not happen in the plasmoid version. Please use the plasmoid version.
Comment 13 Christoph Feck 2011-11-02 16:03:43 UTC
*** Bug 285564 has been marked as a duplicate of this bug. ***
Comment 14 Christoph Feck 2011-11-03 17:04:06 UTC
*** Bug 285659 has been marked as a duplicate of this bug. ***