[Genhis][2.0.16] Crash when typing train stop name using color tags (TextRenderer::cleanupRichTextString)

This subforum contains all the issues which we already resolved.
Aonova
Long Handed Inserter
Long Handed Inserter
Posts: 69
Joined: Sun May 15, 2016 4:10 am
Contact:

[Genhis][2.0.16] Crash when typing train stop name using color tags (TextRenderer::cleanupRichTextString)

Post by Aonova »

The game crashed when I was changing the name of a train stop.

I used bracket color tags around the white "down arrow" symbol just to see if it would do anything. It did not fill in any color, but the brackets disappeared properly. I tried to backspace the symbol and the game crashed.

Not sure if its save file dependent.
Attachments
factorio-dump-current.dmp
(1.06 MiB) Downloaded 13 times
factorio-current.log
(17.23 KiB) Downloaded 18 times
Aonova
Long Handed Inserter
Long Handed Inserter
Posts: 69
Joined: Sun May 15, 2016 4:10 am
Contact:

Re: [2.0.16] Crash when typing train stop name using color tags

Post by Aonova »

I was able to reproduce the crash:

1) Make train station with color tagged first word
2) Use color tags for symbol (I used "\[color=red\] <down arrow symbol> \[/color\]")
3) Repeatedly press backspace / ctrl backspace until crash
{31CC2D71-D219-4693-AF51-71103C0EF886}.png
{31CC2D71-D219-4693-AF51-71103C0EF886}.png (225.4 KiB) Viewed 388 times
Aonova
Long Handed Inserter
Long Handed Inserter
Posts: 69
Joined: Sun May 15, 2016 4:10 am
Contact:

Re: [2.0.16] Crash when typing train stop name using color tags

Post by Aonova »

I'm not able to reproduce this on a new save though for some reason, and it only happens once every couple attempts when I retype that same "Defense Outpost" name deliberately.

I will attach my save file just in case.

Open the nearby train station and edit the outpost name to add the color tags and repeatedly backspace to reproduce the crash.
Attachments
_autosave2.zip
(13.79 MiB) Downloaded 15 times
Genhis
Factorio Staff
Factorio Staff
Posts: 749
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: [Genhis][2.0.16] Crash when typing train stop name using color tags (TextRenderer::cleanupRichTextString)

Post by Genhis »

Thanks for the reproduction steps and for the attached save file. The issue is fixed for 2.0.34.
Post Reply

Return to “Resolved Problems and Bugs”