[0.17.2][Twinsen] Querying player.get_quick_bar_slot(101) causes crash

This subforum contains all the issues which we already resolved.
Post Reply
project6
Inserter
Inserter
Posts: 22
Joined: Sat Aug 15, 2015 10:31 pm
Contact:

[0.17.2][Twinsen] Querying player.get_quick_bar_slot(101) causes crash

Post by project6 » Thu Feb 28, 2019 4:21 pm

Step to reproduce: query get_quick_bar_slot > 100 in whatever way you find easiest and observe crash.
/c local crash_now = game.player.get_quick_bar_slot(101)
Attachments
factorio-dump-current.dmp
(661.29 KiB) Downloaded 10 times
factorio-current.log
(9.41 KiB) Downloaded 16 times

Loewchen
Global Moderator
Global Moderator
Posts: 5213
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Querying player.get_quick_bar_slot(101) causes crash

Post by Loewchen » Sat Mar 02, 2019 3:13 pm

Code: Select all

   0.002 2019-02-28 11:14:35; Factorio 0.17.2 (build 43076, win64, steam)
   0.002 Operating system: Windows 10 (version 1803) 
   0.009 Program arguments: "D:\Games\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.009 Read data path: D:/Games/Steam/steamapps/common/Factorio/data
   0.009 Write data path: C:/Users/Matthew/AppData/Roaming/Factorio [8422/75355MB]
   0.009 Binaries path: D:/Games/Steam/steamapps/common/Factorio/bin
   0.022 System info: [CPU: Intel(R) Core(TM) i5 CPU         760  @ 2.80GHz, 4 cores, RAM: 4275/8190 MB, page: 6279/10494 MB, virtual: 4326/134217727 MB, extended virtual: 0 MB]
   0.022 Display options: [FullScreen: 0] [VSync: 1] [UIScale: automatic (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.036 Available displays: 2
   0.036  [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 470 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.036  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 470 {0x01, [1920,105], 1920x1080, 32bit, 60Hz}
   0.131 Display: 0 -> Adapter: 0, Output: 0
   0.314 Initialised Direct3D[0]: NVIDIA GeForce GTX 470; driver: nvldumdx.dll 23.21.13.9135
   0.314   D3D Feature Level: 11.0, DXGI 1.5+
   0.314   [Local Video Memory] Budget: 1040MB, CurrentUsage: 0MB, Reservation: 0/550MB
   0.314   [Non-Local Vid.Mem.] Budget: 3685MB, CurrentUsage: 0MB, Reservation: 0/1945MB
   0.314   Tiled resources: Tier 1
   0.314   Unified Memory Architecture: No
   0.314   BGR 565 Supported: Yes
   0.314   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.375 Desktop composition is active.
   0.375 Graphics settings preset: medium
   0.375   Dedicated video memory size 1224 MB
   0.375 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: low-quality]
   0.375                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Low quality rotation: 1]
   0.433 DSound: Starting _dsound_update thread
   0.433 DSound: Enter _dsound_update; tid=12744
   0.593 Logitech LED Controller initialized.
   0.611 Loading mod core 0.0.0 (data.lua)
   0.735 Loading mod base 0.17.2 (data.lua)
   1.112 Loading mod base 0.17.2 (data-updates.lua)
   1.299 Checksum for core: 3928040144
   1.300 Checksum of base: 1471520011
   2.292 Loading sounds...
   2.452 Info PlayerData.cpp:69: Local player-data.json unavailable
   2.452 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1551322592
   2.736 Initial atlas bitmap size is 16384
   2.802 Created atlas bitmap 16384x16380 [none]
   2.805 Created atlas bitmap 16384x8940 [none]
   2.805 Created atlas bitmap 16384x2116 [decal]
   2.806 Created atlas bitmap 16384x3808 [low-object]
   2.807 Created atlas bitmap 16384x1888 [mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   2.807 Created atlas bitmap 16384x6592 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
   2.808 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
   2.808 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   2.809 Created atlas bitmap 16384x748 [alpha-mask]
   2.811 Created atlas bitmap 16384x11244 [shadow, linear-magnification, alpha-mask]
   2.813 Created atlas bitmap 16384x1264 [shadow, mipmap, linear-magnification, alpha-mask]
   4.326 Parallel Sprite Loader initialized (threads: 3)
  23.120 Sprites loaded
  24.869 Generated mipmaps for atlas of size 16384x3808
  25.907 Generated mipmaps for atlas of size 16384x1888
  27.405 Generated mipmaps for atlas of size 16384x6592
  28.436 Generated mipmaps for atlas of size 16384x480
  28.469 Generated mipmaps for atlas of size 16384x456
  28.492 Generated mipmaps for atlas of size 16384x1264
  28.503 Custom inputs active: 0
  28.634 Factorio initialised
  34.771 Loading Level.dat: 1265653 bytes.
  34.772 Info Scenario.cpp:147: Map version 0.17.2-4
  34.838 Checksum for script C:/Users/Matthew/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 2366710471
  55.985 Time travel logging:
  55.984 Player 0 ran command: local crash_now = game.player.get_quick_bar_slot(101)
  55.985 Error CrashHandler.cpp:376: Exception Code: c0000005, Address: 0x00007ff77e6515c7
ModuleBase: 0x00007ff77df10000, ImageSize: 01559000, RelativeAddress: 007415c7
  55.985 Error CrashHandler.cpp:382: Access Violation: Read at address 0000000100000078
  55.985 Error CrashHandler.cpp:396: Exception Context:
rax=0000000100000000, rbx=0000015ce6fbe8b0, rcx=35af0a8d24760000,
rdx=000000000000000a, rsi=0000015ce6fbe8b0, rdi=0000000100000000,
rip=00007ff77e6515c7, rsp=00000008963fe100, rbp=00007ff77eff3368,
 r8=0000000000000064,  r9=000000000000000a, r10=0000000000000000,
r11=0000015cb3acb960, r12=0000000000000001, r13=0000015ccd596530,
r14=0000015ce6fbe8b0, r15=0000000000000000
  55.985 Crashed in D:\Games\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff77df10000 - 0x00007ff77f469000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-mvynrh\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-mvynrh\src\util\logger.cpp (405): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-mvynrh\src\util\logger.cpp (515): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-mvynrh\src\util\crashhandler.cpp (169): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-mvynrh\src\util\crashhandler.cpp (423): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDBFF1BDD0)
00007FFDBFF1BDD0 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDC3AE3167)
00007FFDC3AE3167 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDC3ACB5E6)
00007FFDC3ACB5E6 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDC3ADF7DD)
00007FFDC3ADF7DD (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDC3A4D856)
00007FFDC3A4D856 (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDC3ADE70E)
00007FFDC3ADE70E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-mvynrh\src\script\luaplayer.cpp (1619): LuaPlayer::luaGetQuickBarSlot
c:\cygwin64\tmp\factorio-build-mvynrh\src\script\luabinder.hpp (330): LuaBinder<LuaStorageTankControlBehavior>::callWrapper
c:\cygwin64\tmp\factorio-build-mvynrh\libraries\lua\ldo.c (319): luaD_precall
c:\cygwin64\tmp\factorio-build-mvynrh\libraries\lua\lvm.c (710): luaV_execute
c:\cygwin64\tmp\factorio-build-mvynrh\libraries\lua\lapi.c (1018): f_call
c:\cygwin64\tmp\factorio-build-mvynrh\libraries\lua\ldo.c (131): luaD_rawrunprotected
c:\cygwin64\tmp\factorio-build-mvynrh\libraries\lua\ldo.c (590): luaD_pcall
c:\cygwin64\tmp\factorio-build-mvynrh\src\script\luagamescript.cpp (1340): LuaGameScript::runLuaCommand
c:\cygwin64\tmp\factorio-build-mvynrh\src\script\luacontext.cpp (222): LuaContext::runLuaCommand
c:\cygwin64\tmp\factorio-build-mvynrh\src\commandprocessor.cpp (1433): CommandProcessor::doExecuteCommand
c:\cygwin64\tmp\factorio-build-mvynrh\src\commandprocessor.cpp (287): CommandProcessor::executeCommand
c:\cygwin64\tmp\factorio-build-mvynrh\src\commandprocessor.cpp (234): CommandProcessor::process
c:\cygwin64\tmp\factorio-build-mvynrh\src\gameactionhandler.cpp (3536): GameActionHandler::writeToConsole
c:\cygwin64\tmp\factorio-build-mvynrh\src\gameactionhandler.cpp (324): GameActionHandler::actionPerformed
c:\cygwin64\tmp\factorio-build-mvynrh\src\input\inputhandler.cpp (61): InputHandler::flushActions
c:\cygwin64\tmp\factorio-build-mvynrh\src\gameactionhandler.cpp (364): GameActionHandler::update
c:\cygwin64\tmp\factorio-build-mvynrh\src\mainloop.cpp (1058): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-build-mvynrh\src\mainloop.cpp (931): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-build-mvynrh\src\util\workerthread.cpp (42): WorkerThread::loop
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (230): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl LogitechLEDController::*)(void),LogitechLEDController *>,std::default_delete<std::tuple<void (__cdecl LogitechLEDController::*)(void),LogitechLEDController *> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (209): std::_Pad::_Call_func
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDC12F3DC4)
00007FFDC12F3DC4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDC3AB3691)
00007FFDC3AB3691 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  59.275 Error CrashHandler.cpp:174: Map tick at moment of crash: 1186
  59.275 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.
  60.846 Uploading log file
  62.694 Error CrashHandler.cpp:221: Heap validation: success.
  62.699 Creating crash dump.
  63.192 CrashDump success

Twinsen
Factorio Staff
Factorio Staff
Posts: 971
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: [0.17.2][Twinsen] Querying player.get_quick_bar_slot(101) causes crash

Post by Twinsen » Mon Mar 04, 2019 10:23 am

Fixed in Version: 0.17.5
Thanks.

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: No registered users