Page 1 of 1

[1.1.107][linux] Crash on launch: "Segmentation fault (core dumped)"

Posted: Sat Jun 15, 2024 12:27 pm
by palim
Today I tried to play Factorio on my recently updated Ubuntu 24.04 NUC Box.

First I tried to install it via Steam. After Installation and clicking the 'Play' Button the game just did not start, without any error message. Then I tried to start the Steam version from the terminal with the error message "Segmentation fault (core dumped)". Then I downloaded the latest stable version and tried to start it in the terminal, resulting with the same error message:

Code: Select all

user@bbox:~/Downloads/factorio_alpha_x64_1.1.107/factorio/bin/x64$ ./factorio 
Segmentation fault (core dumped)
This seems to be similar as in this bug report viewtopic.php?f=7&t=113807, but I see no SDL error.

I would have expected to see no error message and to be able to play the game.

This seem to happen always (tested it also with the current experimental version with the same result).

Here my hard-/software infos:

Code: Select all

PROCESSOR:              Intel Core i7-8650U @ 1.90GHz
    Core Count:           4                                                 
    Extensions:           SSE 4.2 + AVX2 + AVX + RDRAND + FSGSBASE          
    Cache Size:           8 MB                                              
    Microcode:            0xf4                                              
    Core Family:          Kaby/Coffee/Whiskey Lake                          
    Scaling Driver:       intel_pstate powersave (EPP: balance_performance) 

  GRAPHICS:               Intel UHD 620
    Monitor:              SMT27A950        
    Screen:               1920x1080        

  MOTHERBOARD:            Intel NUC7i7DNB
    BIOS Version:         DNKBLi7v.86A.0037.2018.0131.0828  
    Chipset:              Intel Xeon E3-1200 v6/7th         
    Audio:                Intel Sunrise Point-LP HD Audio   
    Network:              Intel I219-LM + Intel 8265 / 8275 

  MEMORY:                 8GB

  DISK:                   Samsung SSD 970 EVO 250GB
    File-System:          ext4                          
    Mount Options:        errors=remount-ro relatime rw 
    Disk Scheduler:       NONE                          
    Disk Details:         Block Size: 4096              

  OPERATING SYSTEM:       Ubuntu 24.04
    Kernel:               6.8.0-35-generic (x86_64)                                                                                      
    Desktop:              GNOME Shell 46.0                                                                                               
    Display Server:       X Server 1.21.1.3 + Wayland                                                                                    
    Compiler:             GCC 13.2.0                                                       

Re: [1.1.107][linux] Crash on launch: "Segmentation fault (core dumped)"

Posted: Sat Jun 15, 2024 12:39 pm
by Loewchen
Post the complete log of a session with the issue, see 3638.

Re: [1.1.107][linux] Crash on launch: "Segmentation fault (core dumped)"

Posted: Sun Jun 16, 2024 10:21 am
by palim
Sorry, but my ~/.factorio directory only contains a 'saves' directory (from Steam Cloud) and no log files.

Re: [1.1.107][linux] Crash on launch: "Segmentation fault (core dumped)"

Posted: Sun Jun 16, 2024 11:54 am
by palim
Not sure if it helps, but I saved a core dump https://file.io/p3QCgwyf1e2a.

Re: [1.1.107][linux] Crash on launch: "Segmentation fault (core dumped)"

Posted: Sun Jun 16, 2024 11:58 am
by palim
And a ldd on the factorio binary, if needed:

Code: Select all

user@bbox:~/Downloads/factorio_alpha_x64_1.1.107/factorio/bin/x64$ ldd factorio 
	linux-vdso.so.1 (0x00007ffdd5db9000)
	/usr/local/lib/AppProtection/libAppProtection.so (0x0000714206c00000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x0000714207119000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x0000714207114000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x0000714207101000)
	libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x0000714206fc4000)
	libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x0000714206fae000)
	libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x0000714206f27000)
	libXinerama.so.1 => /lib/x86_64-linux-gnu/libXinerama.so.1 (0x0000714206f22000)
	libXrandr.so.2 => /lib/x86_64-linux-gnu/libXrandr.so.2 (0x0000714206f15000)
	libXcursor.so.1 => /lib/x86_64-linux-gnu/libXcursor.so.1 (0x0000714206f09000)
	libasound.so.2 => /lib/x86_64-linux-gnu/libasound.so.2 (0x0000714206af6000)
	libpulse.so.0 => /lib/x86_64-linux-gnu/libpulse.so.0 (0x0000714206eb6000)
	libpulse-simple.so.0 => /lib/x86_64-linux-gnu/libpulse-simple.so.0 (0x0000714206eaf000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x0000714206a0d000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x0000714206eaa000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x0000714206600000)
	/lib64/ld-linux-x86-64.so.2 (0x0000714207135000)
	libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x0000714206e81000)
	libXi.so.6 => /lib/x86_64-linux-gnu/libXi.so.6 (0x0000714206e6c000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x0000714206200000)
	libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x0000714206955000)
	libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x0000714206e39000)
	libXrender.so.1 => /lib/x86_64-linux-gnu/libXrender.so.1 (0x0000714206e2d000)
	libXfixes.so.3 => /lib/x86_64-linux-gnu/libXfixes.so.3 (0x000071420694d000)
	libpulsecommon-16.1.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-16.1.so (0x00007142068cf000)
	libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x0000714206880000)
	libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x000071420687a000)
	libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x0000714206872000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x0000714206845000)
	libsndfile.so.1 => /lib/x86_64-linux-gnu/libsndfile.so.1 (0x0000714206578000)
	libX11-xcb.so.1 => /lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x0000714206840000)
	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x0000714206498000)
	libasyncns.so.0 => /lib/x86_64-linux-gnu/libasyncns.so.0 (0x0000714206838000)
	libapparmor.so.1 => /lib/x86_64-linux-gnu/libapparmor.so.1 (0x0000714206822000)
	libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x0000714206482000)
	libFLAC.so.12 => /lib/x86_64-linux-gnu/libFLAC.so.12 (0x000071420619c000)
	libvorbis.so.0 => /lib/x86_64-linux-gnu/libvorbis.so.0 (0x000071420616e000)
	libvorbisenc.so.2 => /lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007142060c3000)
	libopus.so.0 => /lib/x86_64-linux-gnu/libopus.so.0 (0x0000714206064000)
	libogg.so.0 => /lib/x86_64-linux-gnu/libogg.so.0 (0x0000714206816000)
	libmpg123.so.0 => /lib/x86_64-linux-gnu/libmpg123.so.0 (0x0000714206008000)
	libmp3lame.so.0 => /lib/x86_64-linux-gnu/libmp3lame.so.0 (0x0000714205f92000)
	libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x0000714205f85000)
	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x0000714205e3d000)
	liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x0000714205e1b000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x0000714205de9000)
	libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x0000714205d2f000)
	libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0 (0x0000714205d20000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x0000714205cfb000)

Re: [1.1.107][linux] Crash on launch: "Segmentation fault (core dumped)"

Posted: Tue Jun 18, 2024 9:14 am
by palim
Today I tested it with a fresh Ubuntu 24.04 in a virtual machine on my NUC and Factorio worked as normal. Please mark my report as 'not a bug' or delete it because I think the problem is some interference with other software or drivers on my box.

Re: [1.1.107][linux] Crash on launch: "Segmentation fault (core dumped)"

Posted: Tue Jun 25, 2024 9:57 am
by palim
I solved the problem by uninstalling and reinstalling 'icaclient' and 'ctxusb' packages (Remote Desktop).