On Fedora 22 with Mesa 10.6.0 and the R600 driver, I am getting the following segfault all the time when trying to run the OpenGL area example from the gtk3-demo application. Feel free to contact me for any additional details. Program received signal SIGSEGV, Segmentation fault. 0x00007fffeb5895b7 in finalize_textures () from /usr/lib64/dri/r600_dri.so (gdb) backtrace #0 0x00007fffeb5895b7 in finalize_textures () at /usr/lib64/dri/r600_dri.so #1 0x00007fffeb5861c5 in st_validate_state () at /usr/lib64/dri/r600_dri.so #2 0x00007fffeb58b836 in st_BlitFramebuffer () at /usr/lib64/dri/r600_dri.so #3 0x00007fffeb456c32 in _mesa_BlitFramebuffer () at /usr/lib64/dri/r600_dri.so #4 0x0000003083e30378 in gdk_cairo_draw_from_gl () at /lib64/libgdk-3.so.0 #5 0x00000030835c6b34 in gtk_gl_area_draw () at /lib64/libgtk-3.so.0 #6 0x0000003083608e0a in _gtk_marshal_BOOLEAN__BOXEDv () at /lib64/libgtk-3.so.0 #7 0x000000308373e6dc in gtk_widget_draw_marshallerv () at /lib64/libgtk-3.so.0 #8 0x00000030b740fe52 in _g_closure_invoke_va () at /lib64/libgobject-2.0.so.0 #9 0x00000030b7429793 in g_signal_emit_valist () at /lib64/libgobject-2.0.so.0 #10 0x00000030b742a29f in g_signal_emit () at /lib64/libgobject-2.0.so.0 #11 0x000000308374cbd1 in _gtk_widget_draw_internal.part.104 () at /lib64/libgtk-3.so.0 #12 0x000000308374e703 in _gtk_widget_draw () at /lib64/libgtk-3.so.0 #13 0x00000030835566a9 in gtk_container_propagate_draw () at /lib64/libgtk-3.so.0 #14 0x00000030835567a2 in gtk_container_draw () at /lib64/libgtk-3.so.0 #15 0x0000003083510c42 in gtk_box_draw () at /lib64/libgtk-3.so.0 #16 0x0000003083608e0a in _gtk_marshal_BOOLEAN__BOXEDv () at /lib64/libgtk-3.so.0 ---Type <return> to continue, or q <return> to quit--- #17 0x000000308373e6dc in gtk_widget_draw_marshallerv () at /lib64/libgtk-3.so.0 #18 0x00000030b740fe52 in _g_closure_invoke_va () at /lib64/libgobject-2.0.so.0 #19 0x00000030b7429793 in g_signal_emit_valist () at /lib64/libgobject-2.0.so.0 #20 0x00000030b742a29f in g_signal_emit () at /lib64/libgobject-2.0.so.0 #21 0x000000308374cbd1 in _gtk_widget_draw_internal.part.104 () at /lib64/libgtk-3.so.0 #22 0x000000308374e703 in _gtk_widget_draw () at /lib64/libgtk-3.so.0 #23 0x00000030835566a9 in gtk_container_propagate_draw () at /lib64/libgtk-3.so.0 #24 0x00000030835567a2 in gtk_container_draw () at /lib64/libgtk-3.so.0 #25 0x000000308375928d in gtk_window_draw () at /lib64/libgtk-3.so.0 #26 0x0000003083608e0a in _gtk_marshal_BOOLEAN__BOXEDv () at /lib64/libgtk-3.so.0 #27 0x000000308373e6dc in gtk_widget_draw_marshallerv () at /lib64/libgtk-3.so.0 #28 0x00000030b740ff04 in _g_closure_invoke_va () at /lib64/libgobject-2.0.so.0 #29 0x00000030b7429793 in g_signal_emit_valist () at /lib64/libgobject-2.0.so.0 #30 0x00000030b742a29f in g_signal_emit () at /lib64/libgobject-2.0.so.0 #31 0x000000308374cbd1 in _gtk_widget_draw_internal.part.104 () at /lib64/libgtk-3.so.0 #32 0x000000308374e30f in _gtk_widget_draw_windows () at /lib64/libgtk-3.so.0 #33 0x000000308374e5c1 in _gtk_widget_draw () at /lib64/libgtk-3.so.0 ---Type <return> to continue, or q <return> to quit--- #34 0x000000308374e91b in gtk_widget_send_expose () at /lib64/libgtk-3.so.0 #35 0x0000003083607edc in gtk_main_do_event () at /lib64/libgtk-3.so.0 #36 0x0000003083e3a23f in _gdk_window_process_updates_recurse_helper () at /lib64/libgdk-3.so.0 #37 0x0000003083e3b2fc in gdk_window_process_updates_internal () at /lib64/libgdk-3.so.0 #38 0x0000003083e3b4b3 in gdk_window_process_updates_with_mode () at /lib64/libgdk-3.so.0 #39 0x00000030b740ff04 in _g_closure_invoke_va () at /lib64/libgobject-2.0.so.0 #40 0x00000030b7429c7d in g_signal_emit_valist () at /lib64/libgobject-2.0.so.0 #41 0x00000030b742a765 in g_signal_emit_by_name () at /lib64/libgobject-2.0.so.0 #42 0x0000003083e34627 in gdk_frame_clock_paint_idle () at /lib64/libgdk-3.so.0 #43 0x0000003083e23cb8 in gdk_threads_dispatch () at /lib64/libgdk-3.so.0 #44 0x00000030b6c4a4e3 in g_timeout_dispatch () at /lib64/libglib-2.0.so.0 #45 0x00000030b6c49a8a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0 #46 0x00000030b6c49e20 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0 #47 0x00000030b6c49ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0 #48 0x00000030b80a926c in g_application_run () at /lib64/libgio-2.0.so.0 #49 0x0000000000412ab8 in main ()
ctx->FragmentProgram._Current is NULL. #0 0x00007fffe509999d in finalize_textures (st=0xd21d70) at ../../../src/mesa/state_tracker/st_atom_texture.c:519 #1 0x00007fffe5095265 in st_validate_state (st=st@entry=0xd21d70) at ../../../src/mesa/state_tracker/st_atom.c:214 #2 0x00007fffe509c580 in st_BlitFramebuffer (ctx=0xcdfb40, readFB=0x1285450, drawFB=0xa8ecf0, srcX0=0, srcY0=0, srcX1=376, srcY1=413, dstX0=12, dstY0=175, dstX1=388, dstY1=588, mask=16384, filter=9728) at ../../../src/mesa/state_tracker/st_cb_blit.c:95 #3 0x00007fffe4e67a3e in _mesa_blit_framebuffer (func=0x7fffe5593dc8 "glBlitFramebuffer", filter=9728, mask=16384, dstY1=588, dstX1=388, dstY0=175, dstX0=12, srcY1=413, srcX1=376, srcY0=0, srcX0=0, drawFb=<optimized out>, readFb=<optimized out>, ctx=<optimized out>) at ../../../src/mesa/main/blit.c:525 #4 _mesa_BlitFramebuffer (srcX0=0, srcY0=0, srcX1=376, srcY1=413, dstX0=12, dstY0=175, dstX1=388, dstY1=588, mask=16384, filter=9728) at ../../../src/mesa/main/blit.c:553 #5 0x00007ffff7254352 in gdk_cairo_draw_from_gl () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
Proposed fix: http://patchwork.freedesktop.org/patch/52969/
The fix was pushed: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d082c5324914212f76e45be497229c7a0681f706 It should appear in the next point release of Mesa 10.6.
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.