[0.17.16] Exception + Crash immediately after Loading this Save

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
Trylobot
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Mar 07, 2019 7:32 pm
Contact:

[0.17.16] Exception + Crash immediately after Loading this Save

Post by Trylobot »

It's something to do with the Locomotive near Trylobot's position, I think. I have a few mods active, but they've been working and stable since 0.17.1, so I don't think it's a mod.

Save file was too large to attach, here's a link: https://drive.google.com/open?id=1ykcKE ... t7vRKB0B74
Attachments
factorio-dump-current.dmp
(815.78 KiB) Downloaded 113 times
factorio-current.log
(11.62 KiB) Downloaded 121 times

User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: [0.17.16] Exception + Crash immediately after Loading this Save

Post by TruePikachu »

Code: Select all

 605.319 Error CrashHandler.cpp:409: Exception Code: e06d7363, Address: 0x00007ff981fb9149
ModuleBase: 0x00007ff75c3b0000, ImageSize: 01624000, RelativeAddress: 25c09149
 605.319 Error CrashHandler.cpp:429: Exception Context:
rax=00000045251d6a78, rbx=00007ff75d855120, rcx=0000000000000001,
rdx=00007ff75cf8251a, rsi=0000000000000000, rdi=00000045251d70d0,
rip=00007ff981fb9149, rsp=00000045251d6f60, rbp=00000045251d70a0,
 r8=00000045251d6a78,  r9=0000000000000000, r10=00000045251d6a98,
r11=00000045251d68d9, r12=0000000000000000, r13=00000183039d8900,
r14=0000018330d06d60, r15=00000045251d7510
 605.319 Crashed in C:\Windows\System32\KERNELBASE.dll (0x00007ff981f80000 - 0x00007ff982213000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-cuunb3\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-cuunb3\src\util\logger.cpp (376): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-cuunb3\src\util\logger.cpp (527): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-cuunb3\src\util\crashhandler.cpp (170): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-cuunb3\src\util\crashhandler.cpp (456): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF98200669C)
00007FF98200669C (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9853F80CB)
00007FF9853F80CB (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9853DFD36)
00007FF9853DFD36 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9853F468F)
00007FF9853F468F (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF985354BEF)
00007FF985354BEF (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9853589E6)
00007FF9853589E6 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF981FB9149)
00007FF981FB9149 (KERNELBASE): (filename not available): RaiseException
f:\dd\vctools\crt\vcruntime\src\eh\throw.cpp (133): _CxxThrowException
c:\cygwin64\tmp\factorio-build-cuunb3\src\util\crashhandler.cpp (509): CrashHandler::NewHandler
minkernel\crts\ucrt\src\appcrt\heap\new_handler.cpp (79): _callnewh
f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (40): operator new
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\xmemory0 (184): std::_Allocate<16,std::_Default_allocate_traits,0>
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\xstring (2131): std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string<char,std::char_traits<char>,std::allocator<char> >
c:\cygwin64\tmp\factorio-build-cuunb3\src\util\description.cpp (147): Description::addProperty
c:\cygwin64\tmp\factorio-build-cuunb3\src\rail\train.cpp (614): Train::addToDescription
c:\cygwin64\tmp\factorio-build-cuunb3\src\entity\locomotive.cpp (177): Locomotive::addToDescription
c:\cygwin64\tmp\factorio-build-cuunb3\src\gui\entityinfo.cpp (53): EntityInfo::changeEntity
c:\cygwin64\tmp\factorio-build-cuunb3\src\graphics\selectedinforenderer.cpp (82): SelectedInfoRenderer::update
c:\cygwin64\tmp\factorio-build-cuunb3\src\gameview.cpp (804): GameView::update
c:\cygwin64\tmp\factorio-build-cuunb3\src\game.cpp (358): Game::processGameViewFlags
c:\cygwin64\tmp\factorio-build-cuunb3\src\mainloop.cpp (480): MainLoop::prePrepare
c:\cygwin64\tmp\factorio-build-cuunb3\src\mainloop.cpp (572): MainLoop::mainLoopStep
c:\cygwin64\tmp\factorio-build-cuunb3\src\mainloop.cpp (364): MainLoop::run
c:\cygwin64\tmp\factorio-build-cuunb3\src\main.cpp (1246): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9825981F4)
00007FF9825981F4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9853BA251)
00007FF9853BA251 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
I check the allocation size (since it was a failed allocation), and WTF?

Code: Select all

04 00000045`251d7170 00007ff7`5ce637a7 factorio!operator new(unsigned int64 size = 0x00000183`9a51dfd7)+0x13 [f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp @ 40]
EDIT: And I might mention this allocation was from what appears to be the `std::string` copy-constructor

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.16] Exception + Crash immediately after Loading this Save

Post by Rseding91 »

Do any of the mods you're using change train schedules through the Lua API? If i'm reading this correctly (and I'm pretty sure I am) the new waypoint system for trains will leave trains broken like this if the schedule is changed through the Lua API while a train is driving on a path with waypoints.
If you want to get ahold of me I'm almost always on Discord.

User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: [0.17.16] Exception + Crash immediately after Loading this Save

Post by TruePikachu »

A quick look down the mod list doesn't appear to show anything of the sort.

User avatar
Trylobot
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Mar 07, 2019 7:32 pm
Contact:

Re: [0.17.16] Exception + Crash immediately after Loading this Save

Post by Trylobot »

Rseding91 wrote:
Wed Mar 20, 2019 1:13 am
Do any of the mods you're using change train schedules through the Lua API?
Negative, but the train was originally brought to its position via the temporary station (CTRL+Click) command

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.16] Exception + Crash immediately after Loading this Save

Post by Rseding91 »

Thanks for the report. It's now fixed for the next version of 0.17.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”