Bug 212662 - Plasma Desktop crash (segfault) with BatteryMonitor involved
Summary: Plasma Desktop crash (segfault) with BatteryMonitor involved
Status: RESOLVED DUPLICATE of bug 211438
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-01 21:29 UTC by Thomas Janssen
Modified: 2009-11-01 23:02 UTC (History)
1 user (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 Thomas Janssen 2009-11-01 21:29:29 UTC
Application that crashed: plasma-desktop
Version of the application: 0.3
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.6.0
Operating System: Linux 2.6.30.9-90.fc11.x86_64 x86_64
Distribution: "Fedora release 11 (Leonidas)"

What I was doing when the application crashed:
I added the BatteryMonitor (no battery plugged that time) plasmoid to the Desktop, edited the options (ticked the one unticked option) and removed the plasmoid then from my Desktop. I right clicked immediately on the Desktop and clicked then on "Add Widgets...". That made it crash (full boom).
Additional information: My setup is with "different activity for each desktop" in Plasma Settings.

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

Thread 9 (Thread 0x7f9ed1d4f910 (LWP 2612)):
#0  0x00000038bf80b2f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000038ca07288b 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  0x00000038c94862b4 in QHostInfoAgent::run (this=0x22f2830) at kernel/qhostinfo.cpp:252
#4  0x00000038ca0718d5 in QThreadPrivate::start (arg=0x22f2830) at thread/qthread_unix.cpp:244
#5  0x00000038bf80686a in start_thread () from /lib64/libpthread.so.0
#6  0x00000038becde3bd in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f9ebadb0910 (LWP 2668)):
#0  0x00000038bf80b57d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9ec499d5c1 in ?? () from /usr/lib64/libxine.so.1
#2  0x00000038bf80686a in start_thread () from /lib64/libpthread.so.0
#3  0x00000038becde3bd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f9eb9779910 (LWP 2669)):
#0  0x00000038becd7102 in select () from /lib64/libc.so.6
#1  0x00007f9ec49c5a85 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007f9ec49ab289 in ?? () from /usr/lib64/libxine.so.1
#3  0x00000038bf80686a in start_thread () from /lib64/libpthread.so.0
#4  0x00000038becde3bd in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f9eb7a87910 (LWP 2722)):
#0  0x00000038c143a4c3 in g_main_context_check () from /lib64/libglib-2.0.so.0
#1  0x00000038c143addd in ?? () from /lib64/libglib-2.0.so.0
#2  0x00000038c143b20a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00000038ca18c886 in QEventDispatcherGlib::processEvents (this=0x7f9eb00008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00000038ca161fc2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 36}) at kernel/qeventloop.cpp:149
#5  0x00000038ca16239c in QEventLoop::exec (this=0x7f9eb7a86f10, flags={i = 0}) at kernel/qeventloop.cpp:201
#6  0x00000038ca06eeb9 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f9ec4bf76ce in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00000038ca0718d5 in QThreadPrivate::start (arg=0x2c063f0) at thread/qthread_unix.cpp:244
#9  0x00000038bf80686a in start_thread () from /lib64/libpthread.so.0
#10 0x00000038becde3bd in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f9eb6c77910 (LWP 2731)):
#0  0x00000038becd50d3 in poll () from /lib64/libc.so.6
#1  0x00007f9eb895f81b in ?? () from /usr/lib64/libpulse.so.0
#2  0x00007f9eb894d2d4 in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x00007f9eb894d683 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x00007f9eb894d6f6 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x00007f9eb895f898 in ?? () from /usr/lib64/libpulse.so.0
#6  0x00007f9eb8714c4f in ?? () from /usr/lib64/libpulsecommon-0.9.15.so
#7  0x00000038bf80686a in start_thread () from /lib64/libpthread.so.0
#8  0x00000038becde3bd in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f9eb6071910 (LWP 2732)):
#0  0x00000038becd50d3 in poll () from /lib64/libc.so.6
#1  0x00007f9eb6e8392e in snd_pcm_sw_params_set_start_threshold () from /usr/lib64/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00000038bf80686a in start_thread () from /lib64/libpthread.so.0
#3  0x00000038becde3bd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9eb5670910 (LWP 2733)):
#0  0x00000038bf80b2f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9ec49ae493 in ?? () from /usr/lib64/libxine.so.1
#2  0x00000038bf80686a in start_thread () from /lib64/libpthread.so.0
#3  0x00000038becde3bd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9e8bfff910 (LWP 2776)):
#0  0x00000038becd50d3 in poll () from /lib64/libc.so.6
#1  0x00000038c143aecc in ?? () from /lib64/libglib-2.0.so.0
#2  0x00000038c143b20a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00000038ca18c886 in QEventDispatcherGlib::processEvents (this=0x7f9e740008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00000038ca161fc2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 36}) at kernel/qeventloop.cpp:149
#5  0x00000038ca16239c in QEventLoop::exec (this=0x7f9e8bffeef0, flags={i = 0}) at kernel/qeventloop.cpp:201
#6  0x00000038ca06eeb9 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f9ecb55344d in ?? () from /usr/lib64/kde4/plugins/marble/GpsdPositionProviderPlugin.so
#8  0x00000038ca0718d5 in QThreadPrivate::start (arg=0x5aae350) at thread/qthread_unix.cpp:244
#9  0x00000038bf80686a in start_thread () from /lib64/libpthread.so.0
#10 0x00000038becde3bd in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9eedd60830 (LWP 2606)):
[KCrash Handler]
#5  QGraphicsSceneIndexPrivate::recursive_items_helper (this=<value optimized out>, item=0x7683440, exposeRect={xp = 1629, yp = 1212, w = 1, h = 1}, intersector=0x18ce2c0, items=0x7fff2286de00, 
    viewTransform=@0x7fff2286dbf0, mode=Qt::IntersectsItemShape, parentOpacity=-nan(0xf00000000ff00)) at graphicsview/qgraphicssceneindex.cpp:278
#6  0x00000038cc3b886b in QGraphicsSceneIndexPrivate::items_helper (order=<value optimized out>, mode=<value optimized out>, viewTransform=<value optimized out>, items=<value optimized out>, 
    intersector=<value optimized out>, rect=<value optimized out>, this=<value optimized out>) at graphicsview/qgraphicssceneindex_p.h:159
#7  QGraphicsSceneIndex::items (order=<value optimized out>, mode=<value optimized out>, viewTransform=<value optimized out>, items=<value optimized out>, intersector=<value optimized out>, 
    rect=<value optimized out>, this=<value optimized out>) at graphicsview/qgraphicssceneindex.cpp:457
#8  0x00000038cc396915 in QGraphicsScene::items (this=<value optimized out>, rect=@0x18ce2c0, mode=579264000, order=579263472, deviceTransform=@0x1) at graphicsview/qgraphicsscene.cpp:1950
#9  0x00000038cc39c2a1 in QGraphicsScenePrivate::itemsAtPosition (this=<value optimized out>, screenPos=<value optimized out>, scenePos=<value optimized out>, widget=<value optimized out>)
    at graphicsview/qgraphicsscene.cpp:956
#10 0x00000038cc39cc30 in QGraphicsScenePrivate::dispatchHoverEvent (this=0x18d0220, hoverEvent=<value optimized out>) at graphicsview/qgraphicsscene.cpp:3684
#11 0x00000038cc39cea4 in QGraphicsScene::mouseMoveEvent (this=<value optimized out>, mouseEvent=0x7fff2286e470) at graphicsview/qgraphicsscene.cpp:3892
#12 0x00000038cc3a6beb in QGraphicsScene::event (this=0x1993c60, event=0x7fff2286e470) at graphicsview/qgraphicsscene.cpp:3261
#13 0x00000038cbda9bac in QApplicationPrivate::notify_helper (this=0x18dc710, receiver=0x1993c60, e=0x7fff2286e470) at kernel/qapplication.cpp:4277
#14 0x00000038cbdb022d in QApplication::notify (this=0x18be960, receiver=0x1993c60, e=0x7fff2286e470) at kernel/qapplication.cpp:4166
#15 0x00000038cf2117f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#16 0x00000038ca16367c in QCoreApplication::notifyInternal (this=0x18be960, receiver=0x1993c60, event=0x7fff2286e470) at kernel/qcoreapplication.cpp:704
#17 0x00000038cc3c220f in QGraphicsViewPrivate::mouseMoveEventHandler (this=0x2c90860, event=0x7fff2286eee0) at graphicsview/qgraphicsview.cpp:616
#18 0x00000038cc3c28fe in QGraphicsView::mouseMoveEvent (this=0x2c85c50, event=0x7fff2286eee0) at graphicsview/qgraphicsview.cpp:3118
#19 0x00000038cbdfcf7b in QWidget::event (this=0x2c85c50, event=0x7fff2286eee0) at kernel/qwidget.cpp:7889
#20 0x00000038cc1915e6 in QFrame::event (this=0x2c85c50, e=0x7fff2286eee0) at widgets/qframe.cpp:557
#21 0x00000038cc3c2fdb in QGraphicsView::viewportEvent (this=0x2c85c50, event=0x7fff2286eee0) at graphicsview/qgraphicsview.cpp:2708
#22 0x00000038ca162a97 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2c914e0, event=0x7fff2286eee0) at kernel/qcoreapplication.cpp:819
#23 0x00000038cbda9b7c in QApplicationPrivate::notify_helper (this=0x18dc710, receiver=0x2c914e0, e=0x7fff2286eee0) at kernel/qapplication.cpp:4273
#24 0x00000038cbdb0ae1 in QApplication::notify (this=0x18be960, receiver=0x2c914e0, e=0x7fff2286eee0) at kernel/qapplication.cpp:3863
#25 0x00000038cf2117f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#26 0x00000038ca16367c in QCoreApplication::notifyInternal (this=0x18be960, receiver=0x2c914e0, event=0x7fff2286eee0) at kernel/qcoreapplication.cpp:704
#27 0x00000038cbdafc56 in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#28 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:3002
#29 0x00000038cbe25b55 in QETWidget::translateMouseEvent (this=0x2c85c50, event=<value optimized out>) at kernel/qapplication_x11.cpp:4393
#30 0x00000038cbe24898 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff2286f800) at kernel/qapplication_x11.cpp:3532
#31 0x00000038cbe4d432 in x11EventSourceDispatch (s=0x18dfe80, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00000038c143790e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#33 0x00000038c143b0e8 in ?? () from /lib64/libglib-2.0.so.0
#34 0x00000038c143b20a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#35 0x00000038ca18c833 in QEventDispatcherGlib::processEvents (this=0x18a8170, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#36 0x00000038cbe4d01e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#37 0x00000038ca161fc2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 36}) at kernel/qeventloop.cpp:149
#38 0x00000038ca16239c in QEventLoop::exec (this=0x7fff2286fb30, flags={i = 0}) at kernel/qeventloop.cpp:201
#39 0x00000038ca1647a9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#40 0x00000038cb43af4f in kdemain () from /usr/lib64/libkdeinit4_plasma-desktop.so
#41 0x00000038bec1ea2d in __libc_start_main () from /lib64/libc.so.6
#42 0x0000000000400779 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-01 22:11:42 UTC
- Does Plasma crash again if you repeat the situation ? 
Merging with bug 211438.
Thanks

*** This bug has been marked as a duplicate of bug 211438 ***
Comment 2 Thomas Janssen 2009-11-01 23:02:11 UTC
Yes, open BatteryMonitor, close it and right click immediately on the desktop and boom. Just tried.