You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't see this crash with a debug build (net 7.0), but release builds reliably crash with the following. I'm only seeing this with veldrid-based applications, and only with release build configurations.
Taking the debug veldrid library and dropping it into the release build also side-steps the problem. I can only see GTK and mesa in the backtrace, but the nature of replacing the veldrid library alone with the debug build version is what makes me file this ticket here.
Thread 1 "Variance.Gtk" received signal SIGSEGV, Segmentation fault.
_mesa_lookup_bufferobj () at ../mesa-23.1.5/src/mesa/main/bufferobj.c:1408
Downloading source file /usr/src/debug/mesa/build/../mesa-23.1.5/src/mesa/main/bufferobj.c
1408 return (struct gl_buffer_object *)
(gdb) bt
#0 _mesa_lookup_bufferobj () at ../mesa-23.1.5/src/mesa/main/bufferobj.c:1408
#1 0x00007fbe488a9f60 in _mesa_lookup_bufferobj () at ../mesa-23.1.5/src/mesa/main/bufferobj.c:1405
#2 _mesa_lookup_bufferobj_err () at ../mesa-23.1.5/src/mesa/main/bufferobj.c:1435
#3 _mesa_NamedBufferData () at ../mesa-23.1.5/src/mesa/main/bufferobj.c:2504
#4 0x00007fbe48712fa9 in _mesa_unmarshal_BufferData() () at ../mesa-23.1.5/src/mesa/main/glthread_bufferobj.c:355
#5 0x00007fbe4871adf2 in glthread_unmarshal_batch() () at ../mesa-23.1.5/src/mesa/main/glthread.c:139
#6 0x00007fbe48725d02 in _mesa_glthread_finish () at ../mesa-23.1.5/src/mesa/main/glthread.c:399
#7 _mesa_glthread_finish() () at ../mesa-23.1.5/src/mesa/main/glthread.c:364
#8 0x00007fbe486bc70f in dri_make_current () at ../mesa-23.1.5/src/gallium/frontends/dri/dri_context.c:303
#9 dri_make_current () at ../mesa-23.1.5/src/gallium/frontends/dri/dri_context.c:287
#10 driBindContext() () at ../mesa-23.1.5/src/gallium/frontends/dri/dri_util.c:701
#11 0x00007fbe6419296f in dri3_bind_context () at ../mesa-23.1.5/src/glx/dri3_glx.c:181
#12 0x00007fbe64184095 in MakeContextCurrent () at ../mesa-23.1.5/src/glx/glxcurrent.c:149
#13 0x00007fbe641edea2 in InternalMakeCurrentVendor
(dpy=dpy@entry=0x555555a11cb0, draw=draw@entry=83886108, read=read@entry=83886108, ctxInfo=ctxInfo@entry=0x555558af08b0, callerOpcode=callerOpcode@entry=26 '\032', threadState=threadState@entry=0x555557b23470, vendor=0x5555586ced10) at ../libglvnd-v1.6.0/src/GLX/libglx.c:873
#14 0x00007fbe641f4ce1 in CommonMakeCurrent (dpy=0x555555a11cb0, draw=83886108, read=83886108, context=0x5555587c9780, callerOpcode=<optimized out>) at ../libglvnd-v1.6.0/src/GLX/libglx.c:1053
#15 0x00007fbec86a1a2b in gdk_x11_display_make_gl_context_current (display=0x555555a27820, context=0x5555587c9740) at ../gtk/gdk/x11/gdkglcontext-x11.c:1329
#16 0x00007fbec864b2a5 in gdk_display_make_gl_context_current (context=0x5555587c9740, display=<optimized out>) at ../gtk/gdk/gdkdisplay.c:2423
#17 gdk_gl_context_make_current (context=0x5555587c9740) at ../gtk/gdk/gdkglcontext.c:892
#18 0x00007fbe80ba64fe in gtk_gl_area_make_current (area=area@entry=0x555555fe4d80) at ../gtk/gtk/gtkglarea.c:1450
#19 0x00007fbe80ba6b0e in gtk_gl_area_draw (widget=0x555555fe4d80, cr=0x55555860bf00) at ../gtk/gtk/gtkglarea.c:697
#20 0x00007fbe80d483ba in gtk_widget_draw_internal (widget=0x555555fe4d80, cr=0x55555860bf00, clip_to_size=<optimized out>) at ../gtk/gtk/gtkwidget.c:7084
#21 0x00007fbe80b0a465 in gtk_container_propagate_draw (container=container@entry=0x555555fe75a0, child=0x555555fe4d80, cr=cr@entry=0x55555860bf00) at ../gtk/gtk/gtkcontainer.c:3854
#22 0x00007fbe80b0a576 in gtk_container_draw (widget=0x555555fe75a0, cr=0x55555860bf00) at ../gtk/gtk/gtkcontainer.c:3674
#23 0x00007fbe80d483ba in gtk_widget_draw_internal (widget=0x555555fe75a0, cr=0x55555860bf00, clip_to_size=<optimized out>) at ../gtk/gtk/gtkwidget.c:7084
#24 0x00007fbe80b0a465 in gtk_container_propagate_draw (container=container@entry=0x555555fe8c10, child=0x555555fe75a0, cr=cr@entry=0x55555860bf00) at ../gtk/gtk/gtkcontainer.c:3854
#25 0x00007fbe80b0a576 in gtk_container_draw (widget=0x555555fe8c10, cr=0x55555860bf00) at ../gtk/gtk/gtkcontainer.c:3674
#26 0x00007fbe80b68c6f in gtk_event_box_draw (widget=0x555555fe8c10, cr=0x55555860bf00) at ../gtk/gtk/gtkeventbox.c:619
#27 0x00007fbe80d483ba in gtk_widget_draw_internal (widget=0x555555fe8c10, cr=0x55555860bf00, clip_to_size=<optimized out>) at ../gtk/gtk/gtkwidget.c:7084
#28 0x00007fbe80b0a465 in gtk_container_propagate_draw (container=<optimized out>, child=0x555555fe8c10, cr=0x55555860bf00) at ../gtk/gtk/gtkcontainer.c:3854
#29 0x00007fbe80c27971 in gtk_paned_render (gadget=<optimized out>, cr=0x55555860bf00, x=<optimized out>, y=<optimized out>, width=<optimized out>, height=<optimized out>, data=0x0) at ../gtk/gtk/gtkpaned.c:1832
#30 0x00007fbe80b0ad71 in gtk_css_custom_gadget_draw (gadget=<optimized out>, cr=<optimized out>, x=<optimized out>, y=<optimized out>, width=<optimized out>, height=<optimized out>)
at ../gtk/gtk/gtkcsscustomgadget.c:159
#31 0x00007fbe80b17bdc in gtk_css_gadget_draw (gadget=0x55555600d250, cr=0x55555860bf00) at ../gtk/gtk/gtkcssgadget.c:885
#32 0x00007fbe80c1f885 in gtk_paned_draw (widget=<optimized out>, cr=<optimized out>) at ../gtk/gtk/gtkpaned.c:1782
#33 0x00007fbe80d483ba in gtk_widget_draw_internal (widget=0x55555600cf30, cr=0x55555860bf00, clip_to_size=<optimized out>) at ../gtk/gtk/gtkwidget.c:7084
#34 0x00007fbe80b0a465 in gtk_container_propagate_draw (container=container@entry=0x555555a86f00, child=0x55555600cf30, cr=cr@entry=0x55555860bf00) at ../gtk/gtk/gtkcontainer.c:3854
#35 0x00007fbe80b0a576 in gtk_container_draw (widget=0x555555a86f00, cr=0x55555860bf00) at ../gtk/gtk/gtkcontainer.c:3674
#36 0x00007fbe80b68c6f in gtk_event_box_draw (widget=0x555555a86f00, cr=0x55555860bf00) at ../gtk/gtk/gtkeventbox.c:619
#37 0x00007fbe80d483ba in gtk_widget_draw_internal (widget=0x555555a86f00, cr=0x55555860bf00, clip_to_size=<optimized out>) at ../gtk/gtk/gtkwidget.c:7084
#38 0x00007fbe80b0a465 in gtk_container_propagate_draw (container=container@entry=0x555555fe6ef0, child=0x555555a86f00, cr=cr@entry=0x55555860bf00) at ../gtk/gtk/gtkcontainer.c:3854
#39 0x00007fbe80b0a576 in gtk_container_draw (widget=0x555555fe6ef0, cr=0x55555860bf00) at ../gtk/gtk/gtkcontainer.c:3674
#40 0x00007fbe80d483ba in gtk_widget_draw_internal (widget=0x555555fe6ef0, cr=0x55555860bf00, clip_to_size=<optimized out>) at ../gtk/gtk/gtkwidget.c:7084
#41 0x00007fbe80b0a465 in gtk_container_propagate_draw (container=container@entry=0x555555fe9ce0, child=0x555555fe6ef0, cr=cr@entry=0x55555860bf00) at ../gtk/gtk/gtkcontainer.c:3854
#42 0x00007fbe80b0a576 in gtk_container_draw (widget=0x555555fe9ce0, cr=0x55555860bf00) at ../gtk/gtk/gtkcontainer.c:3674
#43 0x00007fbe80b68c6f in gtk_event_box_draw (widget=0x555555fe9ce0, cr=0x55555860bf00) at ../gtk/gtk/gtkeventbox.c:619
#44 0x00007fbe80d483ba in gtk_widget_draw_internal (widget=0x555555fe9ce0, cr=0x55555860bf00, clip_to_size=<optimized out>) at ../gtk/gtk/gtkwidget.c:7084
#45 0x00007fbe80b0a465 in gtk_container_propagate_draw (container=<optimized out>, child=0x555555fe9ce0, cr=0x55555860bf00) at ../gtk/gtk/gtkcontainer.c:3854
#46 0x00007fbe80c27971 in gtk_paned_render (gadget=<optimized out>, cr=0x55555860bf00, x=<optimized out>, y=<optimized out>, width=<optimized out>, height=<optimized out>, data=0x0) at ../gtk/gtk/gtkpaned.c:1832
#47 0x00007fbe80b0ad71 in gtk_css_custom_gadget_draw (gadget=<optimized out>, cr=<optimized out>, x=<optimized out>, y=<optimized out>, width=<optimized out>, height=<optimized out>)
at ../gtk/gtk/gtkcsscustomgadget.c:159
#48 0x00007fbe80b17bdc in gtk_css_gadget_draw (gadget=0x555555a88a20, cr=0x55555860bf00) at ../gtk/gtk/gtkcssgadget.c:885
#49 0x00007fbe80c1f885 in gtk_paned_draw (widget=<optimized out>, cr=<optimized out>) at ../gtk/gtk/gtkpaned.c:1782
#50 0x00007fbe80d483ba in gtk_widget_draw_internal (widget=0x555555a87aa0, cr=0x55555860bf00, clip_to_size=<optimized out>) at ../gtk/gtk/gtkwidget.c:7084
#51 0x00007fbe80b0a465 in gtk_container_propagate_draw (container=container@entry=0x555555fe0800, child=0x555555a87aa0, cr=cr@entry=0x55555860bf00) at ../gtk/gtk/gtkcontainer.c:3854
#52 0x00007fbe80b0a576 in gtk_container_draw (widget=0x555555fe0800, cr=0x55555860bf00) at ../gtk/gtk/gtkcontainer.c:3674
#53 0x00007fbe80b68c6f in gtk_event_box_draw (widget=0x555555fe0800, cr=0x55555860bf00) at ../gtk/gtk/gtkeventbox.c:619
#54 0x00007fbe80d483ba in gtk_widget_draw_internal (widget=0x555555fe0800, cr=0x55555860bf00, clip_to_size=<optimized out>) at ../gtk/gtk/gtkwidget.c:7084
#55 0x00007fbe80b0a465 in gtk_container_propagate_draw (container=container@entry=0x555555fe9920, child=0x555555fe0800, cr=cr@entry=0x55555860bf00) at ../gtk/gtk/gtkcontainer.c:3854
#56 0x00007fbe80b0a576 in gtk_container_draw (widget=0x555555fe9920, cr=0x55555860bf00) at ../gtk/gtk/gtkcontainer.c:3674
#57 0x00007fbe80d483ba in gtk_widget_draw_internal (widget=0x555555fe9920, cr=0x55555860bf00, clip_to_size=<optimized out>) at ../gtk/gtk/gtkwidget.c:7084
#58 0x00007fbe80b0a465 in gtk_container_propagate_draw (container=container@entry=0x555555feb680, child=0x555555fe9920, cr=cr@entry=0x55555860bf00) at ../gtk/gtk/gtkcontainer.c:3854
#59 0x00007fbe80b0a576 in gtk_container_draw (widget=0x555555feb680, cr=0x55555860bf00) at ../gtk/gtk/gtkcontainer.c:3674
#60 0x00007fbe80b68c6f in gtk_event_box_draw (widget=0x555555feb680, cr=0x55555860bf00) at ../gtk/gtk/gtkeventbox.c:619
#61 0x00007fbe80d483ba in gtk_widget_draw_internal (widget=0x555555feb680, cr=0x55555860bf00, clip_to_size=<optimized out>) at ../gtk/gtk/gtkwidget.c:7084
The text was updated successfully, but these errors were encountered:
I don't see this crash with a debug build (net 7.0), but release builds reliably crash with the following. I'm only seeing this with veldrid-based applications, and only with release build configurations.
Taking the debug veldrid library and dropping it into the release build also side-steps the problem. I can only see GTK and mesa in the backtrace, but the nature of replacing the veldrid library alone with the debug build version is what makes me file this ticket here.
The text was updated successfully, but these errors were encountered: