Page 1 of 1

[0.12.19][cube] 'Trying to make chunk at unreasonable positi

Posted: Thu Dec 03, 2015 3:53 pm
by bztn
two crashes today; A google search suggests this was fixed previously:-
https://forums.factorio.com/forum/vie ... php?t=8812
https://forums.factorio.com/forum/vie ... f=3&t=9110

Code: Select all

   0.002 2015-12-03 09:16:49; Factorio 0.12.19 (Build 17459, win64)
   0.002 Operating system: Windows Vista Service Pack 1
   0.003 Program arguments: "C:\Program Files\Factorio\bin\x64\Factorio.exe" 
   0.003 Read data path: C:/Program Files/Factorio/data
   0.003 Write data path: C:/Users/Patrick/AppData/Roaming/Factorio
   0.003 Binaries path: C:/Program Files/Factorio/bin
   0.276 Available display adapters: 2
   0.276  [0]: \\.\DISPLAY1 - AMD Radeon HD 6670 {0x8000005, [0,0], 1920x1080, 32bit, 60Hz}
   0.276  [1]: \\.\DISPLAY2 - AMD Radeon HD 6670 {0x8000001, [1920,0], 1280x1024, 32bit, 75Hz}
   0.277 Create display on adapter 0. Size 1280x720 at position [310, 162]. Monitor 0
   1.164 Initialised Direct3D:[0] AMD Radeon HD 6670; driver: aticfx64.dll 8.17.10.1191
   1.441 Desktop composition is active.
   1.441 Graphics options: [FullScreen: true] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: all] [Light scale: 20%] [Screen: 0]
   1.617 Loading mod core 0.0.0 (data.lua)
   1.638 Loading mod base 0.12.19 (data.lua)
  16.742 Initial atlas bitmap size is 16384
  16.752 Created atlas bitmap 16384x7761
  44.972 Factorio initialised
  50.677 Loading map C:/Users\Patrick\AppData\Roaming\Factorio\saves\9.zip
  50.805 Info Scenario.cpp:123: Map version 0.12.19-0
2046.561 Error Chunk.cpp:534: Trying to make chunk at unreasonable position [262136, -262142]
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-iw2tsk\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-iw2tsk\src\util\logger.cpp (284): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-iw2tsk\src\util\logger.cpp (338): Logger::logStacktrace
c:\cygwin64\tmp\factorio-iw2tsk\src\util\crashhandler.cpp (81): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-iw2tsk\src\util\crashhandler.cpp (139): CrashHandler::SignalHandler
f:\dd\vctools\crt\crtw32\misc\winsig.c (587): raise
f:\dd\vctools\crt\crtw32\misc\abort.c (82): abort
c:\cygwin64\tmp\factorio-iw2tsk\src\surface\chunk.cpp (534): Chunk::Chunk
c:\cygwin64\tmp\factorio-iw2tsk\src\surface\surface.cpp (45): Surface::addEntityWithoutSetup
c:\cygwin64\tmp\factorio-iw2tsk\src\surface\surface.cpp (54): Surface::addEntity
c:\cygwin64\tmp\factorio-iw2tsk\src\trigger\createparticletriggereffectitem.cpp (52): CreateParticleTriggerEffectItem::createParticle
c:\cygwin64\tmp\factorio-iw2tsk\src\trigger\createparticletriggereffectitem.cpp (15): CreateParticleTriggerEffectItem::applyInternal
c:\cygwin64\tmp\factorio-iw2tsk\src\trigger\triggereffectitem.cpp (44): TriggerEffectItem::apply
c:\cygwin64\tmp\factorio-iw2tsk\src\trigger\triggereffect.cpp (24): TriggerEffect::apply
c:\cygwin64\tmp\factorio-iw2tsk\src\trigger\directtriggeritem.cpp (15): DirectTriggerItem::apply
c:\cygwin64\tmp\factorio-iw2tsk\src\trigger\trigger.cpp (17): Trigger::apply
c:\cygwin64\tmp\factorio-iw2tsk\src\entity\entity.cpp (271): Entity::setup
c:\cygwin64\tmp\factorio-iw2tsk\src\entity\explosion.cpp (46): Explosion::setup
c:\cygwin64\tmp\factorio-iw2tsk\src\surface\surface.cpp (54): Surface::addEntity
c:\cygwin64\tmp\factorio-iw2tsk\src\entity\entitywithhealth.cpp (178): EntityWithHealth::die
c:\cygwin64\tmp\factorio-iw2tsk\src\entity\unit.cpp (344): Unit::die
c:\cygwin64\tmp\factorio-iw2tsk\src\entity\entitywithhealth.cpp (125): EntityWithHealth::damage
c:\cygwin64\tmp\factorio-iw2tsk\src\entity\entitywithowner.cpp (93): EntityWithOwner::damage
c:\cygwin64\tmp\factorio-iw2tsk\src\trigger\damagetriggereffectitem.cpp (22): DamageTriggerEffectItem::applyInternal
c:\cygwin64\tmp\factorio-iw2tsk\src\trigger\triggereffectitem.cpp (44): TriggerEffectItem::apply
c:\cygwin64\tmp\factorio-iw2tsk\src\trigger\triggereffect.cpp (24): TriggerEffect::apply
c:\cygwin64\tmp\factorio-iw2tsk\src\trigger\directtriggeritem.cpp (15): DirectTriggerItem::apply
c:\cygwin64\tmp\factorio-iw2tsk\src\entity\projectile.cpp (178): Projectile::hit
c:\cygwin64\tmp\factorio-iw2tsk\src\entity\projectile.cpp (123): Projectile::update
c:\cygwin64\tmp\factorio-iw2tsk\src\surface\chunk.cpp (441): Chunk::update
c:\cygwin64\tmp\factorio-iw2tsk\src\surface\surface.cpp (818): Surface::update
c:\cygwin64\tmp\factorio-iw2tsk\src\map\map.cpp (914): Map::update
c:\cygwin64\tmp\factorio-iw2tsk\src\game.cpp (144): Game::update
c:\cygwin64\tmp\factorio-iw2tsk\src\scenario\scenario.cpp (729): Scenario::update
c:\cygwin64\tmp\factorio-iw2tsk\src\mainloop.cpp (262): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-iw2tsk\src\mainloop.cpp (368): MainLoop::updateLoop
c:\boost_1_58_0\boost\function\function_template.hpp (160): boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,void (__cdecl*)(ThreadBarrier * __ptr64,boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64,boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64,bool * __ptr64,bool),boost::_bi::list5<boost::_bi::value<ThreadBarrier * __ptr64>,boost::_bi::value<boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64>,boost::_bi::value<boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64>,boost::_bi::value<bool * __ptr64>,boost::_bi::value<bool> > >,void>::invoke
c:\cygwin64\tmp\factorio-iw2tsk\src\util\thread.cpp (34): Thread::loop
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FE9C883)
000000013FE9C883 (Factorio): (filename not available): boost::`anonymous namespace'::thread_start_function
f:\dd\vctools\crt\crtw32\startup\threadex.c (376): _callthreadstartex
f:\dd\vctools\crt\crtw32\startup\threadex.c (354): _threadstartex
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007722F56D)
000000007722F56D (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077463021)
0000000077463021 (ntdll): (filename not available): RtlUserThreadStart
2058.437 Error Util.cpp:63: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.

Code: Select all

   0.002 2015-12-03 11:12:15; Factorio 0.12.19 (Build 17459, win64)
   0.002 Operating system: Windows Vista Service Pack 1
   0.002 Program arguments: "C:\Program Files\Factorio\bin\x64\Factorio.exe" 
   0.002 Read data path: C:/Program Files/Factorio/data
   0.002 Write data path: C:/Users/Patrick/AppData/Roaming/Factorio
   0.002 Binaries path: C:/Program Files/Factorio/bin
   0.248 Available display adapters: 2
   0.248  [0]: \\.\DISPLAY1 - AMD Radeon HD 6670 {0x8000005, [0,0], 1920x1080, 32bit, 60Hz}
   0.248  [1]: \\.\DISPLAY2 - AMD Radeon HD 6670 {0x8000001, [1920,0], 1280x1024, 32bit, 75Hz}
   0.249 Create display on adapter 0. Size 1280x720 at position [310, 162]. Monitor 0
   1.201 Initialised Direct3D:[0] AMD Radeon HD 6670; driver: aticfx64.dll 8.17.10.1191
   1.504 Desktop composition is active.
   1.504 Graphics options: [FullScreen: true] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: all] [Light scale: 20%] [Screen: 0]
   1.665 Loading mod core 0.0.0 (data.lua)
   1.698 Loading mod base 0.12.19 (data.lua)
  17.788 Initial atlas bitmap size is 16384
  17.795 Created atlas bitmap 16384x7761
  38.254 Factorio initialised
  63.550 Loading map C:/Users\Patrick\AppData\Roaming\Factorio\saves\_autosave2.zip
  63.634 Info Scenario.cpp:123: Map version 0.12.19-0
1203.798 Error Chunk.cpp:534: Trying to make chunk at unreasonable position [262140, 262142]
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-iw2tsk\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-iw2tsk\src\util\logger.cpp (284): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-iw2tsk\src\util\logger.cpp (338): Logger::logStacktrace
c:\cygwin64\tmp\factorio-iw2tsk\src\util\crashhandler.cpp (81): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-iw2tsk\src\util\crashhandler.cpp (139): CrashHandler::SignalHandler
f:\dd\vctools\crt\crtw32\misc\winsig.c (587): raise
f:\dd\vctools\crt\crtw32\misc\abort.c (82): abort
c:\cygwin64\tmp\factorio-iw2tsk\src\surface\chunk.cpp (534): Chunk::Chunk
c:\cygwin64\tmp\factorio-iw2tsk\src\surface\surface.cpp (45): Surface::addEntityWithoutSetup
c:\cygwin64\tmp\factorio-iw2tsk\src\surface\surface.cpp (54): Surface::addEntity
c:\cygwin64\tmp\factorio-iw2tsk\src\trigger\createsmoketriggereffectitem.cpp (75): CreateSmokeTriggerEffectItem::createSingleSmoke
c:\cygwin64\tmp\factorio-iw2tsk\src\trigger\createsmoketriggereffectitem.cpp (22): CreateSmokeTriggerEffectItem::applyInternal
c:\cygwin64\tmp\factorio-iw2tsk\src\trigger\triggereffectitem.cpp (44): TriggerEffectItem::apply
c:\cygwin64\tmp\factorio-iw2tsk\src\entity\vehicle.cpp (100): Vehicle::update
c:\cygwin64\tmp\factorio-iw2tsk\src\surface\chunk.cpp (441): Chunk::update
c:\cygwin64\tmp\factorio-iw2tsk\src\surface\surface.cpp (818): Surface::update
c:\cygwin64\tmp\factorio-iw2tsk\src\map\map.cpp (914): Map::update
c:\cygwin64\tmp\factorio-iw2tsk\src\game.cpp (144): Game::update
c:\cygwin64\tmp\factorio-iw2tsk\src\scenario\scenario.cpp (729): Scenario::update
c:\cygwin64\tmp\factorio-iw2tsk\src\mainloop.cpp (262): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-iw2tsk\src\mainloop.cpp (368): MainLoop::updateLoop
c:\boost_1_58_0\boost\function\function_template.hpp (160): boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,void (__cdecl*)(ThreadBarrier * __ptr64,boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64,boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64,bool * __ptr64,bool),boost::_bi::list5<boost::_bi::value<ThreadBarrier * __ptr64>,boost::_bi::value<boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64>,boost::_bi::value<boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64>,boost::_bi::value<bool * __ptr64>,boost::_bi::value<bool> > >,void>::invoke
c:\cygwin64\tmp\factorio-iw2tsk\src\util\thread.cpp (34): Thread::loop
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FA0C883)
000000013FA0C883 (Factorio): (filename not available): boost::`anonymous namespace'::thread_start_function
f:\dd\vctools\crt\crtw32\startup\threadex.c (376): _callthreadstartex
f:\dd\vctools\crt\crtw32\startup\threadex.c (354): _threadstartex
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007722F56D)
000000007722F56D (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077463021)
0000000077463021 (ntdll): (filename not available): RtlUserThreadStart
1209.350 Error Util.cpp:63: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.
The first instance I was riding a train, the second occurred while I was just doing odd jobs in the middle of a factory.
I don't know why it says vista, I'm running win7x64!
savegame: https://www.dropbox.com/s/g1zbtj7g3iy3m ... 1.zip?dl=0

Re: [0.12.19] 'Trying to make chunk at unreasonable position'

Posted: Thu Dec 03, 2015 4:37 pm
by daniel34
bztn wrote:I don't know why it says vista, I'm running win7x64!
Check if you're not running Factorio in compatibility mode for Vista, some people did/do so because on Windows 7 Factorio requires Service Pack 1 and a workaround was to set compatibility to Vista.

Re: [0.12.19] 'Trying to make chunk at unreasonable position'

Posted: Fri Dec 04, 2015 6:40 am
by kovarex
I tried to let the save for some time and I wasn't able to reproduce it in 0.12.19.

Does it crash reproducibly after some time after loading the save?

Re: [0.12.19][cube] 'Trying to make chunk at unreasonable positi

Posted: Mon Dec 07, 2015 5:05 pm
by cube
We couldn't reproduce the error, but we fixed a very suspicious piece of code that could have caused this. So it's fixed for 0.12.21, and report it again if it isn't :)