Bug 182961

Summary: crash when bringing down network interface (GoogleGadgets, QHttp::stateChanged related)
Product: [Unmaintained] plasma4 Reporter: Marcus Better <marcus>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UPSTREAM    
Severity: crash CC: andresbajotierra, aseigo, egxoun8uya67izy, kd75, kde, kde, kevinality, kilem86, kncrabtree, patriotyk, schneider, spamemichzu, t.kijas, topcat88, zayed.alsaidi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marcus Better 2009-02-03 10:06:00 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Debian testing/unstable Packages

After a suspending to RAM, moving to a different location and resuming there, I brought down the WLAN interface with "ifdown", whereupon plasma crashed.

Using Debian experimental packages, x86_64 kernel.

Program: Plasma arbetsyta (plasma), signal SIGSEGV
0x00007ff03fc12ff1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 9813)]

Thread 5 (Thread 0x40f8c950 (LWP 9814)):
#0  0x00007ff038b45d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff03cf28159 in QWaitCondition::wait (this=0x7eb4b0, mutex=0x7eb4a8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007ff03a548f4c in QHostInfoAgent::run (this=0x7eb490) at kernel/qhostinfo.cpp:241
#3  0x00007ff03cf27162 in QThreadPrivate::start (arg=0x7eb490) at thread/qthread_unix.cpp:185
#4  0x00007ff038b41fc7 in start_thread () from /lib/libpthread.so.0
#5  0x00007ff03fc445ad in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x41eb6950 (LWP 9818)):
#0  0x00007ff03fc3dce2 in select () from /lib/libc.so.6
#1  0x00007ff03cfef756 in QProcessManager::run (this=0x648490) at io/qprocess_unix.cpp:301
#2  0x00007ff03cf27162 in QThreadPrivate::start (arg=0x648490) at thread/qthread_unix.cpp:185
#3  0x00007ff038b41fc7 in start_thread () from /lib/libpthread.so.0
#4  0x00007ff03fc445ad in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x426b7950 (LWP 9823)):
#0  0x00007ff038b45d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff03cf28159 in QWaitCondition::wait (this=0x8da7d0, mutex=0x8da7c8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007ff025bb66f0 in RenderThread::run (this=0x8da7b8) at ../../../../plasma/wallpapers/image/renderthread.cpp:91
#3  0x00007ff03cf27162 in QThreadPrivate::start (arg=0x8da7b8) at thread/qthread_unix.cpp:185
#4  0x00007ff038b41fc7 in start_thread () from /lib/libpthread.so.0
#5  0x00007ff03fc445ad in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x42eb8950 (LWP 14470)):
#0  0x00007ff038b45d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff03cf28159 in QWaitCondition::wait (this=0x7f9730, mutex=0x7f9728, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007ff025bb66f0 in RenderThread::run (this=0x7f9718) at ../../../../plasma/wallpapers/image/renderthread.cpp:91
#3  0x00007ff03cf27162 in QThreadPrivate::start (arg=0x7f9718) at thread/qthread_unix.cpp:185
#4  0x00007ff038b41fc7 in start_thread () from /lib/libpthread.so.0
#5  0x00007ff03fc445ad in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff040220700 (LWP 9813)):
[KCrash Handler]
#5  0x00007ff03d024485 in QMetaObject::activate (sender=0x1de03e0, m=<value optimized out>, local_signal_index=0, argv=0x7fff4835c910) at kernel/qobject.cpp:3097
#6  0x00007ff03a50827e in QHttp::stateChanged (this=0x7ff03a7d22e0, _t1=6) at .moc/release-shared/moc_qhttp.cpp:135
#7  0x00007ff03a5085e4 in QHttpPrivate::closeConn (this=0x7ff03a7d22e0) at access/qhttp.cpp:2976
#8  0x00007ff03a50f90d in QHttpPrivate::_q_slotError (this=0x223ada0, err=QAbstractSocket::SocketResourceError) at access/qhttp.cpp:2607
#9  0x00007ff03a5128c2 in QHttp::qt_metacall (this=0x1d44df0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4835cda0) at .moc/release-shared/moc_qhttp.cpp:120
#10 0x00007ff03d0236e4 in QMetaObject::activate (sender=0x1e61ca0, from_signal_index=<value optimized out>, to_signal_index=12, argv=0x4) at kernel/qobject.cpp:3031
#11 0x00007ff03a55dbc1 in QAbstractSocket::error (this=0x7ff03a7d22e0, _t1=QAbstractSocket::HostNotFoundError) at .moc/release-shared/moc_qabstractsocket.cpp:146
#12 0x00007ff03a5777e4 in QSslSocketPrivate::_q_errorSlot (this=0x1ba1dc0, error=QAbstractSocket::HostNotFoundError) at ssl/qsslsocket.cpp:1987
#13 0x00007ff03a57a980 in QSslSocket::qt_metacall (this=0x1e61ca0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4835cf20) at .moc/release-shared/moc_qsslsocket.cpp:112
#14 0x00007ff03d0236e4 in QMetaObject::activate (sender=0x1d78fa0, from_signal_index=<value optimized out>, to_signal_index=12, argv=0x4) at kernel/qobject.cpp:3031
#15 0x00007ff03a55dbc1 in QAbstractSocket::error (this=0x7ff03a7d22e0, _t1=QAbstractSocket::HostNotFoundError) at .moc/release-shared/moc_qabstractsocket.cpp:146
#16 0x00007ff03a56025f in QAbstractSocketPrivate::_q_startConnecting (this=0x224abf0, hostInfo=<value optimized out>) at socket/qabstractsocket.cpp:737
#17 0x00007ff03a56253e in QAbstractSocket::qt_metacall (this=0x1d78fa0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1f4cdb0) at .moc/release-shared/moc_qabstractsocket.cpp:108
#18 0x00007ff03d01e355 in QObject::event (this=0x1d78fa0, e=0x1fff990) at kernel/qobject.cpp:1155
#19 0x00007ff03d730a5d in QApplicationPrivate::notify_helper (this=0x644aa0, receiver=0x1d78fa0, e=0x1fff990) at kernel/qapplication.cpp:3803
#20 0x00007ff03d7387da in QApplication::notify (this=0x61b8e0, receiver=0x1d78fa0, e=0x1fff990) at kernel/qapplication.cpp:3768
#21 0x00007ff03e745fab in KApplication::notify (this=0x61b8e0, receiver=0x1d78fa0, event=0x1fff990) at ../../kdeui/kernel/kapplication.cpp:307
#22 0x00007ff03d00f391 in QCoreApplication::notifyInternal (this=0x61b8e0, receiver=0x1d78fa0, event=0x1fff990) at kernel/qcoreapplication.cpp:587
#23 0x00007ff03d01002a in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x602930) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#24 0x00007ff03d037a93 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#25 0x00007ff038d90aab in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0x00007ff038d9426d in ?? () from /usr/lib/libglib-2.0.so.0
#27 0x00007ff038d9442b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0x00007ff03d03771f in QEventDispatcherGlib::processEvents (this=0x641d30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#29 0x00007ff03d7c247f in QGuiEventDispatcherGlib::processEvents (this=0x7ff03a7d22e0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:198
#30 0x00007ff03d00dcb2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1211488416}) at kernel/qeventloop.cpp:143
#31 0x00007ff03d00de3d in QEventLoop::exec (this=0x7fff4835d8e0, flags={i = 1211488496}) at kernel/qeventloop.cpp:194
#32 0x00007ff03d0102ed in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#33 0x00007ff03ff0151b in kdemain (argc=1, argv=0x7fff4835dbe8) at ../../../../plasma/shells/desktop/main.cpp:54
#34 0x00007ff03fb931a6 in __libc_start_main () from /lib/libc.so.6
#35 0x0000000000400629 in _start ()
Comment 1 Dario Andres 2009-02-03 13:11:34 UTC
Which widgets are you using ? (which is using Internet, is anyone using a a SSL connection? )
Comment 2 Marcus Better 2009-02-03 14:06:54 UTC
(In reply to comment #1)
> Which widgets are you using ? (which is using Internet,

I think this could be the Google Calendar gadget that I just tried to add.
Comment 3 Dario Andres 2009-02-03 14:08:44 UTC
Mh, that would explain why I can't see any KDE related function in the backtrace (as the Google Gadgets is only using Qt/QtWebKit )

Can you try to reproduce the situation without the Google Gadgets plasmoid to see if it crashes too ?

Thanks!
Comment 4 Marcus Better 2009-02-03 14:23:44 UTC
(In reply to comment #3)
> Can you try to reproduce the situation without the Google Gadgets plasmoid to
> see if it crashes too ?

No, it doesn't crash. I would probably have noticed long ago if it did... But it's disconcerting that a plasmoid can bring down plasma like that.
Comment 5 Dario Andres 2009-04-04 15:16:48 UTC
What is/was your Qt4 version ? Thanks
Comment 6 Marcus Better 2009-04-04 21:47:27 UTC
(In reply to comment #5)
> What is/was your Qt4 version ?

According to my logs it was 4.4.3 (Debian libqtcore4 4.4.3-2).
Comment 7 Dario Andres 2009-04-17 14:55:24 UTC
*** Bug 189842 has been marked as a duplicate of this bug. ***
Comment 8 Aaron J. Seigo 2009-04-26 08:46:30 UTC
please report this to the google gadget project, as this is a bug in their code. thanks :)
Comment 9 Marcus Better 2009-04-27 10:11:32 UTC
(In reply to comment #8)
> please report this to the google gadget project, as this is a bug in their
> code. thanks :)

Filed as
  http://code.google.com/p/google-gadgets-for-linux/issues/detail?id=295
Comment 10 Dario Andres 2009-04-29 21:50:58 UTC
*** Bug 188740 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2009-06-05 13:43:28 UTC
According the bug report:
http://code.google.com/p/google-gadgets-for-linux/issues/detail?id=300
This is already fixed on their codebase
Comment 12 Dario Andres 2009-06-05 13:44:03 UTC
*** Bug 195301 has been marked as a duplicate of this bug. ***
Comment 13 Dario Andres 2009-06-05 13:45:23 UTC
*** Bug 194578 has been marked as a duplicate of this bug. ***
Comment 14 Pino Toscano 2009-07-04 16:16:06 UTC
*** Bug 186827 has been marked as a duplicate of this bug. ***
Comment 15 Pino Toscano 2009-07-04 16:18:12 UTC
*** Bug 198910 has been marked as a duplicate of this bug. ***
Comment 16 Pino Toscano 2009-07-04 16:18:52 UTC
*** Bug 194911 has been marked as a duplicate of this bug. ***
Comment 17 Pino Toscano 2009-07-04 16:19:18 UTC
*** Bug 190054 has been marked as a duplicate of this bug. ***
Comment 18 Dario Andres 2009-07-31 15:45:31 UTC
*** Bug 202087 has been marked as a duplicate of this bug. ***
Comment 19 Dario Andres 2009-08-19 21:56:14 UTC
*** Bug 201135 has been marked as a duplicate of this bug. ***
Comment 20 Dario Andres 2009-08-19 21:56:23 UTC
*** Bug 204450 has been marked as a duplicate of this bug. ***
Comment 21 Dario Andres 2009-08-26 18:12:23 UTC
*** Bug 186718 has been marked as a duplicate of this bug. ***
Comment 22 Dario Andres 2009-09-04 14:58:06 UTC
*** Bug 206216 has been marked as a duplicate of this bug. ***
Comment 23 Dario Andres 2009-10-19 23:15:39 UTC
*** Bug 210950 has been marked as a duplicate of this bug. ***
Comment 24 Dario Andres 2009-11-09 23:41:55 UTC
*** Bug 213716 has been marked as a duplicate of this bug. ***
Comment 25 Dario Andres 2009-12-17 15:30:25 UTC
*** Bug 219022 has been marked as a duplicate of this bug. ***
Comment 26 Dario Andres 2010-01-28 21:53:31 UTC
*** Bug 224576 has been marked as a duplicate of this bug. ***