Bug 334871

Summary: Media player widget causes plasma to crash
Product: [Plasma] plasmashell Reporter: Alexander Nestorov <alexandernst>
Component: generalAssignee: Sebastian Kügler <sebas>
Status: RESOLVED INTENTIONAL    
Severity: crash CC: alexandernst, bhush94, kde, notmart
Priority: NOR    
Version: master   
Target Milestone: 1.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander Nestorov 2014-05-16 10:23:40 UTC
See 5:05 https://www.youtube.com/watch?v=fZ8F6erz_eM&edit=vd

Reproducible: Always
Comment 1 Bhushan Shah 2014-05-16 10:37:32 UTC
Related to bug 332696 maybe?
Comment 2 Sebastian Kügler 2014-05-16 12:21:26 UTC
I suppose you're adding the widget by doubleclicking on the item in the add widgets dialog? Do you experience the same problem when adding it to the desktop?

WIth crashers, it's really useful if you can supply us with a backtrace, as that tells us where in the code it goes wrong. Could you generate a backtrace and paste it into the comments here? (That way, we'll get it automatically compared to other backtraces, so we can see severity and duplication.)
Comment 3 Alexander Nestorov 2014-05-16 12:25:08 UTC
Yes, I'm adding the widget by double-clicking. The crash happens as soon as I hit the "Play" button on the widget, no matter if the widget is inside the systray/toolbar or on the desktop.

I can get you a backtrace as soon as I get home (in 3.5 hours)
Comment 4 Marco Martin 2014-05-16 13:12:43 UTC
needs a backtrace to see what's going on
Comment 5 Alexander Nestorov 2014-05-16 15:03:01 UTC
Program received signal SIGSEGV, Segmentation fault.
0xb7c7744a in QSGOpaqueTextureMaterial::compare (this=0x889d750, o=0xb40ab88)
    at scenegraph/util/qsgtexturematerial.cpp:297
297     scenegraph/util/qsgtexturematerial.cpp: No such file or directory.
(gdb) 
(gdb) 
(gdb) 
(gdb) bt
#0  0xb7c7744a in QSGOpaqueTextureMaterial::compare (this=0x889d750, o=0xb40ab88)
    at scenegraph/util/qsgtexturematerial.cpp:297
#1  0xb7c53c2a in QSGBatchRenderer::Renderer::prepareAlphaBatches (this=0x98b2398)
    at scenegraph/coreapi/qsgbatchrenderer.cpp:1592
#2  0xb7c57e48 in QSGBatchRenderer::Renderer::render (this=0x98b2398) at scenegraph/coreapi/qsgbatchrenderer.cpp:2385
#3  0xb7c6aff5 in QSGRenderer::renderScene (this=0x98b2398, bindable=...) at scenegraph/coreapi/qsgrenderer.cpp:259
#4  0xb7c6ae3f in QSGRenderer::renderScene (this=0x98b2398) at scenegraph/coreapi/qsgrenderer.cpp:218
#5  0xb7c838c9 in QSGRenderContext::renderNextFrame (this=0x82bf4f8, renderer=0x98b2398, fboId=0)
    at scenegraph/qsgcontext.cpp:356
#6  0xb7cd6304 in QQuickWindowPrivate::renderSceneGraph (this=0xb92ad20, size=...) at items/qquickwindow.cpp:386
#7  0xb7ca87ec in QSGGuiThreadRenderLoop::renderWindow (this=0x82c36d0, window=0xb4c5e50)
    at scenegraph/qsgrenderloop.cpp:370
#8  0xb7ca8ca2 in QSGGuiThreadRenderLoop::exposureChanged (this=0x82c36d0, window=0xb4c5e50)
    at scenegraph/qsgrenderloop.cpp:414
#9  0xb7cd58f6 in QQuickWindow::exposeEvent (this=0xb4c5e50) at items/qquickwindow.cpp:216
#10 0xb58dcbf3 in QWindow::event (this=0xb4c5e50, ev=0xbfffe7c4) at kernel/qwindow.cpp:1956
#11 0xb7cd922e in QQuickWindow::event (this=0xb4c5e50, e=0xbfffe7c4) at items/qquickwindow.cpp:1341
#12 0xb7218bbe in PlasmaQuick::Dialog::event (this=0xb4c5e50, event=0xbfffe7c4)
    at /build/buildd/project-neon5-plasma-framework-0.0+git20140513.0308+neon4~247e829~14.04/src/plasmaquick/dialog.cpp:822
#13 0xb5e9aefe in QApplicationPrivate::notify_helper (this=0x8115c68, receiver=0xb4c5e50, e=0xbfffe7c4)
    at kernel/qapplication.cpp:3501
#14 0xb5e98608 in QApplication::notify (this=0xbfffeafc, receiver=0xb4c5e50, e=0xbfffe7c4)
    at kernel/qapplication.cpp:2954
#15 0xb552a525 in QCoreApplication::notifyInternal (this=0xbfffeafc, receiver=0xb4c5e50, event=0xbfffe7c4)
    at kernel/qcoreapplication.cpp:935
#16 0xb58d4d9b in QCoreApplication::sendSpontaneousEvent (receiver=0xb4c5e50, event=0xbfffe7c4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:240
#17 0xb58d2315 in QGuiApplicationPrivate::processExposeEvent (e=0xb02c190) at kernel/qguiapplication.cpp:2528
#18 0xb58cdd3a in QGuiApplicationPrivate::processWindowSystemEvent (e=0xb02c190) at kernel/qguiapplication.cpp:1566
#19 0xb58b8d0b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:579
#20 0xb215a001 in userEventSourceDispatch (source=0x8135888) at eventdispatchers/qeventdispatcher_glib.cpp:78
#21 0xb44d31e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#22 0xb44d3468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#23 0xb44d3528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#24 0xb5597a66 in QEventDispatcherGlib::processEvents (this=0x8146978, flags=...)
    at kernel/qeventdispatcher_glib.cpp:426
#25 0xb215a200 in QPAEventDispatcherGlib::processEvents (this=0x8146978, flags=...)
    at eventdispatchers/qeventdispatcher_glib.cpp:123
---Type <return> to continue, or q <return> to quit---
#26 0xb55273b7 in QEventLoop::processEvents (this=0xbfffea4c, flags=...) at kernel/qeventloop.cpp:136
#27 0xb552767e in QEventLoop::exec (this=0xbfffea4c, flags=...) at kernel/qeventloop.cpp:212
#28 0xb552ac05 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#29 0xb58cd9d8 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1436
#30 0xb5e97e93 in QApplication::exec () at kernel/qapplication.cpp:2746
#31 0x0809346b in main (argc=1, argv=0xbfffebd4)
    at /build/buildd/project-neon5-plasma-workspace-0.0+git20140513.0311+neon4~2a8832f~14.04/shell/main.cpp:102
(gdb)
Comment 6 David Edmundson 2014-09-23 01:21:15 UTC
No info in 4 months. Closing