Summary: | Task manager grouping crashes plasma when adding/removing windows | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Nikola Kovacs <nx.devnull> |
Component: | widget-taskbar | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | annma, grosser.meister.morti, jaedns, kdedevel, wacf32 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Nikola Kovacs
2009-07-12 17:43:11 UTC
*** This bug has been marked as a duplicate of bug 197717 *** I'm using 4.3 rc2, and bug 197717 was fixed in rc2, so either this isn't a duplicate, or 197717 isn't fixed. @Nikola, Please provide a good backtrace by following the steps here: http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports This will help us to classify the bug. Thanks! Is this better? Application: Plasma Workspace (kdeinit4), signal: Segmentation fault [Current thread is 0 (LWP 4757)] Thread 2 (Thread 0x7ffb233d9950 (LWP 4758)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261 #1 0x00007ffb4905b939 in QWaitCondition::wait (this=0x1e00fc0, mutex=0x1e00fb8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 0x00007ffb47ed74cc in QHostInfoAgent::run (this=0x1e00fa0) at kernel/qhostinfo.cpp:260 #3 0x00007ffb4905a952 in QThreadPrivate::start (arg=0x1e00fa0) at thread/qthread_unix.cpp:189 #4 0x00007ffb44edb3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297 #5 0x00007ffb45abffcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 1 (Thread 0x7ffb4961b750 (LWP 4757)): [KCrash Handler] #5 TaskManager::TaskGroup::members (this=0x0) at /usr/include/qt4/QtCore/qlist.h:111 #6 0x00007ffb2c840c7a in TaskManager::ManualSortingStrategy::handleItem (this=0x1c0b380, item=0x3b8c880) at /build/buildd/kdebase-workspace-4.2.96/libs/taskmanager/strategies/manualsortingstrategy.cpp:151 #7 0x00007ffb2c840b4b in TaskManager::ManualSortingStrategy::qt_metacall (this=0x1c0b380, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff516593d0) at /build/buildd/kdebase-workspace-4.2.96/obj-x86_64-linux-gnu/libs/taskmanager/manualsortingstrategy.moc:67 #8 0x00007ffb491591f2 in QMetaObject::activate (sender=0x1c84550, from_signal_index=<value optimized out>, to_signal_index=21, argv=0x11) at kernel/qobject.cpp:3069 #9 0x00007ffb2c84dcaf in TaskManager::TaskGroup::itemAdded (this=0x7fff51659270, _t1=0x3b8c880) at /build/buildd/kdebase-workspace-4.2.96/obj-x86_64-linux-gnu/libs/taskmanager/taskgroup.moc:139 #10 0x00007ffb2c84e80b in TaskManager::TaskGroup::add (this=0x1c84550, item=0x3b8c880) at /build/buildd/kdebase-workspace-4.2.96/libs/taskmanager/taskgroup.cpp:138 #11 0x00007ffb2c834c20 in TaskManager::AbstractGroupingStrategy::closeGroup (this=0x3b0f030, group=0x3b8fcf0) at /build/buildd/kdebase-workspace-4.2.96/libs/taskmanager/abstractgroupingstrategy.cpp:168 #12 0x00007ffb2c83bf88 in TaskManager::ProgramGroupingStrategy::checkGroup (this=0x3b0f030) at /build/buildd/kdebase-workspace-4.2.96/libs/taskmanager/strategies/programgroupingstrategy.cpp:204 #13 0x00007ffb2c83ce0d in TaskManager::ProgramGroupingStrategy::qt_metacall (this=0x3b0f030, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=<value optimized out>) at /build/buildd/kdebase-workspace-4.2.96/obj-x86_64-linux-gnu/libs/taskmanager/programgroupingstrategy.moc:68 #14 0x00007ffb491591f2 in QMetaObject::activate (sender=0x3b8fcf0, from_signal_index=<value optimized out>, to_signal_index=22, argv=0x11) at kernel/qobject.cpp:3069 #15 0x00007ffb2c84dc72 in TaskManager::TaskGroup::itemRemoved (this=0x7fff51659270, _t1=0x3b43850) at /build/buildd/kdebase-workspace-4.2.96/obj-x86_64-linux-gnu/libs/taskmanager/taskgroup.moc:146 #16 0x00007ffb2c84e591 in TaskManager::TaskGroup::remove (this=0x3b8fcf0, item=0x3b43850) at /build/buildd/kdebase-workspace-4.2.96/libs/taskmanager/taskgroup.cpp:182 #17 0x00007ffb2c837aa4 in TaskManager::GroupManagerPrivate::removeTask (this=0x1065740, task={d = 0x7fff516596f0}) at /build/buildd/kdebase-workspace-4.2.96/libs/taskmanager/groupmanager.cpp:311 #18 0x00007ffb2c837fde in TaskManager::GroupManagerPrivate::actuallyReloadTasks (this=0x1065740) at /build/buildd/kdebase-workspace-4.2.96/libs/taskmanager/groupmanager.cpp:164 #19 0x00007ffb2c839262 in TaskManager::GroupManager::qt_metacall (this=0xf711d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff51659870) at /build/buildd/kdebase-workspace-4.2.96/obj-x86_64-linux-gnu/libs/taskmanager/groupmanager.moc:108 #20 0x00007ffb491591f2 in QMetaObject::activate (sender=0x10657a8, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x11) at kernel/qobject.cpp:3069 #21 0x00007ffb491534d3 in QObject::event (this=0x10657a8, e=0x0) at kernel/qobject.cpp:1082 #22 0x00007ffb466cc78d in QApplicationPrivate::notify_helper (this=0xb58780, receiver=0x10657a8, e=0x7fff51659f20) at kernel/qapplication.cpp:4084 #23 0x00007ffb466d497a in QApplication::notify (this=0xb19910, receiver=0x10657a8, e=0x7fff51659f20) at kernel/qapplication.cpp:4049 #24 0x00007ffb4780f63b in KApplication::notify (this=0xb19910, receiver=0x10657a8, event=0x7fff51659f20) at /build/buildd/kde4libs-4.2.96/kdeui/kernel/kapplication.cpp:302 #25 0x00007ffb4914375c in QCoreApplication::notifyInternal (this=0xb19910, receiver=0x10657a8, event=0x7fff51659f20) at kernel/qcoreapplication.cpp:602 #26 0x00007ffb491707f6 in QTimerInfoList::activateTimers (this=0xb5bc80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213 #27 0x00007ffb4916cf0d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:164 #28 0x00007ffb4512a20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #29 0x00007ffb4512d8e0 in ?? () from /usr/lib/libglib-2.0.so.0 #30 0x00007ffb4512da7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #31 0x00007ffb4916ce6f in QEventDispatcherGlib::processEvents (this=0xb582b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323 #32 0x00007ffb46764bef in QGuiEventDispatcherGlib::processEvents (this=0x7fff51659270, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202 #33 0x00007ffb49142002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1365614992}) at kernel/qeventloop.cpp:149 #34 0x00007ffb491423cd in QEventLoop::exec (this=0x7fff5165a1d0, flags={i = 1365615072}) at kernel/qeventloop.cpp:200 #35 0x00007ffb49144694 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880 #36 0x00007ffb3cff96bb in kdemain (argc=1, argv=0xb0ce40) at /build/buildd/kdebase-workspace-4.2.96/plasma/shells/desktop/main.cpp:50 #37 0x0000000000407215 in launch (argc=1, _name=0xb0ce68 "/usr/bin/plasma-desktop", args=<value optimized out>, cwd=0x0, envc=0, envs=0xb0ce88 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40a3c9 "0") at /build/buildd/kde4libs-4.2.96/kinit/kinit.cpp:676 #38 0x0000000000407a38 in handle_launcher_request (sock=7, who=<value optimized out>) at /build/buildd/kde4libs-4.2.96/kinit/kinit.cpp:1168 #39 0x0000000000407fe5 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.2.96/kinit/kinit.cpp:1361 #40 0x0000000000408b26 in main (argc=2, argv=0x7fff5165b078, envp=0x7fff5165b090) at /build/buildd/kde4libs-4.2.96/kinit/kinit.cpp:1788 Hi Nikola, That's great, thanks! This seems to be a different bug, where item->parentGroup() is NULL in ManualSortingStrategy::handleItem(...). There's a Q_ASSERT that checks for this but I guess this is disarmed in Kubuntu's packages. I'll re-open this for now, unless it turns out to be a dupe of another bug ;) I forgot to mention in the description that I have sorting set to manual. I tried the other sorting options now, and I was unable to reproduce the crash, so it seems this only happens when both manual sorting and grouping are selected. Could you please modify the bug title to reflect this? Thanks. SVN commit 1007554 by aseigo: backport r1007552: don't assert, check the member. it can be 0. BUG:199894 M +1 -2 manualsortingstrategy.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1007554 *** Bug 203026 has been marked as a duplicate of this bug. *** *** Bug 207013 has been marked as a duplicate of this bug. *** *** Bug 202827 has been marked as a duplicate of this bug. *** |