I have had a crashing problem with a very simple event. I have reduced the code involved to something very small:
Code:
FLAG event always
KEYS unstablestar5
STAR 0
NOFL binary1 binary2 blhole
STRN Omni
FLAG nearby
END STAR
CONDITION 0
TYPE explore
STR0 0
END CONDITION
PAGE 0
REQ0 0
DISP 1
ACTN popup
GFXP misc/nova.jpg
MUSC misc/nova_loop.ogg
TITL Alien Probe
TEXT Your crew encounters an alien probe of unknown origin which asks you a number of questions related to mathematics and science, but it says it will self-destruct if it does not recieve the answers within 24 hours!<BR><BR>Do you transmit the data?
YSNO 1 2
END PAGE
PAGE 1
NOVA 0 5 5 exo_neutron devastated
ACTN endquest
END PAGE
PAGE 2
ACTN endquest
END PAGE
Try it. Answer "no", it goes to the planet. Answer "yes", it crashes to the desktop. The stderr.txt just says "Fatal signal: Segmentation Fault (SDL Parachute Deployed)".
Remove only the GFXP line and the desktop crash remains.
Remove only the MUSC line and the desktop crash remains.
Remove both lines, and the problem disappears.
Move the GFXP line BEFORE the YSNO line, and it doesn't crash anymore. But the image is placed on top of the text!
I've gone through approx 40 combinations trying to get this to work. I'm at my wit's end.
HALP!