[1.1.8] Crash in agui

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
Post Reply
distortions864
Long Handed Inserter
Long Handed Inserter
Posts: 99
Joined: Thu Apr 20, 2017 12:56 am
Contact:

[1.1.8] Crash in agui

Post by distortions864 »

Server: Ubuntu 20.04.1 LTS
AMD Ryzen 9 3900X, 32GB RAM

Mods available here:
http://m45sci.xyz:10001/
(Choose FACT-RE)

Player report:
khornar: crash was related to making of landfill, i've removed and added a bunch of loaders here [gps=-13,-275]

Stack Trace:

Code: Select all

6453.735 Time travel logging:
4100.410 Popped blueprint record (player-index: 7, ID: 2374) from book (player-index: 7, ID: 1412)
6453.735 Error CrashHandler.cpp:621: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0xcf7bc7, 0xef76bd, 0xd4b7f5, 0xd4be81, 0xd4bf39, 0x46210, 0x1f5fc47, 0x1a809cd, 0xdd66e7, 0xe7b081, 0xe6b785, 0xe0c30c, 0xe56fba, 0x970025, 0xceb8d6, 0xee74c3, 0x97aa0c, 0x97ab21, 0xdb9142, 0xdcd661, 0xf1bc90, 0x12eae7f, 0x12eb2e1, 0x1>
6460.264 Warning Logger.cpp:526: Symbols.size() == 49, usedSize == 29
#0  0x0000000000ef76bd 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  0x0000000000d4b7f5 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  0x0000000000d4be81 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  0x0000000000d4bf39 in Logger::flush() at /tmp/factorio-build-x4rrJr/src/Util/Logger.cpp:566
#4  0x0000000000046210 in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-build-x4rrJr/src/Util/Logger.cpp:552
#5  0x0000000001f5fc47 in GlobalContext::getMap() at /tmp/factorio-build-x4rrJr/src/GlobalContext.cpp:2013
#6  0x0000000001a809cd in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-build-x4rrJr/src/Util/CrashHandler.cpp:188
#7  0x0000000000dd66e7 in CrashHandler::commonSignalHandler(int) at /tmp/factorio-build-x4rrJr/src/Util/CrashHandler.cpp:623
#8  0x0000000000e7b081 in CrashHandler::SignalHandler(int) at /tmp/factorio-build-x4rrJr/src/Util/CrashHandler.cpp:638
#9  0x0000000000e6b785 in ?? at ??:0
#10 0x0000000000e0c30c in std::runtime_error::~runtime_error() at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/include/ext/atomicity.h:49
#11 0x0000000000e56fba in __exchange_and_add_dispatch at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/include/ext/atomicity.h:82
#12 0x0000000000970025 in std::string::_Rep::_M_dispose(std::allocator<char> const&) at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:3311
#13 0x0000000000ceb8d6 in std::string::_Rep::_M_dispose(std::allocator<char> const&) at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:3295
#14 0x0000000000ee74c3 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:3706
#15 0x000000000097aa0c in std::runtime_error::~runtime_error() at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/src/c++98/../../../../../libstdc++-v3/src/c++98/stdexcept.cc:70
#16 0x000000000097ab21 in agui::Widget::getStyle() const at /tmp/factorio-build-x4rrJr/libraries/Agui/Widget.hpp:360
#17 0x0000000000db9142 in agui::Widget::getTopMargin() const at /tmp/factorio-build-x4rrJr/libraries/Agui/Widget/Widget.cpp:1817
#18 0x0000000000dcd661 in TransportBeltConnectable::updateNeighboursToDisconnectGroundConnections(MapPosition const&) at /tmp/factorio-build-x4rrJr/src/Entity/TransportBeltConnectable.cpp:241
#19 0x0000000000f1bc90 in non-virtual thunk to Loader::disconnectGroundConnections() at /tmp/factorio-build-x4rrJr/src/Util/Deserialiser.hpp:93
#20 0x00000000012eae7f in EntityGhost::onDestroyInnerEntity(Entity*) at /tmp/factorio-build-x4rrJr/src/Entity/EntityGhost.cpp:113
#21 0x00000000012eb2e1 in Entity::forceDestroy() at /tmp/factorio-build-x4rrJr/src/Entity/Entity.cpp:334
#22 0x00000000013107b9 in Entity::destroy() at /tmp/factorio-build-x4rrJr/src/Entity/Entity.cpp:309
#23 0x0000000001311313 in BuiltEntityUndoAction::apply(UndoApplyContext&) at /tmp/factorio-build-x4rrJr/src/BuiltEntityUndoAction.cpp:37
#24 0x000000000131317a in UndoItem::undo(Player*) at /tmp/factorio-build-x4rrJr/src/UndoItem.cpp:41
#25 0x00000000013140df in std::vector<std::unique_ptr<UndoAction, std::default_delete<UndoAction> >, std::allocator<std::unique_ptr<UndoAction, std::default_delete<UndoAction> > > >::~vector() at /home/build/gcc-9.2/include/c++/9.2.0/bits/stl_vector.h:>
#26 0x00000000005b9998 in UndoItem::~UndoItem() at /tmp/factorio-build-x4rrJr/src/UndoItem.hpp:36
#27 (nil) in UndoQueue::undo() at /tmp/factorio-build-x4rrJr/src/UndoQueue.cpp:38
#28 0x00000000005cb2ce in CommonActionHandler::undo(Controller*) at /tmp/factorio-build-x4rrJr/src/Input/CommonActionHandler.cpp:1885
#29 (nil) in GameActionHandler::undo(InputAction const&, Controller*) at /tmp/factorio-build-x4rrJr/src/GameActionHandler.cpp:1397
#30 0x0000000003fdf3e0 in GameActionHandler::actionPerformed(InputAction const&) at /tmp/factorio-build-x4rrJr/src/GameActionHandler.cpp:370 (discriminator 1)
#31 0x00007ffc7ab3e830 in InputHandler::flushToListeners(InputAction const&, bool) at /tmp/factorio-build-x4rrJr/src/Input/InputHandler.cpp:72
#32 0x0000000000000001 in InputHandler::flushActions(bool, unsigned int) at /tmp/factorio-build-x4rrJr/src/Input/InputHandler.cpp:64
#33 0x0000000000000014 in NetworkInputHandler::flushActions(bool, unsigned int) at /tmp/factorio-build-x4rrJr/src/Net/NetworkInputHandler.cpp:180
#34 (nil) in InputHandler::nextTick(unsigned int) at /tmp/factorio-build-x4rrJr/src/Input/InputHandler.cpp:52
#35 0x000000000000002a in NetworkInputHandler::nextTick(unsigned int) at /tmp/factorio-build-x4rrJr/src/Net/NetworkInputHandler.cpp:127
#36 0x00000000005e12f0 in NetworkInputHandler::tryToApplyNextTickClosure() at /tmp/factorio-build-x4rrJr/src/Net/NetworkInputHandler.cpp:120
#37 0x00007f7aad96eaa0 in ServerMultiplayerManager::updateMultiplayerInputInternal() at /tmp/factorio-build-x4rrJr/src/Net/ServerMultiplayerManager.cpp:734
#38 0x0000000000000039 in ServerMultiplayerManager::updateMultiplayerInputInternal() at /tmp/factorio-build-x4rrJr/src/Net/ServerMultiplayerManager.cpp:721
#39 (nil) in MultiplayerManagerBase::updateMultiplayerInput() at /tmp/factorio-build-x4rrJr/src/Net/MultiplayerManagerBase.cpp:174
#40 0x00007f7aa0d83470 in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) at /tmp/factorio-build-x4rrJr/src/MainLoop.cpp:1232
#41 0x0000000000000039 in MainLoop::gameUpdateLoop(MainLoop::HeavyMode) at /tmp/factorio-build-x4rrJr/src/MainLoop.cpp:1116
#42 0x0000000000000074 in MainLoop::mainLoopStepHeadless(MainLoop::HeavyMode) at /tmp/factorio-build-x4rrJr/src/MainLoop.cpp:621
#43 0x00007f7aa0d83470 in MainLoop::run(Filesystem::Path const&, Filesystem::Path const&, bool, bool, std::function<void ()>, Filesystem::Path const&, MainLoop::HeavyMode) at /tmp/factorio-build-x4rrJr/src/MainLoop.cpp:387
#44 0x0000000003fdf3b0 in hostMultiplayerGameInternal(cxxopts::ParseResult const&, bool) at /tmp/factorio-build-x4rrJr/src/CommandLineMultiplayer.cpp:290 (discriminator 2)
#45 0x00007ffc7ab3e830 in CommandLineMultiplayer::hostCommandLineMultiplayerGame(cxxopts::ParseResult const&, Filesystem::Path const&, Filesystem::Path const&, bool) at /tmp/factorio-build-x4rrJr/src/CommandLineMultiplayer.cpp:341 (discriminator 2)
#46 0x0000000000000001 in main at /tmp/factorio-build-x4rrJr/src/Main.cpp:653
#47 0x0000000000000013 in ?? at ??:0
#48 (nil) in _start at ??:?
Stack trace logging done
6466.798 Warning Logger.cpp:526: Symbols.size() == 44, usedSize == 28
6466.799 Error CrashHandler.cpp:189: Map tick at moment of crash: 28842719
6466.799 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.
6466.799 Uploading log file
6466.810 Info SystemUtil.cpp:547: Started /home/fact/fact-re/bin/x64/factorio; trampoline PID: 133594
Attachments
crashsave.zip
(22.77 MiB) Downloaded 16 times
crash.log
(77.89 KiB) Downloaded 20 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 11923
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.8] Crash in agui

Post by Rseding91 »

Thanks for the report however based off the log file and it jumping randomly between game action handling, de-serialization logic, and then GUI I suspect your computer may be having issues. There are no code paths that connect those 3 things.

Are you able to reproduce the crash at all? If so; are you currently overclocking your CPU or RAM? If so, try turning that off. Otherwise the stack trace looks like bogus corruption.
If you want to get ahold of me I'm almost always on Discord.

distortions864
Long Handed Inserter
Long Handed Inserter
Posts: 99
Joined: Thu Apr 20, 2017 12:56 am
Contact:

Re: [1.1.8] Crash in agui

Post by distortions864 »

Interesting, I guess we'll see if it happens again.
I have never had problems before. I suppose it could just be fluke.

It isn't overclocked or anything, its a rented server in a data-center.
My guess is a random bit flip, or a bug from a automatic kernel live patch.

Thanks for looking into it, I'll run a RAM test to be safe.

Post Reply

Return to “1 / 0 magic”