Bug 291874

Summary: Plasma Crashed after first boot.
Product: [Frameworks and Libraries] solid Reporter: ryanxv
Component: networkmanagementAssignee: Will Stephenson <wstephenson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: hannu.alamaki, joseejsilva, L.Bonnaud, lamarque, sahincapiec, taysky04, thijs22nospam, vitor.dominor
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description ryanxv 2012-01-18 15:27:54 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 3.1.9-1.fc16.x86_64 x86_64

-- Information about the crash:
- What I was doing when the application crashed:I started the computer after it was off all night long when i got the error message.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Daemon (kded4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f38ae537840 (LWP 1406))]

Thread 3 (Thread 0x7f389b54c700 (LWP 1451)):
#0  0x00000031f4a443b3 in g_main_context_query (context=0x155af70, max_priority=2147483647, timeout=0x7f389b54bcec, fds=<optimized out>, n_fds=3) at gmain.c:2828
#1  0x00000031f4a44e8a in g_main_context_iterate (context=0x155af70, block=1, dispatch=1, self=<optimized out>) at gmain.c:3055
#2  0x00000031f4a457c5 in g_main_loop_run (loop=0x155af20) at gmain.c:3281
#3  0x00000032086be6e6 in gdbus_shared_thread_func (user_data=0x155af40) at gdbusprivate.c:276
#4  0x00000031f4a6a1d6 in g_thread_create_proxy (data=0x155b060) at gthread.c:1962
#5  0x00000031f5607d90 in start_thread (arg=0x7f389b54c700) at pthread_create.c:309
#6  0x00000031f4eef48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f389ab3f700 (LWP 1457)):
#0  0x00000031f4ee6af3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000031f4a44f88 in g_main_context_poll (n_fds=1, fds=0x7f388c002200, priority=<optimized out>, timeout=-1, context=0x7f388c0009a0) at gmain.c:3386
#2  g_main_context_iterate (context=0x7f388c0009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3068
#3  0x00000031f4a4544c in g_main_context_iteration (context=0x7f388c0009a0, may_block=1) at gmain.c:3136
#4  0x00000031fd3a7db6 in QEventDispatcherGlib::processEvents (this=0x7f388c0008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00000031fd378172 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000031fd3783c7 in QEventLoop::exec (this=0x7f389ab3ed10, flags=...) at kernel/qeventloop.cpp:204
#7  0x00000031fd278b27 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00000031fd357e6f in QInotifyFileSystemWatcherEngine::run (this=0x15680f0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00000031fd27bb6b in QThreadPrivate::start (arg=0x15680f0) at thread/qthread_unix.cpp:298
#10 0x00000031f5607d90 in start_thread (arg=0x7f389ab3f700) at pthread_create.c:309
#11 0x00000031f4eef48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f38ae537840 (LWP 1406)):
[KCrash Handler]
#6  0x00007f38a00b6d33 in QString (other=..., this=<optimized out>) at /usr/include/QtCore/qstring.h:725
#7  security (this=0x0) at /usr/src/debug/networkmanagement-0.8.98/libs/internals/settings/802-11-wireless.h:224
#8  WirelessSecurityAuthWidget::readConfig (this=0x1609aa0) at /usr/src/debug/networkmanagement-0.8.98/libs/ui/security/wirelesssecurityauth.cpp:68
#9  0x00007f38a00c16a9 in ConnectionSecretsJob::doAskUser (this=0x1658e80) at /usr/src/debug/networkmanagement-0.8.98/libs/ui/connectionsecretsjob.cpp:121
#10 0x00000031fd391f06 in QObject::event (this=0x1658e80, e=<optimized out>) at kernel/qobject.cpp:1195
#11 0x00000032027c9994 in notify_helper (e=0x1608780, receiver=0x1658e80, this=0x12fad60) at kernel/qapplication.cpp:4550
#12 QApplicationPrivate::notify_helper (this=0x12fad60, receiver=0x1658e80, e=0x1608780) at kernel/qapplication.cpp:4522
#13 0x00000032027ce813 in QApplication::notify (this=0x7fff26acf2c0, receiver=0x1658e80, e=0x1608780) at kernel/qapplication.cpp:4411
#14 0x0000003203e50766 in KApplication::notify (this=0x7fff26acf2c0, receiver=0x1658e80, event=0x1608780) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#15 0x00000031fd37903c in QCoreApplication::notifyInternal (this=0x7fff26acf2c0, receiver=0x1658e80, event=0x1608780) at kernel/qcoreapplication.cpp:876
#16 0x00000031fd37caca in sendEvent (event=0x1608780, receiver=0x1658e80) at kernel/qcoreapplication.h:231
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x12d04d0) at kernel/qcoreapplication.cpp:1500
#18 0x00000031fd3a7923 in sendPostedEvents () at kernel/qcoreapplication.h:236
#19 postEventSourceDispatch (s=0x12fe740) at kernel/qeventdispatcher_glib.cpp:279
#20 0x00000031f4a44a7d in g_main_dispatch (context=0x12fcd50) at gmain.c:2425
#21 g_main_context_dispatch (context=0x12fcd50) at gmain.c:2995
#22 0x00000031f4a45278 in g_main_context_iterate (context=0x12fcd50, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#23 0x00000031f4a4544c in g_main_context_iteration (context=0x12fcd50, may_block=1) at gmain.c:3136
#24 0x00000031fd3a7d4f in QEventDispatcherGlib::processEvents (this=0x12d1990, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#25 0x000000320286c61e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#26 0x00000031fd378172 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#27 0x00000031fd3783c7 in QEventLoop::exec (this=0x7fff26acf250, flags=...) at kernel/qeventloop.cpp:204
#28 0x00000031fd37cdc5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#29 0x0000003207e08de5 in kdemain (argc=1, argv=0x7fff26acf698) at /usr/src/debug/kdelibs-4.7.4/kded/kded.cpp:924
#30 0x00000031f4e2169d in __libc_start_main (main=0x400710 <main(int, char**)>, argc=1, ubp_av=0x7fff26acf698, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff26acf688) at libc-start.c:226
#31 0x0000000000400741 in _start ()

Reported using DrKonqi
Comment 1 Thijs 2012-01-18 16:30:01 UTC
Seems like a network manager issue. Possibly related: Do you use KWallet?
Comment 2 Lamarque V. Souza 2012-01-18 22:32:58 UTC
Which security type do you use? WEP, WPA, none, etc.
Comment 3 Samir 2012-01-31 17:13:52 UTC
Created attachment 68374 [details]
New crash information added by DrKonqi

kded4 ($Id$) on KDE Platform 4.8.00 (4.8.0 using Qt 4.7.4

- What I was doing when the application crashed:
i started up my computer
i started my session
then when kde's load completed the crash windows appears

- Custom settings of the application:
i updated from kde 4.7.4 to 4.8
when I was using kde 4.7.4 I did not have this problem but now since I updated kde to 4.8 whenever I turn on my computer this error occurs

-- Backtrace (Reduced):
#7  0x0315503c in QString (other=..., this=<optimized out>) at /usr/include/qt4/QtCore/qstring.h:728
#8  security (this=0x0) at ../../../libs/ui/../internals/settings/802-11-wireless.h:224
#9  WirelessSecurityAuthWidget::readConfig (this=0x9f17190) at ../../../libs/ui/security/wirelesssecurityauth.cpp:68
#10 0x03160f23 in ConnectionSecretsJob::doAskUser (this=0x9f366b0) at ../../../libs/ui/connectionsecretsjob.cpp:121
#11 0x03107d72 in ConnectionSecretsJob::qt_metacall (this=0x9f366b0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x9ee6428) at moc_connectionsecretsjob.cpp:75
Comment 4 Lamarque V. Souza 2012-01-31 17:28:27 UTC
Git commit 8cf0dfd606fc60f2050a5783d0b8496d6cd49099 by Lamarque V. Souza.
Committed on 31/01/2012 at 18:27.
Pushed by lvsouza into branch 'nm09'.

Add warning messages to debug possible dangling pointers.

M  +4    -0    libs/ui/security/wirelesssecurityauth.cpp

http://commits.kde.org/networkmanagement/8cf0dfd606fc60f2050a5783d0b8496d6cd49099
Comment 5 Lamarque V. Souza 2012-01-31 17:29:32 UTC
Git commit 7cd6ab75ac02f4d2308d37d4d4a0488ce66e4d52 by Lamarque V. Souza.
Committed on 31/01/2012 at 18:27.
Pushed by lvsouza into branch 'master'.

Add warning messages to debug possible dangling pointers.
(cherry picked from commit 8cf0dfd606fc60f2050a5783d0b8496d6cd49099)

M  +4    -0    libs/ui/security/wirelesssecurityauth.cpp

http://commits.kde.org/networkmanagement/7cd6ab75ac02f4d2308d37d4d4a0488ce66e4d52
Comment 6 ryanxv 2012-02-05 21:08:27 UTC
No, I do not use KWallet.

> Date: Wed, 18 Jan 2012 16:30:01 +0000
> From: thijs22nospam@gmail.com
> To: ryanxv@hotmail.com
> Subject: [Bug 291874] Plasma Crashed after first boot.
> 
> https://bugs.kde.org/show_bug.cgi?id=291874
> 
> 
> Thijs <thijs22nospam@gmail.com> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |thijs22nospam@gmail.com
>           Component|kded                        |networkmanagement
>          AssignedTo|unassigned-bugs@kde.org     |wstephenson@kde.org
>             Product|kdelibs                     |solid
> 
> 
> 
> 
> --- Comment #1 from Thijs <thijs22nospam gmail com>  2012-01-18 16:30:01 ---
> Seems like a network manager issue. Possibly related: Do you use KWallet?
> 
> -- 
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
Comment 7 ryanxv 2012-02-05 21:09:13 UTC
I use WEP.

> Date: Wed, 18 Jan 2012 22:32:59 +0000
> From: lamarque@kde.org
> To: ryanxv@hotmail.com
> Subject: [Bug 291874] Plasma Crashed after first boot.
> 
> https://bugs.kde.org/show_bug.cgi?id=291874
> 
> 
> Lamarque V. Souza <lamarque@kde.org> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |lamarque@kde.org
> 
> 
> 
> 
> --- Comment #2 from Lamarque V. Souza <lamarque kde org>  2012-01-18 22:32:58 ---
> Which security type do you use? WEP, WPA, none, etc.
> 
> -- 
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
Comment 8 Lamarque V. Souza 2012-02-05 22:49:21 UTC
Please enable debugging using kdebugdialog, reproduce the crash and send me the file ~/.xsession-errors (compress it if it is too big). After launching kdebugdialog search for the string "network" and mark all checkboxes that appear.
Comment 9 Lamarque V. Souza 2012-02-12 13:37:35 UTC
*** Bug 292632 has been marked as a duplicate of this bug. ***
Comment 10 vitor.dominor 2012-03-01 22:32:59 UTC
Created attachment 69229 [details]
New crash information added by DrKonqi

kded4 ($Id$) on KDE Platform 4.7.4 (4.7.4) using Qt 4.8.0

- What I was doing when the application crashed:

It started recently, after kde session fully loading, a crash window appears. However, I haven't noticed any abnormal behaviour.

-- Backtrace (Reduced):
#7  QList (l=..., this=0x7fffcf20f120) at /usr/include/QtCore/qlist.h:122
#8  QForeachContainer (t=..., this=0x7fffcf20f120) at /usr/include/QtCore/qglobal.h:2338
#9  Knm::Connection::setting (this=0x21a46e0, settingType=Knm::Setting::Wireless) at /usr/src/debug/networkmanagement-0.8.99/libs/internals/connection.cpp:355
#10 0x0000003bc3078628 in WirelessSecurityAuthWidget::WirelessSecurityAuthWidget (this=0x1f73cc0, connection=0x21a46e0, parent=<optimized out>) at /usr/src/debug/networkmanagement-0.8.99/libs/ui/security/wirelesssecurityauth.cpp:57
#11 0x0000003bc3083c83 in ConnectionSecretsJob::doAskUser (this=0x21c8820) at /usr/src/debug/networkmanagement-0.8.99/libs/ui/connectionsecretsjob.cpp:115
Comment 11 vitor.dominor 2012-03-01 22:32:59 UTC
Created attachment 69230 [details]
New crash information added by DrKonqi

kded4 ($Id$) on KDE Platform 4.7.4 (4.7.4) using Qt 4.8.0

- What I was doing when the application crashed:

It started recently, after kde session fully loading, a crash window appears. However, I haven't noticed any abnormal behaviour.

-- Backtrace (Reduced):
#7  QList (l=..., this=0x7fffcf20f120) at /usr/include/QtCore/qlist.h:122
#8  QForeachContainer (t=..., this=0x7fffcf20f120) at /usr/include/QtCore/qglobal.h:2338
#9  Knm::Connection::setting (this=0x21a46e0, settingType=Knm::Setting::Wireless) at /usr/src/debug/networkmanagement-0.8.99/libs/internals/connection.cpp:355
#10 0x0000003bc3078628 in WirelessSecurityAuthWidget::WirelessSecurityAuthWidget (this=0x1f73cc0, connection=0x21a46e0, parent=<optimized out>) at /usr/src/debug/networkmanagement-0.8.99/libs/ui/security/wirelesssecurityauth.cpp:57
#11 0x0000003bc3083c83 in ConnectionSecretsJob::doAskUser (this=0x21c8820) at /usr/src/debug/networkmanagement-0.8.99/libs/ui/connectionsecretsjob.cpp:115
Comment 12 hannu.alamaki 2012-03-19 16:46:22 UTC
Created attachment 69737 [details]
New crash information added by DrKonqi

kded4 ($Id$) on KDE Platform 4.8.1 (4.8.1) using Qt 4.8.0

- What I was doing when the application crashed:

Didn't do anything yet. This crash report comes up when kde  finnishes loading and everything seems to work like it should.

-- Backtrace (Reduced):
#7  QList (l=..., this=0x7fff92b79f50) at /usr/include/qt4/QtCore/qlist.h:122
#8  QForeachContainer (t=..., this=0x7fff92b79f50) at /usr/include/qt4/QtCore/qglobal.h:2340
#9  Knm::Connection::setting (this=0x1cea470, settingType=Knm::Setting::Wireless) at ../../../libs/internals/connection.cpp:355
#10 0x00007ffd350fdc98 in WirelessSecurityAuthWidget::WirelessSecurityAuthWidget (this=0x1c75210, connection=0x1cea470, parent=<optimized out>) at ../../../libs/ui/security/wirelesssecurityauth.cpp:57
#11 0x00007ffd35109813 in ConnectionSecretsJob::doAskUser (this=0x1c76140) at ../../../libs/ui/connectionsecretsjob.cpp:115
Comment 13 Lamarque V. Souza 2012-04-18 00:17:47 UTC

*** This bug has been marked as a duplicate of bug 283105 ***
Comment 14 Lamarque V. Souza 2012-05-06 03:30:31 UTC
*** Bug 299379 has been marked as a duplicate of this bug. ***
Comment 15 Christoph Feck 2012-10-08 08:25:31 UTC
*** Bug 308052 has been marked as a duplicate of this bug. ***
Comment 16 joseduardo 2012-10-17 18:28:42 UTC
Created attachment 74611 [details]
New crash information added by DrKonqi

kded4 ($Id$) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:booting the system and getting ready to use the OS.

-- Backtrace (Reduced):
#6  Knm::Setting::type (this=0x6e6972740000000c) at ../../../libs/internals/setting.cpp:154
#7  0x00007fcf9b147240 in Knm::Connection::setting (this=<optimized out>, settingType=Knm::Setting::Wireless) at ../../../libs/internals/connection.cpp:360
#8  0x00007fcf9a3eecb8 in WirelessSecurityAuthWidget::WirelessSecurityAuthWidget (this=0xdd82a0, connection=0xd58d40, parent=<optimized out>) at ../../../libs/ui/security/wirelesssecurityauth.cpp:57
#9  0x00007fcf9a3fb4f3 in ConnectionSecretsJob::doAskUser (this=0xdab8c0) at ../../../libs/ui/connectionsecretsjob.cpp:115
#10 0x00007fcfb6b69446 in QObject::event (this=0xdab8c0, e=<optimized out>) at kernel/qobject.cpp:1195