Bug 221308

Summary: Waking from suspend to RAM causes plasma crash [QBasicAtomicInt::deref, ~QString, ~ForecastInfo]
Product: [Unmaintained] plasma4 Reporter: Marcus Harrison <marcus>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: echidnaman
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marcus Harrison 2010-01-05 00:33:36 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-17-generic i686
Distribution: Ubuntu 9.10

-- Information about the crash:
When waking from suspend to RAM after my laptop had automatically gone to, "sleep" (due to low battery), waking it up once succeeds, but then the  laptop goes to sleep again. On the second wake-up, the laptop stays on, but plasma crashes with the following output.

Possibly related is that I am using the gnome network manager applet, and that it (theoretically) had to re-connect to the network I was using twice in a short amount of time, once for each time the laptop suspended to RAM.

The crash can be reproduced some of the times.

 -- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77db760 (LWP 1979))]

Thread 2 (Thread 0xaa634b70 (LWP 2018)):
#0  0x006ae422 in __kernel_vsyscall ()
#1  0x00396e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x02d71307 in QWaitConditionPrivate::wait (this=0x8e09f60, mutex=0x8e09f5c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x8e09f60, mutex=0x8e09f5c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x00426102 in QHostInfoAgent::run (this=0x8e09f50) at kernel/qhostinfo.cpp:252
#5  0x02d703ae in QThreadPrivate::start (arg=0x8e09f50) at thread/qthread_unix.cpp:244
#6  0x0039280e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x04fee8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb77db760 (LWP 1979)):
[KCrash Handler]
#6  QBasicAtomicInt::deref (this=0x979ca08, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qatomic_i386.h:132
#7  ~QString (this=0x979ca08, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qstring.h:869
#8  0x065925ae in ~ForecastInfo (this=0x9090bc8) at ../../../../../../../plasma/generic/dataengines/weather/ions/bbcukmet/ion_bbcukmet.h:63
#9  UKMETIon::reset (this=0x9090bc8) at ../../../../../../../plasma/generic/dataengines/weather/ions/bbcukmet/ion_bbcukmet.cpp:53
#10 0x059bd076 in WeatherEngine::triggerReset (this=0x9079138) at ../../../../../plasma/generic/dataengines/weather/weatherengine.cpp:275
#11 0x059bf37b in WeatherEngine::qt_metacall (this=0x9079138, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfc1e7fc) at ./weatherengine.moc:93
#12 0x02e7711a in QMetaObject::metacall (object=0x9079138, cl=84296608, idx=25, argv=0xbfc1e7fc) at kernel/qmetaobject.cpp:237
#13 0x02e8589b in QMetaObject::activate (sender=0x95a2bc0, m=0x2f85188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3294
#14 0x02e8d527 in QSingleShotTimer::timeout (this=0x95a2bc0) at .moc/release-shared/qtimer.moc:82
#15 0x02e8d63c in QSingleShotTimer::timerEvent (this=0x95a2bc0) at kernel/qtimer.cpp:308
#16 0x02e82704 in QObject::event (this=0x95a2bc0, e=0x979ca08) at kernel/qobject.cpp:1224
#17 0x011e719c in QApplicationPrivate::notify_helper (this=0x89f0ee8, receiver=0x95a2bc0, e=0xbfc1ecc0) at kernel/qapplication.cpp:4242
#18 0x011eddf7 in QApplication::notify (this=0x89ea840, receiver=0x95a2bc0, e=0xbfc1ecc0) at kernel/qapplication.cpp:3661
#19 0x00edb0fa in KApplication::notify (this=0x89ea840, receiver=0x95a2bc0, event=0xbfc1ecc0) at ../../kdeui/kernel/kapplication.cpp:302
#20 0x02e71eab in QCoreApplication::notifyInternal (this=0x89ea840, receiver=0x95a2bc0, event=0xbfc1ecc0) at kernel/qcoreapplication.cpp:704
#21 0x02ea1286 in QCoreApplication::sendEvent (this=0x89f35ac) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QTimerInfoList::activateTimers (this=0x89f35ac) at kernel/qeventdispatcher_unix.cpp:603
#23 0x02e9df17 in timerSourceDispatch (source=0x89f3a00) at kernel/qeventdispatcher_glib.cpp:184
#24 idleTimerSourceDispatch (source=0x89f3a00) at kernel/qeventdispatcher_glib.cpp:231
#25 0x08386e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x0838a730 in ?? () from /lib/libglib-2.0.so.0
#27 0x0838a863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x02e9dbd5 in QEventDispatcherGlib::processEvents (this=0x89efed8, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#29 0x012a4b75 in QGuiEventDispatcherGlib::processEvents (this=0x89efed8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#30 0x02e704c9 in QEventLoop::processEvents (this=0xbfc1ef84, flags=) at kernel/qeventloop.cpp:149
#31 0x02e7091a in QEventLoop::exec (this=0xbfc1ef84, flags=...) at kernel/qeventloop.cpp:201
#32 0x02e74b0f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#33 0x011e7237 in QApplication::exec () at kernel/qapplication.cpp:3570
#34 0x023b006e in kdemain (argc=1, argv=0x89e2210) at ../../../../plasma/desktop/shell/main.cpp:112
#35 0x0804dff7 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=0, envs=0x89ded88 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x8051429 "0") at ../../kinit/kinit.cpp:705
#36 0x0804ec15 in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at ../../kinit/kinit.cpp:1197
#37 0x0804f08c in handle_requests (waitForPid=<value optimized out>) at ../../kinit/kinit.cpp:1390
#38 0x0804fe27 in main (argc=4, argv=0xbfc1fa34, envp=0xbfc1fa48) at ../../kinit/kinit.cpp:1825

This bug may be a duplicate of or related to bug 219036.

Possible duplicates by query: bug 220820.

Reported using DrKonqi
Comment 1 Jonathan Thomas 2010-01-05 01:15:04 UTC

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