[gtkada] crash when displaying opengl area

jim hopper hopperj at macconnect.com
Thu Nov 20 00:02:02 CET 2003


i have a program using GtkAda 2.2.0 that runs fine on Mac OS X, but 
when i build it on Linux (Red Hat 9.0) i get a crash when i do a show 
all of the window which contains a glarea.  if i take out the glarea 
window works fine.  the message i get in gdb is on the end.  if i just 
run the app i get a message that it crashed because of a stack 
overflow.  Mac version is built with static version of gtkada, and gcc 
3.2.  Linux version uses shared libraries and is gcc 3.3 ( i did have 
to compile a file without -O2 to get it to build, but that is in 
testgtk which runs fine.  i modeled mine on testgtk which gl works, so 
i cant see what is different between them.

i looked thorough the archive for opengl problems but didnt see 
anything that applied.  Can anyone suggest something i might be doing 
wrong?

thanks jim


Program received signal SIGFPE, Arithmetic exception.
0x4246f0e7 in _mesa_test_os_sse_exception_support ()
    from /usr/X11R6/lib/modules/dri/mga_dri.so




More information about the gtkada mailing list