Bug 253979

Summary: Crash on random operations on windows [QHash, Plasma::FrameData::ref, Plasma::FrameSvgPrivate::alphaMask, Plasma::FrameSvg::mask, Plasma::ToolTip::resizeEvent]
Product: [Unmaintained] plasma4 Reporter: carlo cancellieri <ccancellieri>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, slashdevdsp
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description carlo cancellieri 2010-10-12 16:24:26 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.5.70 (4.6 >= 20100927) (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 2.6.35-gentoo-r5 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
Using firefox, it occurred on password manager window popup.
Note: in the taskbar I've:
- 2 Dolphin
- 1 (with multiple tabs) kshell
- Vuze
In the application Tray there are:
- kshutdow
- avidemux2 (running x264 compression)
- amarok
- superkaramba
- keyboard layout
- clipboard
- kmix

- Unusual behavior I noticed:
window desktop crashes and is automatically reload

-- Backtrace:
Application: Plasma Desktop Shell (kdeinit4), signal: Segmentation fault
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7fc5dac8d760 (LWP 8056))]

Thread 2 (Thread 0x7fc5bc1b1710 (LWP 8057)):
#0  __pthread_mutex_unlock_usercnt (mutex=0xbdc7c8, decr=1) at pthread_mutex_unlock.c:49
#1  0x00007fc5d55abdbc in g_main_context_poll (context=0xbdc7c0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2903
#2  g_main_context_iterate (context=0xbdc7c0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2586
#3  0x00007fc5d55ac21c in IA__g_main_context_iteration (context=0xbdc7c0, may_block=1) at gmain.c:2654
#4  0x00007fc5d99031c6 in QEventDispatcherGlib::processEvents (this=0xb14ca0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007fc5d98d3c92 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007fc5d98d4074 in QEventLoop::exec (this=0x7fc5bc1b0de0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007fc5d97dd137 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007fc5d98b2df8 in QInotifyFileSystemWatcherEngine::run (this=0xbdce70) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fc5d97dfbde in QThreadPrivate::start (arg=0xbdce70) at thread/qthread_unix.cpp:266
#10 0x00007fc5d954c914 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#11 0x00007fc5d82d01dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fc5dac8d760 (LWP 8056)):
[KCrash Handler]
#6  QBasicAtomicInt::operator!= (this=0xf0c0b1b, value=1) at /usr/include/qt4/QtCore/qbasicatomic.h:75
#7  0x00007fc5d0d3b8d5 in QHash<Plasma::FrameSvg*, int>::detach (this=0x1a347b8) at /usr/include/qt4/QtCore/qhash.h:299
#8  0x00007fc5d0d3bf08 in QHash<Plasma::FrameSvg*, int>::operator[] (this=0xf0c0b1b, akey=@0x1) at /usr/include/qt4/QtCore/qhash.h:737
#9  0x00007fc5d0d3455c in Plasma::FrameData::ref (this=<value optimized out>, svg=0x232aa70) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/plasma/framesvg.cpp:946
#10 0x00007fc5d0d35d1c in Plasma::FrameSvgPrivate::alphaMask (this=0x20f00f0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/plasma/framesvg.cpp:534
#11 0x00007fc5d0d392e2 in Plasma::FrameSvg::mask (this=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/plasma/framesvg.cpp:370
#12 0x00007fc5d0d6b2c7 in Plasma::ToolTip::resizeEvent (this=0x1c9b5a0, e=0x7fffa5ae6410) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/plasma/private/tooltip.cpp:363
#13 0x00007fc5d8a8709f in QWidget::event (this=0x1c9b5a0, event=0x7fffa5ae6410) at kernel/qwidget.cpp:8301
#14 0x00007fc5d8a30eac in QApplicationPrivate::notify_helper (this=0x6d3d90, receiver=0x1c9b5a0, e=0x7fffa5ae6410) at kernel/qapplication.cpp:4382
#15 0x00007fc5d8a3781d in QApplication::notify (this=0x6ca9a0, receiver=0x1c9b5a0, e=0x7fffa5ae6410) at kernel/qapplication.cpp:4263
#16 0x00007fc5da658f31 in KApplication::notify (this=0x6ca9a0, receiver=0x1c9b5a0, event=0x7fffa5ae6410) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:311
#17 0x00007fc5d98d4ebb in QCoreApplication::notifyInternal (this=0x6ca9a0, receiver=0x1c9b5a0, event=0x7fffa5ae6410) at kernel/qcoreapplication.cpp:760
#18 0x00007fc5d8a860b9 in QCoreApplication::sendEvent (this=0x1691800, recursive=false, disableUpdates=false) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#19 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x1691800, recursive=false, disableUpdates=false) at kernel/qwidget.cpp:7217
#20 0x00007fc5d8a8b283 in QWidgetPrivate::show_helper (this=0xf0c0b1b) at kernel/qwidget.cpp:7268
#21 0x00007fc5d8a8cbca in QWidget::setVisible (this=0x1c9b5a0, visible=<value optimized out>) at kernel/qwidget.cpp:7549
#22 0x00007fc5d0d9e43b in Plasma::ToolTipManagerPrivate::showToolTip (this=0x87cb10) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/plasma/tooltipmanager.cpp:399
#23 0x00007fc5d0d9e56d in Plasma::ToolTipManager::qt_metacall (this=0x8ed200, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa5ae68b0)
    at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999_build/plasma/tooltipmanager.moc:88
#24 0x00007fc5d98ee608 in QMetaObject::activate (sender=<value optimized out>, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x6dc2d4) at kernel/qobject.cpp:3509
#25 0x00007fc5d98e6ac9 in QObject::event (this=0x900cb0, e=0x1) at kernel/qobject.cpp:1148
#26 0x00007fc5d8a30eac in QApplicationPrivate::notify_helper (this=0x6d3d90, receiver=0x900cb0, e=0x7fffa5ae7020) at kernel/qapplication.cpp:4382
#27 0x00007fc5d8a3781d in QApplication::notify (this=0x6ca9a0, receiver=0x900cb0, e=0x7fffa5ae7020) at kernel/qapplication.cpp:4263
#28 0x00007fc5da658f31 in KApplication::notify (this=0x6ca9a0, receiver=0x900cb0, event=0x7fffa5ae7020) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:311
#29 0x00007fc5d98d4ebb in QCoreApplication::notifyInternal (this=0x6ca9a0, receiver=0x900cb0, event=0x7fffa5ae7020) at kernel/qcoreapplication.cpp:760
#30 0x00007fc5d99062e2 in QCoreApplication::sendEvent (this=0x6d7550) at kernel/qcoreapplication.h:231
#31 QTimerInfoList::activateTimers (this=0x6d7550) at kernel/qeventdispatcher_unix.cpp:602
#32 0x00007fc5d9903484 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#33 0x00007fc5d55a8211 in g_main_dispatch (context=0x6d6440) at gmain.c:1960
#34 IA__g_main_context_dispatch (context=0x6d6440) at gmain.c:2513
#35 0x00007fc5d55ac068 in g_main_context_iterate (context=0x6d6440, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#36 0x00007fc5d55ac21c in IA__g_main_context_iteration (context=0x6d6440, may_block=1) at gmain.c:2654
#37 0x00007fc5d9903173 in QEventDispatcherGlib::processEvents (this=0x6d3b30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#38 0x00007fc5d8ae245e in QGuiEventDispatcherGlib::processEvents (this=0xf0c0b1b, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007fc5d98d3c92 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#40 0x00007fc5d98d4074 in QEventLoop::exec (this=0x7fffa5ae72c0, flags=) at kernel/qeventloop.cpp:201
#41 0x00007fc5d98d96a9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1032
#42 0x00007fc5cb93fd3f in kdemain (argc=<value optimized out>, argv=<value optimized out>)
    at /var/tmp/portage/kde-base/plasma-workspace-9999/work/plasma-workspace-9999/plasma/desktop/shell/main.cpp:118
#43 0x00000000004079cc in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=<value optimized out>, envs=<value optimized out>, reset_env=false, 
    tty=0x0, avoid_loops=false, startup_id_str=0x40bde4 "0") at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kinit/kinit.cpp:714
#44 0x00000000004083c7 in handle_launcher_request (sock=8, who=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kinit/kinit.cpp:1206
#45 0x00000000004090c2 in handle_requests (waitForPid=0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kinit/kinit.cpp:1399
#46 0x000000000040956f in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kinit/kinit.cpp:1885
The current source language is "auto; currently c".
The current source language is "auto; currently asm".

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

Possible duplicates by query: bug 253035, bug 253025.

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-15 18:33:44 UTC
[Comment from a bug triager]
This crash seems indeed related to bug 252920. (very similar backtrace).
Regards
Comment 2 Dario Andres 2010-11-15 18:36:18 UTC
From bug 252926:
- What I was doing when the application crashed:
plasma-desktop crashed after I stopped playing a fullscreen youtube video in
firefox. Todays kde trunk (compiled about 2 hrs ago) with qt 4.7.0 git
Comment 3 Dario Andres 2010-11-15 18:36:25 UTC
*** Bug 252926 has been marked as a duplicate of this bug. ***