FS#11524 - Simulator crashes on startup
Opened by Michael Chicoine (mc2739) - Saturday, 07 August 2010, 23:29 GMT
Last edited by Jonathan Gordon (jdgordon) - Monday, 16 August 2010, 12:53 GMT
The simulator will crash on start when it loads a theme which contains an SBS that has a comment line prior to the %Vi line and additional viewport definitions after the %Vi line. The same theme loaded after the simulator has successfully started does not cause a crash and operates properly.
This failure started with r27665. A simulator built with r27664 does not crash.
Tested on e200 v1/v2 linux/win32 simulators. The linux version spits out a bunch of "SDL_WaitEvent() error" messages and then gets a Segmentation fault. The windows version just shuts down the window. If run with --debugwps, in each case the "Loading '/.rockbox/wps/foo.sbs'" message is displayed before the crash. The similar messages for
the WPS and FMS are not displayed.
This simple SBS will cause the crash:
Substituting the %V with %Vd/%Vl as below will also cause the same crash:
Removing the comment line in each case will allow the simulator to start properly.
Monday, 16 August 2010, 12:53 GMT
Reason for closing: Fixed
Additional comments about closing: r27829