[0.15.2] Crash on loading any game with this mod

This subforum contains all the issues which we already resolved.
Post Reply
fregate84
Fast Inserter
Fast Inserter
Posts: 233
Joined: Sun Jun 22, 2014 10:56 am
Contact:

[0.15.2] Crash on loading any game with this mod

Post by fregate84 »

Hello,

I try to create a new game, or load any savegame with this mod, and the game crash. (it's a working 0.14 mod. I just change the version).
AdvancedEndlessResources_1.1.1.zip
(1.34 KiB) Downloaded 110 times

Code: Select all

   0.000 2017-04-26 21:02:03; Factorio 0.15.2 (build 29124, win64, alpha)
   0.000 Operating system: Windows 10 (version 1607) 
   0.000 Program arguments: "D:\Dropbox\Dropbox\Jeux\Factorio\bin\x64\Factorio.exe" 
   0.001 Read data path: D:/Dropbox/Dropbox/Jeux/Factorio/data
   0.001 Write data path: D:/Dropbox/Dropbox/Jeux/Factorio
   0.001 Binaries path: D:/Dropbox/Dropbox/Jeux/Factorio/bin
   0.011 System info: [CPU:        Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz, 4 cores, RAM: 8173MB]
   0.011 Display options: [FullScreen: 0] [VSync: 0] [UIScale: 80%] [MultiSampling: OFF] [Screen: 255]
   0.013 Available display adapters: 1
   0.013  [0]: \\.\DISPLAY1 - AMD Radeon (TM) R9 200 Series {0x8080005, [0,0], 1920x1080, 32bit, 60Hz}
   0.014 Create display on adapter 0. Size 1280x720 at position [310, 162].
   0.061 Initialised Direct3D:[0] AMD Radeon (TM) R9 200 Series; driver: aticfx64.dll 21.19.137.514
   0.064     Video memory size (dedicated video/dedicated system/shared system/available): 2029/0/4086/4092 MB
   0.095 DSound: Starting _dsound_update thread
   0.095 DSound: Enter _dsound_update; tid=1512
   0.096 Device reset internal.
   0.102 Desktop composition is active.
   0.102 Graphics settings preset: very-high
   0.102 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 30%] [DXT: false]
   0.157 Loading mod core 0.0.0 (data.lua)
   0.165 Loading mod base 0.15.2 (data.lua)
   0.273 Loading mod AdvancedEndlessResources 1.1.1 (data.lua)
   0.347 Loading mod base 0.15.2 (data-updates.lua)
   0.421 Checksum for core: 530912544
   0.421 Checksum of base: 83206502
   0.421 Checksum of AdvancedEndlessResources: 4025309858
   0.599 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1493233259
   0.599 Info PlayerData.cpp:62: Cloud player-data.json unavailable
   0.697 Loaded shader file D:/Dropbox/Dropbox/Jeux/Factorio/data/core/graphics/shaders/game.cso
   0.697 Loaded shader file D:/Dropbox/Dropbox/Jeux/Factorio/data/core/graphics/shaders/zoom-to-world.cso
   0.712 Initial atlas bitmap size is 16384
   0.732 Created atlas bitmap 16384x16371
   0.734 Created atlas bitmap 16384x8937
   0.734 Created atlas bitmap 4096x3980
   0.735 Created atlas bitmap 4096x3648
  13.557 Sprites loaded
  13.557 Convert atlas 4096x3980 to: trilinear-filtering 
  13.642 Convert atlas 4096x3648 to: mipmap 
  14.468 Loading sounds...
  16.588 Custom inputs active: 0
  16.593 Info Updater.cpp:743: Downloading https://updater.factorio.com/get-available-versions?username=fregate84&token=<private>&apiVersion=2
  17.792 0 packages available to download (experimental updates enabled).
  17.847 Factorio initialised
  23.785 Loading Level.dat: 978971 bytes.
  23.785 Info Scenario.cpp:133: Map version 0.15.2-0
  23.843 Error CrashHandler.cpp:141: Exception Code: c0000094, Address: 0x00007ff7668fa9a1
ModuleBase: 0x00007ff766770000, ImageSize: 01192000, RelativeAddress: 0018a9a1
  23.843 Error CrashHandler.cpp:151: Exception Context:
rax=000000000000021c, rbx=000001b2fec75010, rcx=0000000000000000,
rdx=0000000000000000, rsi=0000000000000001, rdi=000001b2ee0e4080,
rip=00007ff7668fa9a1, rsp=0000001f8c6f9df0, rbp=0000000000000000,
 r8=000001b280737934,  r9=000000000000021c, r10=000001b36f8310fc,
r11=0000001f8c6f9e50, r12=000001b2ee0e4080, r13=0000001f8c6fa058,
r14=000001b280737550, r15=000000000000011a
  23.843 Crashed in D:\Dropbox\Dropbox\Jeux\Factorio\bin\x64\Factorio.exe (0x00007ff766770000 - 0x00007ff767902000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-pvupdn\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-pvupdn\src\util\logger.cpp (354): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-pvupdn\src\util\logger.cpp (408): Logger::logStacktrace
c:\cygwin64\tmp\factorio-pvupdn\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-pvupdn\src\util\crashhandler.cpp (177): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA73544F77)
00007FFA73544F77 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA7706ED1B)
00007FFA7706ED1B (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA77056BD6)
00007FFA77056BD6 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA7706AB9D)
00007FFA7706AB9D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA77009913)
00007FFA77009913 (ntdll): (filename not available): RtlImageNtHeaderEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA77069CBA)
00007FFA77069CBA (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-pvupdn\src\entity\resourceentity.cpp (44): ResourceEntity::ResourceEntity
c:\cygwin64\tmp\factorio-pvupdn\src\entity\resourceentityprototype.cpp (82): ResourceEntityPrototype::createInternal
c:\cygwin64\tmp\factorio-pvupdn\src\entity\entityprototype.cpp (452): EntityPrototype::loadEntity
c:\cygwin64\tmp\factorio-pvupdn\src\surface\chunk.cpp (425): Chunk::load
c:\cygwin64\tmp\factorio-pvupdn\src\surface\surface.cpp (662): Surface::load
c:\cygwin64\tmp\factorio-pvupdn\src\map\map.cpp (585): Map::loadData
c:\cygwin64\tmp\factorio-pvupdn\src\map\map.cpp (278): Map::load
c:\cygwin64\tmp\factorio-pvupdn\src\scenario\scenario.cpp (140): Scenario::loadFactory
c:\cygwin64\tmp\factorio-pvupdn\src\appmanager.cpp (411): AppManager::createGame
c:\cygwin64\tmp\factorio-pvupdn\src\appmanagerstates.cpp (1603): InGenerateMapDialog::process
c:\cygwin64\tmp\factorio-pvupdn\src\appmanager.cpp (202): AppManager::process
c:\cygwin64\tmp\factorio-pvupdn\src\mainloop.cpp (300): MainLoop::prePrepare
c:\cygwin64\tmp\factorio-pvupdn\src\mainloop.cpp (375): MainLoop::mainLoopStep
c:\cygwin64\tmp\factorio-pvupdn\src\mainloop.cpp (227): MainLoop::run
c:\cygwin64\tmp\factorio-pvupdn\src\main.cpp (881): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (253): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA74808364)
00007FFA74808364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA770270D1)
00007FFA770270D1 (ntdll): (filename not available): RtlUserThreadStart
  25.648 Error Util.cpp:76: 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.

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

Re: [0.15.2] Crash on loading any game with this mod

Post by Rseding91 »

Thanks for the report. The crash is fixed for the next version of 0.15.

It's crashing because the minimal yield is *much* larger than the normal yield of the ore and it's doing integer division to calculate the minimal yield resulting in something like N / (1 / 5000) which rounds down and results in N / (0).
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”