Bug 282321 - Plasma crashed when resuming from hibernation
Summary: Plasma crashed when resuming from hibernation
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 283463 284119 289096 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-19 05:42 UTC by marko.gabriel.cz
Modified: 2011-12-16 12:15 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (12.95 KB, text/plain)
2011-10-08 19:23 UTC, Paulius
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marko.gabriel.cz 2011-09-19 05:42:29 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:Plasma crashed after resuming from hibernate. AC adapter was not plugged in.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Aborted
[Current thread is 1 (Thread 0xb76e9720 (LWP 2386))]

Thread 4 (Thread 0xb165ab70 (LWP 2431)):
#0  0x00ca2416 in __kernel_vsyscall ()
#1  0x00459753 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x003ecb94 in _L_lock_10338 () from /lib/i386-linux-gnu/libc.so.6
#3  0x003eb416 in __libc_free (mem=0x95ceab8) at malloc.c:3736
#4  0x00c214d1 in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5  0x03d9298e in QEventDispatcherGlib::unregisterSocketNotifier (this=0x95ce4d0, notifier=0xb165a2dc) at kernel/qeventdispatcher_glib.cpp:503
#6  0x03d80db9 in QSocketNotifier::setEnabled (this=0xb165a2dc, enable=false) at kernel/qsocketnotifier.cpp:298
#7  0x03d91f94 in socketNotifierSourceCheck (source=0x95ce458) at kernel/qeventdispatcher_glib.cpp:92
#8  0x022a971d in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x022aa03a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x022aa524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0x03d9253c in QEventDispatcherGlib::processEvents (this=0x95ce4d0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#12 0x03d64289 in QEventLoop::processEvents (this=0xb165a280, flags=...) at kernel/qeventloop.cpp:149
#13 0x03d64522 in QEventLoop::exec (this=0xb165a280, flags=...) at kernel/qeventloop.cpp:201
#14 0x03c6e2a0 in QThread::exec (this=0x95cccd0) at thread/qthread.cpp:492
#15 0x03d45fdb in QInotifyFileSystemWatcherEngine::run (this=0x95cccd0) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x03c70da2 in QThreadPrivate::start (arg=0x95cccd0) at thread/qthread_unix.cpp:320
#17 0x02866e99 in start_thread (arg=0xb165ab70) at pthread_create.c:304
#18 0x0044b73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xaffa1b70 (LWP 2432)):
#0  0x00ca2416 in __kernel_vsyscall ()
#1  0x00459753 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x003ecb94 in _L_lock_10338 () from /lib/i386-linux-gnu/libc.so.6
#3  0x003eb416 in __libc_free (mem=0x9626a80) at malloc.c:3736
#4  0x00c214d1 in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5  0x03d9298e in QEventDispatcherGlib::unregisterSocketNotifier (this=0x9626578, notifier=0xaffa12dc) at kernel/qeventdispatcher_glib.cpp:503
#6  0x03d80db9 in QSocketNotifier::setEnabled (this=0xaffa12dc, enable=false) at kernel/qsocketnotifier.cpp:298
#7  0x03d91f94 in socketNotifierSourceCheck (source=0x9626488) at kernel/qeventdispatcher_glib.cpp:92
#8  0x022a971d in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x022aa03a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x022aa524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0x03d9253c in QEventDispatcherGlib::processEvents (this=0x9626578, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#12 0x03d64289 in QEventLoop::processEvents (this=0xaffa1280, flags=...) at kernel/qeventloop.cpp:149
#13 0x03d64522 in QEventLoop::exec (this=0xaffa1280, flags=...) at kernel/qeventloop.cpp:201
#14 0x03c6e2a0 in QThread::exec (this=0x9624f28) at thread/qthread.cpp:492
#15 0x03d45fdb in QInotifyFileSystemWatcherEngine::run (this=0x9624f28) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x03c70da2 in QThreadPrivate::start (arg=0x9624f28) at thread/qthread_unix.cpp:320
#17 0x02866e99 in start_thread (arg=0xaffa1b70) at pthread_create.c:304
#18 0x0044b73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xaf381b70 (LWP 2433)):
#0  0x00ca2416 in __kernel_vsyscall ()
#1  0x00459753 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x003ecb94 in _L_lock_10338 () from /lib/i386-linux-gnu/libc.so.6
#3  0x003eb416 in __libc_free (mem=0x978f640) at malloc.c:3736
#4  0x022b0c86 in g_free () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x022a5a6b in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x03d92a15 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x97c9bb8, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:373
#7  0x03d92b52 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x97c9bb8, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#8  0x03c7000a in QThreadPrivate::finish (arg=0x3ea18b0) at thread/qthread_unix.cpp:356
#9  0x03c70daa in ~__pthread_cleanup_class (arg=0x3ea18b0) at /usr/include/pthread.h:545
#10 QThreadPrivate::start (arg=0x3ea18b0) at thread/qthread_unix.cpp:279
#11 0x02866e99 in start_thread (arg=0xaf381b70) at pthread_create.c:304
#12 0x0044b73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb76e9720 (LWP 2386)):
[KCrash Handler]
#7  0x00ca2416 in __kernel_vsyscall ()
#8  0x003a5e71 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x003a934e in abort () at abort.c:92
#10 0x003dc577 in __libc_message (do_abort=2, fmt=0x4b58ac "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#11 0x003e6961 in malloc_printerr (action=<value optimized out>, str=<value optimized out>, ptr=0x9dd24d0) at malloc.c:6283
#12 0x003e828b in _int_free (av=<value optimized out>, p=0x9dd24c8) at malloc.c:4795
#13 0x003eb41d in __libc_free (mem=0x9dd24d0) at malloc.c:3738
#14 0x03c6abbd in qFree (ptr=0x9dd24d0) at global/qmalloc.cpp:60
#15 0x03c9dd7d in QMapData::continueFreeData (this=0x9867fc0, offset=20) at tools/qmap.cpp:93
#16 0x07763a66 in QMap<KEntryKey, KEntry>::freeData (x=0x9867fc0, this=<value optimized out>) at /usr/include/qt4/QtCore/qmap.h:654
#17 0x07767800 in operator= (this=0x98622f0) at /usr/include/qt4/QtCore/qmap.h:432
#18 clear (this=0x98622f0) at /usr/include/qt4/QtCore/qmap.h:443
#19 KConfig::reparseConfiguration (this=0x98622f0) at ../../kdecore/config/kconfig.cpp:583
#20 0x07781ca5 in KCoreConfigSkeleton::readConfig (this=0x9862338) at ../../kdecore/config/kcoreconfigskeleton.cpp:1065
#21 0x05b1e9d0 in NMPopup::readConfig (this=0x971eb60) at ../../applet/nmpopup.cpp:299
#22 0x05b1742e in NMPopup::qt_metacall (this=0x971eb60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf87f31c) at moc_nmpopup.cpp:133
#23 0x00ec1acd in QDBusConnectionPrivate::deliverCall (this=0x8c4bfe8, object=0x971eb60, msg=..., metaTypes=..., slotIdx=39) at qdbusintegrator.cpp:942
#24 0x00ecc1d7 in QDBusCallDeliveryEvent::placeMetaCall (this=0x9c25448, object=0x971eb60) at qdbusintegrator_p.h:103
#25 0x03d7a3b7 in QObject::event (this=0x971eb60, e=0x9c25448) at kernel/qobject.cpp:1226
#26 0x01b20a14 in QGraphicsWidget::event (this=0x971eb60, event=0x9c25448) at graphicsview/qgraphicswidget.cpp:1423
#27 0x01486d24 in QApplicationPrivate::notify_helper (this=0x8c63dc8, receiver=0x971eb60, e=0x9c25448) at kernel/qapplication.cpp:4462
#28 0x0148b8ce in QApplication::notify (this=0x8c53330, receiver=0x971eb60, e=0x9c25448) at kernel/qapplication.cpp:3862
#29 0x0118293a in KApplication::notify (this=0x8c53330, receiver=0x971eb60, event=0x9c25448) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x03d650bb in QCoreApplication::notifyInternal (this=0x8c53330, receiver=0x971eb60, event=0x9c25448) at kernel/qcoreapplication.cpp:731
#31 0x03d68c79 in sendEvent (receiver=0x0, event_type=0, data=0x8bf2f20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8bf2f20) at kernel/qcoreapplication.cpp:1372
#33 0x03d68e0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#34 0x03d923c4 in sendPostedEvents (s=0x8c61cb8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#35 postEventSourceDispatch (s=0x8c61cb8) at kernel/qeventdispatcher_glib.cpp:277
#36 0x022a9aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0x022aa270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0x022aa524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0x03d9253c in QEventDispatcherGlib::processEvents (this=0x8bf2a78, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#40 0x0153d1e5 in QGuiEventDispatcherGlib::processEvents (this=0x8bf2a78, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x03d64289 in QEventLoop::processEvents (this=0xbf87fb74, flags=...) at kernel/qeventloop.cpp:149
#42 0x03d64522 in QEventLoop::exec (this=0xbf87fb74, flags=...) at kernel/qeventloop.cpp:201
#43 0x03d68ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#44 0x014848e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#45 0x00249fdb in kdemain (argc=1, argv=0xbf87fd94) at ../../../../plasma/desktop/shell/main.cpp:120
#46 0x080485bb in main (argc=1, argv=0xbf87fd94) at plasma-desktop_dummy.cpp:3

Possible duplicates by query: bug 280842, bug 280815, bug 278756, bug 278689, bug 277371.

Reported using DrKonqi
Comment 1 Paulius 2011-10-08 19:23:46 UTC
Created attachment 64344 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.1 (4.7.1) using Qt 4.7.2

- What I was doing when the application crashed:

I was resuming my kubuntu after hibernation

-- Backtrace (Reduced):
#9  0x00007fa8ea783a8f in malloc_printerr (av=<value optimized out>, p=0x5daaedf) at malloc.c:6283
#10 _int_free (av=<value optimized out>, p=0x5daaedf) at malloc.c:4795
#11 0x00007fa8ea7878e3 in __libc_free (mem=<value optimized out>) at malloc.c:3738
#12 0x00007fa8e79e332a in QObjectPrivate::cleanConnectionLists (this=0x5c24c20) at kernel/qobject.cpp:384
[...]
#14 0x00007fa8e79e3b0f in QObject::destroyed (this=<value optimized out>, _t1=0x5b743f0) at .moc/release-shared/moc_qobject.cpp:149
Comment 2 Aaron J. Seigo 2011-12-16 12:13:38 UTC
*** Bug 284119 has been marked as a duplicate of this bug. ***
Comment 3 Aaron J. Seigo 2011-12-16 12:13:42 UTC
*** Bug 283463 has been marked as a duplicate of this bug. ***
Comment 4 Aaron J. Seigo 2011-12-16 12:14:08 UTC
*** Bug 289096 has been marked as a duplicate of this bug. ***
Comment 5 Aaron J. Seigo 2011-12-16 12:15:37 UTC
each of these reports is plasma-desktop crashing when returning from hibernation when a QHash or QMap was freeing internal data structures. it is not always the same hash or map or the same code path in plasma, but it ends up in the same locations in Qt and we only see this crash on de-hibernation. looks like a Qt issue.