FS#6509 - Frequent crash to desktop

Attached to Project: OpenTTD
Opened by Johan (Lejving) - Thursday, 15 September 2016, 18:17 GMT
Last edited by frosch (frosch) - Saturday, 11 March 2017, 23:02 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System Windows
Severity High
Priority Normal
Reported Version 1.6.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Hello. I get frequent crashes, sometimes I can play for long hours of time but at other times it's maximum of 10min. This time it was 3 crashes, here's the time stamps:


I've read the logs sometimes, and it seems to be a violation access error (Exception: C0000005) every time. Googling didn't turn up much that I could find, but what I've tried: Starting openttd with admin rights, tried changing resolutions, tried fullscreen on/off, tried vanilla graphics, tried both 32 and 64 bit versions, tried do fully reinstall two times (including deleting regfiles). It happens both when I play multiplayer and single player should be added too.

My system is windows 10, 64bit. I7 6700k, gtx 970, ssd, 16bit ram, it should handle openttd, other games is just fine. :)

Please help me to solve this bug! Here's attached crash files
This task depends upon

Closed by  frosch (frosch)
Saturday, 11 March 2017, 23:02 GMT
Reason for closing:  Bug in external library
Comment by frosch (frosch) - Friday, 16 September 2016, 17:59 GMT
It crashes in ICU when drawing the newspaper.

ICU cannot handle some fonts for unknown reasons. Given that it is the newspaper that triggers it, means that it is probably related to the large font.

Try changing your "large_font" in openttd.cfg.
Comment by Johan (Lejving) - Sunday, 18 September 2016, 15:22 GMT
Interesting. I changed it to "large_font = " so it gets the default value. I will report back if it crashes again. And for personal interest, how the heck did you figure that out? :)
Comment by frosch (frosch) - Sunday, 18 September 2016, 17:01 GMT
Crash.dmp tells that it crashes in ICU when drawing the newspaper.

This is not the first report, where ICU crashes with some specific font.
I am quite sure it is not even the first one where it is specific to the large font, and thus specific to the newspaper.
Comment by Johan (Lejving) - Sunday, 18 September 2016, 19:55 GMT
By the way, I pulled the font settings from here:

Might want to add a disclaimer or change it there! So far so good by the way, no crashes yet :)