Page 1 of 1

[1.1.8] Crash when clicking Train Station in IR2 (TrainWithMinimap::updateStatusButton)

Posted: Sun Jan 10, 2021 4:46 am
by darklich14
Save file: https://drive.google.com/file/d/1ZlXf6i ... sp=sharing

Opening the iron ingot loader station at [gps=17,484] crashes the game.
Opening the iron ingot unloader station at [gps=23,185] crashes the game.
It appears that trying to manually recreate the iron ingot station, clicking the iron ingot in the formatted text picker and then clicking accept, crashes the game. Just the iron ingot, not other icons.

I hope this helps. Please let me know if you have questions or need clarification.

Best Regards,
buddy

Log below:

Error Train.cpp:526: train has some unhandled state

Code: Select all

   0.000 2021-01-09 23:29:47; Factorio 1.1.8 (build 57537, linux64, full)
   0.032 Operating system: Linux (Debian 10)
   0.032 Program arguments: "./bin/x64/factorio" 
   0.032 Read data path: /home/buddy/Downloads/factorio-1.1.8/data
   0.032 Write data path: /home/buddy/Downloads/factorio-1.1.8 [149037/208005MB]
   0.032 Binaries path: /home/buddy/Downloads/factorio-1.1.8/bin
   0.038 System info: [CPU: Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz, 8 cores, RAM: 15965 MB]
   0.038 Environment: DISPLAY=:0 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=i3 XDG_SESSION_DESKTOP=i3 XDG_CURRENT_DESKTOP=i3 __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.038 Display options: [FullScreen: 1] [VSync: 1] [UIScale: custom (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.095 Available displays: 1
   0.095  [0]: 0 - {[0,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.141 Initialised OpenGL:[0] Mesa DRI Intel(R) Haswell Mobile ; driver: 4.5 (Core Profile) Mesa 18.3.6
   0.141   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
   0.141   [Version] 4.5
   0.143 Graphics settings preset: integrated-gpuhigh
   0.143   Dedicated video memory size 0 MB (failed to detect)
   0.168 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: low-quality] [Color: 32bit]
   0.168                   [Max threads (load/render): 32/8] [Max texture size: 8192] [Tex.Stream.: 0] [Rotation quality: low] [Other: sTDCwt] [B:0,C:0,S:100]
   0.172 [Audio] Backend:default; Depth:16, Channel:2, Frequency:44100; MixerQuality:linear
   0.334 Loading mod settings helmod 0.12.0 (settings.lua)
   0.334 Loading mod settings IndustrialRevolution 2.0.0 (settings.lua)
   0.336 Loading mod core 0.0.0 (data.lua)
   0.419 Loading mod base 1.1.8 (data.lua)
   0.705 Loading mod FNEI 0.4.0 (data.lua)
   0.827 Loading mod helmod 0.12.0 (data.lua)
   0.952 Loading mod IndustrialRevolution 2.0.0 (data.lua)
   1.162 Loading mod base 1.1.8 (data-updates.lua)
   1.288 Loading mod IndustrialRevolution 2.0.0 (data-updates.lua)
   1.506 Loading mod IndustrialRevolution 2.0.0 (data-final-fixes.lua)
   4.671 Checksum for core: 2245420583
   4.671 Checksum of base: 1287547015
   4.671 Checksum of FNEI: 3619919004
   4.671 Checksum of helmod: 403190535
   4.671 Checksum of IndustrialRevolution: 768709703
   4.939 Prototype list checksum: 903193608
   4.996 Loading sounds...
   5.110 Info PlayerData.cpp:70: Local player-data.json available, timestamp 1610239732
   5.110 Info PlayerData.cpp:77: Cloud player-data.json unavailable
   5.153 Warning AtlasSystem.cpp:154: Image "__base__/graphics/icons/accumulator.png" was used for an icon multiple times with different scale. Icon background might not be consistent with other icons.
   5.153 Warning AtlasSystem.cpp:154: Image "__IndustrialRevolution__/graphics/icons/64/empty-barrel.png" was used for an icon multiple times with different scale. Icon background might not be consistent with other icons.
   5.153 Warning AtlasSystem.cpp:154: Image "__IndustrialRevolution__/graphics/icons/64/empty-barrel.png" was used for an icon multiple times with different scale. Icon background might not be consistent with other icons.
   5.153 Warning AtlasSystem.cpp:154: Image "__IndustrialRevolution__/graphics/icons/64/empty-barrel.png" was used for an icon multiple times with different scale. Icon background might not be consistent with other icons.
   5.153 Warning AtlasSystem.cpp:154: Image "__IndustrialRevolution__/graphics/icons/64/empty-barrel.png" was used for an icon multiple times with different scale. Icon background might not be consistent with other icons.
   5.153 Warning AtlasSystem.cpp:154: Image "__IndustrialRevolution__/graphics/icons/64/empty-barrel.png" was used for an icon multiple times with different scale. Icon background might not be consistent with other icons.
   5.153 Warning AtlasSystem.cpp:154: Image "__IndustrialRevolution__/graphics/icons/64/empty-barrel.png" was used for an icon multiple times with different scale. Icon background might not be consistent with other icons.
   5.153 Warning AtlasSystem.cpp:154: Image "__IndustrialRevolution__/graphics/icons/64/empty-barrel.png" was used for an icon multiple times with different scale. Icon background might not be consistent with other icons.
   5.153 Warning AtlasSystem.cpp:154: Image "__IndustrialRevolution__/graphics/icons/64/empty-barrel.png" was used for an icon multiple times with different scale. Icon background might not be consistent with other icons.
   5.265 Initial atlas bitmap size is 8192
   5.302 Created atlas bitmap 8192x8184 [none]
   5.330 Created atlas bitmap 8192x8184 [none]
   5.363 Created atlas bitmap 8192x8184 [none]
   5.390 Created atlas bitmap 8192x8192 [none]
   5.415 Created atlas bitmap 8192x8180 [none]
   5.441 Created atlas bitmap 8192x8192 [none]
   5.470 Created atlas bitmap 8192x8192 [none]
   5.501 Created atlas bitmap 8192x8192 [linear-magnification]
   5.506 Created atlas bitmap 8192x2340 [none]
   5.516 Created atlas bitmap 8192x4208 [decal]
   5.540 Created atlas bitmap 8192x8160 [low-object]
   5.549 Created atlas bitmap 8192x3584 [low-object]
   5.557 Created atlas bitmap 8192x4032 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   5.580 Created atlas bitmap 8192x8160 [terrain, mipmap, linear-minification, linear-mip-level]
   5.589 Created atlas bitmap 8192x4704 [terrain, mipmap, linear-minification, linear-mip-level]
   5.591 Created atlas bitmap 4096x3264 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   5.593 Created atlas bitmap 4096x1840 [smoke, mipmap, linear-minification, linear-magnification]
   5.597 Created atlas bitmap 4096x3088 [mipmap]
   5.622 Created atlas bitmap 8192x3024 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   5.624 Created atlas bitmap 8192x1496 [alpha-mask]
   5.649 Created atlas bitmap 8192x8192 [shadow, linear-magnification, alpha-mask]
   5.657 Created atlas bitmap 8192x5900 [shadow, linear-magnification, alpha-mask]
   5.658 Created atlas bitmap 4096x1328 [shadow, mipmap, linear-magnification, alpha-mask]
   5.659 Created atlas bitmap 2048x368 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   5.664 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test FAILED. YCoCgDXT PSNR: 35.83, BC3 PSNR: 25.19
   6.501 Parallel Sprite Loader initialized (threads: 7)
  18.878 Sprites loaded
  19.080 Generated mipmaps (4) for atlas [10] of size 8192x8160   
  19.163 Generated mipmaps (4) for atlas [11] of size 8192x3584   
  19.248 Generated mipmaps (3) for atlas [12] of size 8192x4032   
  19.445 Generated mipmaps (3) for atlas [13] of size 8192x8160   
  19.610 Generated mipmaps (3) for atlas [14] of size 8192x4704   
  19.634 Generated mipmaps (3) for atlas [15] of size 4096x3264   
  19.658 Generated mipmaps (3) for atlas [16] of size 4096x1840   
  19.676 Generated mipmaps (3) for atlas [17] of size 4096x3088   
  19.687 Generated mipmaps (5) for atlas [18] of size 8192x3024   
  19.704 Generated mipmaps (3) for atlas [22] of size 4096x1328   
  19.717 Custom mipmaps uploaded.
  19.768 Custom inputs active: 13
  19.911 Factorio initialised
  19.921 Info HttpSharedState.cpp:54: Downloading https://updater.factorio.com/updater/get-available-versions?username=darklich14&token=<private>&apiVersion=2
  21.565 0 packages available to download (experimental updates disabled).
  25.291 Joining game IP ADDR:({104.8.63.224:34197})
  25.291 Info UDPSocket.cpp:33: Opening socket
  25.294 Info ClientMultiplayerManager.cpp:588: UpdateTick(4294967295) changing state from(Ready) to(Connecting)
  25.427 Connection refused
  25.427 Info ClientMultiplayerManager.cpp:207: Quitting multiplayer connection.
  25.427 Info ClientMultiplayerManager.cpp:588: UpdateTick(4294967295) changing state from(Connecting) to(Disconnected)
  25.427 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-user-server-key-2?api_version=4
  25.624 Info AuthServerConnector.cpp:99: Received key from auth server.
  25.712 Info UDPSocket.cpp:218: Closing socket
  25.712 Info UDPSocket.cpp:248: Socket closed
  25.713 Joining game IP ADDR:({104.8.63.224:34197})
  25.713 Info UDPSocket.cpp:33: Opening socket
  25.713 Info ClientMultiplayerManager.cpp:588: UpdateTick(4294967295) changing state from(Ready) to(Connecting)
  25.862 Info ClientSynchronizer.cpp:32: Initialized Synchronizer local peer(1) latency(32).
  25.866 Info ClientMultiplayerManager.cpp:588: UpdateTick(4294967295) changing state from(Connecting) to(ConnectedWaitingForMap)
  25.866 Info ClientRouter.cpp:222: ConnectionAccepted
  25.894 Downloading file /home/buddy/Downloads/factorio-1.1.8/temp/auxiliary-data (329 B, 1 blocks)
  25.943 Finished download (0 s, 329 B, 6.8 kB/s)
  26.522 Info ClientMultiplayerManager.cpp:768: Received mapReadyForDownload
  26.522 Downloading file /home/buddy/Downloads/factorio-1.1.8/temp/mp-download.zip (11021088 B, 21911 blocks)
  26.530 Info ClientMultiplayerManager.cpp:588: UpdateTick(4294967295) changing state from(ConnectedWaitingForMap) to(ConnectedDownloadingMap)
  30.667 Finished download (4 s, 11.0 MB, 2.6 MB/s)
  30.693 Info ClientMultiplayerManager.cpp:748: updateTick(4294967295) map download finished creating scenario
  30.693 Loading map /home/buddy/Downloads/factorio-1.1.8/temp/mp-download.zip: 11021088 bytes.
  30.693 Info ClientMultiplayerManager.cpp:588: UpdateTick(4https://drive.google.com/file/d/1ZlXf6iDxm3k9ruouD4OTlE4zOVCGGFm5/view?usp=sharing294967295) changing state from(ConnectedDownloadingMap) to(ConnectedLoadingMap)
  30.708 Loading level.dat: 31327067 bytes.
  30.716 Info Scenario.cpp:196: Map version 1.1.8-0
  38.538 Loading script.dat: 869925 bytes.
  38.541 Checksum for script /home/buddy/Downloads/factorio-1.1.8/temp/currently-playing/control.lua: 2929504738
  38.551 Checksum for script __FNEI__/control.lua: 3692342150
  38.593 Checksum for script __helmod__/control.lua: 2588059381
  38.603 Checksum for script __IndustrialRevolution__/control.lua: 233353865
  38.682 Info ClientMultiplayerManager.cpp:588: UpdateTick(14916634) changing state from(ConnectedLoadingMap) to(TryingToCatchUp)
  39.930 Info ClientMultiplayerManager.cpp:588: UpdateTick(14917440) changing state from(TryingToCatchUp) to(WaitingForCommandToStartSendingTickClosures)
  40.044 Info ClientMultiplayerManager.cpp:588: UpdateTick(14917440) changing state from(WaitingForCommandToStartSendingTickClosures) to(InGame)
  40.128 Info GameActionHandler.cpp:4961: UpdateTick (14917445) processed PlayerJoinGame peerID(3) playerIndex(0) mode(connect) 
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0xd05da7, 0xf0043d, 0xb25779, 0xb4d71c, 0xcbf3b7, 0xf3563d, 0x110c864, 0x110ca58, 0x11c8a49, 0x1220c9f, 0x12b5636, 0x12b5baf, 0x12b6038, 0x12b62dc, 0x12b63d8, 0x12df11e, 0x12df653, 0x12df8f0, 0x13187b4, 0x131a5c5, 0x131a79e, 0x5c11d1, 0, 0x5d11ae
  55.348 Warning Logger.cpp:526: Symbols.size() == 35, usedSize == 23
#0  0x0000000000f0043d in std::__uniq_ptr_impl<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::_M_ptr() const at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:154
#1  0x0000000000b25779 in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::get() const at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:353
#2  0x0000000000b4d71c in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::operator->() const at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:347
#3  0x0000000000cbf3b7 in Logger::flush() at /tmp/factorio-build-iDTete/src/Util/Logger.cpp:566
#4  0x0000000000f3563d in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-build-iDTete/src/Util/Logger.cpp:552
#5  0x000000000110c864 in Logging::flush() at /tmp/factorio-build-iDTete/src/Util/Logging.cpp:69
#6  0x000000000110ca58 in Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) at /tmp/factorio-build-iDTete/src/Util/Logging.cpp:103
#7  0x00000000011c8a49 in Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, char const*, ...) at /tmp/factorio-build-iDTete/src/Util/Logging.cpp:93
#8  0x0000000001220c9f in Train::getStateDescription() const at /tmp/factorio-build-iDTete/src/Rail/Train.cpp:526
#9  0x00000000012b5636 in LocalisedString::str[abi:cxx11](LocaleProvider const*) const at /tmp/factorio-build-iDTete/src/Util/LocalisedString.cpp:392
#10 0x00000000012b5baf in TrainWithMinimap::updateStatusButton() at /tmp/factorio-build-iDTete/src/Gui/TrainWithMinimap.cpp:112
#11 0x00000000012b6038 in TrainWithMinimap::updateTrain(Train const&) at /tmp/factorio-build-iDTete/src/Gui/TrainWithMinimap.cpp:106
#12 0x00000000012b62dc in TrainWithMinimap::TrainWithMinimap(GuiActionHandler&, Train const&, Player const*) at /tmp/factorio-build-iDTete/src/Gui/TrainWithMinimap.cpp:30
#13 0x00000000012b63d8 in std::__uniq_ptr_impl<TrainWithMinimap, std::default_delete<TrainWithMinimap> >::__uniq_ptr_impl(TrainWithMinimap*) at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:147
#14 0x00000000012df11e in std::unique_ptr<TrainWithMinimap, std::default_delete<TrainWithMinimap> >::unique_ptr<std::default_delete<TrainWithMinimap>, void>(TrainWithMinimap*) at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:204
#15 0x00000000012df653 in std::_MakeUniq<TrainWithMinimap>::__single_object std::make_unique<TrainWithMinimap, GuiActionHandler&, Train const&, Player const*>(GuiActionHandler&, Train const&, Player const*&&) at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:849
#16 0x00000000012df8f0 in TrainsWidget::updateTrainList() at /tmp/factorio-build-iDTete/src/Gui/TrainsWidget.cpp:84
#17 0x00000000013187b4 in TrainsWidget::TrainsWidget(GuiActionHandler&, Player const&, TrainManager const&, TrainStop const*, unsigned int, agui::FrameStyle const*, bool) at /tmp/factorio-build-iDTete/src/Gui/TrainsWidget.cpp:45
#18 0x000000000131a5c5 in TrainStopGui::TrainStopGui(TrainStop const*, GuiActionHandler&, GuiInfoProvider&, Player const&) at /tmp/factorio-build-iDTete/src/Gui/TrainStopGui.cpp:42 (discriminator 26)
#19 0x000000000131a79e in CommonMapInteraction::openEntityGui(Controller&, ForceData const*, Entity const*, unsigned char) at /tmp/factorio-build-iDTete/src/Input/CommonMapInteraction.cpp:616
#20 0x00000000005c11d1 in CommonMapInteraction::openGuiInternal(Controller&) at /tmp/factorio-build-iDTete/src/Input/CommonMapInteraction.cpp:344
#21 (nil) in CommonMapInteraction::openGui(Controller&, bool) at /tmp/factorio-build-iDTete/src/Input/CommonMapInteraction.cpp:140
#22 0x00000000005d11ae in GameView::loadGuiForController() at /tmp/factorio-build-iDTete/src/GameView.cpp:581 (discriminator 6)
#23 (nil) in GameView::executeAction(GameViewAction const&) at /tmp/factorio-build-iDTete/src/GameView.cpp:407
#24 (nil) in GameView::executeActions(std::vector<GameViewAction, std::allocator<GameViewAction> > const&) at /tmp/factorio-build-iDTete/src/GameView.cpp:350 (discriminator 3)
#25 (nil) in std::vector<GameViewAction, std::allocator<GameViewAction> >::clear() at /home/build/gcc-9.2/include/c++/9.2.0/bits/stl_vector.h:1496
#26 (nil) in Game::postAllegroActionProcessed() at /tmp/factorio-build-iDTete/src/Game.cpp:306
#27 (nil) in Game::postAllegroActionProcessed() at /tmp/factorio-build-iDTete/src/Game.cpp:295
#28 (nil) in Game::postUpdate() at /tmp/factorio-build-iDTete/src/Game.cpp:281
#29 (nil) in MainLoop::prepare() at /tmp/factorio-build-iDTete/src/MainLoop.cpp:1014
#30 (nil) in MainLoop::mainLoopStep(WorkerThread&, MainLoop::HeavyMode) at /tmp/factorio-build-iDTete/src/MainLoop.cpp:687
#31 (nil) in MainLoop::run(Filesystem::Path const&, Filesystem::Path const&, bool, bool, std::function<void ()>, Filesystem::Path const&, MainLoop::HeavyMode) at /tmp/factorio-build-iDTete/src/MainLoop.cpp:392
#32 (nil) in main at /tmp/factorio-build-iDTete/src/Main.cpp:1141
#33 (nil) in ?? at ??:0
#34 (nil) in _start at ??:?
Stack trace logging done
  66.675 Warning Logger.cpp:526: Symbols.size() == 30, usedSize == 22
  66.675 Error Train.cpp:526: train has some unhandled state
Logger::writeStacktrace skipped.
  66.675 Error CrashHandler.cpp:189: Map tick at moment of crash: 14917712
  66.675 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.
 220.249 Info SystemUtil.cpp:547: Started /usr/bin/xdg-open; trampoline PID: 26061
 220.249 Uploading log file
 220.294 Info SystemUtil.cpp:547: Started /home/buddy/Downloads/factorio-1.1.8/bin/x64/factorio; trampoline PID: 26062

Re: [1.1.8] Crash when clicking Train Station in IR2 (TrainWithMinimap::updateStatusButton)

Posted: Sun Jan 10, 2021 12:06 pm
by lillmatild
I believe I'm getting the same crash, on 1.1.8 with no mods.

Save file: https://drive.google.com/file/d/1Afpqh4 ... sp=sharing

Clicking on the train station "LDS" crashes the game

Re: [1.1.8] Crash when clicking Train Station in IR2 (TrainWithMinimap::updateStatusButton)

Posted: Sun Jan 10, 2021 12:33 pm
by Loewchen
Ref.: 94148

Re: [1.1.8] Crash when clicking Train Station in IR2 (TrainWithMinimap::updateStatusButton)

Posted: Sun Jan 10, 2021 4:49 pm
by boskid
Duplicate 94035