[1.1.100] game crash at certain map tick

Bugs that are actually features.
ctalkep_
Burner Inserter
Burner Inserter
Posts: 11
Joined: Thu Feb 06, 2020 8:00 am
Contact:

[1.1.100] game crash at certain map tick

Post by ctalkep_ »

steps to reproduce:
load save and wait ~30 seconds

i'm running a local server, but it crashes in singleplayer, too

the logs seem to have this part in common(minus the timestamps at the end, but the game tick is always the same)
client crashlogs:

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\surface\chunk.cpp (701): Chunk::Chunk
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\surface\surface.cpp (123): Surface::addEntityWithoutSetup
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\entity\entity.cpp (823): Entity::changePositionAndOrientationWithoutCollisionCheck
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\entity\car.cpp (394): Car::moveCar
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\entity\car.cpp (247): Car::update
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\surface\activeentitiesorder.hpp (139): EntityOrderHelpers::EntityOrderList<LogisticRobot,ConstructionRobot,Inserter,Roboport,HeatPipe,Loader,AssemblingMachine,Furnace,MiningDrill,FluidWagon,ArtilleryWagon,CargoWagon,Locomotive,Character,Boiler,Generator,BurnerGenerator,Reactor,Lab,LandMine,ArithmeticCombinator,ArtilleryFlare,ArtilleryProjectile,ArtilleryTurret,Beam,Car,SpiderVehicle,CharacterCorpse,CombatRobot,Corpse,DeciderCombinator,ElectricEnergyInterface,EnemySpawner,Explosion,FireFlame,FlameThrowerExplosion,FluidStream,FluidTurret,FlyingText,Gate,HeatInterface,HighlightBoxEntity,InfinityContainer,InfinityPipe,ItemRequestProxy,OffshorePump,ParticleSource,PowerSwitch,Projectile,Pump,Radar,ProgrammableSpeaker,RocketSilo,RocketSiloRocket,SimpleSmoke,SmokeWithTrigger,SpeechBubble,Sticker,Turret,Unit>::update
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\surface\surface.cpp (1643): Surface::update
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\map\map.cpp (1631): Map::updateEntities
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\game.cpp (210): Game::update
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\scenario\scenario.cpp (1314): Scenario::update
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\scenario\scenario.cpp (1203): Scenario::updateStep
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\mainloop.cpp (1359): MainLoop::gameUpdateStep
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\mainloop.cpp (1212): MainLoop::gameUpdateLoop
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\functional (15732480): std::_Func_impl_no_alloc<<lambda_d265ecf65ae3d22ce76cdf960a55c5a4>,void>::_Do_call
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\util\workerthread.cpp (73): WorkerThread::loop
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread (230): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl WorkerThread::*)(void),WorkerThread *>,std::default_delete<std::tuple<void (__cdecl WorkerThread::*)(void),WorkerThread *> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread (209): std::_Pad::_Call_func
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (97): thread_start<unsigned int (__cdecl*)(void *),1>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076FF652D)
0000000076FF652D (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007712C541)
000000007712C541 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
4584.224 Error Chunk.cpp:701: Trying to make chunk at unreasonable position [3, 32768]
4584.224 Error CrashHandler.cpp:641: Received 22
Logger::writeStacktrace skipped.
4584.224 Error CrashHandler.cpp:195: Map tick at moment of crash: 24229458
4584.276 Info CrashHandler.cpp:315: Executable CRC: 2739045991
4584.276 Error Util.cpp:100: 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.
4636.844 Uploading log file
4636.854 Error CrashHandler.cpp:266: Heap validation: success.
4636.855 Creating crash dump.
4636.911 CrashDump success
server crashlogs:

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\surface\chunk.cpp (701): Chunk::Chunk
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\surface\surface.cpp (123): Surface::addEntityWithoutSetup
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\entity\entity.cpp (823): Entity::changePositionAndOrientationWithoutCollisionCheck
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\entity\car.cpp (394): Car::moveCar
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\entity\car.cpp (247): Car::update
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\surface\activeentitiesorder.hpp (139): EntityOrderHelpers::EntityOrderList<LogisticRobot,ConstructionRobot,Inserter,Roboport,HeatPipe,Loader,AssemblingMachine,Furnace,MiningDrill,FluidWagon,ArtilleryWagon,CargoWagon,Locomotive,Character,Boiler,Generator,BurnerGenerator,Reactor,Lab,LandMine,ArithmeticCombinator,ArtilleryFlare,ArtilleryProjectile,ArtilleryTurret,Beam,Car,SpiderVehicle,CharacterCorpse,CombatRobot,Corpse,DeciderCombinator,ElectricEnergyInterface,EnemySpawner,Explosion,FireFlame,FlameThrowerExplosion,FluidStream,FluidTurret,FlyingText,Gate,HeatInterface,HighlightBoxEntity,InfinityContainer,InfinityPipe,ItemRequestProxy,OffshorePump,ParticleSource,PowerSwitch,Projectile,Pump,Radar,ProgrammableSpeaker,RocketSilo,RocketSiloRocket,SimpleSmoke,SmokeWithTrigger,SpeechBubble,Sticker,Turret,Unit>::update
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\surface\surface.cpp (1643): Surface::update
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\map\map.cpp (1631): Map::updateEntities
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\game.cpp (210): Game::update
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\scenario\scenario.cpp (1314): Scenario::update
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\scenario\scenario.cpp (1203): Scenario::updateStep
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\mainloop.cpp (1359): MainLoop::gameUpdateStep
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\mainloop.cpp (1212): MainLoop::gameUpdateLoop
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\mainloop.cpp (418): MainLoop::run
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\commandlinemultiplayer.cpp (304): hostMultiplayerGameInternal
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\commandlinemultiplayer.cpp (359): CommandLineMultiplayer::hostCommandLineMultiplayerGame
c:\users\build\appdata\local\temp\factorio-build-rqshpk\src\main.cpp (691): wmain
d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl (288): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076FF652D)
0000000076FF652D (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007712C541)
000000007712C541 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
4272.834 Error Chunk.cpp:701: Trying to make chunk at unreasonable position [3, 32768]
4272.834 Error CrashHandler.cpp:641: Received 22
Logger::writeStacktrace skipped.
4272.834 Error CrashHandler.cpp:195: Map tick at moment of crash: 24229458
4272.885 Info CrashHandler.cpp:315: Executable CRC: 2739045991
4272.885 Error Util.cpp:100: 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.
4272.885 Uploading log file
4272.899 Error CrashHandler.cpp:266: Heap validation: success.
4272.900 Creating crash dump.
4272.977 CrashDump success
Attachments
server - factorio-current3.log
(173.88 KiB) Downloaded 44 times
server - factorio-current2.log
(173.88 KiB) Downloaded 31 times
server - factorio-current.log
(179.6 KiB) Downloaded 37 times
eggserb maze 248k 4.zip
(13.13 MiB) Downloaded 44 times
client - factorio-current3.log
(182.45 KiB) Downloaded 39 times
client - factorio-current2.log
(182.97 KiB) Downloaded 37 times
client - factorio-current.log
(205.2 KiB) Downloaded 35 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3052
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [1.1.100] game crash at certain map tick

Post by boskid »

Thanks for the report. In this case there is an "RTPropCar" from Renai Transportation going south and crossing map border. I am considering this to be a not (our) bug.
110522-RTPropCar-tick-before-crash.png
110522-RTPropCar-tick-before-crash.png (18.7 KiB) Viewed 1229 times
ctalkep_
Burner Inserter
Burner Inserter
Posts: 11
Joined: Thu Feb 06, 2020 8:00 am
Contact:

Re: [1.1.100] game crash at certain map tick

Post by ctalkep_ »

could you please spoonfeed me how to delete the car or teleport it somewhere sane?
or should i uninstall renai
Rseding91
Factorio Staff
Factorio Staff
Posts: 14345
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.100] game crash at certain map tick

Post by Rseding91 »

This is being caused by a car (RTProp_Car) that's driving straight south at at 134.216 MPH or 216 KMPH. It's owned by the mod RenaiTransportation so you'll need to contact them about why it's driving like a bat out of hell into oblivion. If you disabled that mod temporarily it would delete the car.
If you want to get ahold of me I'm almost always on Discord.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3052
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [1.1.100] game crash at certain map tick

Post by boskid »

There is one suspicious RTPropCar near {-526,-1452} near a zipline terminal, when that prop car is destroyed it spawns a character which is suspicious already.

As for the second RTPropCar, its too far to reach to it manually.

You can destroy both of those hidden cars using console command (it may need to be entered second time if there is a warning for running console commands).

Code: Select all

/c for _,e in pairs(game.player.surface.find_entities_filtered{name="RTPropCar"}) do e.destroy() end
There is also a super long 1 chunk wide, 32000 chunk long strip of empty chunks generated by that car traveling, where the car itself is traveling at a speed of 217.7km/h. Given all the traces left in this save file and other observations (it was not crashing for me when i was loading this save file with other player name) i suspect that there was some accident 4.8h ago in that save file where your character was travelling on a zip line in a car and was killed somehow, did i guess correctly?
ctalkep_
Burner Inserter
Burner Inserter
Posts: 11
Joined: Thu Feb 06, 2020 8:00 am
Contact:

Re: [1.1.100] game crash at certain map tick

Post by ctalkep_ »

this is from a server with ~3 people and was probably caused by one of the other guys
a car traveling at high speeds and generating new chunks would explain the source of massive lag i felt on the slow server(until i saved the map and localhosted it)
ctalkep_
Burner Inserter
Burner Inserter
Posts: 11
Joined: Thu Feb 06, 2020 8:00 am
Contact:

Re: [1.1.100] game crash at certain map tick

Post by ctalkep_ »

turns out it was the zipline trolley, one of the players was riding the zipline while the game saved
Post Reply

Return to “Not a bug”