Bug 207013 - crash in setSortingStrategy when set to ManualSorting
Summary: crash in setSortingStrategy when set to ManualSorting
Status: RESOLVED DUPLICATE of bug 199894
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-11 00:01 UTC by Mathias Panzenböck
Modified: 2009-09-11 16:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Panzenböck 2009-09-11 00:01:23 UTC
Application that crashed: plasma-desktop
Version of the application: 0.3
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.30.5-43.fc11.x86_64 x86_64
Distribution: "Fedora release 11 (Leonidas)"

What I was doing when the application crashed:
I think there is somethin amiss with the ManualSortingStrategy of libtaskmanager. Just now plasma crashed as I switched the sorting strategy of my own taskbar applet (Smooth-Tasks) to manual. I don't find any bug in my code that might cause this so I suspect there is a bug in libtaskmanager. And I can't imagine a situation where a somehow wrong call to setSortingStrategy should result in a crash.

 -- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f2996d95860 (LWP 2126))]

Thread 2 (Thread 0x7f2976073910 (LWP 2127)):
#0  0x00007f2992e382f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f29930a3dfb in QWaitConditionPrivate::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  0x00007f29957898e4 in QHostInfoAgent::run (this=0x131da50) at kernel/qhostinfo.cpp:260
#4  0x00007f29930a2d45 in QThreadPrivate::start (arg=0x131da50) at thread/qthread_unix.cpp:188
#5  0x00007f2992e3386a in start_thread () from /lib64/libpthread.so.0
#6  0x00007f29923f539d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2996d95860 (LWP 2126)):
[KCrash Handler]
#5  QList (l=<value optimized out>, this=<value optimized out>) at /usr/include/QtCore/qlist.h:111
#6  TaskManager::TaskGroup::members (l=<value optimized out>, this=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.0/libs/taskmanager/taskgroup.cpp:200
#7  0x00007f297764126a in TaskManager::ManualSortingStrategy::handleItem (this=0x38548b0, item=0x350c930)
    at /usr/src/debug/kdebase-workspace-4.3.0/libs/taskmanager/strategies/manualsortingstrategy.cpp:151
#8  0x00007f29776364f4 in TaskManager::AbstractSortingStrategy::handleGroup (this=0x38548b0, group=0x10d69e0) at /usr/src/debug/kdebase-workspace-4.3.0/libs/taskmanager/abstractsortingstrategy.cpp:89
#9  0x00007f2977639896 in TaskManager::GroupManager::setSortingStrategy (this=0x109ac90, sortOrder=TaskManager::GroupManager::ManualSorting)
    at /usr/src/debug/kdebase-workspace-4.3.0/libs/taskmanager/groupmanager.cpp:616
#10 0x00007f29773dd0aa in SmoothTasks::Applet::configAccepted (this=0x10e0910) at /home/panzi/src/cpp/stasks/applet/SmoothTasks/Applet.cpp:687
#11 0x00007f29773e02cb in SmoothTasks::Applet::qt_metacall (this=0x10e0910, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7fffe9fb9b30) at /home/panzi/src/cpp/stasks/build/applet/Applet.moc:106
#12 0x00007f299319d7dc in QMetaObject::activate (sender=0x3681ec0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x350c930) at kernel/qobject.cpp:3113
#13 0x00007f299503e938 in KDialog::slotButtonClicked (this=0x3681ec0, button=4) at /usr/src/debug/kdelibs-4.3.0/kdeui/dialogs/kdialog.cpp:854
#14 0x00007f2995040b02 in KDialog::qt_metacall (this=0x3681ec0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe9fb9d40)
    at /usr/src/debug/kdelibs-4.3.0/x86_64-redhat-linux-gnu/kdeui/kdialog.moc:184
#15 0x00007f29950f4f70 in KPageDialog::qt_metacall (this=0x7fffe9fb95c0, _c=QMetaObject::InvokeMetaMethod, _id=-1824028160, _a=0x350c930)
    at /usr/src/debug/kdelibs-4.3.0/x86_64-redhat-linux-gnu/kdeui/kpagedialog.moc:64
#16 0x00007f299502da80 in KConfigDialog::qt_metacall (this=0x7fffe9fb95c0, _c=QMetaObject::InvokeMetaMethod, _id=-1824028160, _a=0x350c930)
    at /usr/src/debug/kdelibs-4.3.0/x86_64-redhat-linux-gnu/kdeui/kconfigdialog.moc:78
#17 0x00007f299319d7dc in QMetaObject::activate (sender=0x381c758, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x350c930) at kernel/qobject.cpp:3113
#18 0x00007f29931a02ee in QSignalMapper::mapped (this=0x7fffe9fb95c0, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:95
#19 0x00007f29931a14a0 in QSignalMapper::map (this=0x381c758, sender=0x3251360) at kernel/qsignalmapper.cpp:266
#20 0x00007f29931a1710 in QSignalMapper::qt_metacall (this=0x381c758, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe9fb9ed0) at .moc/release-shared/moc_qsignalmapper.cpp:81
#21 0x00007f299319d7dc in QMetaObject::activate (sender=0x3251360, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x350c930) at kernel/qobject.cpp:3113
#22 0x00007f2993e70097 in QAbstractButton::clicked (this=0x7fffe9fb95c0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#23 0x00007f2993bd3cab in QAbstractButtonPrivate::emitClicked (this=0x380d4d0) at widgets/qabstractbutton.cpp:543
#24 0x00007f2993bd58ab in QAbstractButtonPrivate::click (this=0x380d4d0) at widgets/qabstractbutton.cpp:536
#25 0x00007f2993bd5b05 in QAbstractButton::mouseReleaseEvent (this=0x3251360, e=0x7fffe9fba5f0) at widgets/qabstractbutton.cpp:1115
#26 0x00007f29938c2d88 in QWidget::event (this=0x3251360, event=0x7fffe9fba5f0) at kernel/qwidget.cpp:7549
#27 0x00007f299387469c in QApplicationPrivate::notify_helper (this=0x9ff480, receiver=0x3251360, e=0x7fffe9fba5f0) at kernel/qapplication.cpp:4056
#28 0x00007f299387b741 in QApplication::notify (this=<value optimized out>, receiver=0x3251360, e=0x7fffe9fba5f0) at kernel/qapplication.cpp:3758
#29 0x00007f29950ca296 in KApplication::notify (this=0x9e6700, receiver=0x3251360, event=0x7fffe9fba5f0) at /usr/src/debug/kdelibs-4.3.0/kdeui/kernel/kapplication.cpp:302
#30 0x00007f299318859c in QCoreApplication::notifyInternal (this=0x9e6700, receiver=0x3251360, event=0x7fffe9fba5f0) at kernel/qcoreapplication.cpp:610
#31 0x00007f299387b030 in QCoreApplication::sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:216
#32 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2924
#33 0x00007f29938e0a4e in QETWidget::translateMouseEvent (this=0x3681ec0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4404
#34 0x00007f29938dfb08 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffe9fbc120) at kernel/qapplication_x11.cpp:3545
#35 0x00007f29939077dc in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#36 0x00007f298f7daabe in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#37 0x00007f298f7de278 in ?? () from /lib64/libglib-2.0.so.0
#38 0x00007f298f7de3a0 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#39 0x00007f29931b0936 in QEventDispatcherGlib::processEvents (this=0x9ce4b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#40 0x00007f2993906f8e in QGuiEventDispatcherGlib::processEvents (this=0x7fffe9fb95c0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#41 0x00007f2993186ed2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 36}) at kernel/qeventloop.cpp:149
#42 0x00007f29931872a4 in QEventLoop::exec (this=0x7fffe9fbc450, flags={i = 0}) at kernel/qeventloop.cpp:201
#43 0x00007f2993189439 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#44 0x00007f2996a7aeaf in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.0/plasma/shells/desktop/main.cpp:50
#45 0x00007f2992335a2d in __libc_start_main () from /lib64/libc.so.6
#46 0x0000000000400779 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-09-11 16:43:52 UTC
Fixed in 4.3.1 . Thanks

*** This bug has been marked as a duplicate of bug 199894 ***