Page 1 of 1

Segfault while loading a game

Posted: 01 Mar 2007 17:14
by iNVERTED
DaleStan might remember my random off-topic "useless bug report", but anyway, I've investigated it further using the stable version 0.5.0, and it turns out it is this GRF file that causes the problem (attached). The GRF file must be loaded before loading the game from the main menu. Loading the GRF file and then applying changes while already in a game will not cause the crash. So far, it's happened for every savegame I've tried.

[move to Problems if appropriate]

Posted: 01 Mar 2007 18:41
by Rubidium
Fixed in r8955, so you should be able to play the games with the next nightly.

For 0.5.0 the workaround would be to set the GRF info and GRF name using action 8 in the GRF itself.

Posted: 01 Mar 2007 19:19
by DaleStan
Huh? That grf already has an action 8.

Posted: 01 Mar 2007 20:20
by Rubidium
Dalestan, is my understanding of GRFs correct when I say that the GRF is not according to specifications?
This as the description does not have a 00 termination.

Posted: 01 Mar 2007 20:34
by DaleStan
It's not correct, true, but it is present, and (for better or for worse) accepted by the reference implementation.