SDL & Linux console error?!?

I can’t resolve this problem…
in Linux console my SDL app returns Segmentation Fault error
when i’m running X it works fine. Any ideas?
Where can I find more detailed info on how SDL uses console (kernel?) video
drivers. I’m using SDL 1.2.5, Red Hat 9, kernel 2.4.20, on a VIA EPIA 5000
motherboard with C3 VIA processor and Trident Cyber Blade videocard.

Also I set the SDL_VideoDriver variable to use the framebuffer and then the
application runs in a console but it runs very slowly and flickers (like
there is no backbuffer).