Crash on End - app with canvas

Archives Forums/Linux Discussion/Crash on End - app with canvas

Brucey(Posted 2006) [#1]
(in gtk)
I sometimes get an app with a canvas seg-faulting when the app is Ended.
The last two max instructions are :
FreeGadget(canvas)
End

Unfortunately, Max catches the segv, and all you see is the handler message with the number 11.
However, commenting out the segv handler in appstub lets it blow up properly ;-)
where gdb can catch it like so :
#0  0x00fcc5e8 in radeonDestroyTexObj () from /usr/lib/dri/radeon_dri.so
#1  0x00fbcfb8 in driDestroyTextureObject () from /usr/lib/dri/radeon_dri.so
#2  0x00fcbe8a in radeonInitTextureFuncs () from /usr/lib/dri/radeon_dri.so
#3  0x00fefdfa in _mesa_Finish () from /usr/lib/dri/radeon_dri.so
#4  0x00ff0a36 in _mesa_free_context_data () from /usr/lib/dri/radeon_dri.so
#5  0x00ff0a64 in _mesa_destroy_context () from /usr/lib/dri/radeon_dri.so
#6  0x00fc14f9 in radeonDestroyContext () from /usr/lib/dri/radeon_dri.so
#7  0x00fbdfaf in __driUtilCreateNewScreen () from /usr/lib/dri/radeon_dri.so
#8  0x4365a20c in __glXFreeContext () from /usr/lib/libGL.so.1
#9  0x4365a2db in glXDestroyContext () from /usr/lib/libGL.so.1
#10 0x0806b43d in inflate_fast ()
#11 0x0806b4ec in inflate_fast ()
#12 0x41e50a06 in exit () from /lib/libc.so.6
...

It looks like either,
1) I'm not killing something that I should be under the hood
2) My graphics driver sux :-)

I should probably try the same under fltk and see if it nukes there too...

Any other ideas?