[SDL] SDL Crash

Timo K Suoranta tksuoran at cc.helsinki.fi
Thu Apr 26 10:33:38 PDT 2001


> I'm doing some OpenGL work with SDL and when run "in the wild" upon exiting
> my program (SDL_Quit()) is called...

It is possible that the accelerated OpenGL video driver
is buggy. At least for me, Matrox G400 here at uni
manages to crash the whole machine to no-response-to-anything
-state if I actively flip virtual desktops of fvwm2.

I also run into a rather nasty problem. My program
compiled and linked nicely, but middle of startup
(display was already set up and drawn few frames)
I got an error:

BUG IN DYNAMIC LINKER ld.so: dl-runtime.c: 67: fixup: Assertion
`((reloc->r_info) & 0xff) == 7' failed!

I was able to repeat this with and without hardware
acceleration. I guess the bug in the driver messed
up badly some things. The next day (machine probably
was booted) it worked again.

(I did try distclean & configure, it wasn't because
of broken files in there)

I have also been able to produce effect of being
kicked out of X right back to login without any
messages. My conclusion is that I can not trust
linux video drivers any more than Windows drivers;
they are all evil :D

So first try and see if your program works fine
when using sotware only rendering. If this is the
case, the problem is in video driver, and not your
program.


-- Timo Suoranta -- tksuoran at cc.helsinki.fi --





More information about the SDL mailing list