Bug 266043 - "Show a Launcher for <program> When It Is Not Running" feature of Smooth Tasks crashes plasma on program exit
Summary: "Show a Launcher for <program> When It Is Not Running" feature of Smooth Task...
Status: RESOLVED DOWNSTREAM
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:
Depends on:
Blocks:
 
Reported: 2011-02-11 00:31 UTC by patchesthecaveman
Modified: 2011-07-30 17:38 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (19.47 KB, text/plain)
2011-03-10 14:13 UTC, Michele Gastaldo
Details
New crash information added by DrKonqi (3.53 KB, text/plain)
2011-07-29 10:39 UTC, Wiktor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description patchesthecaveman 2011-02-11 00:31:18 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-23-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
1. Set any program to "Show a Launcher for <program> When It Is Not Running" from the Advanced menu of the program's icon in Smooth Tasks.
2. Close that program.
3. Plasma crashes.

- Unusual behavior I noticed:
When Plasma restarts, the Smooth Tasks plasmoid is shifted to the left of the Lancelot launcher and Quick Access icon that was previously on its left.

Sorry I can't provide debug info right now, I'm on a slow connection and the debug symbols would take ages to download.  (Several necessary packages appear to be missing from Ubuntu anyway).

The crash can be reproduced every time.

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

Thread 4 (Thread 0xb555ab70 (LWP 2012)):
#0  0x00172416 in __kernel_vsyscall ()
#1  0x005910f3 in ?? () from /lib/libc.so.6
#2  0x0052565f in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0xb4bffb70 (LWP 2017)):
#0  0x00172416 in __kernel_vsyscall ()
#1  0x005910f3 in ?? () from /lib/libc.so.6
#2  0x0052565f in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0xadc50b70 (LWP 2023)):
#0  0x00172416 in __kernel_vsyscall ()
#1  0x005910f3 in ?? () from /lib/libc.so.6
#2  0x0052565f in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0xb7892720 (LWP 2007)):
[KCrash Handler]
#7  0x00172416 in __kernel_vsyscall ()
#8  0x004dd941 in raise () from /lib/libc.so.6
#9  0x004e0e42 in abort () from /lib/libc.so.6
#10 0x00515305 in ?? () from /lib/libc.so.6
#11 0x0051f501 in ?? () from /lib/libc.so.6
#12 0x00520d70 in ?? () from /lib/libc.so.6
#13 0x00523e5d in free () from /lib/libc.so.6
#14 0x04987fed in qFree(void*) () from /usr/lib/libQtCore.so.4
#15 0x049e8f83 in QVectorData::free(QVectorData*, int) () from /usr/lib/libQtCore.so.4
#16 0x02a0ed8d in ?? () from /usr/lib/libQtGui.so.4
#17 0x02a260fe in QGraphicsScene::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#18 0x0025282a in Plasma::Corona::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libplasma.so.3
#19 0x00996f5a in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#20 0x04a958ca in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#21 0x04aa0df6 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#22 0x04aa26a2 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#23 0x02a22374 in QGraphicsScene::event(QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x0233cfdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0x0234304e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#26 0x011bcf7a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#27 0x04a8fb3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#28 0x04a92d8b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#29 0x04a92f4d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#30 0x04abea74 in ?? () from /usr/lib/libQtCore.so.4
#31 0x055a2855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0x055a6668 in ?? () from /lib/libglib-2.0.so.0
#33 0x055a6848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0x04abe565 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0x023febe5 in ?? () from /usr/lib/libQtGui.so.4
#36 0x04a8e609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0x04a8ea8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0x04a9300f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#39 0x0233be07 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#40 0x0099ffd7 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#41 0x080485bb in _start ()

Possible duplicates by query: bug 253936.

Reported using DrKonqi
Comment 1 Dario Andres 2011-02-12 16:47:56 UTC
[Comment from a bug triager]
Looks like an issue which could be caused by some bug in the SmoothTasks code combined with some other thing in Qt or KDE code. (as the backtrace shows no trace of smoothtasks, but the description is all about it)

- Can you mention this bug report on https://bitbucket.org/panzi/smooth-tasks/issues/ so the Smooth Tasks author can check it ?

Regards
Comment 2 patchesthecaveman 2011-02-12 20:52:02 UTC
I reported this bug to the Smooth Tasks developers:
https://bitbucket.org/panzi/smooth-tasks/issue/51/smooth-tasks-crashes-plasma-on-kde-46
Comment 3 patchesthecaveman 2011-02-13 23:31:29 UTC
The Smooth Tasks developer doesn't see anything in the stack trace coming from his code.

Also, I've since discovered that when I have the taskbar on auto hide, Plasma doesn't crash until I close the app whose icon I made persistent *and* move my mouse down so the panel shows, if that's helpful.
Comment 4 Michele Gastaldo 2011-03-10 14:13:54 UTC
Created attachment 57833 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.0

I can confirm the same behaviour with same steps here (except for the object being moved to the left in the panel, which I guess is not very important). I'll make the same report in smooth tasks bugzilla as it's probably a bug in there - it doesn't happen with the task manager shipped in KDE.

-- Backtrace (Reduced):
#13 0x02ec1024 in qRealloc (ptr=0x30fc494, size=48) at global/qmalloc.cpp:65
#14 0x02f21fcc in QVectorData::reallocate (x=0x6, newsize=1567, oldsize=-16, alignment=0) at tools/qvector.cpp:74
#15 0x0150bd75 in QVector<QScriptItem>::realloc (this=0xbf8f128c, asize=0, aalloc=1) at ../../include/QtCore/../../src/corelib/tools/qvector.h:480
#16 0x01629844 in QVector<QScriptItem>::append(QScriptItem const&) () from /usr/lib/libQtGui.so.4
#17 0x01621f92 in generateScriptItems (this=0xbf8ed100, start=<value optimized out>, length=1, caps=QFont::MixedCase) at text/qtextengine.cpp:124
Comment 5 patchesthecaveman 2011-03-11 01:58:56 UTC
The icon moving issue appears to have been unrelated.  I subsequently discovered it happened whenever I logged in (or really whenever Plasma restarts), and I also experienced that problem with the built-in Task Manager plasmoid.  Deleting and recreating my panel made that issue go away.
Comment 6 Kai Uwe Broulik 2011-04-07 02:15:03 UTC
Bug 268256 is a duplicate of this one.
Comment 7 Wiktor 2011-07-29 10:39:01 UTC
Created attachment 62300 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.3

- What I was doing when the application crashed:
Same things but without moving icons.

- Custom settings of the application:
As people wrote above.

I'm not attaching debug info, because I can't find them in repository.

-- Backtrace (Reduced):
#12 0x4953a5ab in qFree(void*) () from /usr/lib/libQtCore.so.4
#13 0x49599342 in QVectorData::free(QVectorData*, int) () from /usr/lib/libQtCore.so.4
[...]
#16 0x4d2fa48b in QGraphicsScene::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#17 0x4111ce42 in Plasma::Corona::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libplasma.so.3
[...]
#21 0x4965220f in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4