Factorio crashed with a SEGV after I switched a train from manual to automatic, which caused the train to leave the station. From the log, it seems to actually be related to the transport belt(s) getting updated. I did not have any mods enabled.
A few things that might be relevant: The train was being loaded by 6 stack inserters on each side (12 total per car) and the belts were express belts.
The autosave wasn't all that close to the crash, but I've attached it anyway, just in case it helps. I'm going to try to recreate the crash, will edit or reply if I'm successful.
Please let me know if you need any more information.
[0.15.3] Crash when train leaves station
-
- Manual Inserter
- Posts: 3
- Joined: Sat Apr 29, 2017 6:41 pm
- Contact:
[0.15.3] Crash when train leaves station
- Attachments
-
- _autosave1.zip
- (5.22 MiB) Downloaded 154 times
-
- factorio-current.log
- The stacktrace is at the end.
- (487.12 KiB) Downloaded 164 times
Re: [0.15.3] Crash when train leaves station
Code: Select all
103563.902 Error CrashHandler.cpp:232: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
#0 0x00000001008778c2 in Logger::logStacktrace(StackTraceInfo*) (in factorio) (Logger.cpp:408)
#1 0x000000010086847d in CrashHandler::writeStackTrace() (in factorio) (CrashHandler.cpp:106)
#2 0x000000010086840e in CrashHandler::SignalHandler(int) (in factorio) (CrashHandler.cpp:237)
#3 0x00007fff8c57252a in 0x00007fff8c57252a
#4 0x00000001002a5741 in TransportBelt::update(int) (in factorio) (UpdatableEntity.cpp:117)
#5 0x0000000100cb6bd8 in ogl_destroy_bitmap (in factorio) (ogl_bitmap.c:701)
#6 0x0000000100c585c5 in al_destroy_bitmap (in factorio) (bitmap.c:234)
#7 0x000000010037b312 in Sprite::~Sprite() (in factorio) (Sprite.cpp:353)
#8 0x00000001008ac801 in TileRenderer::~TileRenderer() (in factorio) (TileRenderer.hpp:18)
#9 0x0000000100365c3e in GameRenderer::clearRenderers() (in factorio) (vector.hpp:133)
#10 0x00000001003659d2 in GameRenderer::~GameRenderer() (in factorio) (memory:2724)
#11 0x000000010089cb5a in non-virtual thunk to CameraWidget::~CameraWidget() (in factorio) (memory:2541)
#12 0x000000010039124e in GuiWindow::~GuiWindow() (in factorio) (iterator:1296)
#13 0x0000000100505e1a in TrainGui::~TrainGui() (in factorio) (TrainGui.cpp:546)
#14 0x0000000100505eb8 in non-virtual thunk to TrainGui::~TrainGui() (in factorio) (TrainGui.cpp:543)
#15 0x000000010031c1c9 in GameView::closeActiveWindow() (in factorio) (memory:2725)
#16 0x00000001000ec530 in Controller::destroy() (in factorio) (memory:2733)
#17 0x00000001000ec49e in CharacterController::destroy() (in factorio) (Targeter.hpp:39)
#18 0x000000010071f317 in Player::setControllerInternal(Controller*) (in factorio) (Player.cpp:939)
#19 0x000000010071f1b6 in Player::setController(Surface&, ControllerType) (in factorio) (Player.cpp:978)
#20 0x000000010019e8cb in Player::onCharacterDied(Character*, Entity*) (in factorio) (Player.cpp:538)
#21 0x000000010019dbd0 in Character::die(ForceID, Entity*) (in factorio) (EntityWithHealth.hpp:64)
#22 0x00000001001e7953 in EntityWithHealth::damage(DamageHit&) (in factorio) (EntityWithHealth.cpp:131)
#23 0x000000010019cec7 in EntityWithOwner::damage(DamageHit&) (in factorio) (EntityWithOwner.cpp:145)
#24 0x000000010019cd41 in Character::damage(DamageHit&) (in factorio) (Character.cpp:1174)
#25 0x000000010073952e in Train::collides(double) (in factorio) (Train.cpp:1564)
#26 0x0000000100737f02 in Train::move(double) (in factorio) (Train.cpp:1804)
#27 0x0000000100736912 in Train::updateSpeedAndMove() (in factorio) (Train.cpp:1276)
#28 0x00000001007358bc in Train::update() (in factorio) (Train.cpp:925)
#29 0x000000010067afe1 in TrainManager::update(bool) (in factorio) (iterator:1296)
#30 0x00000001002f10c0 in Map::update() (in factorio) (vector:1466)
#31 0x00000001002f0b15 in Game::update() (in factorio) (Game.cpp:157)
#32 0x00000001006536d1 in Scenario::update() (in factorio) (__mutex_base:157)
#33 0x0000000100657653 in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) (in factorio) (MainLoop.cpp:826)
#34 0x0000000100655fd6 in MainLoop::gameUpdateLoop(MainLoop::HeavyMode) (in factorio) (GlobalContext.cpp:1122)
#35 0x000000010088e06b in WorkerThread::loop() (in factorio) (functional:1593)
#36 0x0000000100bb4fe5 in void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (WorkerThread::*)(), WorkerThread*> >(void*) (in factorio) (memory:2744)
#37 0x00007fff93b6f99d in 0x00007fff93b6f99d
#38 0x00007fff93b6f91a in 0x00007fff93b6f91a
#39 0x00007fff93b6d351 in 0x00007fff93b6d351
103564.988 Error CrashHandler.cpp:106: Map tick at moment of crash: 1234808
103564.988 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.
Re: [0.15.3] Crash when train leaves station
Thanks for the report. It crashed because the train you told to move ran you over and forced the GUI to close
Anyway, it's fixed for the next version of 0.15.
Anyway, it's fixed for the next version of 0.15.
If you want to get ahold of me I'm almost always on Discord.
-
- Manual Inserter
- Posts: 3
- Joined: Sat Apr 29, 2017 6:41 pm
- Contact:
Re: [0.15.3] Crash when train leaves station
Wow, I didn't notice Character::die(). Nice job!