[Bug 107520] Segmentation fault in Gnome Shell when resuming from blank screen

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 7 20:58:42 UTC 2018


            Bug ID: 107520
           Summary: Segmentation fault in Gnome Shell when resuming from
                    blank screen
           Product: Mesa
           Version: 18.1
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: pbasista at gmail.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

Created attachment 141004
  --> https://bugs.freedesktop.org/attachment.cgi?id=141004&action=edit
full backtrace of gnome-shell crashing on SIGSEGV in image_get_buffers

When resuming from blank screen in Gnome Shell (can be configured in
Settings->Power), Gnome Shell process sometimes (around 40% to 50% of cases in
my experience) crashes on segmentation fault. The backtraces vary slightly, but
mostly they point to intel_update_image_buffers function in the
src/mesa/drivers/dri/i965/brw_context.c file.

There is a related bug report on Gnome Bugzilla:


One person suggested that a crash inside mesa should never happen, so I am
reporting it here as well.

One of the backtraces that I have starts like this:

Core was generated by `/usr/bin/gnome-shell'.
Program terminated with signal SIGSEGV, Segmentation fault.

#0  0x00007f74143eed33 in image_get_buffers (driDrawable=0x56353e8ca4d0,
format=4098, stamp=0x56353e8ca500, loaderPrivate=0x56353e8d4510, buffer_mask=1,
    at ../../../src/gbm/backends/dri/gbm_dri.c:132
#1  0x00007f7405c29741 in intel_update_image_buffers (drawable=0x56353e8ca4d0,
brw=0x56353e7a9980) at
#2  intel_update_renderbuffers (context=context at entry=0x56353e7c82d0,
drawable=drawable at entry=0x56353e8ca4d0) at
#3  0x00007f7405c29dc1 in intel_prepare_render (brw=brw at entry=0x56353e7a9980)
at ../../../../../../src/mesa/drivers/dri/i965/brw_context.c:1448
#4  0x00007f7405c2c012 in brw_prepare_drawing (max_index=4294967295,
min_index=0, index_bounds_valid=<optimized out>, ib=0x7ffd94a28430,
arrays=<optimized out>, ctx=0x56353e7a9980)
    at ../../../../../../src/mesa/drivers/dri/i965/brw_draw.c:730
#5  brw_draw_prims (ctx=0x56353e7a9980, prims=0x7ffd94a28450, nr_prims=1,
ib=0x7ffd94a28430, index_bounds_valid=<optimized out>, min_index=<optimized
out>, max_index=<optimized out>, 
    gl_xfb_obj=0x0, stream=0, indirect=0x0) at
#6  0x00007f74059c1b59 in vbo_validated_drawrangeelements (ctx=<optimized out>,
mode=<optimized out>, index_bounds_valid=<optimized out>, start=0,
end=<optimized out>, 
    count=<optimized out>, type=5123, indices=0x0, basevertex=0,
numInstances=1, baseInstance=0) at ../../../src/mesa/vbo/vbo_exec_array.c:843
#7  0x00007f74059c252e in vbo_exec_DrawElements (mode=4, count=1302, type=5123,
indices=0x0) at ../../../src/mesa/vbo/vbo_exec_array.c:1001

The full version is attached.

You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180807/1385dc9d/attachment-0001.html>

More information about the intel-3d-bugs mailing list