Bug 68273

Summary: Amarok 2.8.0 visualization causes segfault in r600_init_query_functions
Product: Mesa Reporter: Erich Seifert <eseifert>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Erich Seifert 2013-08-19 12:50:21 UTC
On my Gentoo machine I'm experiencing a segfault when starting Amarok audio player under KDE SC 4.11.0. In version 2.8.0 the Amarok audio player gained a new visualization applet which uses Qt's QGLWidget. It crashes during startup.

Here's the output of a gdb session:

$ LC_ALL="C" gdb amarok
GNU gdb (Gentoo 7.5.1 p2) 7.5.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/amarok...done.
(gdb) set args --nofork
(gdb) r
Starting program: /usr/bin/amarok --nofork
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
amarok(18342)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-user/ksycoca4"
[New Thread 0x7fffee3ae700 (LWP 18346)]
[Thread 0x7fffee3ae700 (LWP 18346) exited]
[New Thread 0x7fffee3ae700 (LWP 18347)]
[New Thread 0x7fffec9a4700 (LWP 18348)]
[New Thread 0x7fffe72ba700 (LWP 18349)]
amarok(18342)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x1004030)
amarok(18342)/kio (Scheduler) KIO::SchedulerPrivate::protoQ: creating ProtoQueue instance for "http"
amarok(18342)/kio (Scheduler) KIO::ProtoQueue::ProtoQueue: m_maxConnectionsTotal: 20 m_maxConnectionsPerHost: 5
[New Thread 0x7fffe6ab9700 (LWP 18350)]
amarok(18342)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x10ccb60)
[New Thread 0x7fffe62b8700 (LWP 18351)]
[New Thread 0x7fffe5ab7700 (LWP 18352)]
amarok(18342)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
[New Thread 0x7fffe516b700 (LWP 18353)]
[New Thread 0x7fffe496a700 (LWP 18354)]
[New Thread 0x7fffcbfff700 (LWP 18355)]
[New Thread 0x7fffcb7fe700 (LWP 18356)]
[New Thread 0x7fffcaffd700 (LWP 18357)]
[New Thread 0x7fffca7fc700 (LWP 18358)]
[New Thread 0x7fffc9ffb700 (LWP 18359)]
[New Thread 0x7fffc97fa700 (LWP 18360)]
[New Thread 0x7fffc8ff9700 (LWP 18361)]
[New Thread 0x7fffa7fff700 (LWP 18362)]
[New Thread 0x7fff9f7fe700 (LWP 18363)]
amarok(18342)/libplasma Plasma::Corona::Corona: !!{} STARTUP TIME 51964170 Corona ctor start
[New Thread 0x7fffa5643700 (LWP 18364)]

Program received signal SIGSEGV, Segmentation fault.
0x00007fffa602fd7f in r600_init_query_functions (rctx=0x1587bd0) at r600_query.c:743
743     r600_query.c: No such file or directory.
(gdb) bt
#0  0x00007fffa602fd7f in r600_init_query_functions (rctx=0x1587bd0) at r600_query.c:743
#1  0x00007fffa60954f0 in r600_create_context (screen=0x155d2b0, priv=0x0) at radeonsi_pipe.c:227
#2  0x00007fffa5f4b59e in st_api_create_context (stapi=<optimized out>, smapi=0x155d4a0, attribs=0x7fffffff9050, error=0x7fffffff904c, shared_stctxi=0x0) at ../../src/mesa/state_tracker/st_manager.c:615
#3  0x00007fffa5e27589 in egl_g3d_create_context (drv=0x1577570, dpy=0x1594400, conf=0x15617f0, share=0x0, attribs=0x7fffffff9120) at common/egl_g3d_api.c:175
#4  0x00007ffff64ba846 in eglCreateContext (dpy=0x1594400, config=0x15617f0, share_list=0x0, attrib_list=0x7fffffff9120) at eglapi.c:437
#5  0x0000003da16415b8 in QEglContext::createContext(QEglContext*, QEglProperties const*) () from /usr/lib64/qt4/libQtGui.so.4
#6  0x00007ffff625003e in QGLContext::chooseContext (this=0x151eda0, shareContext=0x0) at qgl_x11egl.cpp:221
#7  0x00007ffff61e5544 in QGLContext::create (this=0x151eda0, shareContext=0x0) at qgl.cpp:3348
#8  0x00007ffff6250382 in QGLWidget::setContext (this=0x1579e30, context=0x151eda0, shareContext=<optimized out>, deleteOldContext=true) at qgl_x11egl.cpp:322
#9  0x00007ffff61e588b in QGLWidgetPrivate::initContext (this=0x1579f10, context=0x151eda0, shareWidget=0x0) at qgl.cpp:5603
#10 0x00007ffff62503f8 in QGLWidgetPrivate::init (this=0x1579f10, context=<optimized out>, shareWidget=<optimized out>) at qgl_x11egl.cpp:339
#11 0x00007ffff61e665c in QGLWidget::QGLWidget (this=0x1579e30, parent=<optimized out>, shareWidget=0x0, f=...) at qgl.cpp:3834
#12 0x00007fffa73e8f5d in Analyzer::Base::Base (this=0x1579e30, parent=<optimized out>) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/applets/analyzer/AnalyzerBase.cpp:41
#13 0x00007fffa73e9051 in Analyzer::Base2D::Base2D (this=0x1579e30, parent=<optimized out>) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/applets/analyzer/AnalyzerBase.cpp:220
#14 0x00007fffa73ebbaf in BlockAnalyzer::BlockAnalyzer (this=0x1579e30, parent=<optimized out>) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/applets/analyzer/BlockAnalyzer.cpp:44
#15 0x00007fffa73e7a25 in AnalyzerApplet::setCurrentAnalyzer (this=0x1532210, name=...) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/applets/analyzer/AnalyzerApplet.cpp:187
#16 0x00007fffa73e829e in AnalyzerApplet::init (this=0x1532210) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/applets/analyzer/AnalyzerApplet.cpp:61
#17 0x0000003da8531416 in Plasma::Containment::addApplet(Plasma::Applet*, QPointF const&, bool) () from /usr/lib64/libplasma.so.3
#18 0x0000003da85315d5 in ?? () from /usr/lib64/libplasma.so.3
#19 0x00007fffc83f26a4 in Context::VerticalToolbarContainment::addApplet (this=0x149def0, pluginName=..., loc=-1) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/containments/verticallayout/VerticalToolbarContainment.cpp:144
#20 0x00007fffc83f2d1c in Context::VerticalToolbarContainment::loadConfig (this=0x149def0, conf=...) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/containments/verticallayout/VerticalToolbarContainment.cpp:94
#21 0x00007ffff7696ba0 in Context::ContextView::loadConfig (this=0x1450330) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/ContextView.cpp:241
#22 0x00007ffff7696c7e in Context::ContextView::showHome (this=0x1450330) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/ContextView.cpp:196
#23 0x00007ffff7694756 in ContextDock::createContextView (this=0x144f4f0, containment=0x149def0) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/ContextDock.cpp:72
#24 0x00007ffff7694810 in ContextDock::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0_build/src/ContextDock.moc:50
#25 0x0000003a4497c3e9 in QMetaObject::activate (sender=<optimized out>, m=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3539
#26 0x0000003da854200f in Plasma::Corona::containmentAdded(Plasma::Containment*) () from /usr/lib64/libplasma.so.3
#27 0x0000003da85432ce in ?? () from /usr/lib64/libplasma.so.3
#28 0x00007ffff7693e01 in Context::ContextScene::loadDefaultSetup (this=0x14534d0) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/ContextScene.cpp:49
#29 0x00007ffff769412a in ContextDock::ContextDock (this=0x144f4f0, parent=<optimized out>) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/ContextDock.cpp:49
#30 0x00007ffff78f3115 in MainWindow::init (this=0xd9d710) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/MainWindow.cpp:231
#31 0x00007ffff78f42ed in MainWindow::MainWindow (this=0xd9d710) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/MainWindow.cpp:151
#32 0x00007ffff78da962 in App::continueInit (this=0x7fffffffb320) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/App.cpp:440
#33 0x00007ffff78db8d1 in App::App (this=0x7fffffffb320) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/App.cpp:175
#34 0x000000000040843d in main (argc=2, argv=0x7fffffffd8a8) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/main.cpp:327
(gdb) bt full
#0  0x00007fffa602fd7f in r600_init_query_functions (rctx=0x1587bd0) at r600_query.c:743
No locals.
#1  0x00007fffa60954f0 in r600_create_context (screen=0x155d2b0, priv=0x0) at radeonsi_pipe.c:227
        rctx = 0x1587bd0
        rscreen = 0x155d2b0
        __func__ = "r600_create_context"
#2  0x00007fffa5f4b59e in st_api_create_context (stapi=<optimized out>, smapi=0x155d4a0, attribs=0x7fffffff9050, error=0x7fffffff904c, shared_stctxi=0x0) at ../../src/mesa/state_tracker/st_manager.c:615
        shared_ctx = 0x0
        st = <optimized out>
        pipe = <optimized out>
        mode = {rgbMode = 5 '\005', floatMode = 0 '\000', colorIndexMode = 0 '\000', doubleBufferMode = 0, stereoMode = 2803802240, haveAccumBuffer = 255 '\377', haveDepthBuffer = 127 '\177', haveStencilBuffer = 0 '\000', redBits = 24570104, greenBits = 0, 
          blueBits = 0, alphaBits = 0, redMask = 22408096, greenMask = 0, blueMask = 22508912, alphaMask = 0, rgbBits = -1515823104, indexBits = 32767, accumRedBits = -748627644, accumGreenBits = 60, accumBlueBits = 5, accumAlphaBits = 0, depthBits = 0, 
          stencilBits = 0, numAuxBuffers = 12450, level = 0, visualRating = -1515635056, transparentPixel = 32767, transparentRed = 88, transparentGreen = 0, transparentBlue = -1491165056, transparentAlpha = 32767, transparentIndex = 22408096, sampleBuffers = 0, 
          samples = 22419440, maxPbufferWidth = 0, maxPbufferHeight = 0, maxPbufferPixels = 0, optimalPbufferWidth = -748601739, optimalPbufferHeight = 60, swapMethod = -1491165056, bindToTextureRgb = 32767, bindToTextureRgba = 0, bindToMipmapTexture = 0, 
          bindToTextureTargets = 12450, yInverted = 0, sRGBCapable = 0}
        api = API_OPENGL_COMPAT
#3  0x00007fffa5e27589 in egl_g3d_create_context (drv=0x1577570, dpy=0x1594400, conf=0x15617f0, share=0x0, attribs=0x7fffffff9120) at common/egl_g3d_api.c:175
        gdpy = 0x1577770
        gctx = 0x155eba0
        stattribs = {profile = ST_PROFILE_DEFAULT, major = 0, minor = 0, flags = 0, visual = {buffer_mask = 3, color_format = PIPE_FORMAT_B8G8R8X8_UNORM, depth_stencil_format = PIPE_FORMAT_Z24_UNORM_S8_UINT, accum_format = PIPE_FORMAT_NONE, samples = 0, 
            render_buffer = ST_ATTACHMENT_BACK_LEFT}, options = {disable_blend_func_extended = 0 '\000', disable_glsl_line_continuations = 0 '\000', disable_shader_bit_encoding = 0 '\000', force_glsl_extensions_warn = 0 '\000', force_glsl_version = 0, 
            force_s3tc_enable = 0 '\000'}}
        ctx_err = ST_CONTEXT_SUCCESS
#4  0x00007ffff64ba846 in eglCreateContext (dpy=0x1594400, config=0x15617f0, share_list=0x0, attrib_list=0x7fffffff9120) at eglapi.c:437
        disp = 0x1594400
        conf = 0x15617f0
        share = 0x22a
        drv = 0x0
        context = <optimized out>
        ret = <optimized out>
        __func__ = "eglCreateContext"
#5  0x0000003da16415b8 in QEglContext::createContext(QEglContext*, QEglProperties const*) () from /usr/lib64/qt4/libQtGui.so.4
No symbol table info available.
#6  0x00007ffff625003e in QGLContext::chooseContext (this=0x151eda0, shareContext=0x0) at qgl_x11egl.cpp:221
        configProps = {props = {a = 256, s = 21, ptr = 0x7fffffff9610, {
              array = "30\000\000\004\000\000\000@0\000\000\b\000\000\000$0\000\000\000\000\000\000#0\000\000\000\000\000\000\"0\000\000\000\000\000\000!0\000\000\000\000\000\000%0\000\000\001\000\000\000&0\000\000\001\000\000\000\061\060\000\000\000\000\000\000\062\060\000\000\000\000\000\000\070\060", '\000' <repeats 20 times>"\360, ?\000\334I\001\000\000\000\000@\327\251\241=\000\000\000\310\031Q\250=\000\000\000\377\377\377\377", '\000' <repeats 12 times>"\360, \061\206", '\000' <repeats 37 times>, "P", '\000' <repeats 15 times>, "\003\000\000\000\060\000\000\000[\000\000\000n\000\000\000w\000\000\000|\000\000\000\001\000\000\000\000\000\000\000 &\332\323<\000\000\000&\000\000\000\000\000\000\000\006\000\000\000\000\000\000\000\006\000\000\000\000\000\000\000\320"..., 
              q_for_alignment_1 = 17179881523, q_for_alignment_2 = 8.4879892601370933e-314}}}
        eglSharedContext = <optimized out>
        d = 0x1567470
        devType = 1
        x11PixmapData = 0x0
#7  0x00007ffff61e5544 in QGLContext::create (this=0x151eda0, shareContext=0x0) at qgl.cpp:3348
        d = 0x1567470
#8  0x00007ffff6250382 in QGLWidget::setContext (this=0x1579e30, context=0x151eda0, shareContext=<optimized out>, deleteOldContext=true) at qgl_x11egl.cpp:322
        d = 0x1579f10
        oldcx = 0x0
        createFailed = false
#9  0x00007ffff61e588b in QGLWidgetPrivate::initContext (this=0x1579f10, context=0x151eda0, shareWidget=0x0) at qgl.cpp:5603
No locals.
#10 0x00007ffff62503f8 in QGLWidgetPrivate::init (this=0x1579f10, context=<optimized out>, shareWidget=<optimized out>) at qgl_x11egl.cpp:339
No locals.
#11 0x00007ffff61e665c in QGLWidget::QGLWidget (this=0x1579e30, parent=<optimized out>, shareWidget=0x0, f=...) at qgl.cpp:3834
        d = 0x1579f10
#12 0x00007fffa73e8f5d in Analyzer::Base::Base (this=0x1579e30, parent=<optimized out>) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/applets/analyzer/AnalyzerBase.cpp:41
No locals.
#13 0x00007fffa73e9051 in Analyzer::Base2D::Base2D (this=0x1579e30, parent=<optimized out>) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/applets/analyzer/AnalyzerBase.cpp:220
No locals.
#14 0x00007fffa73ebbaf in BlockAnalyzer::BlockAnalyzer (this=0x1579e30, parent=<optimized out>) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/applets/analyzer/BlockAnalyzer.cpp:44
No locals.
#15 0x00007fffa73e7a25 in AnalyzerApplet::setCurrentAnalyzer (this=0x1532210, name=...) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/applets/analyzer/AnalyzerApplet.cpp:187
No locals.
#16 0x00007fffa73e829e in AnalyzerApplet::init (this=0x1532210) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/applets/analyzer/AnalyzerApplet.cpp:61
        config = <incomplete type>
#17 0x0000003da8531416 in Plasma::Containment::addApplet(Plasma::Applet*, QPointF const&, bool) () from /usr/lib64/libplasma.so.3
No symbol table info available.
#18 0x0000003da85315d5 in ?? () from /usr/lib64/libplasma.so.3
No symbol table info available.
#19 0x00007fffc83f26a4 in Context::VerticalToolbarContainment::addApplet (this=0x149def0, pluginName=..., loc=-1) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/containments/verticallayout/VerticalToolbarContainment.cpp:144
        uniquelyNamedStackAllocatedStandardBlock = {m_startTime = {t1 = 0, t2 = 21951152}, 
          m_label = 0x7fffc83f5c00 <Context::VerticalToolbarContainment::addApplet(QString const&, int)::__PRETTY_FUNCTION__> "virtual Plasma::Applet* Context::VerticalToolbarContainment::addApplet(const QString&, int)", m_color = 0}
        __PRETTY_FUNCTION__ = "virtual Plasma::Applet* Context::VerticalToolbarContainment::addApplet(const QString&, int)"
        applet = <optimized out>
#20 0x00007fffc83f2d1c in Context::VerticalToolbarContainment::loadConfig (this=0x149def0, conf=...) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/containments/verticallayout/VerticalToolbarContainment.cpp:94
        _container_ = {c = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 1}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x14ef290}, d = 0x14ef290}}, <No data fields>}, brk = 0, i = {i = 0x14ef2b0}, e = {i = 0x14ef2d8}}
        uniquelyNamedStackAllocatedStandardBlock = {m_startTime = {t1 = 21944688, t2 = 140737488331424}, 
          m_label = 0x7fffc83f5b40 <Context::VerticalToolbarContainment::loadConfig(KConfigGroup const&)::__PRETTY_FUNCTION__> "virtual void Context::VerticalToolbarContainment::loadConfig(const KConfigGroup&)", m_color = 0}
        __PRETTY_FUNCTION__ = "virtual void Context::VerticalToolbarContainment::loadConfig(const KConfigGroup&)"
        plugins = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 1}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x14ef290}, d = 0x14ef290}}, <No data fields>}
        showing = 21855440
#21 0x00007ffff7696ba0 in Context::ContextView::loadConfig (this=0x1450330) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/ContextView.cpp:241
        cg = <incomplete type>
        containment = 0x149def0
        i = <optimized out>
        __PRETTY_FUNCTION__ = "void Context::ContextView::loadConfig()"
        numContainments = 1
        conf = <incomplete type>
#22 0x00007ffff7696c7e in Context::ContextView::showHome (this=0x1450330) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/ContextView.cpp:196
        uniquelyNamedStackAllocatedStandardBlock = {m_startTime = {t1 = 21300016, t2 = 1}, m_label = 0x7ffff79fc180 <Context::ContextView::showHome()::__PRETTY_FUNCTION__> "void Context::ContextView::showHome()", m_color = 0}
        __PRETTY_FUNCTION__ = "void Context::ContextView::showHome()"
#23 0x00007ffff7694756 in ContextDock::createContextView (this=0x144f4f0, containment=0x149def0) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/ContextDock.cpp:72
        __PRETTY_FUNCTION__ = "void ContextDock::createContextView(Plasma::Containment*)"
#24 0x00007ffff7694810 in ContextDock::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0_build/src/ContextDock.moc:50
        _t = <optimized out>
#25 0x0000003a4497c3e9 in QMetaObject::activate (sender=<optimized out>, m=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3539
        receiverInSameThread = <optimized out>
        previousSender = <optimized out>
        callFunction = <optimized out>
        receiver = <optimized out>
        currentSender = <error reading variable currentSender (Could not find the frame base for "QMetaObject::activate(QObject*, QMetaObject const*, int, void**)".)>
        method_relative = <optimized out>
        c = <optimized out>
        last = <optimized out>
        methodOffset = <error reading variable methodOffset (Could not find the frame base for "QMetaObject::activate(QObject*, QMetaObject const*, int, void**)".)>
        signal_absolute_index = <optimized out>
        empty_argv = <error reading variable empty_argv (Could not find the frame base for "QMetaObject::activate(QObject*, QMetaObject const*, int, void**)".)>
        locker = <error reading variable locker (Could not find the frame base for "QMetaObject::activate(QObject*, QMetaObject const*, int, void**)".)>
        connectionLists = <optimized out>
        list = <optimized out>
        signalOffset = <error reading variable signalOffset (Could not find the frame base for "QMetaObject::activate(QObject*, QMetaObject const*, int, void**)".)>
        signal_index = <optimized out>
        currentThreadId = <optimized out>
#26 0x0000003da854200f in Plasma::Corona::containmentAdded(Plasma::Containment*) () from /usr/lib64/libplasma.so.3
No symbol table info available.
#27 0x0000003da85432ce in ?? () from /usr/lib64/libplasma.so.3
No symbol table info available.
#28 0x00007ffff7693e01 in Context::ContextScene::loadDefaultSetup (this=0x14534d0) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/ContextScene.cpp:49
        c = <optimized out>
#29 0x00007ffff769412a in ContextDock::ContextDock (this=0x144f4f0, parent=<optimized out>) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/context/ContextDock.cpp:49
No locals.
#30 0x00007ffff78f3115 in MainWindow::init (this=0xd9d710) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/MainWindow.cpp:231
        __PRETTY_FUNCTION__ = "void MainWindow::init()"
#31 0x00007ffff78f42ed in MainWindow::MainWindow (this=0xd9d710) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/MainWindow.cpp:151
        uniquelyNamedStackAllocatedStandardBlock = {m_startTime = {t1 = 9157121, t2 = 250257826991}, m_label = 0x7ffff7a2f840 <MainWindow::MainWindow()::__PRETTY_FUNCTION__> "MainWindow::MainWindow()", m_color = 0}
        path = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 1}, alloc = 0, size = 0, data = 0x60b1da <QString::shared_null+26>, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
          static shared_empty = {ref = {_q_value = 2149}, alloc = 0, size = 0, data = 0x3a44cb68ba <QString::shared_empty+26>, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x100000000, 
          static codecForCStrings = 0x62d230}
        engine = <optimized out>
#32 0x00007ffff78da962 in App::continueInit (this=0x7fffffffb320) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/App.cpp:440
        uniquelyNamedStackAllocatedStandardBlock = {m_startTime = {t1 = 106, t2 = 140737315445304}, m_label = 0x7ffff7a2c4d0 <App::continueInit()::__PRETTY_FUNCTION__> "void App::continueInit()", m_color = 0}
        __PRETTY_FUNCTION__ = "void App::continueInit()"
        restoreSession = <optimized out>
        utf8codec = 0xd8b5d0
        args = 0x6cfdd0
#33 0x00007ffff78db8d1 in App::App (this=0x7fffffffb320) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/App.cpp:175
        uniquelyNamedStackAllocatedStandardBlock = {m_startTime = {t1 = 0, t2 = 0}, m_label = 0x7ffff7a2c34c <App::App()::__PRETTY_FUNCTION__> "App::App()", m_color = 0}
#34 0x000000000040843d in main (argc=2, argv=0x7fffffffd8a8) at /var/tmp/portage/media-sound/amarok-2.8.0/work/amarok-2.8.0/src/main.cpp:327
        aboutData = {d = 0x6b9b30}
        debugColorsEnabled = <optimized out>
        debugEnabled = false
        app = {<KUniqueApplication> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x3da2674480 <KUniqueApplication::staticMetaObject>, stringdata = 0x7ffff7a2c360 <qt_meta_stringdata_App> "App", data = 0x7ffff7a2c540 <qt_meta_data_App>, 
              extradata = 0x7ffff7d127c0 <App::staticMetaObjectExtraData>}}, static staticMetaObjectExtraData = {objects = 0x0, static_metacall = 0x7ffff78db33c <App::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}, m_isUniqueInstance = false, 
          m_mainWindow = {d = 0x0, value = 0x0}, m_tray = 0x0, m_mediaDeviceManager = 0x0, static s_delayedAmarokUrls = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 1}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
                  d = 0x60b180 <QListData::shared_null>}, d = 0x60b180 <QListData::shared_null>}}, <No data fields>}}
        args = 0x6cfdd0
        startFlag = (unknown: 0)
(gdb) p rctx
$1 = (struct r600_context *) 0x1587bd0
(gdb) p rctx->screen
$2 = (struct r600_screen *) 0x0
(gdb)

Used hardware:
AMD/ATI Cape Verde XT (Radeon HD 7770 GHz Edition)

Used software:
KDE SC 4.11.0
Amarok 2.8.0
xorg-server 1.14.2.901
xf86-video-ati 7.2.0
libdrm 2.4.46
Mesa from git (last commit 5ddd840f5aacb7cc6e62b712aa737c683bd91f55)
Comment 1 Laurent carlier 2013-08-19 12:55:11 UTC
Does setting the environment variable EGL_DRIVER=egl_dri2 help?
Comment 2 Erich Seifert 2013-08-19 13:06:40 UTC
Thanks Laurent!
Yes, everything works fine with EGL_DRIVER=egl_dri2.
Comment 3 Laurent carlier 2013-08-19 13:17:22 UTC

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

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.