[Klonan] [1.1.75] Crash on trying to set vehicle ammo slot filter

This subforum contains all the issues which we already resolved.
User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2529
Joined: Fri Nov 06, 2015 7:41 pm

[Klonan] [1.1.75] Crash on trying to set vehicle ammo slot filter

Post by Deadlock989 »

Originally discovered in a modded game, can reproduce in a vanilla game with no mods installed.

To reproduce, middle click on a car's or tank's ammo slots.

Code: Select all

  36.238 Error CrashHandler.cpp:635: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\tmp\factorio-build-3nivav\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\tmp\factorio-build-3nivav\src\util\logger.cpp (316): Logger::writeStacktrace
c:\tmp\factorio-build-3nivav\src\util\logger.cpp (323): Logger::logStacktrace
c:\tmp\factorio-build-3nivav\src\util\crashhandler.cpp (186): CrashHandler::writeStackTrace
c:\tmp\factorio-build-3nivav\src\util\crashhandler.cpp (644): CrashHandler::SignalHandler
minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp (219): _seh_filter_exe
d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl (304): `__scrt_common_main_seh'::`1'::filt$0
d:\agent\_work\2\s\src\vctools\crt\vcruntime\src\eh\riscchandler.cpp (290): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAEADF241F)
00007FFAEADF241F (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAEADA14A4)
00007FFAEADA14A4 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAEADF0F4E)
00007FFAEADF0F4E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\tmp\factorio-build-3nivav\src\item\gunprototype.cpp (19): GunPrototype::acceptsAmmo
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\functional (16707566): std::_Func_impl_no_alloc<<lambda_2b9c9c6d69266b1a7a5ce6677079ff73>,bool,ItemPrototype const &>::_Do_call
c:\tmp\factorio-build-3nivav\src\id\prototypelist.hpp (157): PrototypeListIterator<ItemPrototype>::moveToNext
c:\tmp\factorio-build-3nivav\src\id\prototypelist.hpp (141): PrototypeListIterator<ItemPrototype>::PrototypeListIterator<ItemPrototype>
c:\tmp\factorio-build-3nivav\src\gameview.cpp (1289): GameView::openFilterSelection
c:\tmp\factorio-build-3nivav\src\input\inputhandlerallegro.cpp (3271): InputHandlerAllegro::processGenericInventorySlot
c:\tmp\factorio-build-3nivav\src\input\inputhandlerallegro.cpp (575): InputHandlerAllegro::processGuiAction
c:\tmp\factorio-build-3nivav\src\input\guiactionhandler.cpp (30): QueuedGuiActionHandler::processGuiActions
c:\tmp\factorio-build-3nivav\src\mainloop.cpp (992): MainLoop::processEvent
c:\tmp\factorio-build-3nivav\src\mainloop.cpp (741): MainLoop::processAllegroEvents
c:\tmp\factorio-build-3nivav\src\mainloop.cpp (577): MainLoop::prePrepare
c:\tmp\factorio-build-3nivav\src\mainloop.cpp (654): MainLoop::mainLoopStep
c:\tmp\factorio-build-3nivav\src\mainloop.cpp (394): MainLoop::run
c:\tmp\factorio-build-3nivav\src\main.cpp (1151): wmain
d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl (288): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAE8E27614)
00007FFAE8E27614 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAEADA26A1)
00007FFAEADA26A1 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  39.063 Error CrashHandler.cpp:191: Map tick at moment of crash: 825
  39.135 Info CrashHandler.cpp:311: Executable CRC: 2719593235
  39.135 Error Util.cpp:97: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
  42.347 Uploading log file
  42.396 Error CrashHandler.cpp:262: Heap validation: success.
  42.397 Creating crash dump.
  42.550 CrashDump success
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5304
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [Klonan] [1.1.75] Crash on trying to set vehicle ammo slot filter

Post by Klonan »

Oof... one of those nice bugs that doesn't crash in 'debug' but does in 'release'...

Thanks for the report,

Its fixed for the next release
Post Reply

Return to “Resolved Problems and Bugs”