[0.17.69] Crash on ItemStack::itemEqulas called by Inserter::selectBeltItem

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
terdol
Burner Inserter
Burner Inserter
Posts: 14
Joined: Tue Sep 17, 2019 2:02 pm
Contact:

[0.17.69] Crash on ItemStack::itemEqulas called by Inserter::selectBeltItem

Post by terdol »

Hello again.

This is factorio 0.17.69 version from latest branch expermiental (same as stable now, but didn't change option in steam). Vanilla game without any mods. Save is 26hrs old. System is ubuntu 18.04, rest you can see in logs :)

Log:

Code: Select all

   0.000 2019-09-27 12:48:38; Factorio 0.17.69 (build 47194, linux64, steam)
   0.060 Operating system: Linux (Ubuntu 18.04)
   0.060 Program arguments: "/home/tp/.steam/steam/steamapps/common/Factorio/bin/x64/factorio" 
   0.060 Read data path: /home/tp/.steam/steam/steamapps/common/Factorio/data
   0.060 Write data path: /home/tp/.factorio [314043/419432MB]
   0.060 Binaries path: /home/tp/.steam/steam/steamapps/common/Factorio/bin
   0.066 System info: [CPU: AMD Ryzen 5 2600X Six-Core Processor, 12 cores, RAM: 32156 MB]
   0.066 Environment: DISPLAY=:1 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=ubuntu XDG_SESSION_DESKTOP=ubuntu XDG_CURRENT_DESKTOP=ubuntu:GNOME __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.066 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.362 Available displays: 2
   0.362  [0]: SyncMaster 22" - {[0,30], 1680x1050, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.362  [1]: BenQ GW2255 22" - {[1680,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.362 Failed to get primary display index, defaulting to 0.
   0.684 Initialised OpenGL:[0] GeForce GTX 1060 6GB/PCIe/SSE2; driver: 3.3.0 NVIDIA 410.104
   0.684   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
   0.684   [Version] 3.3
   0.685 Graphics settings preset: very-high
   0.685   Dedicated video memory size 6144 MB
   0.714 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: high-quality] [Color: 32bit]
   0.714                   [Max threads (load/render): 32/12] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDC]
   0.986 Info ModManager.cpp:241: Found duplicate mod factoryplanner, using higher version (0.17.52 > 0.17.50).
   1.091 Loading mod core 0.0.0 (data.lua)
   1.186 Loading mod base 0.17.69 (data.lua)
   1.388 Loading mod base 0.17.69 (data-updates.lua)
   1.494 Checksum for core: 2087614386
   1.494 Checksum of base: 1061071205
   1.663 Prototype list checksum: 3040646442
   1.691 Loading sounds...
   1.716 Info PlayerData.cpp:70: Local player-data.json unavailable
   1.716 Info PlayerData.cpp:73: Cloud player-data.json available, timestamp 1569581178
   1.834 Initial atlas bitmap size is 16384
   1.852 Created atlas bitmap 16384x16380 [none]
   1.856 Created atlas bitmap 16384x11616 [none]
   1.856 Created atlas bitmap 8192x3872 [decal]
   1.856 Created atlas bitmap 16384x4320 [low-object, linear-minification]
   1.856 Created atlas bitmap 8192x3744 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.857 Created atlas bitmap 16384x7168 [terrain, mipmap, linear-minification, linear-mip-level]
   1.857 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
   1.857 Created atlas bitmap 4096x1744 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.857 Created atlas bitmap 2048x192 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.857 Created atlas bitmap 8192x1632 [alpha-mask]
   1.859 Created atlas bitmap 16384x12772 [shadow, linear-magnification, alpha-mask]
   1.860 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
   1.873 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   2.221 Parallel Sprite Loader initialized (threads: 11)
  10.187 Sprites loaded
  10.195 Generated mipmaps (4) for atlas [3] of size 16384x4320   
  10.198 Generated mipmaps (3) for atlas [4] of size 8192x3744   
  10.206 Generated mipmaps (3) for atlas [5] of size 16384x7168   
  10.207 Generated mipmaps (3) for atlas [6] of size 4096x1600   
  10.216 Generated mipmaps (5) for atlas [7] of size 4096x1744   
  10.218 Generated mipmaps (3) for atlas [11] of size 8192x2352   
  10.224 Custom mipmaps uploaded.
  10.399 Factorio initialised
  11.765 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods?page_size=max&full=True&namelist=aai-industry&namelist=aai-signal-transmission&namelist=Advanced-Solar&namelist=AfraidOfTheDark&namelist=Aircraft&namelist=alien-biomes&namelist=alien-biomes-hr-terrain&namelist=ammo-loader&namelist=artillery-bombardment-remote&namelist=aswil&namelist=AtomicArtillery&namelist=auto-research&namelist=AutoDeconstruct&namelist=BetterBots&namelist=BigBags&namelist=Big_Brother&namelist=bobassembly&namelist=bobenemies&namelist=bobgreenhouse&namelist=bobinserters&namelist=boblibrary&namelist=boblogistics&namelist=bobmining&namelist=bobpower&namelist=bobrevamp&namelist=bobtech&namelist=bobwarfare&namelist=Bottleneck&namelist=CompressedFluids&namelist=CrateStackingPlus&namelist=Deadlock-AAII-bridge&namelist=deadlock-beltboxes-loaders&namelist=deadlock-integrations&namelist=Deadlock-SE-bridge&namelist=deadlock-stacking-crating-bobs&namelist=DeadlockCrating&namelist=DeadlockCrating_Integrations&namelist=Enhanced_Map_Colors&namelist=even-distribution&namelist=EvoGUI&namelist=factoryplanner&namelist=Fill4Me&namelist=Flow%20Control&namelist=fluid-void-extra-port&namelist=FNEI&namelist=helmod&namelist=InfiniteWorkerRobotCapacity_Research&namelist=LoaderRedux&namelist=long-reach&namelist=MaxRateCalculator&namelist=miniloader&namelist=MushroomCloud&namelist=Nanobots&namelist=nicefill&namelist=Nuclear%20Fuel&namelist=OpteraLib&namelist=ore-eraser&namelist=OutpostPlanner&namelist=PickerAtheneum&namelist=PickerExtended&namelist=PickerInventoryTools&namelist=PlannerCore&namelist=Power%20Armor%20MK3&namelist=Power%20Armor%20MK4&namelist=qol_research&namelist=ReStack&namelist=robotworld&namelist=robot_attrition&namelist=Robot_Battery_Research&namelist=ShinyBobGFX&namelist=skan-advanced-solar&namelist=space-exploration&namelist=space-exploration-graphics&namelist=space-exploration-hr-graphics&namelist=space-exploration-postprocess&namelist=Squeak%20Through&namelist=stdlib&namelist=train-pubsub&namelist=VoidChestPlus&namelist=WaterWell&namelist=WideChests&namelist=wood-to-landfill&version=0.17.69&lang=e
  21.039 Loading map /home/tp/.factorio/saves/lazy_bastard.zip: 9520095 bytes.
  21.053 Loading level.dat: 28088412 bytes.
  21.061 Info Scenario.cpp:187: Map version 0.17.69-1
  21.792 Loading script.dat: 328 bytes.
  21.795 Checksum for script /home/tp/.factorio/temp/currently-playing/control.lua: 4051211387
  21.799 Warning BlueprintShelf.cpp:843: Record 126 is a duplicate of 115: Removing
  22.367 Info AppManager.cpp:287: Saving to _autosave3 (blocking).
  22.997 Info AppManagerStates.cpp:1793: Saving finished
 323.038 Info AppManager.cpp:287: Saving to _autosave1 (blocking).
 323.733 Info AppManagerStates.cpp:1793: Saving finished
 623.736 Info AppManager.cpp:287: Saving to _autosave2 (blocking).
 624.403 Info AppManagerStates.cpp:1793: Saving finished
 924.436 Info AppManager.cpp:287: Saving to _autosave3 (blocking).
 925.102 Info AppManagerStates.cpp:1793: Saving finished
1225.170 Info AppManager.cpp:287: Saving to _autosave1 (blocking).
1225.853 Info AppManagerStates.cpp:1793: Saving finished
1525.943 Info AppManager.cpp:287: Saving to _autosave2 (blocking).
1526.655 Info AppManagerStates.cpp:1793: Saving finished
1826.890 Info AppManager.cpp:287: Saving to _autosave3 (blocking).
1827.607 Info AppManagerStates.cpp:1793: Saving finished
2127.609 Info AppManager.cpp:287: Saving to _autosave1 (blocking).
2128.302 Info AppManagerStates.cpp:1793: Saving finished
2428.311 Info AppManager.cpp:287: Saving to _autosave2 (blocking).
2429.012 Info AppManagerStates.cpp:1793: Saving finished
2610.142 Time travel logging:
  21.799 Popped blueprint record (player-index: 0, ID: 126) from book (player-index: 0, ID: 129)
2610.142 Error CrashHandler.cpp:603: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0xb4a658, 0xd15b8d, 0xbd97ed, 0xbd9b5d, 0xbd9bb9, 0x3ef20, 0x5a399d, 0x8fe64a, 0xbcdee0, 0xc7fad7, 0x6f5b6d, 0x9ffb4d, 0xf63907, 0xf9a955, 0xf9ae6d, 0xf9b1c7, 0xfca164, 0xfca6a2, 0xb642c1, 0x198340f, 0x76db, 0
2614.454 Warning Logger.cpp:518: Symbols.size() == 30, usedSize == 21
#0  0x0000000000d15b8d in std::__uniq_ptr_impl<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::_M_ptr() const at /usr/include/c++/8/bits/unique_ptr.h:150
#1  0x0000000000bd97ed in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::get() const at /usr/include/c++/8/bits/unique_ptr.h:343
#2  0x0000000000bd9b5d in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::operator->() const at /usr/include/c++/8/bits/unique_ptr.h:337
#3  0x0000000000bd9bb9 in Logger::flush() at /tmp/factorio-build-V9E2T9/src/Util/Logger.cpp:558
#4  0x000000000003ef20 in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-build-V9E2T9/src/Util/Logger.cpp:544
#5  0x00000000005a399d in GlobalContext::getMap() at /tmp/factorio-build-V9E2T9/src/GlobalContext.cpp:1868
#6  0x00000000008fe64a in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-build-V9E2T9/src/Util/CrashHandler.cpp:188
#7  0x0000000000bcdee0 in CrashHandler::commonSignalHandler(int) at /tmp/factorio-build-V9E2T9/src/Util/CrashHandler.cpp:606
#8  0x0000000000c7fad7 in CrashHandler::SignalHandler(int) at /tmp/factorio-build-V9E2T9/src/Util/CrashHandler.cpp:620
#9  0x00000000006f5b6d in ?? at ??:0
#10 0x00000000009ffb4d in ItemStack::itemEquals(ItemStack const&) const at /tmp/factorio-build-V9E2T9/src/Item/ItemStack.cpp:1327
#11 0x0000000000f63907 in Inserter::selectBeltItem(TransportBeltConnectable*, bool&) at /tmp/factorio-build-V9E2T9/src/Entity/Inserter.cpp:726
#12 0x0000000000f9a955 in Inserter::getPickupTarget() at /tmp/factorio-build-V9E2T9/src/Entity/Inserter.cpp:792
#13 0x0000000000f9ae6d in Inserter::update() at /tmp/factorio-build-V9E2T9/src/Entity/Inserter.cpp:1186
#14 0x0000000000f9b1c7 in Chunk::updateActiveEntities(IntrusiveList<UpdatableEntity, void, false>&) at /tmp/factorio-build-V9E2T9/src/Surface/Chunk.cpp:577
#15 0x0000000000fca164 in Chunk::isConditionallyActive(unsigned int) const at /tmp/factorio-build-V9E2T9/src/Surface/Chunk.cpp:966
#16 0x0000000000fca6a2 in Chunk::updateEntities(unsigned int) at /tmp/factorio-build-V9E2T9/src/Surface/Chunk.cpp:634
#17 0x0000000000b642c1 in Surface::update() at /tmp/factorio-build-V9E2T9/src/Surface/Surface.cpp:1469
#18 0x000000000198340f in Map::updateEntities() at /tmp/factorio-build-V9E2T9/src/Map/Map.cpp:1501 (discriminator 2)
#19 0x00000000000076db in Map::update() at /tmp/factorio-build-V9E2T9/src/Map/Map.cpp:1460
#20 (nil) in Game::update() at /tmp/factorio-build-V9E2T9/src/Game.cpp:201
#21 (nil) in Scenario::update() at /tmp/factorio-build-V9E2T9/src/Scenario/Scenario.cpp:1215
#22 0x00007f18e8378350 in Scenario::updateStep() at /tmp/factorio-build-V9E2T9/src/Scenario/Scenario.cpp:1112
#23 0x00007f18e8377d20 in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) at /tmp/factorio-build-V9E2T9/src/MainLoop.cpp:1163
#24 0x00007f18e8378350 in MainLoop::gameUpdateLoop(MainLoop::HeavyMode) at /tmp/factorio-build-V9E2T9/src/MainLoop.cpp:1032
#25 0x0000000000000001 in std::function<void ()>::operator=(decltype(nullptr)) at /usr/include/c++/8/bits/std_function.h:495
#26 0x00000000005733c0 in WorkerThread::loop() at /tmp/factorio-build-V9E2T9/src/Util/WorkerThread.cpp:42
#27 0x0000013300000043 in execute_native_thread_routine at blake2s.c:?
#28 0x0000000000000010 in ?? at ??:0
#29 0x00007f18e80623b0 in ?? at ??:0
Stack trace logging done
2618.702 Warning Logger.cpp:518: Symbols.size() == 25, usedSize == 20
2618.702 Error CrashHandler.cpp:189: Map tick at moment of crash: 5716849
2618.702 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.
2620.534 Info SystemUtil.cpp:539: Started /usr/bin/xdg-open; trampoline PID: 11197
2620.534 Uploading log file
2620.551 Info SystemUtil.cpp:539: Started /home/tp/.steam/steam/steamapps/common/Factorio/bin/x64/factorio; trampoline PID: 11199
I have copied latest autosave out, in case it is needed. Latest thing I have done in save before crash was connecting rocket silo and satellite assembler to input belts via stack inserters. After reloading save again and performing exactly the same actions game didn't crash.

Also pastebin log (same as above): https://pastebin.com/daN08Jut
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3063
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [0.17.69] Crash on ItemStack::itemEqulas called by Inserter::selectBeltItem

Post by boskid »

From what i see, this crash for reproduction would require some items with data (like damaged accumulator, partialy used science pack, ammo stack or armor with grid) but i cannot trigger any issues here.

Could you please provide your save file?
terdol
Burner Inserter
Burner Inserter
Posts: 14
Joined: Tue Sep 17, 2019 2:02 pm
Contact:

Re: [0.17.69] Crash on ItemStack::itemEqulas called by Inserter::selectBeltItem

Post by terdol »

Last autosave before crash attached.

What happened after this autosave in original crash:
- I went to right top end of main bus
- changed rocket fuel lane to be able to grab using normal inserter
- Changed express inserters and long range inserters next to silo and satellite assembler to stack inserters
- removed constant combinators
- i didn't connect accumulator/solar palnels lane since I wanted to get fish achievement first
- i requested 100 fish from network

So - no armor is equipped. I only crafted armor after launching rocket to get lazy bastard achievement. Partially used science is of course possible, but there has not been any science running for it to change state (or inserter to have to interact with lab). Damaged accumulator is also low possibility since I have not used weapons around power grid. This is world without biters so pretty much it has to be me damaging something or some vehicle.

Ammo stack - yes it is possible, but I'm pretty sure I have not used it around silo. Maybe earlier while still in rafinery. I recall that at some point in this save I think at least once i have by mistake pressed C for second and flamethrower has went for some assembler or soemthing. Enough to damage it and stuff around, but not enough to destroy it. Since this is small base and its covered by roboports it should have been repaired in few mins.
Attachments
crash_inserter.zip
(9.91 MiB) Downloaded 100 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14363
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.69] Crash on ItemStack::itemEqulas called by Inserter::selectBeltItem

Post by Rseding91 »

Thanks for the report. It crashed on a line where it should never be possible to crash. Since you say it hasn't happened since and since it shouldn't have been possible to crash on that line to start with it makes me think there was some corruption issue on your end; temporary or otherwise.

Without some way to reproduce the crash there's nothing we can do.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “1 / 0 magic”