Crash on start (Linux, Mesa 19.3.0)

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
anacron
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Dec 14, 2019 10:29 pm
Contact:

Crash on start (Linux, Mesa 19.3.0)

Post by anacron »

Code: Select all

   0.000 2019-12-14 16:32:20; Factorio 0.17.79 (build 47865, linux64, steam)
   0.066 Operating system: Linux (Arch rolling)
   0.066 Program arguments: "/home/anthony/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio" 
   0.066 Read data path: /home/anthony/.local/share/Steam/steamapps/common/Factorio/data
   0.066 Write data path: /home/anthony/.factorio [448300/959592MB]
   0.066 Binaries path: /home/anthony/.local/share/Steam/steamapps/common/Factorio/bin
   0.081 System info: [CPU:         Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz, 8 cores, RAM: 15975 MB]
   0.081 Environment: DISPLAY=:0 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=<unset> XDG_SESSION_DESKTOP=<unset> XDG_CURRENT_DESKTOP=KDE __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.081 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.153 Available displays: 1
   0.153  [0]: DS-263N 26" - {[0,0], 1920x1200, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.172 Initialised OpenGL:[0] AMD TAHITI (DRM 2.50.0, 5.4.2-arch1-1, LLVM 9.0.0); driver: 4.5 (Core Profile) Mesa 19.3.0
   0.172   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
   0.172   [Version] 4.5
   0.172 Graphics settings preset: very-high
   0.172   Dedicated video memory size 3072 MB
   0.187 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: high-quality] [Color: 32bit]
   0.187                   [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDC]
   0.375 Loading mod core 0.0.0 (data.lua)
   0.464 Loading mod base 0.17.79 (data.lua)
   0.684 Loading mod base 0.17.79 (data-updates.lua)
   0.795 Checksum for core: 2035938594
   0.795 Checksum of base: 4156627525
   1.118 Prototype list checksum: 2767119397
   1.156 Loading sounds...
   1.340 Info PlayerData.cpp:70: Local player-data.json unavailable
   1.340 Info PlayerData.cpp:73: Cloud player-data.json available, timestamp 1576076248
   1.466 Initial atlas bitmap size is 16384
   1.490 Created atlas bitmap 16384x16380 [none]
   1.493 Created atlas bitmap 16384x11628 [none]
   1.493 Created atlas bitmap 8192x3892 [decal]
   1.494 Created atlas bitmap 16384x4896 [low-object]
   1.494 Created atlas bitmap 8192x3760 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.495 Created atlas bitmap 16384x7168 [terrain, mipmap, linear-minification, linear-mip-level]
   1.495 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
   1.496 Created atlas bitmap 4096x1760 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.496 Created atlas bitmap 2048x192 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.496 Created atlas bitmap 8192x1632 [alpha-mask]
   1.498 Created atlas bitmap 16384x13324 [shadow, linear-magnification, alpha-mask]
   1.499 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0xb497f8, 0xd3202d, 0xbe299d, 0xbe2da9, 0x3bfb0, 0x21a553, 0x21a740, 0x21b2f0, 0x21b537, 0x2edfa2, 0x2ee0f1, 0x2ee854, 0x2d4b02, 0x2cafc0, 0xaa7adc, 0xaa4db7, 0xaa815e, 0x60af0d, 0x6dedb4, 0x6defaa, 0x6e11b8, 0x5eebfe, 0xa68e40, 0xb45dc9, 0xca87db, 0xdbdef8, 0xdd032e, 0xdd0534, 0xfe954b, 0x10163d3, 0x5384da, 0, 0x54a34e
   6.958 Warning Logger.cpp:518: Symbols.size() == 58, usedSize == 32
#0  0x0000000000d3202d in std::__uniq_ptr_impl<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::_M_ptr() const at /usr/include/c++/8/bits/unique_ptr.h:150
#1  0x0000000000be299d in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::get() const at /usr/include/c++/8/bits/unique_ptr.h:343
#2  0x0000000000be2da9 in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::operator->() const at /usr/include/c++/8/bits/unique_ptr.h:337
#3  0x000000000003bfb0 in Logger::flush() at /tmp/factorio-build-5KM6rv/src/Util/Logger.cpp:558
#4  0x000000000021a553 in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-build-5KM6rv/src/Util/Logger.cpp:544
#5  0x000000000021a740 in GlobalContext::getMap() at /tmp/factorio-build-5KM6rv/src/GlobalContext.cpp:1878
#6  0x000000000021b2f0 in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-build-5KM6rv/src/Util/CrashHandler.cpp:188
#7  0x000000000021b537 in CrashHandler::SigfpeHandler(int) at /tmp/factorio-build-5KM6rv/src/Util/CrashHandler.cpp:629
#8  0x00000000002edfa2 in ?? at ??:0
#9  0x00000000002ee0f1 in ?? at ??:0
#10 0x00000000002ee854 in ?? at ??:0
#11 0x00000000002d4b02 in ?? at ??:0
#12 0x00000000002cafc0 in ?? at ??:0
#13 0x0000000000aa7adc in ?? at ??:0
#14 0x0000000000aa4db7 in ?? at ??:0
#15 0x0000000000aa815e in ?? at ??:0
#16 0x000000000060af0d in ?? at ??:0
#17 0x00000000006dedb4 in ?? at ??:0
#18 0x00000000006defaa in TextureProcessor::generateMipmapChainInPlace(unsigned char*, unsigned int, unsigned int, int, std::vector<float, std::allocator<float> >&, BitmapFormat, unsigned char) at /tmp/factorio-build-5KM6rv/src/Graphics/TextureProcessor.cpp:1158
#19 0x00000000006e11b8 in std::string::_Rep::_M_dispose(std::allocator<char> const&) at /usr/include/c++/8/bits/basic_string.h:3234
#20 0x00000000005eebfe in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() at /usr/include/c++/8/bits/basic_string.h:3621
#21 0x0000000000a68e40 in AtlasImageTooltip::updateContent() at /tmp/factorio-build-5KM6rv/src/Gui/AtlasImageTooltip.cpp:101
#22 0x0000000000b45dc9 in TextureStreamingManager::commitBitmaps() at /tmp/factorio-build-5KM6rv/src/Graphics/TextureStreamingManager.cpp:393
#23 0x0000000000ca87db in std::_Deque_iterator<BlueprintLibrary::TransferRecord, BlueprintLibrary::TransferRecord const&, BlueprintLibrary::TransferRecord const*>::_M_set_node(BlueprintLibrary::TransferRecord**) at /usr/include/c++/8/bits/stl_deque.h:259
#24 0x0000000000dbdef8 in std::_Deque_iterator<BlueprintLibrary::TransferRecord, BlueprintLibrary::TransferRecord const&, BlueprintLibrary::TransferRecord const*>::operator++() at /usr/include/c++/8/bits/stl_deque.h:174
#25 0x0000000000dd032e in BlueprintLibrary::isQueuedForTransfer(BlueprintRecordID) const at /tmp/factorio-build-5KM6rv/src/Blueprint/BlueprintLibrary.cpp:732
#26 0x0000000000dd0534 in LuaGameScript::pushOnGuiSelectionStateChanged(GameAction const&) at /tmp/factorio-build-5KM6rv/src/Script/LuaGuiElement.cpp:1145
#27 0x0000000000fe954b in LuaGameScript::pushPlayerAsIndex(Player*) at /tmp/factorio-build-5KM6rv/src/Script/LuaGameScript.cpp:5954
#28 0x00000000010163d3 in LuaGameScript::pushGuiChangedData(GameActionData::GuiChangedData const&) at /tmp/factorio-build-5KM6rv/src/Script/LuaGameScript.cpp:4353
#29 0x00000000005384da in LuaGameScript::pushOnGuiCheckedStateChanged(GameAction const&) at /tmp/factorio-build-5KM6rv/src/Script/LuaGameScript.cpp:4384
#30 (nil) in LuaBinder<LuaLazyLoadedValue>::registerWrapper(lua_State*, LuaLazyLoadedValue*, LuaBinder<LuaLazyLoadedValue>::FuncWrapper*, std::string const&, int, bool) at /tmp/factorio-build-5KM6rv/src/Script/LuaBinder.hpp:104
#31 0x000000000054a34e in LuaBinder<LuaLazyLoadedValue>::registerObject(lua_State*, LuaLazyLoadedValue*, int) at /tmp/factorio-build-5KM6rv/src/Script/LuaBinder.hpp:53
#32 (nil) in void LuaObject::initLuaStateInternal<LuaLazyLoadedValue>(lua_State*, LuaLazyLoadedValue*) at /tmp/factorio-build-5KM6rv/src/Script/LuaObject.hpp:88
#33 (nil) in LuaLazyLoadedValue::initLuaState(lua_State*) at /tmp/factorio-build-5KM6rv/src/Script/LuaLazyLoadedValue.cpp:105
#34 (nil) in VideoBitmapOpenGL::copyToMemoryBitmap() const at /tmp/factorio-build-5KM6rv/src/Graphics/OpenGL/VideoBitmapOpenGL.cpp:283
#35 (nil) in std::__uniq_ptr_impl<MemoryBitmap, std::default_delete<MemoryBitmap> >::_M_ptr() const at /usr/include/c++/8/bits/unique_ptr.h:150
#36 (nil) in std::unique_ptr<MemoryBitmap, std::default_delete<MemoryBitmap> >::get() const at /usr/include/c++/8/bits/unique_ptr.h:343
#37 (nil) in std::unique_ptr<MemoryBitmap, std::default_delete<MemoryBitmap> >::release() at /usr/include/c++/8/bits/unique_ptr.h:365
#38 (nil) in std::unique_ptr<MemoryBitmap, std::default_delete<MemoryBitmap> >::operator=(std::unique_ptr<MemoryBitmap, std::default_delete<MemoryBitmap> >&&) at /usr/include/c++/8/bits/unique_ptr.h:289
#39 (nil) in CustomVideoBitmap::copyToMemoryBitmap() const at /tmp/factorio-build-5KM6rv/src/Graphics/CustomVideoBitmap.cpp:39
#40 (nil) in std::__uniq_ptr_impl<VideoBitmap, std::default_delete<VideoBitmap> >::_M_ptr() const at /usr/include/c++/8/bits/unique_ptr.h:150
#41 (nil) in std::unique_ptr<VideoBitmap, std::default_delete<VideoBitmap> >::get() const at /usr/include/c++/8/bits/unique_ptr.h:343
#42 (nil) in std::unique_ptr<VideoBitmap, std::default_delete<VideoBitmap> >::operator->() const at /usr/include/c++/8/bits/unique_ptr.h:337
#43 (nil) in TextureProcessor::testGpuAcceleratedCompression(GraphicsInterface&) at /tmp/factorio-build-5KM6rv/src/Graphics/TextureProcessor.cpp:1081
#44 (nil) in AtlasSystem::createTextureProcessor(unsigned int) at /tmp/factorio-build-5KM6rv/src/Graphics/AtlasSystem.cpp:1288
#45 (nil) in std::__uniq_ptr_impl<TextureProcessor, std::default_delete<TextureProcessor> >::_M_ptr() const at /usr/include/c++/8/bits/unique_ptr.h:150
#46 (nil) in std::unique_ptr<TextureProcessor, std::default_delete<TextureProcessor> >::get() const at /usr/include/c++/8/bits/unique_ptr.h:343
#47 (nil) in std::unique_ptr<TextureProcessor, std::default_delete<TextureProcessor> >::release() at /usr/include/c++/8/bits/unique_ptr.h:365
#48 (nil) in std::unique_ptr<TextureProcessor, std::default_delete<TextureProcessor> >::operator=(std::unique_ptr<TextureProcessor, std::default_delete<TextureProcessor> >&&) at /usr/include/c++/8/bits/unique_ptr.h:289
#49 (nil) in AtlasSystem::loadSprites(bool) at /tmp/factorio-build-5KM6rv/src/Graphics/AtlasSystem.cpp:607
#50 (nil) in AtlasSystem::tryLoadSpritesWithFallbackToMinimalMode(bool) at /tmp/factorio-build-5KM6rv/src/Graphics/AtlasSystem.cpp:1422
#51 (nil) in AtlasSystem::postBuildSetup() at /tmp/factorio-build-5KM6rv/src/Graphics/AtlasSystem.cpp:1426
#52 (nil) in AtlasSystem::build() at /tmp/factorio-build-5KM6rv/src/Graphics/AtlasSystem.cpp:1512
#53 (nil) in GlobalContext::init(bool, bool, bool, std::optional<WindowPositionData>) at /tmp/factorio-build-5KM6rv/src/GlobalContext.cpp:579
#54 (nil) in MainLoop::run(Filesystem::Path const&, Filesystem::Path const&, bool, bool, std::function<void ()>, Filesystem::Path const&, MainLoop::HeavyMode) at /tmp/factorio-build-5KM6rv/src/MainLoop.cpp:270 (discriminator 2)
#55 (nil) in main at /tmp/factorio-build-5KM6rv/src/Main.cpp:1385 (discriminator 3)
#56 (nil) in ?? at ??:0
#57 (nil) in _start at ??:?
Stack trace logging done
  12.211 Warning Logger.cpp:518: Symbols.size() == 53, usedSize == 31
  12.211 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.
  14.391 Error CrashHandler.cpp:603: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...


posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Crash on start (Linux, Mesa 19.3.0)

Post by posila »

Hello, it crashes in the graphics driver.

As far as I could find the driver version you are using - Mesa 19.3.0 - is development release. Try to downgrade the driver to stable release.

anacron
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Dec 14, 2019 10:29 pm
Contact:

Re: Crash on start (Linux, Mesa 19.3.0)

Post by anacron »

Thank you for your solution. I downgraded the driver with the command below, and the game now starts.

Code: Select all

sudo pacman -U /var/cache/pacman/pkg/mesa-19.2.7-1-x86_64.pkg.tar.xz
Mesa 19.3.0-1 is the current version used by my distro (as of today), and it was installed this morning on my machine by an automated upgrade script. That explains why the game worked yesterday.

nicman23
Burner Inserter
Burner Inserter
Posts: 12
Joined: Sat Oct 04, 2014 10:15 pm
Contact:

Re: Crash on start (Linux, Mesa 19.3.0)

Post by nicman23 »

Mesa 19.3.1 also crashes and is not a devel tag

Loewchen
Global Moderator
Global Moderator
Posts: 8284
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Crash on start (Linux, Mesa 19.3.0)

Post by Loewchen »

@nicman Post the the log from the latest driver as well.

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Crash on start (Linux, Mesa 19.3.0)

Post by posila »

Still bug in Mesa not in Factorio

nicman23
Burner Inserter
Burner Inserter
Posts: 12
Joined: Sat Oct 04, 2014 10:15 pm
Contact:

Re: Crash on start (Linux, Mesa 19.3.0)

Post by nicman23 »

Fixed in mesa master branch / on arch install mesa-git from the repo mentioned in the wiki

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Crash on start (Linux, Mesa 19.3.0)

Post by posila »

nicman23 wrote:
Mon Jan 06, 2020 9:44 am
Fixed in mesa master branch / on arch install mesa-git from the repo mentioned in the wiki
Thanks for letting us know. I've reported the issue to Mesa over the holidays, but wasn't able to provide enough info as I didn't have HW to reproduce the crash; they suspected it's something they have recently fixed.

Jap2.0
Smart Inserter
Smart Inserter
Posts: 2339
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: Crash on start (Linux, Mesa 19.3.0)

Post by Jap2.0 »

Mesa 19.3.2 released today, which as far as I can tell should include the fix.
There are 10 types of people: those who get this joke and those who don't.

Post Reply

Return to “Technical Help”