[0.16.51][linux] Crash changing train station name

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
l1ng0
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sat Jul 07, 2018 11:51 am
Contact:

[0.16.51][linux] Crash changing train station name

Post by l1ng0 »

Factorio 0.16.51 (build 36654, linux64, steam)
No mods enabled.

I've had this before rarely, but this is the first time I report.
I was changing a train station name, and the game froze as it usually does temporarily when an autosave is about to occur (16.93MiB save). However, instead of resuming, factorio crashed.
I suspect this crash happened due to autosave triggering while editing a control value, but can't be sure.

Log file is here:
https://pastebin.com/bkGkmhyR

How can I send the crash dump?
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: Factorio 0.16.51 Crash when autosaving?

Post by daniel34 »

Code: Select all

   0.000 2018-09-06 14:09:07; Factorio 0.16.51 (build 36654, linux64, steam)
   0.124 Operating system: Linux (Ubuntu 18.04)
   0.124 Program arguments: "/home/user/.steam/steam/steamapps/common/Factorio/bin/x64/factorio" 
   0.124 Read data path: /home/user/.steam/steam/steamapps/common/Factorio/data
   0.124 Write data path: /home/user/.factorio [16820/226461MB]
   0.124 Binaries path: /home/user/.steam/steam/steamapps/common/Factorio/bin
   0.193 System info: [CPU:        Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz, 4 cores, RAM: 7924 MB]
   0.193 Environment: DISPLAY=:0, WAYLAND_DISPLAY=<unset>
   0.216 Display options: [FullScreen: 1] [VSync: 0] [UIScale: custom (90.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.233 Available display adapters: 1
   0.233  [0]: resolution 1366x768px at [0,0]
   0.233 Create display on adapter 0. Size 1280x718 at position [33, 7].
   0.509 Initialised OpenGL:[0] Mesa DRI Intel(R) Sandybridge Mobile ; driver: 3.0 Mesa 18.0.5
   0.509   Video memory size: skipped
   0.646 Graphics settings preset: medium
   0.646 Graphics options: [Graphics quality: high] [Video memory usage: high] [Light scale: 25%] [DXT: false] [Shader: 1]
   0.646                   [Parallel sprite loading: 1] [Max texture size: 4096/8192] [Bmp cache: 1] [Sprite slicing: 1] [Low quality rotation: 0]
   1.955 Info ModManager.cpp:205: Found duplicate mod CraftToHand, using folder version (0.0.2).
   2.395 Info ModManager.cpp:205: Found duplicate mod muro, using folder version (1.0.2).
   2.651 Info ModManager.cpp:205: Found duplicate mod PickerExtended, using folder version (3.0.3).
   3.053 Loading mod core 0.0.0 (data.lua)
   3.186 Loading mod base 0.16.51 (data.lua)
   4.088 Loading mod base 0.16.51 (data-updates.lua)
   4.188 Checksum for core: 840319042
   4.188 Checksum of base: 3323233190
   4.500 Loading sounds...
   5.353 Info PlayerData.cpp:67: Local player-data.json unavailable
   5.353 Info PlayerData.cpp:70: Cloud player-data.json available, timestamp 1535140225
   5.646 Loaded shader file /home/user/.steam/steam/steamapps/common/Factorio/data/core/graphics/shaders/game.glsl
   5.668 Loaded shader file /home/user/.steam/steam/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.glsl
   5.687 Loaded shader file /home/user/.steam/steam/steamapps/common/Factorio/data/core/graphics/shaders/alpha-mask.glsl
   5.717 Initial atlas bitmap size is 4096
   5.739 Created atlas bitmap 4096x4090 [none]
   5.761 Created atlas bitmap 4096x4094 [none]
   5.781 Created atlas bitmap 4096x4089 [none]
   5.801 Created atlas bitmap 4096x4076 [none]
   5.820 Created atlas bitmap 4096x4023 [none]
   5.841 Created atlas bitmap 4096x4093 [none]
   5.863 Created atlas bitmap 4096x4082 [none]
   5.885 Created atlas bitmap 4096x4093 [none]
   5.907 Created atlas bitmap 4096x4069 [none]
   5.928 Created atlas bitmap 4096x4092 [none]
   5.957 Created atlas bitmap 4096x4093 [none]
   5.984 Created atlas bitmap 4096x4083 [none]
   6.009 Created atlas bitmap 4096x4085 [none]
   6.016 Created atlas bitmap 4096x926 [none]
   6.037 Created atlas bitmap 4096x4056 [shadow]
   6.061 Created atlas bitmap 4096x4078 [shadow]
   6.083 Created atlas bitmap 4096x3424 [shadow]
   6.102 Created atlas bitmap 4096x4080 [decal]
   6.121 Created atlas bitmap 4096x3900 [decal]
   6.146 Created atlas bitmap 4096x4092 [mipmap]
   6.165 Created atlas bitmap 4096x3972 [mipmap]
   6.191 Created atlas bitmap 4096x3548 [mipmap]
   6.198 Created atlas bitmap 4096x1568 [mipmap, smoke]
   6.229 Created atlas bitmap 4096x4084 [linear-minification, mipmap, terrain]
   6.249 Created atlas bitmap 4096x3984 [linear-minification, mipmap, terrain]
   6.540 Created atlas bitmap 4096x4096 [linear-minification, mipmap, terrain]
   6.564 Created atlas bitmap 4096x4048 [linear-minification, mipmap, terrain]
   6.577 Created atlas bitmap 4096x3056 [linear-minification, mipmap, terrain]
   6.596 Created atlas bitmap 4096x4020 [no-crop, trilinear-filtering, icon, light]
   6.608 Created atlas bitmap 4096x1782 [alpha-mask]
  30.352 Atlases loaded from disk cache.
  54.320 Sprites loaded
  54.321 Convert atlas 4096x4092 to: mipmap 
  54.551 Convert atlas 4096x3972 to: mipmap 
  54.768 Convert atlas 4096x3548 to: mipmap 
  54.939 Convert atlas 4096x1568 to: mipmap 
  55.015 Convert atlas 4096x4084 to: min-linear 
  55.230 Convert atlas 4096x3984 to: min-linear 
  55.445 Convert atlas 4096x4096 to: min-linear 
  55.652 Convert atlas 4096x4048 to: min-linear 
  55.865 Convert atlas 4096x3056 to: min-linear 
  56.008 Convert atlas 4096x4020 to: trilinear-filtering 
  56.233 Convert atlas 4096x1782 to: alpha-mask
  56.312 Custom inputs active: 0
  56.493 Factorio initialised
 101.117 Loading map /home/user/.factorio/saves/achieveNoMods.zip: 17756967 bytes.
 101.204 Loading Level.dat: 39650087 bytes.
 101.224 Info Scenario.cpp:136: Map version 0.16.51-0
 103.157 Loading script.dat: 176 bytes.
 103.210 Checksum for script /home/user/.factorio/temp/currently-playing/control.lua: 950616531
 148.912 Info AppManager.cpp:260: Saving to _autosave3 (blocking).
 150.916 Info AppManagerStates.cpp:1639: Saving finished
 451.480 Info AppManager.cpp:260: Saving to _autosave1 (blocking).
 453.460 Info AppManagerStates.cpp:1639: Saving finished
 755.203 Info AppManager.cpp:260: Saving to _autosave2 (blocking).
 757.123 Info AppManagerStates.cpp:1639: Saving finished
1059.985 Info AppManager.cpp:260: Saving to _autosave3 (blocking).
1061.452 Info BlueprintShelf.cpp:628: Saving blueprint storage.
1061.973 Info AppManagerStates.cpp:1639: Saving finished
1275.424 Error CrashHandler.cpp:522: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0x961898, 0xa81ebd, 0x9a9f01, 0x9aa338, 0x9aa389, 0x137f228, 0x12890, 0x8dab18, 0x8dfad3, 0xbfe039, 0x91da12, 0xc6cb08, 0xc71d70, 0x965bf5, 0x150b65f, 0x76db, 0
1285.864 Warning Logger.cpp:494: Symbols.size() == 22, usedSize == 16
#0  0x0000000000a81ebd in std::__uniq_ptr_impl<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::_M_ptr() const at /usr/include/c++/7/bits/unique_ptr.h:147
#1  0x00000000009a9f01 in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::get() const at /usr/include/c++/7/bits/unique_ptr.h:337
#2  0x00000000009aa338 in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::operator->() const at /usr/include/c++/7/bits/unique_ptr.h:331
#3  0x00000000009aa389 in Logger::flush() at /tmp/factorio-build-W6I4O6/src/Util/Logger.cpp:533
#4  0x000000000137f228 in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-build-W6I4O6/src/Util/Logger.cpp:521
#5  0x0000000000012890 in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-build-W6I4O6/src/Util/CrashHandler.cpp:173
#6  0x00000000008dab18 in CrashHandler::commonSignalHandler(int) at /tmp/factorio-build-W6I4O6/src/Util/CrashHandler.cpp:525
#7  0x00000000008dfad3 in CrashHandler::firstChanceHandler(int, void*, void*) at /tmp/factorio-build-W6I4O6/src/Util/CrashHandler.cpp:604
#8  0x0000000000bfe039 in google_breakpad::ExceptionHandler::SignalHandler(int, siginfo_t*, void*) at ??:?
#9  0x000000000091da12 in ?? at ??:0
#10 0x0000000000c6cb08 in ControlInputValue::equalWithoutModifiers(ControlInputValue const&) const at /tmp/factorio-build-W6I4O6/src/Input/ControlInput.cpp:498
#11 0x0000000000c71d70 in ControlInputValue::checkModifiers(InputState const&) const at /tmp/factorio-build-W6I4O6/src/Input/ControlInput.cpp:597
#12 0x0000000000965bf5 in ControlInputValue::isActive(InputState const&, bool, bool) const at /tmp/factorio-build-W6I4O6/src/Input/ControlInput.cpp:395
#13 0x000000000150b65f in InputHandlerAllegro::sendStateChanges() at /tmp/factorio-build-W6I4O6/src/Input/InputHandlerAllegro.cpp:935
#14 0x00000000000076db in GameActionHandler::update() at /tmp/factorio-build-W6I4O6/src/GameActionHandler.cpp:306
#15 (nil) in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) at /tmp/factorio-build-W6I4O6/src/MainLoop.cpp:1001
#16 (nil) in MainLoop::gameUpdateLoop(MainLoop::HeavyMode) at /tmp/factorio-build-W6I4O6/src/MainLoop.cpp:874
#17 0x00000008000002ea in std::function<void ()>::operator=(decltype(nullptr)) at /usr/include/c++/7/bits/std_function.h:514
#18 0x0000000000000008 in WorkerThread::loop() at /tmp/factorio-build-W6I4O6/src/Util/WorkerThread.cpp:36
#19 0x0000000000000001 in execute_native_thread_routine at convert_UTF.c:?
#20 0x00000000009b366c in ?? at ??:0
#21 0x00007f7c2d420fd8 in ?? at ??:0
Stack trace logging done
1295.509 Warning Logger.cpp:494: Symbols.size() == 17, usedSize == 15
1295.509 Error CrashHandler.cpp:174: Map tick at moment of crash: 26310802
1295.509 Error Util.cpp:67: 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.
1295.510 Uploading log file
1295.711 Info CrashHandler.cpp:617: Wrote minidump to /home/user/.factorio/factorio-dump-current.dmp
quick links: log file | graphical issues | wiki
Loewchen
Global Moderator
Global Moderator
Posts: 9171
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.16.51][linux] Crash changing train station name

Post by Loewchen »

l1ng0 wrote:How can I send the crash dump?
Add it as attachment, see: viewtopic.php?f=55&t=53086
l1ng0
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sat Jul 07, 2018 11:51 am
Contact:

Re: [0.16.51][linux] Crash changing train station name

Post by l1ng0 »

Sorry didn't see the option.
I can attach the save too, if needed (16MiB).

Here is the crash dump:
Attachments
factorio-dump-current.dmp
Relevant crash dump
(306.38 KiB) Downloaded 121 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14269
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.16.51][linux] Crash changing train station name

Post by Rseding91 »

Looking at the stack trace I have no idea what could be going wrong that it would crash. The line it says it crashed on isn't called as a result of user input (it's just done in a loop while the game runs).

Unless someone knows of a way to reproduce the crash there's nothing I can do.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “1 / 0 magic”