Bug 268256

Summary: Smooth-Tasks crashes launcher when using 4.6 app launchers
Product: [Unmaintained] plasma4 Reporter: Kai Krakow <kai>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: aseigo
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kai Krakow 2011-03-11 22:04:58 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.2
Operating System: Linux 2.6.36-gentoo-r7 i686
Distribution (Platform): Gentoo Packages

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

In smooth tasks, I right clicked a task icon, and choose do display an application launcher while the application is not running. I then closed the application, plasma-desktop crashed and restarted after a few seconds.

- Custom settings of the application:

I placed the smooth-tasks widget on the plasma bar and removed the traditional window list. I've tried to set one application to show a launcher when it is not running. Plasma crashes as soon as smooth-tasks tries to show the launcher.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma-Desktop-Umgebung (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb59c1710 (LWP 4145))]

Thread 2 (Thread 0xabbf6b70 (LWP 4174)):
#0  0xb772f424 in __kernel_vsyscall ()
#1  0xb60ea61e in poll () from /lib/libc.so.6
#2  0xb5b76d90 in g_poll (fds=0x90d2200, nfds=1, timeout=-1) at gpoll.c:132
#3  0xb5b6a98e in g_main_context_poll (context=0x909e718, block=<value optimized out>, dispatch=1, self=0x910bf30) at gmain.c:3093
#4  g_main_context_iterate (context=0x909e718, block=<value optimized out>, dispatch=1, self=0x910bf30) at gmain.c:2775
#5  0xb5b6ac7a in g_main_context_iteration (context=0x909e718, may_block=1) at gmain.c:2843
#6  0xb6e5f011 in QEventDispatcherGlib::processEvents (this=0x909e028, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#7  0xb6e31def in QEventLoop::processEvents (this=0xabbf61d0, flags=) at kernel/qeventloop.cpp:149
#8  0xb6e32215 in QEventLoop::exec (this=0xabbf61d0, flags=...) at kernel/qeventloop.cpp:201
#9  0xb6d3b553 in QThread::exec (this=0x909da08) at thread/qthread.cpp:492
#10 0xb6e122dc in QInotifyFileSystemWatcherEngine::run (this=0x909da08) at io/qfilesystemwatcher_inotify.cpp:248
#11 0xb6d3e4b3 in QThreadPrivate::start (arg=0x909da08) at thread/qthread_unix.cpp:320
#12 0xb2087de7 in ?? () from //usr/lib/opengl/nvidia/lib/libGL.so.1
#13 0xb60f621e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb59c1710 (LWP 4145)):
[KCrash Handler]
#7  memcpy () at ../sysdeps/i386/i686/memcpy.S:75
#8  0xbfa2ad1c in ?? ()
#9  0xb6d426b5 in detach (this=0x9f67140) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:418
#10 data (this=0x9f67140) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:412
#11 QByteArray::toLower (this=0x9f67140) at tools/qbytearray.cpp:2650
#12 0xb648047b in createReadHandlerHelper (device=<value optimized out>, format=..., autoDetectImageFormat=true, ignoresFormatAndExtension=false) at image/qimagereader.cpp:241
#13 0xb6482696 in QImageReaderPrivate::initHandler (this=0x9f67140) at image/qimagereader.cpp:618
#14 0xb6483e22 in QImageReader::read (this=0xbfa2af24, image=0xbfa2aeb4) at image/qimagereader.cpp:1185
#15 0xb6483f9c in QImageReader::read (this=0xbfa2af24) at image/qimagereader.cpp:1155
#16 0xb647640e in operator>> (s=..., image=...) at image/qimage.cpp:5204
#17 0xb64948aa in operator>> (stream=..., pixmap=...) at image/qpixmap.cpp:1329
#18 0xb74c183d in KIconLoaderPrivate::findCachedPixmapWithPath (this=0x8934c70, key=..., data=..., path=...) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kdeui/icons/kiconloader.cpp:884
#19 0xb74c8b04 in KIconLoader::loadIcon (this=0x8995d90, _name=..., group=KIconLoader::Small, size=32, state=0, overlays=..., path_store=0x0, canReturnNull=true) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kdeui/icons/kiconloader.cpp:1231
#20 0xb767c369 in KWindowSystem::icon (win=21750, width=32, height=32, scale=false, flags=8) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kdeui/windowmanagement/kwindowsystem_x11.cpp:672
#21 0xb767ca22 in KWindowSystem::icon (win=21750, width=32, height=32, scale=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kdeui/windowmanagement/kwindowsystem_x11.cpp:588
#22 0xad7b215c in TaskManager::Task::icon (this=0xa424000) at /var/tmp/portage/kde-base/libtaskmanager-4.6.1/work/libtaskmanager-4.6.1/libs/taskmanager/task.cpp:331
#23 0xad530140 in SmoothTasks::Task::updateTask (this=0x8c23118, changes=...) at /var/tmp/portage/kde-misc/smooth-tasks-20101106/work/smooth-tasks-src-wip-2010-11-06/applet/SmoothTasks/Task.cpp:239
#24 0xad530746 in SmoothTasks::Task::Task (this=0x8c23118, abstractItem=0x9903100, parent=0xaeca910) at /var/tmp/portage/kde-misc/smooth-tasks-20101106/work/smooth-tasks-src-wip-2010-11-06/applet/SmoothTasks/Task.cpp:62
#25 0xad534261 in SmoothTasks::TaskItem::TaskItem (this=0xaeca910, abstractItem=0x9903100, applet=0x8b94828) at /var/tmp/portage/kde-misc/smooth-tasks-20101106/work/smooth-tasks-src-wip-2010-11-06/applet/SmoothTasks/TaskItem.cpp:87
#26 0xad51ffc0 in SmoothTasks::Applet::itemAdded (this=0x8b94828, groupableItem=0x9903100) at /var/tmp/portage/kde-misc/smooth-tasks-20101106/work/smooth-tasks-src-wip-2010-11-06/applet/SmoothTasks/Applet.cpp:212
#27 0xad526746 in SmoothTasks::Applet::qt_metacall (this=0x8b94828, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbfa2b738) at /var/tmp/portage/kde-misc/smooth-tasks-20101106/work/smooth-tasks-20101106_build/applet/Applet.moc:121
#28 0xb6e38932 in QMetaObject::metacall (object=0x8b94828, cl=36531352, idx=71, argv=0xbfa2b738) at kernel/qmetaobject.cpp:237
#29 0xb6e4a93c in QMetaObject::activate (sender=0x8b2aab8, m=0xad7cebec, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#30 0xad7bccc4 in TaskManager::TaskGroup::itemAdded (this=0x8b2aab8, _t1=0x9903100) at /var/tmp/portage/kde-base/libtaskmanager-4.6.1/work/libtaskmanager-4.6.1_build/libs/taskmanager/taskgroup.moc:152
#31 0xad7bf79c in TaskManager::TaskGroup::add (this=0x8b2aab8, item=0x9903100) at /var/tmp/portage/kde-base/libtaskmanager-4.6.1/work/libtaskmanager-4.6.1/libs/taskmanager/taskgroup.cpp:237
#32 0xad7a2cf3 in TaskManager::GroupManagerPrivate::checkLauncherVisibility (this=0x8bbe5e8, launcher=0x9903100) at /var/tmp/portage/kde-base/libtaskmanager-4.6.1/work/libtaskmanager-4.6.1/libs/taskmanager/groupmanager.cpp:648
#33 0xad7a2f95 in TaskManager::GroupManagerPrivate::launcherVisibilityChange (this=0x8bbe5e8) at /var/tmp/portage/kde-base/libtaskmanager-4.6.1/work/libtaskmanager-4.6.1/libs/taskmanager/groupmanager.cpp:634
#34 0xad7a7620 in TaskManager::GroupManager::qt_metacall (this=0x8b4f188, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0xbfa2b9e8) at /var/tmp/portage/kde-base/libtaskmanager-4.6.1/work/libtaskmanager-4.6.1_build/libs/taskmanager/groupmanager.moc:119
#35 0xb6e38932 in QMetaObject::metacall (object=0x8b4f188, cl=36531352, idx=20, argv=0xbfa2b9e8) at kernel/qmetaobject.cpp:237
#36 0xb6e4a93c in QMetaObject::activate (sender=0x9903100, m=0xad7cdc24, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#37 0xad7a8654 in TaskManager::LauncherItem::show (this=0x9903100, _t1=false) at /var/tmp/portage/kde-base/libtaskmanager-4.6.1/work/libtaskmanager-4.6.1_build/libs/taskmanager/launcheritem.moc:126
#38 0xad7a96b9 in TaskManager::LauncherItemPrivate::associateDestroyed (this=0xa2c0c48, obj=0xa6e70f0) at /var/tmp/portage/kde-base/libtaskmanager-4.6.1/work/libtaskmanager-4.6.1/libs/taskmanager/launcheritem.cpp:127
#39 0xad7a991d in TaskManager::LauncherItem::qt_metacall (this=0x9903100, _c=QMetaObject::InvokeMetaMethod, _id=37, _a=0xbfa2bb78) at /var/tmp/portage/kde-base/libtaskmanager-4.6.1/work/libtaskmanager-4.6.1_build/libs/taskmanager/launcheritem.moc:114
#40 0xb6e38932 in QMetaObject::metacall (object=0x9903100, cl=36531352, idx=37, argv=0xbfa2bb78) at kernel/qmetaobject.cpp:237
#41 0xb6e4a93c in QMetaObject::activate (sender=0xa6e70f0, m=0xb6f592b0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#42 0xb6e4ae60 in QObject::destroyed (this=0xa6e70f0, _t1=0xa6e70f0) at .moc/release-shared/moc_qobject.cpp:149
#43 0xb6e4bd32 in QObject::~QObject (this=0xa6e70f0, __in_chrg=<value optimized out>) at kernel/qobject.cpp:843
#44 0xad79e569 in TaskManager::AbstractGroupableItem::~AbstractGroupableItem (this=0xa6e70f0, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/libtaskmanager-4.6.1/work/libtaskmanager-4.6.1/libs/taskmanager/abstractgroupableitem.cpp:72
#45 0xad7c11cd in TaskManager::TaskItem::~TaskItem (this=0xa6e70f0, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/libtaskmanager-4.6.1/work/libtaskmanager-4.6.1/libs/taskmanager/taskitem.cpp:75
#46 0xb6e43037 in qDeleteInEventHandler (o=0x0) at kernel/qobject.cpp:3986
#47 0xb6e44c47 in QObject::event (this=0xa6e70f0, e=0x0) at kernel/qobject.cpp:1200
#48 0xb63a5441 in QApplicationPrivate::notify_helper (this=0x892ebd8, receiver=0xa6e70f0, e=0x908c710) at kernel/qapplication.cpp:4462
#49 0xb63aa6a7 in QApplication::notify (this=0x890d0e0, receiver=0xa6e70f0, e=0x908c710) at kernel/qapplication.cpp:3862
#50 0xb75200f1 in KApplication::notify (this=0x890d0e0, receiver=0xa6e70f0, event=0x908c710) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kdeui/kernel/kapplication.cpp:311
#51 0xb6e33139 in QCoreApplication::notifyInternal (this=0x890d0e0, receiver=0xa6e70f0, event=0x908c710) at kernel/qcoreapplication.cpp:731
#52 0xb6e3614c in sendEvent (receiver=0x0, event_type=0, data=0x8847f08) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#53 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8847f08) at kernel/qcoreapplication.cpp:1372
#54 0xb6e362f4 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#55 0xb6e5f473 in sendPostedEvents (s=0x892fea8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#56 postEventSourceDispatch (s=0x892fea8) at kernel/qeventdispatcher_glib.cpp:277
#57 0xb5b670a8 in g_main_dispatch (context=0x8849178) at gmain.c:2149
#58 g_main_context_dispatch (context=0x8849178) at gmain.c:2702
#59 0xb5b6aabe in g_main_context_iterate (context=0x8849178, block=<value optimized out>, dispatch=1, self=0x892eab0) at gmain.c:2780
#60 0xb5b6ac7a in g_main_context_iteration (context=0x8849178, may_block=1) at gmain.c:2843
#61 0xb6e5efdc in QEventDispatcherGlib::processEvents (this=0x88f9fe0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#62 0xb645b9bc in QGuiEventDispatcherGlib::processEvents (this=0x88f9fe0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#63 0xb6e31def in QEventLoop::processEvents (this=0xbfa2c3d4, flags=) at kernel/qeventloop.cpp:149
#64 0xb6e32215 in QEventLoop::exec (this=0xbfa2c3d4, flags=...) at kernel/qeventloop.cpp:201
#65 0xb6e3639c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#66 0xb63a4286 in QApplication::exec () at kernel/qapplication.cpp:3736
#67 0xb0163e64 in kdemain (argc=1, argv=0x88d46f8) at /var/tmp/portage/kde-base/plasma-workspace-4.6.1/work/plasma-workspace-4.6.1/plasma/desktop/shell/main.cpp:118
#68 0x0804ebea in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=0, envs=0x8905640 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x8051f57 "0") at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kinit/kinit.cpp:734
#69 0x0804f59a in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kinit/kinit.cpp:1226
#70 0x0804fc49 in handle_requests (waitForPid=0) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kinit/kinit.cpp:1419
#71 0x0805098b in main (argc=4, argv=0xbfa2ce84, envp=0xbfa2ce98) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kinit/kinit.cpp:1907

Possible duplicates by query: bug 215692, bug 213836, bug 196943.

Reported using DrKonqi