[boskid][0.18.4] Crash in train pathfinder: "Path is not matching"

This subforum contains all the issues which we already resolved.
User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

[boskid][0.18.4] Crash in train pathfinder: "Path is not matching"

Post by ptx0 »

Just set up a rail loop on our playthrough in 18.4 (fresh playthrough started today on the new release) and it crashed hard when I made a temporary stop, there was an odd experience of a triangle shape. I have a save game here: https://clusterducks.net/public/broken-rail-nomods.zip

all you must do is open the train engine menu and try to temporary path around the loop.
Loewchen
Global Moderator
Global Moderator
Posts: 9089
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: train pathfinder made a triangle and crashed the game

Post by Loewchen »

Log please, see my signature...
User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: train pathfinder made a triangle and crashed the game

Post by ptx0 »

Code: Select all

   0.000 2020-02-08 15:03:19; Factorio 0.18.4 (build 49340, linux64, alpha)
   0.010 Operating system: Linux (Gentoo 2.6)
   0.010 Program arguments: "/home/kash/factorio-beta/factorio/bin/x64/factorio" 
   0.010 Read data path: /home/kash/factorio-beta/factorio/data
   0.010 Write data path: /home/kash/factorio-beta/factorio [1536958/1589960MB]
   0.010 Binaries path: /home/kash/factorio-beta/factorio/bin
   0.015 System info: [CPU: AMD Ryzen 7 3700X 8-Core Processor, 16 cores, RAM: 64302 MB]
   0.015 Environment: DISPLAY=:0 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=/usr/share/xsessions/plasma XDG_SESSION_DESKTOP=KDE XDG_CURRENT_DESKTOP=KDE __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.015 Display options: [FullScreen: 1] [VSync: 0] [UIScale: custom (75.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.099 Available displays: 2
   0.099  [0]: S27F350 27" - {[0,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.099  [1]: GN246HL 24" - {[1920,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 144Hz}
   0.216 Initialised OpenGL:[0] Radeon RX Vega (VEGA10, DRM 3.33.0, 5.3.6-gentoo-r1, LLVM 9.0.0); driver: 4.5 (Core Profile) Mesa 19.3.0-rc3
   0.216   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
   0.216   [Version] 4.5
   0.216 Graphics settings preset: very-high
   0.216   Dedicated video memory size 8192 MB
   0.235 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: high-quality] [Color: 32bit]
   0.235                   [Max threads (load/render): 32/16] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDC] [B:0,C:30,S:100]
   0.338 Info ModManager.cpp:242: Found duplicate mod beautiful_bridge_railway, using higher version (0.18.1 > 0.18.0).
   0.363 Info ModManager.cpp:242: Found duplicate mod chonky-trains, using higher version (0.4.1 > 0.4.0).
   0.372 Info ModManager.cpp:242: Found duplicate mod Dectorio, using higher version (0.10.1 > 0.10.0).
   0.375 Info ModManager.cpp:242: Found duplicate mod Dectorio, using higher version (0.10.5 > 0.10.1).
   0.376 Info ModManager.cpp:242: Found duplicate mod even-distribution, using higher version (0.3.15 > 0.3.14).
   0.384 Info ModManager.cpp:242: Found duplicate mod miniloader, using higher version (1.9.3 > 1.9.2).
   0.393 Info ModManager.cpp:242: Found duplicate mod robot_attrition, using higher version (0.4.2 > 0.4.1).
   0.401 Info ModManager.cpp:242: Found duplicate mod space-exploration, using higher version (0.2.5 > 0.2.4).
   0.414 Info ModManager.cpp:242: Found duplicate mod stdlib, using higher version (1.4.1 > 1.4.0).
   0.425 Loading mod core 0.0.0 (data.lua)
   0.489 Loading mod base 0.18.4 (data.lua)
   0.656 Loading mod base 0.18.4 (data-updates.lua)
   0.744 Checksum for core: 1454438658
   0.744 Checksum of base: 1870405162
   0.895 Prototype list checksum: 4109119676
   0.917 Loading sounds...
   0.942 Info PlayerData.cpp:68: Local player-data.json available, timestamp 1581202849
   0.942 Info PlayerData.cpp:75: Cloud player-data.json unavailable
   1.059 Initial atlas bitmap size is 16384
   1.079 Created atlas bitmap 16384x16384 [none]
   1.081 Created atlas bitmap 16384x12660 [none]
   1.082 Created atlas bitmap 8192x3720 [decal]
   1.082 Created atlas bitmap 16384x4928 [low-object]
   1.082 Created atlas bitmap 8192x3744 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.083 Created atlas bitmap 16384x5776 [terrain, mipmap, linear-minification, linear-mip-level]
   1.083 Created atlas bitmap 4096x2816 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   1.083 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
   1.083 Created atlas bitmap 4096x3104 [mipmap]
   1.084 Created atlas bitmap 4096x2208 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.084 Created atlas bitmap 2048x192 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.084 Created atlas bitmap 4096x2652 [alpha-mask]
   1.086 Created atlas bitmap 16384x15200 [shadow, linear-magnification, alpha-mask]
   1.086 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
   1.092 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.534 Parallel Sprite Loader initialized (threads: 15)
   7.327 Sprites loaded
   7.342 Generated mipmaps (4) for atlas [3] of size 16384x4928   
   7.346 Generated mipmaps (3) for atlas [4] of size 8192x3744   
   7.354 Generated mipmaps (3) for atlas [5] of size 16384x5776   
   7.356 Generated mipmaps (3) for atlas [6] of size 4096x2816   
   7.357 Generated mipmaps (3) for atlas [7] of size 4096x1600   
   7.377 Generated mipmaps (3) for atlas [8] of size 4096x3104   
   7.378 Generated mipmaps (5) for atlas [9] of size 4096x2208   
   7.379 Generated mipmaps (3) for atlas [13] of size 8192x2352   
   7.384 Custom mipmaps uploaded.
   7.503 Factorio initialised
   7.516 Info HttpSharedState.cpp:54: Downloading https://updater.factorio.com/updater/get-available-versions?username=ptx0&token=<private>&apiVersion=2
   8.271 0 packages available to download (experimental updates enabled).
  16.400 Loading map /home/kash/factorio-beta/factorio/saves/broken-rail-nomods.zip: 6909063 bytes.
  16.413 Loading level.dat: 16155214 bytes.
  16.420 Info Scenario.cpp:187: Map version 0.18.4-1
  16.804 Loading script.dat: 995 bytes.
  16.806 Checksum for script /home/kash/factorio-beta/factorio/temp/currently-playing/control.lua: 3715418880
 199.122 Time travel logging:
 181.472 Player 0 ran command: game.player.insert{name='enriched-rocket-fuel-b3', count='1'}
 185.889 Player 0 ran command: game.player.insert{item='enriched-rocket-fuel-b3', count='1'}
 193.772 Player 0 ran command: game.player.insert{name='rocket-fuel', count='1'}
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0xc6cc84, 0xe70f7d, 0xab8e69, 0xadca6c, 0xc2f466, 0x10e3f2c, 0x10e4d2c, 0xb1db9c, 0xb1eedf, 0xb296c6, 0x10e691c, 0x10e6d0a, 0x10e74b8, 0x10eff62, 0x11272ef, 0x1127887, 0x1127c81, 0x115f574, 0x115f86a, 0xc81fd1, 0x1d45f60, 0x84c7, 0
 204.271 Warning Logger.cpp:521: Symbols.size() == 37, usedSize == 22
#0  0x0000000000e70f7d 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  0x0000000000ab8e69 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  0x0000000000adca6c 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  0x0000000000c2f466 in Logger::flush() at /tmp/factorio-build-4qlkiu/src/Util/Logger.cpp:561
#4  0x00000000010e3f2c in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-build-4qlkiu/src/Util/Logger.cpp:547
#5  0x00000000010e4d2c in Logging::flush() at /tmp/factorio-build-4qlkiu/src/Util/Logging.cpp:69
#6  0x0000000000b1db9c 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-4qlkiu/src/Util/Logging.cpp:103
#7  0x0000000000b1eedf in Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, char const*, ...) at /tmp/factorio-build-4qlkiu/src/Util/Logging.cpp:93
#8  0x0000000000b296c6 in RailPath::updatePosition(Rail*, Rail*, Train*) at /tmp/factorio-build-4qlkiu/src/Rail/RailPath.cpp:115
#9  0x00000000010e691c in Train::resolveRailTransition(Rail*, Rail*, bool) at /tmp/factorio-build-4qlkiu/src/Rail/Train.cpp:1720
#10 0x00000000010e6d0a in std::_Function_handler<void (Rail*, Rail*, bool), Train::setup(SetupData const&)::{lambda(Rail*, Rail*, bool)#1}>::_M_invoke(std::_Any_data const&, Rail*&&, std::_Any_data const&, bool&&) at /home/build/gcc-9.2/include/c++/9.2.0/bits/std_function.h:302
#11 0x00000000010e74b8 in std::function<void (Rail*, Rail*, bool)>::operator()(Rail*, Rail*, bool) const at /home/build/gcc-9.2/include/c++/9.2.0/bits/std_function.h:690
#12 0x00000000010eff62 in RailJoint::startOnNewRail(Rail*, RailDirection, RailDirection, bool) at /tmp/factorio-build-4qlkiu/src/Rail/RailJoint.cpp:90
#13 0x00000000011272ef in RollingStock::Carriage::moveFrontJointForward(double, RidingState::Direction const&) at /tmp/factorio-build-4qlkiu/src/Entity/RollingStock.cpp:319
#14 0x0000000001127887 in RollingStock::move(double, RidingState::Direction const&, bool) at /tmp/factorio-build-4qlkiu/src/Entity/RollingStock.cpp:395
#15 0x0000000001127c81 in Train::tryToMove(double) at /tmp/factorio-build-4qlkiu/src/Rail/Train.cpp:1993
#16 0x000000000115f574 in Train::move(double) at /tmp/factorio-build-4qlkiu/src/Rail/Train.cpp:1861
#17 0x000000000115f86a in Train::updateSpeedAndMove() at /tmp/factorio-build-4qlkiu/src/Rail/Train.cpp:1345
#18 0x0000000000c81fd1 in Train::update() at /tmp/factorio-build-4qlkiu/src/Rail/Train.cpp:1059
#19 0x0000000001d45f60 in TrainManager::update(bool) at /tmp/factorio-build-4qlkiu/src/Rail/TrainManager.cpp:283
#20 0x00000000000084c7 in __gnu_cxx::__normal_iterator<ForceData**, std::vector<ForceData*, std::allocator<ForceData*> > >::__normal_iterator(ForceData** const&) at /home/build/gcc-9.2/include/c++/9.2.0/bits/stl_iterator.h:807
#21 (nil) in std::vector<ForceData*, std::allocator<ForceData*> >::end() at /home/build/gcc-9.2/include/c++/9.2.0/bits/stl_vector.h:827
#22 (nil) in ForceManager::update(unsigned int) at /tmp/factorio-build-4qlkiu/src/Force/ForceManager.cpp:107
#23 0x0000000100000001 in Map::updateEntities() at /tmp/factorio-build-4qlkiu/src/Map/Map.cpp:1663
#24 0x00007ff1b6b09b4b in Map::update() at /tmp/factorio-build-4qlkiu/src/Map/Map.cpp:1615
#25 0x00007ff0e910d080 in Game::update() at /tmp/factorio-build-4qlkiu/src/Game.cpp:201
#26 0x00007ff0e910f080 in Scenario::update() at /tmp/factorio-build-4qlkiu/src/Scenario/Scenario.cpp:1216
#27 0x3a0b833238780c05 in Scenario::updateStep() at /tmp/factorio-build-4qlkiu/src/Scenario/Scenario.cpp:1113
#28 0xec7ee114bb2caa00 in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) at /tmp/factorio-build-4qlkiu/src/MainLoop.cpp:1170
#29 0x0000000000000800 in MainLoop::gameUpdateLoop(MainLoop::HeavyMode) at /tmp/factorio-build-4qlkiu/src/MainLoop.cpp:1037
#30 0x0000000000000800 in std::function<void ()>::operator=(decltype(nullptr)) at /home/build/gcc-9.2/include/c++/9.2.0/bits/std_function.h:498
#31 0x00007ff11bffb9f0 in WorkerThread::loop() at /tmp/factorio-build-4qlkiu/src/Util/WorkerThread.cpp:49
#32 0x00007ff11bffb9d0 in std::default_delete<std::thread::_State>::operator()(std::thread::_State*) const at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/unique_ptr.h:81
#33 0x00007ff0e94c91a0 in std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >::~unique_ptr() at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/unique_ptr.h:284
#34 0x00007ff0e906cd50 in execute_native_thread_routine at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/src/c++11/../../../../../libstdc++-v3/src/c++11/thread.cc:79
#35 0x00007ff0e94c91a0 in ?? at ??:0
#36 0x00007ff0e90c2dc0 in ?? at ??:0
Stack trace logging done
 209.333 Warning Logger.cpp:521: Symbols.size() == 32, usedSize == 21
 209.334 Error RailPath.cpp:115: Path is not matching
Logger::writeStacktrace skipped.
 209.334 Error CrashHandler.cpp:189: Map tick at moment of crash: 1021655
 209.334 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.
 212.240 Info SystemUtil.cpp:547: Started /usr/bin/xdg-open; trampoline PID: 11946
 212.240 Uploading log file
 212.249 Info SystemUtil.cpp:547: Started /home/kash/factorio-beta/factorio/bin/x64/factorio; trampoline PID: 11947
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2965
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [boskid][0.18.4] Crash in train pathfinder: "Path is not matching"

Post by boskid »

Thanks for the report. Issue is now fixed for 0.18.5.
User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: [boskid][0.18.4] Crash in train pathfinder: "Path is not matching"

Post by ptx0 »

thanks, i knew it would be you who resolved it ;-)
Post Reply

Return to “Resolved Problems and Bugs”