Page 1 of 1

[13.16] Crash on: "(218): ItemStack::getItemCount"

Posted: Thu Aug 25, 2016 1:11 am
by boksiora
A crash when attempt to use AUTO TARGET on orbital cannon mod, place the auto target station for the crash
factorio-current.log
log
(12.35 KiB) Downloaded 117 times
_autosave1.zip
(24.48 MiB) Downloaded 114 times
mod-list.json
(3.8 KiB) Downloaded 118 times

Re: Random crash

Posted: Thu Aug 25, 2016 2:01 am
by TruePikachu

Code: Select all

   0.003 2016-08-25 03:15:51; Factorio 0.13.16 (build 23939, win64, steam)
   0.003 Operating system: Windows 7 Service Pack 1
[[...]]
3004.799 Error CrashHandler.cpp:135: Exception Code: c0000005, Address: 000000013F92FC40
ModuleBase: 000000013F8C0000, ImageSize: 01106000, RelativeAddress: 0006fc40
3004.799 Error CrashHandler.cpp:145: Exception Context:
rax=0000000000000226, rbx=000000006488f448, rcx=474558908c8d7a47,
rdx=000000000bb5f490, rsi=0000000000000000, rdi=000000006488fb80,
rip=000000013f92fc40, rsp=000000000bb5f3e0, rbp=000000007950d920,
 r8=000000006488d970,  r9=00000000124b35f0, r10=0000000000000077,
r11=0000000000000202, r12=0000000000000000, r13=000000000bb5f500,
r14=000000000bb5f490, r15=0000000000000000
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-mxg9or\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-mxg9or\src\util\logger.cpp (328): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-mxg9or\src\util\logger.cpp (382): Logger::logStacktrace
c:\cygwin64\tmp\factorio-mxg9or\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-mxg9or\src\util\crashhandler.cpp (155): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076E0BC00)
0000000076E0BC00 (kernel32): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076F0FF88)
0000000076F0FF88 (ntdll): (filename not available): EtwEventSetInformation
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076EA78C8)
0000000076EA78C8 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076EB7E8D)
0000000076EB7E8D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076EA84CF)
0000000076EA84CF (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076EDBAC8)
0000000076EDBAC8 (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-mxg9or\src\item\itemstack.cpp (218): ItemStack::getItemCount
c:\cygwin64\tmp\factorio-mxg9or\src\item\inventoryreader.cpp (36): InventoryReader::getItemCount
c:\cygwin64\tmp\factorio-mxg9or\src\logistics\logisticnetwork.cpp (681): LogisticNetwork::fillRequesters
c:\cygwin64\tmp\factorio-mxg9or\src\logistics\logisticnetwork.cpp (366): LogisticNetwork::update
c:\cygwin64\tmp\factorio-mxg9or\src\force\forcedata.cpp (414): ForceData::update
c:\cygwin64\tmp\factorio-mxg9or\src\map\map.cpp (1127): Map::update
c:\cygwin64\tmp\factorio-mxg9or\src\game.cpp (141): Game::update
c:\cygwin64\tmp\factorio-mxg9or\src\scenario\scenario.cpp (780): Scenario::update
c:\cygwin64\tmp\factorio-mxg9or\src\mainloop.cpp (663): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-mxg9or\src\mainloop.cpp (583): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-mxg9or\src\util\workerthread.cpp (33): WorkerThread::loop
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000001402D86A3)
00000001402D86A3 (Factorio): (filename not available): boost::thread::start_thread_noexcept
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076D859BD)
0000000076D859BD (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076EBA2E1)
0000000076EBA2E1 (ntdll): (filename not available): RtlUserThreadStart
That value of RCX looks very suspicious to me, since it is definitly not a valid pointer, and it doesn't appear to be a `double` (≈2.217e+35).

Where have I seen 0x47455890 "GEX\x90" before? It seems familiar...

Can you reproduce in 0.13.17?

Re: [13.16] Crash on: "(218): ItemStack::getItemCount"

Posted: Tue Aug 30, 2016 4:04 am
by Rseding91
Can you reproduce this crash?

Re: [13.16] Crash on: "(218): ItemStack::getItemCount"

Posted: Sat Sep 03, 2016 12:10 am
by boksiora
no, after i loaded the autosave its gone