Bug 277033 - Desktop crashes after right-clicking on a Window in the Window List gadget [null TaskManager::Task::classClass, TaskManager::ToggleLauncherActionImpl, TaskManager::AdvancedMenu]
Summary: Desktop crashes after right-clicking on a Window in the Window List gadget [n...
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-taskbar (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 279530 280987 282020 282770 284247 284911 285221 285276 285523 285681 285858 285949 286202 287329 288256 289013 290873 296129 299266 299762 299812 303289 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-03 21:55 UTC by sam
Modified: 2012-07-10 10:55 UTC (History)
21 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.7.4


Attachments
New crash information added by DrKonqi (8.07 KB, text/plain)
2011-09-17 08:28 UTC, Elias Probst
Details
New crash information added by DrKonqi (7.62 KB, text/plain)
2011-10-25 01:06 UTC, Er Galvao Abbott
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sam 2011-07-03 21:55:30 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.6.4 (4.6.4)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic x86_64
Distribution: Ubuntu 11.04

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

I'm trying to get a knotes note to show in my current desktop - but it always shows in a different desktop. So I used the "show all notes" function - which causes the note to appear in another desktop, then, I click on the Window List widget icon to see the list of windows. I put my cursor on the knote that I want to move to the current desktop and right-click over it in the hope that a speed menu will appear - but no such luck.

Unfortunately the plasma desktop crashed.

I have tried this again at least twice now and it crashed every time.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f22929037a0 (LWP 22984))]

Thread 4 (Thread 0x7f226efc9700 (LWP 22989)):
#0  0x00007f22921fbf03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2286bd9104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2286bd9639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f228f409446 in QEventDispatcherGlib::processEvents (this=0x264f6b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f228f3dd882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f228f3ddabc in QEventLoop::exec (this=0x7f226efc8db0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f228f2f4924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f228f3bfc2f in QInotifyFileSystemWatcherEngine::run (this=0x26afb00) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f228f2f7175 in QThreadPrivate::start (arg=0x26afb00) at thread/qthread_unix.cpp:320
#9  0x00007f22874dcd8c in start_thread (arg=0x7f226efc9700) at pthread_create.c:304
#10 0x00007f229220904d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f226e39e700 (LWP 22990)):
#0  0x00007f22921fbf03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2286bd9104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2286bd9639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f228f409446 in QEventDispatcherGlib::processEvents (this=0x27f9600, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f228f3dd882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f228f3ddabc in QEventLoop::exec (this=0x7f226e39ddb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f228f2f4924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f228f3bfc2f in QInotifyFileSystemWatcherEngine::run (this=0x27f8070) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f228f2f7175 in QThreadPrivate::start (arg=0x27f8070) at thread/qthread_unix.cpp:320
#9  0x00007f22874dcd8c in start_thread (arg=0x7f226e39e700) at pthread_create.c:304
#10 0x00007f229220904d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2266a60700 (LWP 23019)):
#0  0x00007f22921fbf03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2286bd9104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2286bd99f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2267b77c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f2286c003e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f22874dcd8c in start_thread (arg=0x7f2266a60700) at pthread_create.c:304
#6  0x00007f229220904d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f22929037a0 (LWP 22984)):
[KCrash Handler]
#6  TaskManager::Task::classClass (this=0x0) at ../../../libs/taskmanager/task_x11.cpp:74
#7  0x00007f2278968ce1 in TaskManager::ToggleLauncherActionImpl::ToggleLauncherActionImpl (this=0x3676190, parent=<value optimized out>, item=0x7fffcc3e3710, strategy=<value optimized out>) at ../../../libs/taskmanager/taskactions.cpp:327
#8  0x00007f2278969008 in TaskManager::AdvancedMenu::AdvancedMenu (this=0x32a5180, parent=<value optimized out>, item=0x7fffcc3e3710, strategy=0x7fffcc3e3750) at ../../../libs/taskmanager/taskactions.cpp:295
#9  0x00007f227896992a in TaskManager::BasicMenu::BasicMenu (this=0x7fffcc3e36e0, parent=<value optimized out>, item=0x7fffcc3e3710, strategy=0x7fffcc3e3750, visualizationActions=...) at ../../../libs/taskmanager/taskactions.cpp:436
#10 0x00007f2277840886 in WindowList::eventFilter (this=0x248ae90, object=<value optimized out>, event=0x7fffcc3e3e00) at ../../../../../plasma/desktop/applets/windowlist/WindowList.cpp:132
#11 0x00007f228f3de627 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2849410, event=0x7fffcc3e3e00) at kernel/qcoreapplication.cpp:846
#12 0x00007f228e79b9c1 in QApplicationPrivate::notify_helper (this=0x2025000, receiver=0x2849410, e=0x7fffcc3e3e00) at kernel/qapplication.cpp:4458
#13 0x00007f228e7a0571 in QApplication::notify (this=<value optimized out>, receiver=0x2849410, e=0x7fffcc3e3e00) at kernel/qapplication.cpp:4102
#14 0x00007f2290097716 in KApplication::notify (this=0x200d000, receiver=0x2849410, event=0x7fffcc3e3e00) at ../../kdeui/kernel/kapplication.cpp:311
#15 0x00007f228f3de49c in QCoreApplication::notifyInternal (this=0x200d000, receiver=0x2849410, event=0x7fffcc3e3e00) at kernel/qcoreapplication.cpp:731
#16 0x00007f228e81e474 in sendSpontaneousEvent (this=<value optimized out>, event=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#17 QETWidget::translateMouseEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4538
#18 0x00007f228e81cab7 in QApplication::x11ProcessEvent (this=0x200d000, event=0x7fffcc3e4780) at kernel/qapplication_x11.cpp:3680
#19 0x00007f228e845842 in x11EventSourceDispatch (s=0x202d920, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#20 0x00007f2286bd8bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f2286bd93a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f2286bd9639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f228f4093ef in QEventDispatcherGlib::processEvents (this=0x1f90340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#24 0x00007f228e8454de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007f228f3dd882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#26 0x00007f228f3ddabc in QEventLoop::exec (this=0x7fffcc3e4a80, flags=...) at kernel/qeventloop.cpp:201
#27 0x00007f228f3e1ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#28 0x00007f22924f5b4c in kdemain (argc=1, argv=0x7fffcc3e4e88) at ../../../../plasma/desktop/shell/main.cpp:120
#29 0x00007f2292141eff in __libc_start_main (main=0x400740 <main(int, char**)>, argc=1, ubp_av=0x7fffcc3e4e88, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffcc3e4e78) at libc-start.c:226
#30 0x0000000000400669 in _start ()

Reported using DrKonqi
Comment 1 sam 2011-07-03 22:10:25 UTC
* KNote preferences had the task bar item turned-off. 

* I turned-on the task bar item for each note and tried again - it works perfectly.
Comment 2 Christoph Feck 2011-08-06 14:17:03 UTC
*** Bug 279530 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2011-08-30 23:12:15 UTC
*** Bug 280987 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2011-09-15 23:43:41 UTC
*** Bug 282020 has been marked as a duplicate of this bug. ***
Comment 5 Elias Probst 2011-09-17 08:28:14 UTC
Created attachment 63718 [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 had DrKonqi showing up on all activities. I've changed it to have it shown only on one specific activity.
~30 minutes later, I noticed there is still a group of 2 DrKonqi tasks shown in the tasklist.
Clicking on the group expanded an empty widget.
So I did a right click on the tasklist entry which causes this crash.

-- Backtrace (Reduced):
#6  TaskManager::Task::classClass (this=0x0) at /var/tmp/portage/kde-base/libtaskmanager-4.7.1/work/libtaskmanager-4.7.1/libs/taskmanager/task_x11.cpp:74
#7  0x00007fcc201b6994 in TaskManager::ToggleLauncherActionImpl::ToggleLauncherActionImpl (this=0x3a0ca00, parent=<value optimized out>, item=0x40e0490, strategy=<value optimized out>) at /var/tmp/portage/kde-base/libtaskmanager-4.7.1/work/libtaskmanager-4.7.1/libs/taskmanager/taskactions.cpp:351
#8  0x00007fcc201b708c in TaskManager::AdvancedMenu::AdvancedMenu (this=0x25f5d10, parent=<value optimized out>, item=0x40e0490, strategy=0x170a4e0) at /var/tmp/portage/kde-base/libtaskmanager-4.7.1/work/libtaskmanager-4.7.1/libs/taskmanager/taskactions.cpp:295
#9  0x00007fcc201b73a0 in TaskManager::BasicMenu::BasicMenu (this=0x39795f0, parent=<value optimized out>, item=0x40e0490, strategy=0x170a4e0, visualizationActions=...) at /var/tmp/portage/kde-base/libtaskmanager-4.7.1/work/libtaskmanager-4.7.1/libs/taskmanager/taskactions.cpp:440
#10 0x00007fcc201b7904 in TaskManager::BasicMenu::BasicMenu (this=0x7fffde0af620, parent=<value optimized out>, group=0x4237e40, strategy=0x170a4e0, visualizationActions=<value optimized out>) at /var/tmp/portage/kde-base/libtaskmanager-4.7.1/work/libtaskmanager-4.7.1/libs/taskmanager/taskactions.cpp:462
Comment 6 Dario Andres 2011-09-29 13:13:43 UTC
[Comment from a bug triager]
From bug 282770 (KDE SC 4.7.0): "Plasma crash after clicking on a ghost group in the task manager"
- What I was doing when the application crashed:
I rapidly left and right clicked on a "ghost group" in the task manager. left
clicking it before just opened the ghost group, and this is the first time I
right clicked it.

A "ghost group" in the task manager looks like a couple or more items grouped
into a single entry in the task manager, usually duplicating another group by
icon and name.
When you click on it, the group opens up, and usually have one or more
rendering artifacts form this list:
*empty pop-up
*pop-up is larger then a normal group's (annoyingly too small) fixed width
(feature and not a bug?)
*items are side by side instead of one next to each other
*items sizes are too large to fit properly
*maybe others I didn't notice
In all cases, clicking an item does nothing, but unlike the empty item ghosts,
they behave nicely and don't force the task manager to add an extra row despite
the row limitation

When I stated it happens every time, it happened two times out of two so ...

The crash can be reproduced every time.
Comment 7 Dario Andres 2011-09-29 13:13:47 UTC
*** Bug 282770 has been marked as a duplicate of this bug. ***
Comment 8 Er Galvao Abbott 2011-10-25 01:06:49 UTC
Created attachment 64851 [details]
New crash information added by DrKonqi

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

It's important to notice that there are three separate problems happening here (sorry to include all of them in one report, but I think they are all related):

1 - Task Manager doesn't correctly show the running applications on the bar: On separate desktops, applications are shown like if the manager was set to display 2 rows, while this is not true.
2 - Applications don't "go away" (loved the "ghost" term) after closed.
3 - The crash itself.

Altho these may be related they can (and most of the times does) occur separately;

-- Backtrace (Reduced):
#6  TaskManager::Task::classClass (this=0x0) at ../../../libs/taskmanager/task_x11.cpp:74
#7  0x00007fe33e6dad76 in TaskManager::ToggleLauncherActionImpl::ToggleLauncherActionImpl (this=0x421f3e0, parent=<optimized out>, item=0x3764b80, strategy=<optimized out>) at ../../../libs/taskmanager/taskactions.cpp:351
#8  0x00007fe33e6db218 in TaskManager::AdvancedMenu::AdvancedMenu (this=0x39ef220, parent=<optimized out>, item=0x3764b80, strategy=0x217cb20) at ../../../libs/taskmanager/taskactions.cpp:295
#9  0x00007fe33e6dbe8a in TaskManager::BasicMenu::BasicMenu (this=0x2bc4ce0, parent=<optimized out>, item=0x3764b80, strategy=0x217cb20, visualizationActions=...) at ../../../libs/taskmanager/taskactions.cpp:440
#10 0x00007fe33e6dc529 in TaskManager::BasicMenu::BasicMenu (this=0x7fff147abf40, parent=<optimized out>, group=0x3b38590, strategy=0x217cb20, visualizationActions=...) at ../../../libs/taskmanager/taskactions.cpp:462
Comment 9 Christoph Feck 2011-10-29 11:59:15 UTC
*** Bug 285221 has been marked as a duplicate of this bug. ***
Comment 10 Christoph Feck 2011-10-29 11:59:35 UTC
*** Bug 284247 has been marked as a duplicate of this bug. ***
Comment 11 Christoph Feck 2011-11-04 00:41:12 UTC
*** Bug 285681 has been marked as a duplicate of this bug. ***
Comment 12 Lamarque V. Souza 2011-11-06 00:24:33 UTC
*** Bug 285858 has been marked as a duplicate of this bug. ***
Comment 13 Lamarque V. Souza 2011-11-07 03:32:28 UTC

*** This bug has been marked as a duplicate of bug 285949 ***
Comment 14 Lamarque V. Souza 2011-11-07 03:33:11 UTC
*** Bug 285949 has been marked as a duplicate of this bug. ***
Comment 15 Aaron J. Seigo 2011-11-09 16:32:08 UTC
*** Bug 286202 has been marked as a duplicate of this bug. ***
Comment 16 Aaron J. Seigo 2011-11-09 16:35:30 UTC
Git commit 8c6950fda8bb60449b88ae044cdb5f5f7d630516 by Aaron Seigo.
Committed on 09/11/2011 at 17:35.
Pushed by aseigo into branch 'KDE/4.7'.

be more careful with the task item

BUG:277033

M  +5    -2    libs/taskmanager/launcheritem.cpp

http://commits.kde.org/kde-workspace/8c6950fda8bb60449b88ae044cdb5f5f7d630516
Comment 17 Beat Wolf 2011-11-20 21:40:50 UTC
*** Bug 284911 has been marked as a duplicate of this bug. ***
Comment 18 Beat Wolf 2011-11-22 20:40:31 UTC
*** Bug 285523 has been marked as a duplicate of this bug. ***
Comment 19 Beat Wolf 2011-11-22 20:40:35 UTC
*** Bug 285276 has been marked as a duplicate of this bug. ***
Comment 20 Beat Wolf 2011-11-23 07:47:00 UTC
*** Bug 287329 has been marked as a duplicate of this bug. ***
Comment 21 Beat Wolf 2011-12-05 12:20:36 UTC
*** Bug 288256 has been marked as a duplicate of this bug. ***
Comment 22 Jekyll Wu 2011-12-14 23:43:10 UTC
*** Bug 289013 has been marked as a duplicate of this bug. ***
Comment 23 Thijs 2012-01-07 14:25:46 UTC
*** Bug 290873 has been marked as a duplicate of this bug. ***
Comment 24 Jekyll Wu 2012-03-16 09:40:39 UTC
*** Bug 296129 has been marked as a duplicate of this bug. ***
Comment 25 Jekyll Wu 2012-05-03 02:05:26 UTC
*** Bug 299266 has been marked as a duplicate of this bug. ***
Comment 26 Jekyll Wu 2012-05-26 16:54:22 UTC
*** Bug 299812 has been marked as a duplicate of this bug. ***
Comment 27 Jekyll Wu 2012-05-26 17:26:51 UTC
*** Bug 299762 has been marked as a duplicate of this bug. ***
Comment 28 Jekyll Wu 2012-07-10 10:55:44 UTC
*** Bug 303289 has been marked as a duplicate of this bug. ***