SDL freezes on a computer

I don?t know how to post this, but whats happening is that my SDL program
freezes on this machine at my workspace. The same binary runs on my machine
and some of my friend?s machines that tried it. But just don?t work here.
the windows opens and then windows says the program is not working.

This started to happen when I upgraded to SDL 1.2.11

Can you help me with that? I mean, not just making it work at this computer
in particular but helping to diagnose if there is a problem with this
machine or with my program or with SDL at all.

Maybe this is a stupid question, sorry if it is the case, but I just don?t
know where to start to solve this, and than I though of asking it here.

Hello Romulo,

Wednesday, September 20, 2006, 9:46:21 PM, you wrote:

I don?t know how to post this, but whats happening is that my SDL program
freezes on this machine at my workspace. The same binary runs on my machine
and some of my friend?s machines that tried it. But just don?t work here.
the windows opens and then windows says the program is not working.

This started to happen when I upgraded to SDL 1.2.11

Can you help me with that? I mean, not just making it work at this computer
in particular but helping to diagnose if there is a problem with this
machine or with my program or with SDL at all.

Maybe this is a stupid question, sorry if it is the case, but I just don?t
know where to start to solve this, and than I though of asking it here.

Add some printf()'s (or fprintf()'s to a log file) and see how far
your program is getting on that machine.

It might simply be a dodgy display driver on that machine, which
wouldn’t be a big surprise on a “work” machine.–
Best regards,
Peter mailto:@Peter_Mulholland

Yeah I?ll try it tomorrow at work.
It happens on a friend machine too.
Could it have something with code::blocks on those machines?

Hello !

Yeah I?ll try it tomorrow at work.
It happens on a friend machine too.
Could it have something with code::blocks on those machines?

What is code::blocks ?

Sprinkle your code with printf with DEBUG statements.
If your programm always freezes, it should be possible
to debug it. Debugging crashes that only sometimes happen
is a lot harder.

CU

www.codeblocks.org

Alessandro Rasulo
Emthesis Development s.n.c.
www.emthesis.com | @Alessandro_Rasulo_Em

Get Firefox! Get Thunderbird! Use OpenOffice.org My status

Torsten Giebl ha scritto:

Hello !

Yeah IAZll try it tomorrow at work.
It happens on a friend machine too.
Could it have something with code::blocks on those machines?

What is code::blocks ?

Sprinkle your code with printf with DEBUG statements.
If your programm always freezes, it should be possible
to debug it. Debugging crashes that only sometimes happen
is a lot harder.

CU_______________________________________________
SDL mailing list
SDL@libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Hm, I might be kinda “out of topic” too, but the same app in my Windows OS
works wonderfully, while in Linux it seems to hog the CPU so much that I
can’t even go back to terminal for killing it. Ubuntu 6.06 LTS Dapper Drake,
with the repository’s nVIDIA drivers (I dunno how to install the nVIDIA
official ones as it always ends up messing the nVIDIA kernel and X doesn’t
start), aaaand I’ll have to check what SDL version do I have :P.

  • same app = my Star Solarian project, not Romulo’s app, just to clarify.On 9/21/06, DARKGuy . <@DARKGuy> wrote:

Hm, I might be kinda “out of topic” too, but the same app in my Windows OS
works wonderfully, while in Linux it seems to hog the CPU so much that I
can’t even go back to terminal for killing it. Ubuntu 6.06 LTS Dapper
Drake, with the repository’s nVIDIA drivers (I dunno how to install the
nVIDIA official ones as it always ends up messing the nVIDIA kernel and X
doesn’t start), aaaand I’ll have to check what SDL version do I have :P.