FS#5513 - Dedicated Linux OpenTTD 1.2.3 crash

Attached to Project: OpenTTD
Opened by TaKeN (TaKeN) - Tuesday, 26 March 2013, 20:57 GMT
Last edited by frosch (frosch) - Sunday, 23 June 2013, 10:21 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System Linux
Severity Critical
Priority Normal
Reported Version 1.2.3
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


Today again one of my dedicated servers crash
I put both crash.log and crash.sav to attach.

This task depends upon

Closed by  frosch (frosch)
Sunday, 23 June 2013, 10:21 GMT
Reason for closing:  Unreproducible
Additional comments about closing:  likely due to gcc 4.5
Comment by frosch (frosch) - Wednesday, 27 March 2013, 19:22 GMT
We just noticed that you compiled using GCC 4.5.

To our knowledge GCC 4.5 has a serious optimizer bug which usually causes OTTD to already crash on start-up (and is likely break many validation checks in the network code). Did you work around this obvious crash in some way? Or disabled optimisations? Or did you get the source code from some other location than which might have worked around the start-up problem?
Comment by TaKeN (TaKeN) - Wednesday, 27 March 2013, 19:28 GMT
Thanks for fast answer.
I got 3 servers and only this one crash - i always download source from OpenTTD webpage.
He never crash i see i compile this 11.01.2013 so that was first crash in 3 month....
I can compile with gcc version 4.6.3 - that`s help ?


Comment by frosch (frosch) - Wednesday, 27 March 2013, 19:52 GMT
Yes, please try 4.6.

It crashed in the same place as in your previous report, and we had no other similar reports.
Though I wonder why your OTTD does not crash on start-up :p

For reference:
Comment by TaKeN (TaKeN) - Wednesday, 27 March 2013, 19:54 GMT
Hehhe Openttd start with no problem and working for last 3 month ;-)
I wait for OpenTTD 1.3.0 stable and i compile with 4.6 :)
Thanks for help
Comment by TaKeN (TaKeN) - Thursday, 28 March 2013, 06:39 GMT
This is impossible i today wake up and i see one of my server not start like You say...
I just compile OpenTTD 1.2.3 with GCC 4.6.3 hope that`s help.