[kovarex] [1.1.11] Crash when dragging walls on the map view

This subforum contains all the issues which we already resolved.
JakubW
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sat May 04, 2019 12:36 pm
Contact:

[kovarex] [1.1.11] Crash when dragging walls on the map view

Post by JakubW »

What did you do?
Entered map view, pressed shift and dragged walls using mouse so they enter not currently visible area.

What happened?
Crash/hang. Happens every time I do it with walls, but doesn't happen with for example belts. Sometimes it opens factorio crash window, sometimes system shows ANR window.

What did you expect to happen instead?
Not to crash and nothing more.

Watch video to better understand.
Log attached

Code: Select all

   0.000 2021-01-14 19:45:37; Factorio 1.1.11 (build 57674, linux64, full)
   0.035 Operating system: Linux (Linuxmint 20.1)
   0.035 Program arguments: "/home/jakub/Programy/factorio/bin/x64/factorio" 
   0.035 Read data path: /home/jakub/Programy/factorio/data
   0.035 Write data path: /home/jakub/Programy/factorio [55227/75780MB]
   0.035 Binaries path: /home/jakub/Programy/factorio/bin
   0.040 System info: [CPU: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz, 8 cores, RAM: 32003 MB]
   0.040 Environment: DISPLAY=:0 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=cinnamon XDG_SESSION_DESKTOP=cinnamon XDG_CURRENT_DESKTOP=X-Cinnamon __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.040 Display options: [FullScreen: 1] [VSync: 1] [UIScale: custom (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.109 Available displays: 1
   0.109  [0]: BenQ GW2455 24" - {[0,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.215 Initialised OpenGL:[0] GeForce MX150/PCIe/SSE2; driver: 3.3.0 NVIDIA 460.32.03
   0.215   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
   0.215   [Version] 3.3
   0.223 Graphics settings preset: high
   0.223   Dedicated video memory size 2048 MB
   0.250 Graphics options: [Graphics quality: normal] [Video memory usage: all] [Light scale: 25%] [DXT: high-quality] [Color: 16bit]
   0.250                   [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDCwt] [B:0,C:0,S:100]
   0.254 [Audio] Backend:default; Depth:16, Channel:2, Frequency:44100; MixerQuality:linear
   0.372 Loading mod core 0.0.0 (data.lua)
   0.463 Loading mod base 1.1.11 (data.lua)
   0.771 Loading mod base 1.1.11 (data-updates.lua)
   0.922 Checksum for core: 2754873018
   0.922 Checksum of base: 1000795258
   1.180 Prototype list checksum: 2590252455
   1.242 Loading sounds...
   1.273 Info PlayerData.cpp:70: Local player-data.json available, timestamp 1610649428
   1.273 Info PlayerData.cpp:77: Cloud player-data.json unavailable
   1.455 Initial atlas bitmap size is 16384
   1.465 Created atlas bitmap 16384x8712 [none]
   1.465 Created atlas bitmap 4096x2152 [decal]
   1.466 Created atlas bitmap 8192x2928 [low-object]
   1.466 Created atlas bitmap 4096x2592 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.467 Created atlas bitmap 8192x3840 [terrain, mipmap, linear-minification, linear-mip-level]
   1.467 Created atlas bitmap 4096x1632 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   1.467 Created atlas bitmap 4096x1664 [smoke, mipmap, linear-minification, linear-magnification]
   1.467 Created atlas bitmap 4096x928 [mipmap]
   1.468 Created atlas bitmap 8192x2208 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.468 Created atlas bitmap 4096x828 [alpha-mask]
   1.473 Created atlas bitmap 16384x4348 [shadow, linear-magnification, alpha-mask]
   1.473 Created atlas bitmap 4096x1312 [shadow, mipmap, linear-magnification, alpha-mask]
   1.473 Created atlas bitmap 2048x240 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.488 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.788 Parallel Sprite Loader initialized (threads: 7)
  10.189 Sprites loaded
  10.290 Generated mipmaps (3) for atlas [2] of size 8192x2928   
  10.300 Generated mipmaps (3) for atlas [3] of size 4096x2592   
  10.435 Generated mipmaps (3) for atlas [4] of size 8192x3840   
  10.466 Generated mipmaps (3) for atlas [5] of size 4096x1632   
  10.499 Generated mipmaps (3) for atlas [6] of size 4096x1664   
  10.546 Generated mipmaps (3) for atlas [7] of size 4096x928   
  10.600 Generated mipmaps (5) for atlas [8] of size 8192x2208   
  10.607 Generated mipmaps (3) for atlas [11] of size 4096x1312   
  10.672 Custom mipmaps uploaded.
  10.860 Factorio initialised
  10.868 Info HttpSharedState.cpp:54: Downloading https://updater.factorio.com/updater/get-available-versions?username=JAKUBW&token=<private>&apiVersion=2
  11.657 0 packages available to download (experimental updates enabled).
  16.444 Loading map /home/jakub/Programy/factorio/saves/_autosave1.zip: 3363229 bytes.
  16.453 Loading level.dat: 7497527 bytes.
  16.456 Info Scenario.cpp:197: Map version 1.1.11-1
  16.575 Loading script.dat: 398 bytes.
  16.577 Checksum for script /home/jakub/Programy/factorio/temp/currently-playing/control.lua: 2929504738
  43.696 Loading map /home/jakub/Programy/factorio/saves/2021-payton.zip: 3055329 bytes.
  43.705 Loading level.dat: 7621286 bytes.
  43.708 Info Scenario.cpp:197: Map version 1.1.8-0
  43.867 Loading script.dat: 398 bytes.
  43.869 Checksum for script /home/jakub/Programy/factorio/temp/currently-playing/control.lua: 2929504738
 121.365 Info AppManagerStates.cpp:1930: Saving finished
 175.933 Info AppManager.cpp:306: Saving to _autosave1 (blocking).
 176.229 Info AppManagerStates.cpp:1930: Saving finished
 402.808 Info AppManagerStates.cpp:1930: Saving finished
 427.115 Info AppManager.cpp:306: Saving to _autosave2 (blocking).
 427.432 Info AppManagerStates.cpp:1930: Saving finished
 452.138 Loading map /home/jakub/Programy/factorio/saves/_autosave2.zip: 3450945 bytes.
 452.146 Loading level.dat: 7729358 bytes.
 452.149 Info Scenario.cpp:197: Map version 1.1.11-1
 452.271 Loading script.dat: 398 bytes.
 452.274 Checksum for script /home/jakub/Programy/factorio/temp/currently-playing/control.lua: 2929504738
 481.093 Info AppManagerStates.cpp:1930: Saving finished
 601.613 Info AppManagerStates.cpp:1930: Saving finished
 622.545 Info AppManagerStates.cpp:1930: Saving finished
 674.441 Info AppManagerStates.cpp:1930: Saving finished
 690.723 Loading map /home/jakub/Programy/factorio/saves/2021-payton.zip: 3666945 bytes.
 690.732 Loading level.dat: 7990145 bytes.
 690.736 Info Scenario.cpp:197: Map version 1.1.11-1
 690.851 Loading script.dat: 398 bytes.
 690.853 Checksum for script /home/jakub/Programy/factorio/temp/currently-playing/control.lua: 2929504738
 743.219 Info AppManager.cpp:306: Saving to _autosave3 (blocking).
 743.535 Info AppManagerStates.cpp:1930: Saving finished
 764.864 Info AppManagerStates.cpp:1930: Saving finished
 823.109 Info AppManagerStates.cpp:1930: Saving finished
 889.625 Info AppManagerStates.cpp:1930: Saving finished
 969.649 Info AppManagerStates.cpp:1930: Saving finished
 990.904 Info AppManager.cpp:306: Saving to _autosave1 (blocking).
 991.204 Info AppManagerStates.cpp:1930: Saving finished
1053.833 Info AppManagerStates.cpp:1930: Saving finished
1158.955 Error CrashHandler.cpp:621: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0xd08b27, 0xf05b3d, 0xd5f425, 0xd5fab1, 0xd5fb69, 0x46210, 0xb91335, 0xf3e6d0, 0xf3f1a1, 0x120ad49, 0xf226ef, 0x12fd6bb, 0x12fd9f1, 0xd1fb21, 0x1fece40, 0x9609, 0
1170.969 Warning Logger.cpp:526: Symbols.size() == 25, usedSize == 16
#0  0x0000000000f05b3d 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  0x0000000000d5f425 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  0x0000000000d5fab1 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  0x0000000000d5fb69 in Logger::flush() at /tmp/factorio-build-39oufi/src/Util/Logger.cpp:566
#4  0x0000000000046210 in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-build-39oufi/src/Util/Logger.cpp:552
#5  0x0000000000b91335 in GlobalContext::getMap() at /tmp/factorio-build-39oufi/src/GlobalContext.cpp:2013
#6  0x0000000000f3e6d0 in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-build-39oufi/src/Util/CrashHandler.cpp:188
#7  0x0000000000f3f1a1 in CrashHandler::commonSignalHandler(int) at /tmp/factorio-build-39oufi/src/Util/CrashHandler.cpp:623
#8  0x000000000120ad49 in CrashHandler::SignalHandler(int) at /tmp/factorio-build-39oufi/src/Util/CrashHandler.cpp:638
#9  0x0000000000f226ef in ?? at ??:0
#10 0x00000000012fd6bb in Character::canReachEntity(Entity const*, MapPosition, Surface const&, double, double) at /tmp/factorio-build-39oufi/src/Entity/Character.cpp:1930
#11 0x00000000012fd9f1 in Character::canReachEntity(Entity const*) const at /tmp/factorio-build-39oufi/src/Entity/Character.cpp:1921
#12 0x0000000000d1fb21 in Player::checkBuildEntity(InputAction&, MapPosition const&, NamedBool<CreatedByMovingTag>, MapPosition*, bool, bool, unsigned char, bool*) const at /tmp/factorio-build-39oufi/src/Player.cpp:1669
#13 0x0000000001fece40 in InputHandlerAllegro::sendBuildByMovingChanges() at /tmp/factorio-build-39oufi/src/Input/InputHandlerAllegro.cpp:1982 (discriminator 2)
#14 0x0000000000009609 in InputHandlerAllegro::sendStateChanges() at /tmp/factorio-build-39oufi/src/Input/InputHandlerAllegro.cpp:1190
#15 (nil) in GameActionHandler::update() at /tmp/factorio-build-39oufi/src/GameActionHandler.cpp:406
#16 (nil) in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) at /tmp/factorio-build-39oufi/src/MainLoop.cpp:1246
#17 0x00000416fffffd07 in MainLoop::gameUpdateLoop(MainLoop::HeavyMode) at /tmp/factorio-build-39oufi/src/MainLoop.cpp:1118
#18 0x0000041bfffffd11 in std::function<void ()>::operator=(decltype(nullptr)) at /home/build/gcc-9.2/include/c++/9.2.0/bits/std_function.h:498
#19 0x0000041afffffd01 in WorkerThread::loop() at /tmp/factorio-build-39oufi/src/Util/WorkerThread.cpp:49
#20 0x00000412fffffd02 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
#21 0x00000419fffffd0e 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
#22 0x00000408fffffd0f 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
#23 0x0000040efffffd02 in ?? at ??:0
#24 0x00000409fffffd02 in ?? at ??:0
Stack trace logging done
1187.441 Warning Logger.cpp:526: Symbols.size() == 20, usedSize == 15
1187.441 Error CrashHandler.cpp:189: Map tick at moment of crash: 628619
1187.441 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.
1193.806 Info SystemUtil.cpp:547: Started /usr/bin/xdg-open; trampoline PID: 20107
1193.806 Uploading log file
1193.815 Info SystemUtil.cpp:547: Started /home/jakub/Programy/factorio/bin/x64/factorio; trampoline PID: 20108
Attachments
simplescreenrecorder-2021-01-14_20.11.09.mp4
(11.03 MiB) Downloaded 155 times
factorio-current.log
(11.09 KiB) Downloaded 140 times
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [1.1.11] Crash when dragging walls on the map view

Post by kovarex »

Thanks for the report, it is now fixed for 1.1.12
Post Reply

Return to “Resolved Problems and Bugs”