[kovarex] [1.1.35] Crash agui::Widget::applySizeRestrictionsInternalWithoutTriggerResize

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5074
Joined: Tue Jul 12, 2016 9:03 am
Contact:

[kovarex] [1.1.35] Crash agui::Widget::applySizeRestrictionsInternalWithoutTriggerResize

Post by eradicator »

Possibly similar to this three year old report?
(Is this what Uncle Bob was talking about when he said "if you copy code around then fixes aren't always applied to all copies" ;)?)

Reproduction:
  1. Install attached mod + mod-settings.dat (renamed because forum doesn't allow .dat files)
  2. Also grab my library from the portal.
  3. Go to Settings -> Mod settings
  4. Press the red settings-reset-button.
  5. Crash.
Happend after I changed the default value for the two to-be-reset mod settings from 25 to "100/3" (double-setting), after having manually set it to 50 inbetween.
Attachments
factorio-dump-current.dmp
(549.52 KiB) Downloaded 26 times
factorio-current.log
(16.5 KiB) Downloaded 26 times
mod-settings.dat.txt
(10.36 KiB) Downloaded 27 times
eradicators-vram-saver_0.1.2.zip
(14.78 KiB) Downloaded 11 times
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

kovarex
Factorio Staff
Factorio Staff
Posts: 8041
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] [1.1.35] Crash agui::Widget::applySizeRestrictionsInternalWithoutTriggerResize

Post by kovarex »

Hello, thanks for the report.

The crash is related to the fact, that we just show 33.3333 for value that is actualy 33.3333333333333, and the logic of identifying non-default values got confused by that.

It is fixed for the next release now.

Post Reply

Return to “Resolved Problems and Bugs”