[2.0.72] Crash "Error ShootingTarget.cpp:12: Unset shooting target"

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
heyqule
Long Handed Inserter
Long Handed Inserter
Posts: 76
Joined: Sun Mar 05, 2017 1:35 am
Contact:

[2.0.72] Crash "Error ShootingTarget.cpp:12: Unset shooting target"

Post by heyqule »

What did you do?
Testing my mod on an island map.

What happened?
Factorio crashed. Generating symbolized stacktrace, please wait ...
C:\Users\build\AppData\Local\Temp\factorio-build-HhoaBW\src\Trigger\ShootingLogic.cpp(88): ProjectileShootingLogic::setShootingOrientation
C:\Users\build\AppData\Local\Temp\factorio-build-HhoaBW\src\Trigger\ShootingLogic.cpp(67): ProjectileShootingLogic::shootInternal
C:\Users\build\AppData\Local\Temp\factorio-build-HhoaBW\src\Trigger\ShootingLogic.cpp(267): ShootingLogic::shoot
C:\Users\build\AppData\Local\Temp\factorio-build-HhoaBW\src\Trigger\ShootingLogic.cpp(262): ShootingLogic::execute

What did you expect to happen instead? It might be obvious to you, but do it anyway!
Not to crash.

Does it happen always, once, or sometimes?
Sometimes. When it happens, it often happens within 5 minutes of running the save.
Attachments
IslandTest.zip
(3.56 MiB) Downloaded 16 times
factorio-current.log
(40.18 KiB) Downloaded 18 times
factorio-dump-current.dmp
(841.71 KiB) Downloaded 12 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 16341
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.72] Crash "Error ShootingTarget.cpp:12: Unset shooting target"

Post by Rseding91 »

Can you please provide a copy of the missing mods so I can try to reproduce this crash?
If you want to get ahold of me I'm almost always on Discord.
heyqule
Long Handed Inserter
Long Handed Inserter
Posts: 76
Joined: Sun Mar 05, 2017 1:35 am
Contact:

Re: [2.0.72] Crash "Error ShootingTarget.cpp:12: Unset shooting target"

Post by heyqule »

https://drive.google.com/drive/u/0/fold ... lYybJJBIY3

Here is the zip for the mods and the updated IslandTest save. I removed the air raid siren and bump game.speed to 10. All used mods from the zip are production release from portal at this point.

I downloaded a new 2.0.72 instance to try them. The new build crashed too.

I loaded the save and let it run under map view. But I don't think this matter since the error is on unit's code.

Here is the time it took to crash under the new IslandTest.

1. 2m:39s
2. 40s
3. 1m:44s
4. 2m:22s
5. 2m:24s

I noticed erm_unit_control in show_time would spike from 0.2ms average time to 5ms before the crash lol.

It's not a memory leak tho. Performance monitor for memory was at 15.4GB/32GB during the crash.
Post Reply

Return to “Pending”