Bug 178102 - Folderview dragged to panel from desktop crashes plasma
Summary: Folderview dragged to panel from desktop crashes plasma
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-folderview (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-18 22:05 UTC by Jonathan Thomas
Modified: 2008-12-19 02:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Thomas 2008-12-18 22:05:16 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

I am using KDE 4.1.85

To reproduce:

-Add a folderview to the desktop
-Drag it by its applet handle to the panel

Plasma then crashes with the following backtrace:

Application: Plasma Workspace (plasma), signal SIGSEGV
[Current thread is 0 (LWP 15820)]

Thread 3 (Thread 0xa941cb90 (LWP 15821)):
#0  0xb7fb7424 in __kernel_vsyscall ()
#1  0xb57f0075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb63eb9ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb65d66f2 in QWaitCondition::wait (this=0x8f470a0, mutex=0x8f4709c, time=4294967295) at thread/qwaitcondition_unix.cpp:82
#4  0xb7951532 in QHostInfoAgent::run (this=0x8f47090) at kernel/qhostinfo.cpp:241
#5  0xb65d56ae in QThreadPrivate::start (arg=0x8f47090) at thread/qthread_unix.cpp:185
#6  0xb57ec50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb63dd7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa8b53b90 (LWP 15822)):
#0  0xb7fb7424 in __kernel_vsyscall ()
#1  0xb57f0075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb63eb9ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb65d66f2 in QWaitCondition::wait (this=0x8ab28f8, mutex=0x8ab28f4, time=4294967295) at thread/qwaitcondition_unix.cpp:82
#4  0xa94af392 in RenderThread::run (this=0x8ab28ec) at /build/buildd/kdebase-workspace-4.1.85/plasma/wallpapers/image/renderthread.cpp:91
#5  0xb65d56ae in QThreadPrivate::start (arg=0x8ab28ec) at thread/qthread_unix.cpp:185
#6  0xb57ec50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb63dd7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb4af4b20 (LWP 15820)):
[KCrash Handler]
#6  ListView::updateSizeHint (this=0x93c5738) at /build/buildd/kdebase-4.1.85/apps/plasma/applets/folderview/listview.cpp:182
#7  0xa832d6c3 in FolderView::constraintsEvent (this=0x93660d8, constraints={i = -1074035964}) at /build/buildd/kdebase-4.1.85/apps/plasma/applets/folderview/folderview.cpp:892
#8  0xb7dd1858 in Plasma::Applet::flushPendingConstraintsEvents () from /usr/lib/libplasma.so.3
#9  0xb7dd20e8 in Plasma::Applet::timerEvent () from /usr/lib/libplasma.so.3
#10 0xa83262e7 in FolderView::timerEvent (this=0x93660d8, event=0x93660d8) at /build/buildd/kdebase-4.1.85/apps/plasma/applets/folderview/folderview.cpp:1573
#11 0xb66d553f in QObject::event (this=0x93660d8, e=0xbffb885c) at kernel/qobject.cpp:1120
#12 0xb6f5a447 in QGraphicsWidget::event (this=0x93660d8, event=0xbffb885c) at graphicsview/qgraphicswidget.cpp:1239
#13 0xb699a8ec in QApplicationPrivate::notify_helper (this=0x88a1508, receiver=0x93660d8, e=0xbffb885c) at kernel/qapplication.cpp:3803
#14 0xb69a272e in QApplication::notify (this=0x8888e20, receiver=0x93660d8, e=0xbffb885c) at kernel/qapplication.cpp:3393
#15 0xb7717d3d in KApplication::notify (this=0x8888e20, receiver=0x93660d8, event=0xbffb885c) at /build/buildd/kde4libs-4.1.85/kdeui/kernel/kapplication.cpp:307
#16 0xb66c5e61 in QCoreApplication::notifyInternal (this=0x8888e20, receiver=0x93660d8, event=0xbffb885c) at kernel/qcoreapplication.cpp:587
#17 0xb66f3d81 in QTimerInfoList::activateTimers (this=0x88a79fc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#18 0xb66f0520 in timerSourceDispatch (source=0x88a79c8) at kernel/qeventdispatcher_glib.cpp:160
#19 0xb56316f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0xb5634da3 in ?? () from /usr/lib/libglib-2.0.so.0
#21 0xb5634f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#22 0xb66f0478 in QEventDispatcherGlib::processEvents (this=0x88aada0, flags={i = -1074034216}) at kernel/qeventdispatcher_glib.cpp:319
#23 0xb6a34ea5 in QGuiEventDispatcherGlib::processEvents (this=0x88aada0, flags={i = -1074034168}) at kernel/qguieventdispatcher_glib.cpp:198
#24 0xb66c452a in QEventLoop::processEvents (this=0xbffb8a80, flags={i = -1074034104}) at kernel/qeventloop.cpp:143
#25 0xb66c46ea in QEventLoop::exec (this=0xbffb8a80, flags={i = -1074034040}) at kernel/qeventloop.cpp:194
#26 0xb66c6da5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#27 0xb699a767 in QApplication::exec () at kernel/qapplication.cpp:3331
#28 0xb7f3ace1 in kdemain (argc=1, argv=0xbffb8c54) at /build/buildd/kdebase-workspace-4.1.85/plasma/shells/desktop/main.cpp:58
#29 0x08048712 in main (argc=-1, argv=0xffffffff) at /build/buildd/kdebase-workspace-4.1.85/obj-i486-linux-gnu/plasma/shells/desktop/plasma_qgv_dummy.cpp:3
Comment 1 Jonathan Thomas 2008-12-18 23:26:58 UTC
Also affects Now Playing, using the same reproduction instructions. The backtrace is nearly the same, with Now Playing crashing in NowPlaying::constraintsEvent rather than FolderView:constraintsEvent . I do not know if this means that there is a bug higher up in Plasma or if this is a bug that needs to be addressed in both applets.
Comment 2 Fredrik Höglund 2008-12-19 02:32:49 UTC
In this case the crash is specific to folderview, so you should file a separate bug report for the Now Playing applet.
Comment 3 Fredrik Höglund 2008-12-19 02:35:16 UTC
SVN commit 898778 by fredrik:

Don't crash when moving the applet from the desktop to the panel.
BUG: 178102


 M  +1 -1      folderview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=898778
Comment 4 Jonathan Thomas 2008-12-19 02:52:23 UTC
Separate bug for Now Playing reported as bug 178136.
Thanks for making KDE rock.