Bug 330525

Summary: plasma desktop crash after initiating <meta>+<f2> command launch
Product: [Plasma] plasma4 Reporter: nydel
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash CC: cfeck
Priority: NOR Keywords: drkonqi
Version: 4.11.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description nydel 2014-01-29 06:42:43 UTC
Application: plasma-desktop (4.11.3)
KDE Platform Version: 4.11.3
Qt Version: 4.8.4
Operating System: Linux 3.11.0-15-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:

all programs were closed except for one instance of konsole using tmux shell and sudo as "sudo -i" to run updates and upgrades with "apt-get" -- i did upgrade my distribution, including the latest ubuntu kernel. afterwards i ran a few safe, non-aggressive commands to clean and remove outdated files that became as such during &/or after the distribution upgrade.

- Unusual behavior I noticed:

while <meta>+<f2> did call the little modal window into which commands are given, the window was unresponsive -- it flickered a few times while trying to run plasma animations (the window is placed at screen top, middle, & slides in over about 500-1.5k ms -- at this point the plasma desktop crashed, was able to relaunch itself, and prompt me with the option to submit a report.

- Custom settings of the application:

many desktop effects are enabled including window animations.  at least 10 applications have custom window appearance settings, many of which include the dropping of title bar and border in favor of a glowing bevel (and i rely on the mouse or <meta>+<f3> call to the window menu in order to resize or reposition a window set to instance itself without a border or titlebar).

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Bus error
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f13054db7c0 (LWP 5078))]

Thread 3 (Thread 0x7f12e49f4700 (LWP 5080)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f12fe17f06b in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f12fe17f0a9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f12f8836f6e in start_thread (arg=0x7f12e49f4700) at pthread_create.c:311
#4  0x00007f1304dcc9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f12555bc700 (LWP 5081)):
#0  0x00007f1304dbff7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f12f812c6a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f12f812c7ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1301998a76 in QEventDispatcherGlib::processEvents (this=0x7f12500008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f130196a5ef in QEventLoop::processEvents (this=this@entry=0x7f12555bbd70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f130196a8e5 in QEventLoop::exec (this=this@entry=0x7f12555bbd70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f130186988f in QThread::exec (this=this@entry=0x19f6030) at thread/qthread.cpp:542
#7  0x00007f130194bd13 in QInotifyFileSystemWatcherEngine::run (this=0x19f6030) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f130186bf2f in QThreadPrivate::start (arg=0x19f6030) at thread/qthread_unix.cpp:338
#9  0x00007f12f8836f6e in start_thread (arg=0x7f12555bc700) at pthread_create.c:311
#10 0x00007f1304dcc9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f13054db7c0 (LWP 5078)):
[KCrash Handler]
#6  0x00007f130216a60d in lock (this=0x28fa550) at ../../kdecore/util/kshareddatacache.cpp:1233
#7  KSharedDataCache::Private::CacheLocker::cautiousLock (this=0x7fff56df0370) at ../../kdecore/util/kshareddatacache.cpp:1257
#8  0x00007f130216b0d0 in KSharedDataCache::Private::CacheLocker::CacheLocker (this=0x7fff56df0370, _d=<optimized out>) at ../../kdecore/util/kshareddatacache.cpp:1280
#9  0x00007f1302163b05 in KSharedDataCache::find (this=this@entry=0x2956730, key=..., destination=destination@entry=0x7fff56df0410) at ../../kdecore/util/kshareddatacache.cpp:1632
#10 0x00007f130268e625 in KImageCache::findPixmap (this=0x2956730, key=..., destination=destination@entry=0x7fff56df0470) at ../../kdeui/util/kimagecache.cpp:150
#11 0x00007f1304977673 in Plasma::Theme::findInCache (this=this@entry=0xd1a590, key=..., pix=...) at ../../plasma/theme.cpp:982
#12 0x00007f130490e400 in Plasma::FrameSvgPrivate::generateBackground (this=this@entry=0x1a759b0, frame=frame@entry=0x3d4d980) at ../../plasma/framesvg.cpp:671
#13 0x00007f130490f620 in Plasma::FrameSvgPrivate::alphaMask (this=0x1a759b0) at ../../plasma/framesvg.cpp:602
#14 0x00007f130490fed2 in Plasma::FrameSvg::mask (this=<optimized out>) at ../../plasma/framesvg.cpp:459
#15 0x00007f13048ef9b6 in Plasma::DialogPrivate::updateMask (this=0x1a7a040) at ../../plasma/dialog.cpp:112
#16 0x00007f13048f0d10 in Plasma::DialogPrivate::checkBorders (this=this@entry=0x1a7a040, updateMaskIfNeeded=updateMaskIfNeeded@entry=false) at ../../plasma/dialog.cpp:270
#17 0x00007f13048f0fe0 in Plasma::DialogPrivate::themeChanged (this=0x1a7a040) at ../../plasma/dialog.cpp:97
#18 0x00007f130197fa58 in QMetaObject::activate (sender=0x113a7d0, m=m@entry=0x7f1304cc2d60 <Plasma::Svg::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#19 0x00007f130496f980 in Plasma::Svg::repaintNeeded (this=<optimized out>) at ./svg.moc:221
#20 0x00007f130490982a in updateAndSignalSizes (this=0x1a759b0) at ../../plasma/framesvg.cpp:1032
#21 Plasma::FrameSvg::setEnabledBorders (this=<optimized out>, borders=...) at ../../plasma/framesvg.cpp:166
#22 0x00007f13048f090c in Plasma::DialogPrivate::checkBorders (this=0x1a7a040, updateMaskIfNeeded=<optimized out>) at ../../plasma/dialog.cpp:238
#23 0x00007f13048f13cd in Plasma::Dialog::resizeEvent (this=0x1b78290, event=<optimized out>) at ../../plasma/dialog.cpp:560
#24 0x00007f1300d580d2 in QWidget::event (this=0x1b78290, event=0x7fff56df0f40) at kernel/qwidget.cpp:8540
#25 0x00007f1300d08dfc in QApplicationPrivate::notify_helper (this=this@entry=0xb45fc0, receiver=receiver@entry=0x1b78290, e=e@entry=0x7fff56df0f40) at kernel/qapplication.cpp:4567
#26 0x00007f1300d0f470 in QApplication::notify (this=this@entry=0xaf8bd0, receiver=receiver@entry=0x1b78290, e=e@entry=0x7fff56df0f40) at kernel/qapplication.cpp:4353
#27 0x00007f130262fa6a in KApplication::notify (this=0xaf8bd0, receiver=0x1b78290, event=0x7fff56df0f40) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007f130196b8bd in QCoreApplication::notifyInternal (this=0xaf8bd0, receiver=receiver@entry=0x1b78290, event=event@entry=0x7fff56df0f40) at kernel/qcoreapplication.cpp:946
#29 0x00007f1300d540f1 in sendEvent (event=0x7fff56df0f40, receiver=0x1b78290) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=this@entry=0x1a79e40, recursive=recursive@entry=false, disableUpdates=<optimized out>, disableUpdates@entry=false) at kernel/qwidget.cpp:7445
#31 0x00007f1300d556f3 in QWidgetPrivate::show_helper (this=this@entry=0x1a79e40) at kernel/qwidget.cpp:7496
#32 0x00007f1300d574c4 in QWidget::setVisible (this=0x1b78290, visible=<optimized out>) at kernel/qwidget.cpp:7777
#33 0x00007f13049133e1 in Plasma::PopupAppletPrivate::showDialog (this=0xfebb80) at ../../plasma/popupapplet.cpp:800
#34 0x00007f1301983be1 in QObject::event (this=this@entry=0xff0ba0, e=e@entry=0x7fff56df1460) at kernel/qobject.cpp:1156
#35 0x00007f1301307aab in QGraphicsWidget::event (this=0xff0ba0, event=0x7fff56df1460) at graphicsview/qgraphicswidget.cpp:1461
#36 0x00007f1300d08dfc in QApplicationPrivate::notify_helper (this=this@entry=0xb45fc0, receiver=receiver@entry=0xff0ba0, e=e@entry=0x7fff56df1460) at kernel/qapplication.cpp:4567
#37 0x00007f1300d0f470 in QApplication::notify (this=this@entry=0xaf8bd0, receiver=receiver@entry=0xff0ba0, e=e@entry=0x7fff56df1460) at kernel/qapplication.cpp:4353
#38 0x00007f130262fa6a in KApplication::notify (this=0xaf8bd0, receiver=0xff0ba0, event=0x7fff56df1460) at ../../kdeui/kernel/kapplication.cpp:311
#39 0x00007f130196b8bd in QCoreApplication::notifyInternal (this=0xaf8bd0, receiver=0xff0ba0, event=0x7fff56df1460) at kernel/qcoreapplication.cpp:946
#40 0x00007f130199b403 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#41 QTimerInfoList::activateTimers (this=0xb47970) at kernel/qeventdispatcher_unix.cpp:622
#42 0x00007f13019987a1 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#43 0x00007f12f812c3b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f12f812c708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f12f812c7ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f1301998a55 in QEventDispatcherGlib::processEvents (this=0xa26ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#47 0x00007f1300daa9d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007f130196a5ef in QEventLoop::processEvents (this=this@entry=0x7fff56df16e0, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007f130196a8e5 in QEventLoop::exec (this=this@entry=0x7fff56df16e0, flags=...) at kernel/qeventloop.cpp:204
#50 0x00007f130196fe5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#51 0x00007f13050d627c in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#52 0x00007f1304cf3de5 in __libc_start_main (main=0x4006e0, argc=1, ubp_av=0x7fff56df1938, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff56df1928) at libc-start.c:260
#53 0x000000000040070e in _start ()

Possible duplicates by query: bug 329564, bug 316282.

Reported using DrKonqi
Comment 1 nydel 2014-01-29 06:51:00 UTC
plasma appeared to have resumed itself as i wrote up this crash report, but then failed again when i tried to summon the <meta>+<f2> command window again -- and again it restarted itself, offering the opportunity to submit the bug.. i declined and crashed plasma again the same way. the problem has ceased after logging out through the KDE "Leave" menu and logging back in.
Comment 2 nydel 2014-01-29 06:53:43 UTC
i can recreate this situation by kindly killing all gui processes, summoning an instance of konsole, sending konsole a few commands, then calling the gui command window with meta+f2 -- please let me know of any manner of datum that i might attach to this report as to make it more helpful (if in fact the issue appears to dance near a bug of relevance) thank you kindly
Comment 3 Christoph Feck 2014-01-29 23:15:09 UTC
> i ran a few safe, non-aggressive commands to clean and remove outdated files

You probably also cleaned files in /var/tmp, which you are allowed to do, but not while KDE runs.