Bug 222368 - Close duplicates items of same window in taskbar
Summary: Close duplicates items of same window in taskbar
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-taskbar (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-12 13:18 UTC by Carth Onasi
Modified: 2010-02-21 17:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.72 KB, text/plain)
2010-01-12 15:05 UTC, Carth Onasi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carth Onasi 2010-01-12 13:18:37 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.3.90 (KDE 4.3.90 (KDE 4.4 RC1))
Qt Version: 4.6.0
Operating System: Linux 2.6.32.3-desktop-2mnb x86_64
Distribution: "Mandriva Linux 2010.0"

-- Information about the crash:
I started Firefox, then downloaded some files (Download manager was open). Switched to other desktop and done usual work.
When I came back. There was duplicates of Download manager (2 items of Download Manager in taskbar and one group of Firefox with 3 items (One Internet browser, two Download Manager), but there was only one Internet browser and one Download manager running).
When I clicked right button of mouse on one item in taskbar of Download Manager and choose "Close" -> Plasma crash.

I have settings on taskbar to display only windows from actual desktop.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Pracovní plocha Plasma (kdeinit4), signal: Aborted
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f7654113720 (LWP 1296))]

Thread 2 (Thread 0x7f7630855710 (LWP 1300)):
#0  0x00007f76523b80bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f765263d1db in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f7650e1a8bc in QHostInfoAgent::run (this=0x17829d0) at kernel/qhostinfo.cpp:252
#4  0x00007f765263c225 in QThreadPrivate::start (arg=0x17829d0) at thread/qthread_unix.cpp:244
#5  0x00007f76523b3a5d in start_thread () from /lib64/libpthread.so.0
#6  0x00007f76511960dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7654113720 (LWP 1296)):
[KCrash Handler]
#5  0x00007f76510ec955 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f76510edf70 in abort () at abort.c:92
#7  0x00007f76514ec275 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib64/libstdc++.so.6
#8  0x00007f76514ea6a6 in ?? () from /usr/lib64/libstdc++.so.6
#9  0x00007f76514ea6d3 in std::terminate() () from /usr/lib64/libstdc++.so.6
#10 0x00007f76514eafaf in __cxa_pure_virtual () from /usr/lib64/libstdc++.so.6
#11 0x00007f7632502603 in TaskItemLayout::size (this=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.90/plasma/desktop/applets/tasks/taskitemlayout.cpp:175
#12 0x00007f7632502724 in TaskItemLayout::gridLayoutSize (this=0x510) at /usr/src/debug/kdebase-workspace-4.3.90/plasma/desktop/applets/tasks/taskitemlayout.cpp:246
#13 0x00007f76325027f4 in TaskItemLayout::layoutItems (this=0x510) at /usr/src/debug/kdebase-workspace-4.3.90/plasma/desktop/applets/tasks/taskitemlayout.cpp:271
#14 0x00007f763250300a in TaskItemLayout::remove (this=0x19d16c0, item=0x14ec860) at /usr/src/debug/kdebase-workspace-4.3.90/plasma/desktop/applets/tasks/taskitemlayout.cpp:158
#15 0x00007f76325031ee in TaskItemLayout::removeTaskItem (this=0x510, item=0x510) at /usr/src/debug/kdebase-workspace-4.3.90/plasma/desktop/applets/tasks/taskitemlayout.cpp:110
#16 0x00007f763250e1d6 in TaskGroupItem::itemRemoved (this=0x19dc720, groupableItem=0x21aa260) at /usr/src/debug/kdebase-workspace-4.3.90/plasma/desktop/applets/tasks/taskgroupitem.cpp:521
#17 0x00007f76325100ec in TaskGroupItem::qt_metacall (this=0x19dc720, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa8390ab0)
    at /usr/src/debug/kdebase-workspace-4.3.90/build/plasma/desktop/applets/tasks/taskgroupitem.moc:120
#18 0x00007f76527421b3 in QMetaObject::activate (sender=0x1209df0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3286
#19 0x00007f7632d93e02 in TaskManager::TaskGroup::itemRemoved (this=0x510, _t1=0x21aa260) at /usr/src/debug/kdebase-workspace-4.3.90/build/libs/taskmanager/taskgroup.moc:156
#20 0x00007f7632d95446 in TaskManager::TaskGroup::remove (this=0x1209df0, item=0x21aa260) at /usr/src/debug/kdebase-workspace-4.3.90/libs/taskmanager/taskgroup.cpp:254
#21 0x00007f7632d955c7 in TaskManager::TaskGroup::add (this=0x17d50e0, item=0x21aa260) at /usr/src/debug/kdebase-workspace-4.3.90/libs/taskmanager/taskgroup.cpp:182
#22 0x00007f7632d7f004 in TaskManager::AbstractGroupingStrategy::closeGroup (this=0x1b58330, group=0x1209df0)
    at /usr/src/debug/kdebase-workspace-4.3.90/libs/taskmanager/abstractgroupingstrategy.cpp:167
#23 0x00007f7632d887a4 in TaskManager::ProgramGroupingStrategy::checkGroup (this=0x1b58330) at /usr/src/debug/kdebase-workspace-4.3.90/libs/taskmanager/strategies/programgroupingstrategy.cpp:211
#24 0x00007f7632d8905c in TaskManager::ProgramGroupingStrategy::qt_metacall (this=0x1b58330, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa8390df0)
    at /usr/src/debug/kdebase-workspace-4.3.90/build/libs/taskmanager/programgroupingstrategy.moc:76
#25 0x00007f76527421b3 in QMetaObject::activate (sender=0x1209df0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3286
#26 0x00007f7632d93e02 in TaskManager::TaskGroup::itemRemoved (this=0x510, _t1=0x22687f0) at /usr/src/debug/kdebase-workspace-4.3.90/build/libs/taskmanager/taskgroup.moc:156
#27 0x00007f7632d95478 in TaskManager::TaskGroup::itemDestroyed (this=0x1209df0, item=0x22687f0) at /usr/src/debug/kdebase-workspace-4.3.90/libs/taskmanager/taskgroup.cpp:206
#28 0x00007f7632d95949 in TaskManager::TaskGroup::qt_metacall (this=0x1209df0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa8390f60)
    at /usr/src/debug/kdebase-workspace-4.3.90/build/libs/taskmanager/taskgroup.moc:136
#29 0x00007f76527421b3 in QMetaObject::activate (sender=0x22687f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3286
#30 0x00007f7632d7dc42 in TaskManager::AbstractGroupableItem::destroyed (this=0x510, _t1=0x22687f0) at /usr/src/debug/kdebase-workspace-4.3.90/build/libs/taskmanager/abstractgroupableitem.moc:135
#31 0x00007f7632d7e0fa in TaskManager::AbstractGroupableItem::~AbstractGroupableItem (this=0x510, __in_chrg=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.3.90/libs/taskmanager/abstractgroupableitem.cpp:61
#32 0x00007f7632d97781 in TaskManager::TaskItem::~TaskItem (this=0x22687f0, __in_chrg=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.90/libs/taskmanager/taskitem.cpp:74
#33 0x00007f765273f12d in QObject::event (this=0x22687f0, e=0x2381260) at kernel/qobject.cpp:1235
#34 0x00007f76518de42c in QApplicationPrivate::notify_helper (this=0xfd6fa0, receiver=0x22687f0, e=0x2381260) at kernel/qapplication.cpp:4242
#35 0x00007f76518e4a4d in QApplication::notify (this=0xfbf500, receiver=0x22687f0, e=0x2381260) at kernel/qapplication.cpp:4125
#36 0x00007f7652c6347e in KApplication::notify (this=0xfbf500, receiver=0x22687f0, event=0x2381260) at /usr/src/debug/kdelibs-4.3.90/kdeui/kernel/kapplication.cpp:302
#37 0x00007f765272f45c in QCoreApplication::notifyInternal (this=0xfbf500, receiver=0x22687f0, event=0x2381260) at kernel/qcoreapplication.cpp:704
#38 0x00007f7652731bd7 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#39 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1345
#40 0x00007f7652758ed3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#41 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#42 0x00007f764db8765e in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f764db8b028 in ?? () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f764db8b150 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#45 0x00007f7652758a13 in QEventDispatcherGlib::processEvents (this=0xfd69f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#46 0x00007f765198b68e in QGuiEventDispatcherGlib::processEvents (this=0x510, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#47 0x00007f765272dd82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#48 0x00007f765272e15c in QEventLoop::exec (this=0x7fffa83918c0, flags=) at kernel/qeventloop.cpp:201
#49 0x00007f7652731e9b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#50 0x00007f7645c323ef in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.90/plasma/desktop/shell/main.cpp:112
#51 0x0000000000406e99 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=0x409dd6 "0") at /usr/src/debug/kdelibs-4.3.90/kinit/kinit.cpp:706
#52 0x0000000000407608 in handle_launcher_request (sock=7, who=<value optimized out>) at /usr/src/debug/kdelibs-4.3.90/kinit/kinit.cpp:1198
#53 0x0000000000408281 in handle_requests (waitForPid=0) at /usr/src/debug/kdelibs-4.3.90/kinit/kinit.cpp:1391
#54 0x0000000000408ab0 in main (argc=2, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/debug/kdelibs-4.3.90/kinit/kinit.cpp:1830

This bug may be a duplicate of or related to bug 206785, bug 197664.

Possible duplicates by query: bug 221820, bug 208331, bug 206785, bug 206483, bug 199432.

Reported using DrKonqi
Comment 1 Dario Andres 2010-01-12 13:23:43 UTC
- Have you tried to repeat the situation to check if Plasma crash again ?
Regards
Comment 2 Carth Onasi 2010-01-12 15:05:10 UTC
Created attachment 39814 [details]
New crash information added by DrKonqi

Yes, I tried do it again, but now I started Firefox on Desktop 1, activated Download Manager, start 5 windows of Dolphin, started gnome-terminal,... So Dolphin became group and there was other 3 items in taskbar (Items must be shorter, then usual).
I switched from Desktop 1 to Desktop 2 and I switched back from 2 to 1. So there was 5 items of un-group Dolphin, other 3 items and one group of 5 original Dolphin. (So there was 5 items of Dolphin and one group of same items).
And when you try, close 2 or 3 items of Dolphin (not a group) -> Plasma crash.

It is interesting, then if you do this on Desktop 2 and you switch from Desktop 1 to Desktop 2 it is OK. But if you switch from Desktop 3 to Desktop 2, original group will add items, which contains. But you have to activate setting, than taskbar displays only windows from actual desktop.
Comment 3 Dario Andres 2010-02-21 16:20:41 UTC
- Is this still reproducible on KDE SC 4.4.0 ? Some related bugs were fixed.
Regards
Comment 4 Carth Onasi 2010-02-21 17:44:32 UTC
It is OK now. Thanks.