OpenTTD

Tasklist

FS#5466 - Crash after bootstrap download

Attached to Project: OpenTTD
Opened by Ingo von Borstel (planetmaker) - Friday, 08 February 2013, 12:32 GMT
Last edited by Remko Bijker (Rubidium) - Sunday, 17 February 2013, 20:37 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System Linux
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

r24978:

After startup OpenTTD complained (rightfully) that no base set whatsoever could be found. I allowed it to download it (it got zbase-r245 with 275MB... :-O ) and after successful download the attached crash occured without further user interaction.

It need be noted, that afterwards OpenTTD starts just fine when launched anew.
This task depends upon

Closed by  Remko Bijker (Rubidium)
Sunday, 17 February 2013, 20:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r25017
Comment by Remko Bijker (Rubidium) - Friday, 08 February 2013, 19:20 GMT
Can you reproduce it with the attached patch? If so, could you get a stack trace from GDB?
Comment by Phillip (Phillip) - Sunday, 10 February 2013, 05:58 GMT
zbase-r245 isn't updated with the changes like the backspace button and did you have OpenGFX?
Comment by Ingo von Borstel (planetmaker) - Tuesday, 12 February 2013, 13:35 GMT
That patch disables content download:
(gdb) run
Starting program: /home/ingo/ottd/trunk/bin/openttd
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffee08c700 (LWP 14486)]
[Thread 0x7fffee08c700 (LWP 14486) exited]
Error: Failed to find a graphics set. Please acquire a graphics set for OpenTTD. See section 4.1 of readme.txt.
[Inferior 1 (process 14483) exited with code 01]
Comment by Ingo von Borstel (planetmaker) - Friday, 15 February 2013, 11:12 GMT
Now... that's peculiar. After the default download was changed back to OpenGFX, OpenTTD starts fine also when using bootstrap (svn r25002).

I see no way to test that now or get a backtrace - as it worked before when not coming from bootstrap, but just starting with zBase-r245 present.
Comment by frosch (frosch) - Friday, 15 February 2013, 18:29 GMT
Maybe it is related to switching the blitter after the bootstrap GUI?
When bootstrap downloads a 32bpp set, it needs to switch the blitter afterwards.

Loading...