Bug 243824

Summary: reloading networkmanagement module while a password dialog is open crashes kded4
Product: [Unmaintained] Network Management Reporter: Michael Zanetti <mzanetti>
Component: KDED ModuleAssignee: Will Stephenson <wstephenson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael Zanetti 2010-07-07 09:02:21 UTC
Application: kded4 ($Id: kded.cpp 1128583 2010-05-19 17:42:25Z aseigo $)
KDE Platform Version: 4.4.90 (KDE 4.4.90 (KDE 4.5 RC1))
Qt Version: 4.6.3
Operating System: Linux 2.6.34-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the 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.

-- Backtrace:
Application: KDE Daemon (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff0d09c2760 (LWP 2454))]

Thread 3 (Thread 0x7ff0b4638710 (LWP 4649)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007ff0b4637ae0 in ?? ()
#2  0x00007fff136e96e2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7ff0b90ae710 (LWP 5652)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007ff0b90adb20 in ?? ()
#2  0x00007fff136e96e2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7ff0d09c2760 (LWP 2454)):
[KCrash Handler]
#6  0x00007ff0b4d9aa2c in WirelessSecuritySettingWidget::writeConfig() () from /usr/lib/libknmui.so.4
#7  0x00007ff0b4dab720 in ConnectionSecretsJob::dialogAccepted() () from /usr/lib/libknmui.so.4
#8  0x00007ff0b4d85654 in ConnectionSecretsJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libknmui.so.4
#9  0x00007ff0cf6cfd9f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#10 0x00007ff0d0351578 in KDialog::slotButtonClicked(int) () from /usr/lib/libkdeui.so.5
#11 0x00007ff0d0351962 in KDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#12 0x00007ff0cf6cfd9f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#13 0x00007ff0cf6d2d7e in QSignalMapper::mapped(int) () from /usr/lib/libQtCore.so.4
#14 0x00007ff0cf6d2e86 in QSignalMapper::map(QObject*) () from /usr/lib/libQtCore.so.4
#15 0x00007ff0cf6d35c0 in QSignalMapper::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#16 0x00007ff0cf6cfd9f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#17 0x00007ff0ceeebb92 in QAbstractButton::clicked(bool) () from /usr/lib/libQtGui.so.4
#18 0x00007ff0cec3dc2b in ?? () from /usr/lib/libQtGui.so.4
#19 0x00007ff0cec3efdb in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007ff0cec3f24c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#21 0x00007ff0ce8e7292 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#22 0x00007ff0ce897854 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007ff0ce89c1ba in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x00007ff0d03e07e6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#25 0x00007ff0cf6bbd3c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#26 0x00007ff0ce8987a5 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#27 0x00007ff0ce9133c8 in ?? () from /usr/lib/libQtGui.so.4
#28 0x00007ff0ce911dc9 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#29 0x00007ff0ce9376b2 in ?? () from /usr/lib/libQtGui.so.4
#30 0x00007ff0cb458b33 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0x00007ff0cb459310 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#32 0x00007ff0cb4595ad in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#33 0x00007ff0cf6e482f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0x00007ff0ce93737e in ?? () from /usr/lib/libQtGui.so.4
#35 0x00007ff0cf6bb122 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0x00007ff0cf6bb35c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0x00007ff0cf6bf76b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#38 0x00007ff0c1635e17 in kdemain () from /usr/lib/libkdeinit4_kded4.so
#39 0x0000000000406a83 in _start ()

Reported using DrKonqi
Comment 1 Nicolas L. 2010-08-12 16:59:46 UTC

*** This bug has been marked as a duplicate of bug 242891 ***