[Mesa-dev] [Bug 84186] X 1.16.1 RC 1 segfaults and reports "XXX fail to create fbo" with Radeon HD 7970.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 18 14:27:14 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84186

--- Comment #14 from Wim Lewis <wiml at hhhh.org> ---
(In reply to Michel Dänzer from comment #12)

Well, the place it seemed to be going off the rails was in
dri2_lookup_egl_image() in dri2.c; the call to loader->lookupEGLImage() was
returning NULL. That pointed into libgbm1, so I installed the debug-symbols
package for libgbm1 ... which involved upgrading libgbm1 from 10.2.5-1 to
10.3.2-1 ... which fixed the problem; X11 works again for me.

So I'd say this is a Debian packaging bug: perhaps the other parts of Mesa need
to indicate a dependency on a newer version of libgbm1 (currently libgbm is
only pulled in by libegl1-mesa which requires libgbm1 >= 7.11~1), or whatever
kernel facility gbm talks to needs to indicate it breaks old libgbm1 (if this
has something to do with the 3.14.x->3.16.0 kernel; it looks like everyone
hitting this problem is also running 3.16.x)... I'm completely unfamiliar with
the dependencies in this area.

Sorry for taking up your time with what turned out to be PEBKAC (in my case at
least)! I notice that the report from Yaroslav Halchenko on the Debian BTS also
indicates he is running an older libgbm1 (10.2.8-1 in his case) so perhaps this
is the cause of his problem as well.


(gdb) bt
#0  dri2_lookup_egl_image (screen=0x5555559ec7a0, handle=0x5555560daff0)
    at ../../../../../../src/gallium/state_trackers/dri/dri2.c:671
#1  0x00007fffefe7d1b5 in dri_get_egl_image (smapi=<optimized out>, 
    egl_image=<optimized out>, stimg=0x7fffffffe170)
    at ../../../../../../src/gallium/state_trackers/dri/dri_screen.c:308
#2  0x00007fffefdb9b0a in st_manager_get_egl_image_surface (st=0x555555b012a0, 
    eglimg=<optimized out>) at
../../../../src/mesa/state_tracker/st_manager.c:839
#3  0x00007fffefd92536 in st_egl_image_target_texture_2d (ctx=0x555555ad2670, 
    target=1443737584, texObj=0x55555627d3c0, texImage=0x55555627b1b0, 
    image_handle=0x5555560daff0)
    at ../../../../src/mesa/state_tracker/st_cb_eglimage.c:148
#4  0x00007fffefd2e013 in _mesa_EGLImageTargetTexture2DOES (target=3553, 
    image=0x5555560daff0) at ../../../../src/mesa/main/teximage.c:3451
#5  0x00007ffff136f99d in glamor_create_texture_from_image (
    screen=screen at entry=0x5555559d8800, image=image at entry=0x5555560daff0, 
    texture=texture at entry=0x7fffffffe284) at
../../../../glamor/glamor_egl.c:174

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141218/bb919740/attachment.html>


More information about the mesa-dev mailing list