[0.17.66] Crash SIGSEGV (Linux)

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Post Reply
MaggNorway
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Aug 19, 2019 7:55 pm
Contact:

[0.17.66] Crash SIGSEGV (Linux)

Post by MaggNorway »

When loading the attached autosave, walking north, turning on the personal roboport, and building some rail, the game crashed twice. (A.log)

Third time I was able to build some track, but when getting into the locomotive and ctrl-clicking upstream the railway to find out why it's no-pathing it crashed again. (B.log)

https://drive.google.com/open?id=1EQ7wc ... eocEeHbhO2

The system is Arch Linux with Gnome and Wayland, current up until the post of this message.

Code: Select all

 0.000 2019-08-23 13:05:14; Factorio 0.17.66 (build 46866, linux64, steam)
   0.000 Operating system: Linux
   0.000 Program arguments: "/home/XXX/Games/SteamLibrary/steamapps/common/Factorio/bin/x64/factorio" 
   0.000 Read data path: /home/XXX/Games/SteamLibrary/steamapps/common/Factorio/data
   0.000 Write data path: /home/XXX/.factorio [105060/870340MB]
   0.000 Binaries path: /home/XXX/Games/SteamLibrary/steamapps/common/Factorio/bin
   0.006 System info: [CPU: AMD Ryzen 5 1600X Six-Core Processor, 12 cores, RAM: 64427 MB]
   0.006 Environment: DISPLAY=:0 WAYLAND_DISPLAY=wayland-0 DESKTOP_SESSION=gnome XDG_SESSION_DESKTOP=gnome XDG_CURRENT_DESKTOP=GNOME __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> _
_GL_YIELD=<unset>
   0.006 Display options: [FullScreen: 0] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: 0000] [Lang: en]
   0.077 Available displays: 1
   0.077  [0]: XWAYLAND0 34" - {[0,0], 3440x1440, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.108 Initialised OpenGL:[0] Radeon RX 570 Series (POLARIS10, DRM 3.32.0, 5.2.9-zen1-1-zen, LLVM 8.0.1); driver: 4.5 (Core Profile) Mesa 19.1.4
   0.108   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
   0.108   [Version] 4.5
   0.108 Graphics settings preset: very-high
   0.108   Dedicated video memory size 8192 MB
   0.117 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: high-quality]
   0.117                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Color: 32bit]
   0.197 Loading mod settings research-queue-the-old-new-thing 1.7.5 (settings.lua)
   0.198 Loading mod core 0.0.0 (data.lua)
   0.303 Loading mod base 0.17.66 (data.lua)
   0.516 Loading mod research-queue-the-old-new-thing 1.7.5 (data.lua)
   0.635 Loading mod base 0.17.66 (data-updates.lua)
   0.744 Loading mod research-queue-the-old-new-thing 1.7.5 (data-final-fixes.lua)
   0.856 Checksum for core: 2403267992
   0.856 Checksum of base: 3948013453
   0.856 Checksum of research-queue-the-old-new-thing: 3913158699
   1.051 Loading sounds...
   1.084 Info PlayerData.cpp:70: Local player-data.json unavailable
   1.084 Info PlayerData.cpp:73: Cloud player-data.json available, timestamp 1566411860
   1.179 Initial atlas bitmap size is 16384
   1.203 Created atlas bitmap 16384x16376 [none]
   1.209 Created atlas bitmap 16384x11136 [none]
   1.209 Created atlas bitmap 8192x3872 [decal]
   1.210 Created atlas bitmap 16384x4320 [low-object]
   1.211 Created atlas bitmap 8192x3744 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.212 Created atlas bitmap 16384x6880 [terrain, mipmap, linear-minification, linear-mip-level]
   1.212 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
   1.213 Created atlas bitmap 4096x1744 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.213 Created atlas bitmap 2048x192 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.213 Created atlas bitmap 8192x1496 [alpha-mask]
   1.216 Created atlas bitmap 16384x12780 [shadow, linear-magnification, alpha-mask]
   1.216 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
   1.224 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.628 Parallel Sprite Loader initialized (threads: 11)
   9.663 Sprites loaded
   9.678 Generated mipmaps (4) for atlas [3] of size 16384x4320   
   9.687 Generated mipmaps (3) for atlas [4] of size 8192x3744   
   9.701 Generated mipmaps (3) for atlas [5] of size 16384x6880   
   9.706 Generated mipmaps (3) for atlas [6] of size 4096x1600   
   9.707 Generated mipmaps (5) for atlas [7] of size 4096x1744   
   9.708 Generated mipmaps (3) for atlas [11] of size 8192x2352   
   9.709 Custom mipmaps uploaded.
   9.724 Custom inputs active: 1
   9.782 Factorio initialised
  18.974 Loading map /home/XXX/.factorio/saves/_autosave2.zip: 21828569 bytes.
  18.991 Loading level.dat: 57076909 bytes.
  18.999 Info Scenario.cpp:187: Map version 0.17.66-0
  20.364 Loading script.dat: 2349 bytes.
  20.366 Checksum for script /home/XXX/.factorio/temp/currently-playing/control.lua: 72150939
  20.369 Checksum for script __research-queue-the-old-new-thing__/control.lua: 3061045582
  71.770 Error CrashHandler.cpp:603: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0xb33d88, 0xcfe81d, 0xbc233d, 0xbc26a8, 0xbc2709, 0x3a7e0, 0xae508b, 0xf4046b, 0xf4582a, 0xf7d0ec, 0xf7d5fd, 0xf7d957, 0xfad234, 0xfad772, 0xb4d831, 0x195840f, 0x957f, 0
  76.785 Warning Logger.cpp:518: Symbols.size() == 32, usedSize == 17
#0  0x0000000000cfe81d in std::__uniq_ptr_impl<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::_M_ptr() const at /usr/include/c++/8/bits/unique_ptr.h:150
#1  0x0000000000bc233d in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::get() const at /usr/include/c++/8/bits/unique_ptr.h:343
#2  0x0000000000bc26a8 in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::operator->() const at /usr/include/c++/8/bits/unique_ptr.h:337
#3  0x0000000000bc2709 in Logger::flush() at /tmp/factorio-build-eJ69eg/src/Util/Logger.cpp:558
#4  0x000000000003a7e0 in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-build-eJ69eg/src/Util/Logger.cpp:544
#5  0x0000000000ae508b in GlobalContext::getMap() at /tmp/factorio-build-eJ69eg/src/GlobalContext.cpp:1840
#6  0x0000000000f4046b in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-build-eJ69eg/src/Util/CrashHandler.cpp:188
#7  0x0000000000f4582a in CrashHandler::commonSignalHandler(int) at /tmp/factorio-build-eJ69eg/src/Util/CrashHandler.cpp:606
#8  0x0000000000f7d0ec in CrashHandler::SignalHandler(int) at /tmp/factorio-build-eJ69eg/src/Util/CrashHandler.cpp:620
#9  0x0000000000f7d5fd in ?? at ??:0
#10 0x0000000000f7d957 in std::_Deque_iterator<RailSignalData, RailSignalData&, RailSignalData*>::operator+=(long) at /usr/include/c++/8/bits/stl_deque.h:221
#11 0x0000000000fad234 in std::_Deque_iterator<RailSignalData, RailSignalData&, RailSignalData*>::operator+(long) const at /usr/include/c++/8/bits/stl_deque.h:231
#12 0x0000000000fad772 in std::_Deque_iterator<RailSignalData, RailSignalData&, RailSignalData*>::operator[](long) const at /usr/include/c++/8/bits/stl_deque.h:247
#13 0x0000000000b4d831 in std::deque<RailSignalData, std::allocator<RailSignalData> >::operator[](unsigned long) at /usr/include/c++/8/bits/stl_deque.h:1386
#14 0x000000000195840f in TrainSignalLogic::tryToReserveSignalsUpTo(Train*, double) at /tmp/factorio-build-eJ69eg/src/Rail/TrainSignalLogic.cpp:129
#15 0x000000000000957f in Train::update() at /tmp/factorio-build-eJ69eg/src/Rail/Train.cpp:1190
#16 (nil) in TrainManager::update(bool) at /tmp/factorio-build-eJ69eg/src/Rail/TrainManager.cpp:283
#17 (nil) in __gnu_cxx::__normal_iterator<ForceData**, std::vector<ForceData*, std::allocator<ForceData*> > >::__normal_iterator(ForceData** const&) at /usr/include/c++/8/bits/stl_iterator.h:781
#18 0x40869e4f8f34aca8 in std::vector<ForceData*, std::allocator<ForceData*> >::end() at /usr/include/c++/8/bits/stl_vector.h:717
#19 0x00007f2434a5dc28 in ForceManager::update(unsigned int) at /tmp/factorio-build-eJ69eg/src/Force/ForceManager.cpp:107
#20 0x00007f2434a5dc38 in Map::updateEntities() at /tmp/factorio-build-eJ69eg/src/Map/Map.cpp:1511
#21 0x0000000000000002 in Map::update() at /tmp/factorio-build-eJ69eg/src/Map/Map.cpp:1460
#22 0x0000000000000001 in Game::update() at /tmp/factorio-build-eJ69eg/src/Game.cpp:201
#23 0x0000000002140ef5 in Scenario::update() at /tmp/factorio-build-eJ69eg/src/Scenario/Scenario.cpp:1215
#24 0x000000000065fda8 in Scenario::updateStep() at /tmp/factorio-build-eJ69eg/src/Scenario/Scenario.cpp:1112
#25 0x4086e82a7ca3b1ba in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) at /tmp/factorio-build-eJ69eg/src/MainLoop.cpp:1167
#26 0x3ff0000000000000 in MainLoop::gameUpdateLoop(MainLoop::HeavyMode) at /tmp/factorio-build-eJ69eg/src/MainLoop.cpp:1036
#27 0x4086be7110c394f8 in std::function<void ()>::operator=(decltype(nullptr)) at /usr/include/c++/8/bits/std_function.h:495
#28 0x40869e4f8f34aca8 in WorkerThread::loop() at /tmp/factorio-build-eJ69eg/src/Util/WorkerThread.cpp:42
#29 0x412e848000000000 in execute_native_thread_routine at blake2s.c:?
#30 0x414ea474326d84eb in ?? at ??:0
#31 0x416fca0555555555 in ?? at ??:0
Stack trace logging done
  81.814 Warning Logger.cpp:518: Symbols.size() == 27, usedSize == 16
  81.814 Error CrashHandler.cpp:189: Map tick at moment of crash: 34868981
  81.814 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.
  81.814 Error MessageDialog.cpp:53: Unable to show message dialog. SDL Error: [No message system available]
  81.814 Uploading log file
  81.824 Info SystemUtil.cpp:538: Started /home/XXX/Games/SteamLibrary/steamapps/common/Factorio/bin/x64/factorio; trampoline PID: 26383
[code]
Attachments
74873factorio-previous.log
TrainSignalLogic::tryToReserveSignalsUpTo
(9.33 KiB) Downloaded 73 times
74873B.log
Chunk::updateActiveEntities
(8.58 KiB) Downloaded 57 times
74873A.log
TrainSignalLogic::tryToReserveSignalsUpTo
(9.33 KiB) Downloaded 60 times

posila
Factorio Staff
Factorio Staff
Posts: 5202
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.66] Crash SIGSEGV (Linux)

Post by posila »

Thanks for the report.
I tried to reproduce the crash couple of time (load save, turn on personal roboport, let robots build ghosts, manually connected right rail line, enter train and Ctrl + Click on the railway to find disconnected spot) and it didn't crash for me.
The two logs you postead crashed in different places, which together with me not able to reproduce the crash makes me think something is wrong with your PC. Can you run some CPU and RAM benchmarks to see if everything is alright?

Post Reply

Return to “Pending”