Page 2 of 2

Posted: Mon Jun 05, 2006 9:42 pm
by Holger
Zomis is exactly right.

If you started R'n'D from a GUI (Fvwm, KDE, Gnome, whatever), just open a terminal window (xterm, konsole, gnome-terminal, whatever), start "rocksndiamonds" and see what's printed into the terminal window! :-)

Cut and paste all that and post it here (or send it to me by mail)!

Posted: Tue Jun 06, 2006 1:36 pm
by Sascha
Holger wrote:Cut and paste all that and post it here (or send it to me by mail)!
Here's the output from the terminal:

Code: Select all

sascha@ubuntu:~/Desktop/rocksndiamonds-3.1.2$ ./rocksndiamonds
Gleitkomma-Ausnahme
sascha@ubuntu:~/Desktop/rocksndiamonds-3.1.2$
Gleitkomma-Ausnahme:

that's the description for the crash in German.

Posted: Tue Jun 06, 2006 6:02 pm
by Holger
> Gleitkomma-Ausnahme:

OK, so we have a Floating Point Exception here, which is usually caused by the attempt to divide by zero.

Looks like the bug I just fixed.

Could you send me your "graphicsinfo.conf" of that set, please? I would like to check this by myself. Best would be to just send me the whole level set with graphics sub-directory, so I can reproduce this bug.

Posted: Tue Jun 06, 2006 6:06 pm
by Sascha
Holger wrote:Could you send me your "graphicsinfo.conf" of that set, please? I would like to check this by myself. Best would be to just send me the whole level set with graphics sub-directory, so I can reproduce this bug.
Download it here
**********
What is a Gleitkomma-Ausnahme?

Posted: Tue Jun 06, 2006 7:01 pm
by Holger
> Download it here

Thanks!

The crash was caused by this line in your "graphicsinfo.conf":

Code: Select all

exit.closing.frames:                    0
Then this bug should be fixed now.

> What is a Gleitkomma-Ausnahme?

Just as I wrote:
> OK, so we have a Floating Point Exception here, which is usually caused
> by the attempt to divide by zero.

Posted: Wed Jun 07, 2006 12:18 pm
by Sascha
Ouuuh!!
Not possible!
You're right!
Now it works!
Fantastic, a little mistake with writing levelinfo.conf,
and the whole programm crashs! :lol:
thankyouthankyouthankyou!

Posted: Wed Jun 07, 2006 1:14 pm
by Zomis
Holger wrote:> Gleitkomma-Ausnahme:

OK, so we have a Floating Point Exception here, which is usually caused by the attempt to divide by zero.
Then why does it say "Gleitkomma-Ausnahme" instead of "Division by zero"?
Sascha wrote:Fantastic, a little mistake with writing levelinfo.conf,
and the whole programm crashs!
I think you mean graphicsinfo.conf here.

Posted: Fri Jun 09, 2006 10:20 pm
by Holger
> Then why does it say "Gleitkomma-Ausnahme" instead of "Division by
> zero"?

Probably this kind of exception summarizes all exceptions that have something to do with internal number formats or any attempt to do "illegal maths"... Anyway, it's just known as "Floating Point Exception" since some decades now (where "Gleitkomma-Ausnahme" is just the German translation if you have a German system), but in 99% of cases it's indeed just trying to divide by zero (so it would make sense to report a "Division by Zero Exception" instead for this case)... ;-)

Posted: Fri Jun 09, 2006 10:23 pm
by Daniel H.
Apparently German systems cause Rocks 'n' Diamonds to return different error messages than English systems would.

Posted: Sat Jun 10, 2006 12:25 am
by Holger
> Apparently German systems cause Rocks 'n' Diamonds to return
> different error messages than English systems would.

Yep, sort of; this is depending on the language settings in the shell, which prints an error message for the signal it has received from the crashing program...