Hard crash when deleting warehouse units connected to a now-deleted firm
Posted: Sun Sep 12, 2021 10:02 pm
There is a circumstantial but reproducible hard crash I have ran into when managing my warehouses. When attempting to replace (ie quickly reset) Input units of a warehouse floor that already has previously used input units connected to a now-deleted firm, the game will produce a hard crash when clicking Ok to replace the units with the template. There is no exception popup and it happens even if I unpause the game and give it time to recognize the broken supply chain before I touch the warehouse units. Upon clicking Ok the game also produces a brief but loud fragment of it's gong-like alarm sound before it crashes, as if it was trying to give me multiple warnings at the same moment.
In order to reproduce this in the attached save you can take my "EXT 1 WAR Allp Cleaner" Warehouse firm as a basis. Each of its floors are supplied by a separate factory, "EXT 1/2/3 FAC Allp Cleaner". If you demolish one of these factories -> go to the warehouse floor that was supplied by it -> open the layout plan library and reapply a custom layout (which is the same as the active one) then you should run into the crash when confirming the replacement. This happens in all similar setups, does not seem to be limited to a specific firm.
https://store7.gofile.io/download/afa88 ... HIT_009.7z
This is running the latest ModWorld release as well as the unlimited natural resources script.
Windows also logged the event below:
In order to reproduce this in the attached save you can take my "EXT 1 WAR Allp Cleaner" Warehouse firm as a basis. Each of its floors are supplied by a separate factory, "EXT 1/2/3 FAC Allp Cleaner". If you demolish one of these factories -> go to the warehouse floor that was supplied by it -> open the layout plan library and reapply a custom layout (which is the same as the active one) then you should run into the crash when confirming the replacement. This happens in all similar setups, does not seem to be limited to a specific firm.
https://store7.gofile.io/download/afa88 ... HIT_009.7z
This is running the latest ModWorld release as well as the unlimited natural resources script.
Windows also logged the event below:
Code: Select all
Fault bucket 1459145781749313224, type 1
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: CapMain.exe
P2: 0.0.0.0
P3: 6139e22b
P4: CapMain.exe
P5: 0.0.0.0
P6: 6139e22b
P7: c0000005
P8: 0020169a
P9:
P10:
Attached files:
\\?\J:\ProgramData\Microsoft\Windows\WER\Temp\WER491C.tmp.WERInternalMetadata.xml
These files may be available here:
J:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_CapMain.exe_21c99c3c0dc1124ac2123d16b1ed17131ede426_a5b57192_2b604cc5
Analysis symbol:
Rechecking for solution: 0
Report Id: 71ff3682-5340-4108-8aca-39d141145aec
Report Status: 0
Hashed bucket: 58bab7184e4d81dff43fed5b8cad6ec8