Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Releases from version 1.10.1 no longer work on mid-2007 iMac #8194
Version of OpenTTD
The game can be played.
The game crashes on start.
Steps to reproduce
Try to run the game.
This issue is likely different from other crashes (#8066) that have been reported from 1.10.0 onwards, as this version (and all nightlies that I have tried between end of march and now) run fine on my machine.
After an extended debugging and reverse engineering session, I found that when crashing, the exception raised is: "EXC_BAD_INSTRUCTION".
The instruction being executed at that point is "PINSRQ", which is an SSE4 instruction and my processor only supports instructions up to SSE3.
Since it's such an old system (and I literally only took it off the shelf to investigate the other crash issue), I don't think this is a high priority issue. If other people also have this specific issue it could be worth looking into compiler flags to avoid SSE4.
I have tested a lot of nightlies: 31 March, 7, 8, 10, 12, 26 April. They all worked.
Also, if I build the source code on my mac for 1.10.1 or 1.10.2, it works fine. So it's probably something in the optimization done by the compiler on the build machine.