[15.37] FourDirectionPointers indexing segfault

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
scryver
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Nov 08, 2017 8:15 pm
Contact:

[15.37] FourDirectionPointers indexing segfault

Post by scryver »

Hi,

First of great game! But too bad it crashed today. I attached the last autosave and the log file, apparently it crashed at indexing part of the transport belt (or so it seems from the names in the log file).
The only mod that was active at the moment was Angels Warehouses.
Hope you can use this report to make the game even better!

Good luck and all the best,
Michiel
Attachments
_autosave3.zip
(4.06 MiB) Downloaded 45 times
factorio-current.log
(7.72 KiB) Downloaded 44 times
Loewchen
Global Moderator
Global Moderator
Posts: 9663
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [15.37] FourDirectionPointers indexing segfault

Post by Loewchen »

Code: Select all

   0.000 2017-11-08 20:57:10; Factorio 0.15.37 (build 30927, linux64, alpha)
   0.037 Operating system: Linux (Debian 9.2)
   0.048 Program arguments: "./Games/factorio/bin/x64/factorio" 
   0.048 Read data path: /home/michiel/Games/factorio/data
   0.048 Write data path: /home/michiel/Games/factorio
   0.048 Binaries path: /home/michiel/Games/factorio/bin
   0.112 System info: [CPU: AMD Ryzen 5 1600X Six-Core Processor           , 12 cores, RAM: 32189MB]
   0.115 Display options: [FullScreen: 1] [VSync: 1] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.261 Available display adapters: 3
   0.261  [0]: resolution 1920x1080px at [0,0]
   0.261  [1]: resolution 1920x1080px at [1920,98]
   0.261  [2]: resolution 1920x1080px at [3840,98]
   0.261 Create display on adapter 0. Size 1280x720 at position [310, 162].
   0.632 Initialised OpenGL:[0] GeForce GTX 960/PCIe/SSE2; driver: 4.5.0 NVIDIA 375.82
   0.632     Video memory size (dedicated/total available/current available): 4096/4096/3714 MB
   0.768 Graphics settings preset: very-high
   0.768 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: false] [Shader: 1]
   1.539 Loading mod settings angelsaddons-warehouses 0.2.2 (settings.lua)
   1.571 Loading mod core 0.0.0 (data.lua)
   1.596 Loading mod base 0.15.37 (data.lua)
   1.758 Loading mod angelsaddons-warehouses 0.2.2 (data.lua)
   1.780 Loading mod base 0.15.37 (data-updates.lua)
   1.817 Loading mod angelsaddons-warehouses 0.2.2 (data-updates.lua)
   1.876 Checksum for core: 2904504744
   1.876 Checksum of base: 1503927233
   1.876 Checksum of angelsaddons-warehouses: 1879668213
   2.249 Info PlayerData.cpp:58: Local player-data.json available, timestamp 1510000061
   2.249 Info PlayerData.cpp:65: Cloud player-data.json unavailable
   2.483 Loaded shader file /home/michiel/Games/factorio/data/core/graphics/shaders/game.glsl
   2.484 Loaded shader file /home/michiel/Games/factorio/data/core/graphics/shaders/zoom-to-world.glsl
   2.495 Initial atlas bitmap size is 16384
   2.517 Created atlas bitmap 16384x16372
   2.518 Created atlas bitmap 16384x1293
   2.520 Created atlas bitmap 16384x3181
   2.523 Created atlas bitmap 16384x4761
   2.523 Created atlas bitmap 8192x1916
   2.524 Created atlas bitmap 8192x800
   2.525 Created atlas bitmap 8192x2040
  21.695 Sprites loaded
  21.695 Convert atlas 8192x1916 to: mipmap 
  21.781 Convert atlas 8192x800 to: mipmap 
  21.816 Convert atlas 8192x2040 to: trilinear-filtering 
  21.907 Loading sounds...
  23.963 Custom inputs active: 0
  23.963 Info Updater.cpp:751: Downloading https://updater.factorio.com/get-available-versions?username=scryver&token=<private>&apiVersion=2
  25.421 0 packages available to download (experimental updates disabled).
  25.478 Factorio initialised
  34.342 Loading map /home/michiel/Games/factorio/saves/fresh one.zip: 4009433 bytes.
  34.367 Loading Level.dat: 6865969 bytes.
  34.372 Info Scenario.cpp:135: Map version 0.15.37-0
  34.561 Info BlueprintLibrary.cpp:226: Loaded library shelves:
  34.561 Info BlueprintLibrary.cpp:794: Game shelf: playerIndex = 65535, nextRecordID = 0; timestamp = 1509996954; records:
  34.561 Info BlueprintLibrary.cpp:796: Player shelf: playerIndex = 0, nextRecordID = 0; timestamp = 1509996957; records:
  34.591 Info BlueprintLibrary.cpp:49: Loaded external blueprint storage: playerIndex = 0, nextRecordID = 0; timestamp = 1509997079; records:
  34.591 Loading script.dat: 190 bytes.
  34.611 Checksum for script /home/michiel/Games/factorio/temp/currently-playing/control.lua: 282129324
 119.688 Info BlueprintShelf.cpp:683: Saving blueprint storage.
 885.713 Error CrashHandler.cpp:387: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
 886.998 Warning Logger.cpp:413: Symbols.size() == 43, usedSize == 34
#0  0x00000000009e778d in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-XxmJMF/src/Util/Logger.cpp:438
#1  0x0000000000745290 in CrashHandler::writeStackTrace(CrashHandler::CrashReason) [clone .constprop.109915] at /tmp/factorio-XxmJMF/src/Util/CrashHandler.cpp:122
#2  0x0000000000745724 in CrashHandler::SignalHandler(int) at /tmp/factorio-XxmJMF/src/Util/CrashHandler.cpp:389
#3  0x00007f1e6a321030 in ?? at ??:0
#4  0x000000000096220f in FourDirectionPointers<TransportBeltConnectable>::operator[](Direction) at /tmp/factorio-XxmJMF/src/Util/FourDirectionPointers.hpp:22
#5  0x0000000000b800a7 in TransportBelt::update(int) at /tmp/factorio-XxmJMF/src/Entity/TransportBelt.cpp:248
#6  0x0000000000b801b9 in TransportBelt::update(int) at /tmp/factorio-XxmJMF/src/Entity/TransportBelt.cpp:266
#7  0x0000000000b801b9 in TransportBelt::update(int) at /tmp/factorio-XxmJMF/src/Entity/TransportBelt.cpp:266
#8  0x0000000000b801b9 in TransportBelt::update(int) at /tmp/factorio-XxmJMF/src/Entity/TransportBelt.cpp:266
#9  0x0000000000b80699 in Splitter::update(int) at /tmp/factorio-XxmJMF/src/Entity/Splitter.cpp:234
#10 0x0000000000b801b9 in TransportBelt::update(int) at /tmp/factorio-XxmJMF/src/Entity/TransportBelt.cpp:266
#11 0x0000000000b801b9 in TransportBelt::update(int) at /tmp/factorio-XxmJMF/src/Entity/TransportBelt.cpp:266
#12 0x0000000000b801b9 in TransportBelt::update(int) at /tmp/factorio-XxmJMF/src/Entity/TransportBelt.cpp:266
#13 0x0000000000b801b9 in TransportBelt::update(int) at /tmp/factorio-XxmJMF/src/Entity/TransportBelt.cpp:266
#14 0x0000000000b801b9 in TransportBelt::update(int) at /tmp/factorio-XxmJMF/src/Entity/TransportBelt.cpp:266
#15 0x0000000000b801b9 in TransportBelt::update(int) at /tmp/factorio-XxmJMF/src/Entity/TransportBelt.cpp:266
#16 0x0000000000b801b9 in TransportBelt::update(int) at /tmp/factorio-XxmJMF/src/Entity/TransportBelt.cpp:266
#17 0x0000000000b801b9 in TransportBelt::update(int) at /tmp/factorio-XxmJMF/src/Entity/TransportBelt.cpp:266
#18 0x0000000000b801b9 in TransportBelt::update(int) at /tmp/factorio-XxmJMF/src/Entity/TransportBelt.cpp:266
#19 0x0000000000b801b9 in TransportBelt::update(int) at /tmp/factorio-XxmJMF/src/Entity/TransportBelt.cpp:266
#20 0x0000000000b801b9 in TransportBelt::update(int) at /tmp/factorio-XxmJMF/src/Entity/TransportBelt.cpp:266
#21 0x0000000000b801b9 in TransportBelt::update(int) at /tmp/factorio-XxmJMF/src/Entity/TransportBelt.cpp:266
#22 0x0000000000b801b9 in TransportBelt::update(int) at /tmp/factorio-XxmJMF/src/Entity/TransportBelt.cpp:266
#23 0x0000000000b801b9 in TransportBelt::update(int) at /tmp/factorio-XxmJMF/src/Entity/TransportBelt.cpp:266
#24 0x0000000000b801b9 in TransportBelt::update(int) at /tmp/factorio-XxmJMF/src/Entity/TransportBelt.cpp:266
#25 0x0000000000b801b9 in TransportBelt::update(int) at /tmp/factorio-XxmJMF/src/Entity/TransportBelt.cpp:266
#26 0x0000000000e2887b in updateEntities at /tmp/factorio-XxmJMF/src/Surface/Chunk.cpp:576
#27 0x0000000000e2c01c in update at /tmp/factorio-XxmJMF/src/Surface/Surface.cpp:994
#28 0x0000000000e475ab in update at /tmp/factorio-XxmJMF/src/Map/Map.cpp:1254
#29 0x0000000000e48309 in update at /tmp/factorio-XxmJMF/src/Game.cpp:153
#30 0x000000000074c28b in update at /tmp/factorio-XxmJMF/src/Scenario/Scenario.cpp:786
#31 0x00000000013bfa70 in updateStep at /tmp/factorio-XxmJMF/src/Scenario/Scenario.cpp:717
#32 0x00007f1e6bec5494 in gameUpdateStep at /tmp/factorio-XxmJMF/src/MainLoop.cpp:912
#33 0x00007f1e6a3d6aff in getBaseMultiplayerManager at /tmp/factorio-XxmJMF/src/GlobalContext.cpp:1209
 887.663 Warning Logger.cpp:413: Symbols.size() == 42, usedSize == 33
 887.663 Error CrashHandler.cpp:123: Map tick at moment of crash: 232332
 887.663 Error Util.cpp:80: 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.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14778
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [15.37] FourDirectionPointers indexing segfault

Post by Rseding91 »

Are you able to reproduce the crash or was it just a one time thing?
If you want to get ahold of me I'm almost always on Discord.
scryver
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Nov 08, 2017 8:15 pm
Contact:

Re: [15.37] FourDirectionPointers indexing segfault

Post by scryver »

It hasn't happened again, so yes a one time only thing.
If it ever happens again I'll try to male a note of the steps before the crash.
Post Reply

Return to “Pending”