You are not logged in.

#1 2018-03-18 19:43:37

rlyunlucky
Member
Registered: 2017-10-08
Posts: 16

Steam games instantly crash, (posibly due to missing libraries)

Hello everyone,
I have installed steam and steam-native-runtime packages aswell as the needed graphics drivers as described in the wiki: https://wiki.archlinux.org/index.php/steam#Installation . Both steam runtime and native work fine. I installed two gmes to test the installation: Borderlnds 2 and Civilization 5. However when tring to start either one of those games they intantly crash (in case of Civ5 i get a black sreen for about 0.5 s). Troubleshooting posiblilies i found in the wiki https://wiki.archlinux.org/index.php/St … mmediately , obviously i have no idea what i am doing at this point:

1. Check installed libraries: I followed the instructions given at https://wiki.archlinux.org/index.php/St … _libraries. I prett much just followed these instructions but didn't get far.
When checking for the game libraries i get:

i)

for

 ldd Borderlnds 2 

:

        linux-gate.so.1 (0xf7fbe000)
        libsteam_api.so => ./libsteam_api.so (0xf7fa8000)
        libcrypto.so.1.0.0 => ./libcrypto.so.1.0.0 (0xf7df8000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7c68000)
        libGL.so.1 => /usr/lib32/libGL.so.1 (0xf7c08000)
        libz.so.1 => /usr/lib32/libz.so.1 (0xf7be8000)
        libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf7bc8000)
        librt.so.1 => /usr/lib32/librt.so.1 (0xf7bb8000)
        libdl.so.2 => /usr/lib32/libdl.so.2 (0xf7bb0000)
        libm.so.6 => /usr/lib32/libm.so.6 (0xf7ae8000)
        libuuid.so.1 => /usr/lib32/libuuid.so.1 (0xf7ad8000)
        libc++.so.1 => ./libc++.so.1 (0xf7a28000)
        libcxxrt.so => ./libcxxrt.so (0xf7a08000)
        libc.so.6 => /usr/lib32/libc.so.6 (0xf7830000)
        libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7810000)
        libiconv.so.2 => ./libiconv.so.2 (0xf7728000)
        libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf75a8000)
        libssl.so.1.0.0 => ./libssl.so.1.0.0 (0xf7550000)
        libopenal.so.1 => /usr/lib32/libopenal.so.1 (0xf7478000)
        /lib/ld-linux.so.2 => /usr/lib/ld-linux.so.2 (0xf7fc0000)
        libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf7448000)
        libGLX.so.0 => /usr/lib32/libGLX.so.0 (0xf7420000)
        libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7408000)
        libGLdispatch.so.0 => /usr/lib32/libGLdispatch.so.0 (0xf73a8000)
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf73a0000)
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7398000)

-for

  ldd Civ5XP 

:

        linux-gate.so.1 (0xf7f6a000)
        libcrypto.so.1.0.0 => ./libcrypto.so.1.0.0 (0xf7d90000)
        libMiles.so => ./libMiles.so (0xf7d08000)
        libtbb.so.2 => ./libtbb.so.2 (0xf7cd0000)
        libssl.so.1.0.0 => ./libssl.so.1.0.0 (0xf7c78000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7ae8000)
        libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf7ac8000)
        librt.so.1 => /usr/lib32/librt.so.1 (0xf7ab8000)
        libc++.so.1 => ./libc++.so.1 (0xf7a08000)
        libcxxrt.so => ./libcxxrt.so (0xf79e8000)
        libc.so.6 => /usr/lib32/libc.so.6 (0xf7810000)
        /lib/ld-linux.so.2 => /usr/lib/ld-linux.so.2 (0xf7f40000)
        libsteam_api.so => ./libsteam_api.so (0xf7800000)
        libGL.so.1 => /usr/lib32/libGL.so.1 (0xf77a0000)
        libopenal.so.1 => ./libopenal.so.1 (0xf7750000)
        libdl.so.2 => /usr/lib32/libdl.so.2 (0xf7748000)
        libm.so.6 => /usr/lib32/libm.so.6 (0xf7680000)
        libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7660000)
        libuuid.so.1 => ./libuuid.so.1 (0xf7658000)
        libiconv.so.2 => ./libiconv.so.2 (0xf7570000)
        libz.so.1 => /usr/lib32/libz.so.1 (0xf7550000)
        libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf73d0000)
        libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf73a0000)
        libGLX.so.0 => /usr/lib32/libGLX.so.0 (0xf7378000)
        libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7360000)
        libGLdispatch.so.0 => /usr/lib32/libGLdispatch.so.0 (0xf7300000)
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf72f8000)
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf72f0000)

Here for the following files i could not find a fitting package  using

 pkgfile <filename> 

aswell as

pacman -Fs <filename>

:

linux-gate.so.1
libMiles.so
libcxxrt.so
/lib/ld-linux.so.2
libsteam_api.so
libiconv.so.2

I did not find out how to check weather these are already intalled with the steam runtime, or what to do.

ii)

Next i generated the output of:

 
$ cd ~/.steam/root/ubuntu12_32
$ file * | grep ELF | cut -d: -f1 | LD_LIBRARY_PATH=. xargs ldd | grep 'not found' | sort | uniq

i installed the libraries, now this output is empty.

iii)

The output of

$ for i in $(pgrep steam); do sed '/\.local/!d;s/.*  //g' /proc/$i/maps; done | sort | uniq

is:

/home/username/.local/share/Steam/config/htmlcache/Cache/data_0                                                                                                                                                                                                                     
/home/username/.local/share/Steam/config/htmlcache/Cache/data_1                                                                                                                                                                                                                     
/home/username/.local/share/Steam/config/htmlcache/Cache/data_2                                                                                                                                                                                                                     
/home/username/.local/share/Steam/config/htmlcache/Cache/data_3                                                                                                                                                                                                                     
/home/username/.local/share/Steam/config/htmlcache/Cache/index                                                                                                                                                                                                                      
/home/username/.local/share/Steam/config/htmlcache/Cookies                                                                                                                                                                                                                          
/home/username/.local/share/Steam/linux64/steamclient.so                                                                                                                                                                                                                            
/home/username/.local/share/Steam/ubuntu12_32/chromehtml.so                                                                                                                                                                                                                         
/home/username/.local/share/Steam/ubuntu12_32/crashhandler.so                                                                                                                                                                                                                       
/home/username/.local/share/Steam/ubuntu12_32/filesystem_stdio.so                                                                                                                                                                                                                   
/home/username/.local/share/Steam/ubuntu12_32/friendsui.so                                                                                                                                                                                                                          
/home/username/.local/share/Steam/ubuntu12_32/libSDL2-2.0.so.0                                                                                                                                                                                                                      
/home/username/.local/share/Steam/ubuntu12_32/libavcodec.so.57                                                                                                                                                                                                                      
/home/username/.local/share/Steam/ubuntu12_32/libavformat.so.57                                                                                                                                                                                                                     
/home/username/.local/share/Steam/ubuntu12_32/libavresample.so.3                                                                                                                                                                                                                    
/home/username/.local/share/Steam/ubuntu12_32/libavutil.so.55                                                                                                                                                                                                                       
/home/username/.local/share/Steam/ubuntu12_32/libicui18n.so                                                                                                                                                                                                                         
/home/username/.local/share/Steam/ubuntu12_32/libicuuc.so                                                                                                                                                                                                                           
/home/username/.local/share/Steam/ubuntu12_32/libopenvr_api.so                                                                                                                                                                                                                      
/home/username/.local/share/Steam/ubuntu12_32/libswscale.so.4                                                                                                                                                                                                                       
/home/username/.local/share/Steam/ubuntu12_32/libtier0_s.so                                                                                                                                                                                                                         
/home/username/.local/share/Steam/ubuntu12_32/libv8.so                                                                                                                                                                                                                              
/home/username/.local/share/Steam/ubuntu12_32/libvideo.so                                                                                                                                                                                                                           
/home/username/.local/share/Steam/ubuntu12_32/libvstdlib_s.so                                                                                                                                                                                                                       
/home/username/.local/share/Steam/ubuntu12_32/serverbrowser.so                                                                                                                                                                                                                      
/home/username/.local/share/Steam/ubuntu12_32/steam
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libdbus-1.so.3.5.8
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libpng12.so.0.46.0
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libudev.so.0.13.0
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libXcomposite.so.1.0.0
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libXinerama.so.1.0.0
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libatk-1.0.so.0.20409.1
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libcairo.so.2.11000.2
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libcanberra-gtk.so.0.1.8
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libcanberra.so.0.2.5
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libdbus-glib-1.so.2.2.2
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libdbusmenu-glib.so.4.0.13
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libdbusmenu-gtk.so.4.0.13
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0.2400.10
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.10
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgudev-1.0.so.0.1.1
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libltdl.so.7.3.0
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libnspr4.so
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libnss3.so
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libnssutil3.so
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libopenal.so.1.13.0
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libpango-1.0.so.0.3000.0
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0.3000.0
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0.3000.0
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libpixman-1.so.0.30.2
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libplc4.so
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libplds4.so
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libsmime3.so
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libtdb.so.1.2.9
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libva-x11.so.1.3900.0
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libva.so.1.3900.0
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libvdpau.so.1.0.0
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/libappindicator.so.1.0.0
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/libindicator.so.7.0.0
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/libnm-glib.so.4.3.0
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/libnm-util.so.2.3.0
/home/username/.local/share/Steam/ubuntu12_32/steamclient.so
/home/username/.local/share/Steam/ubuntu12_32/steamservice.so
/home/username/.local/share/Steam/ubuntu12_32/steamui.so
/home/username/.local/share/Steam/ubuntu12_32/vgui2_s.so
/home/username/.local/share/Steam/ubuntu12_64/cef.pak
/home/username/.local/share/Steam/ubuntu12_64/cef_100_percent.pak
/home/username/.local/share/Steam/ubuntu12_64/cef_200_percent.pak
/home/username/.local/share/Steam/ubuntu12_64/cef_extensions.pak
/home/username/.local/share/Steam/ubuntu12_64/icudtl.dat
/home/username/.local/share/Steam/ubuntu12_64/libSDL2-2.0.so.0
/home/username/.local/share/Steam/ubuntu12_64/libcef.so
/home/username/.local/share/Steam/ubuntu12_64/locales/de.pak
/home/username/.local/share/Steam/ubuntu12_64/natives_blob.bin
/home/username/.local/share/Steam/ubuntu12_64/snapshot_blob.bin
/home/username/.local/share/Steam/ubuntu12_64/steamwebhelper

where i assume everything in "steam-runtime" is part of the steam libraries and i don't have to install something. Concerning the other entries the following are those that i cant find a suiting package for with "pkgfile":

/home/username/.local/share/Steam/config/htmlcache/Cache/data_0                                                                                                                                                                                                                     
/home/username/.local/share/Steam/config/htmlcache/Cache/data_1                                                                                                                                                                                                                     
/home/username/.local/share/Steam/config/htmlcache/Cache/data_2                                                                                                                                                                                                                     
/home/username/.local/share/Steam/config/htmlcache/Cache/data_3                                                                                                                                                                                                                     
/home/username/.local/share/Steam/config/htmlcache/Cache/index                                                                                                                                                                                                                      
/home/username/.local/share/Steam/config/htmlcache/Cookies  
/home/max/.local/share/Steam/linux64/steamclient.so                                                                                                                                                                                                                            
/home/max/.local/share/Steam/ubuntu12_32/chromehtml.so                                                                                                                                                                                                                         
/home/max/.local/share/Steam/ubuntu12_32/crashhandler.so                                                                                                                                                                                                                       
/home/max/.local/share/Steam/ubuntu12_32/filesystem_stdio.so                                                                                                                                                                                                                   
/home/max/.local/share/Steam/ubuntu12_32/friendsui.so                                                                                                                                                                                                                           
/home/max/.local/share/Steam/ubuntu12_32/libopenvr_api.so                                                                                                                                                                                                                      
/home/max/.local/share/Steam/ubuntu12_32/libswscale.so.4                                                                                                                                                                                                                       
/home/max/.local/share/Steam/ubuntu12_32/libtier0_s.so                                                                                                                                                                                                                         
/home/max/.local/share/Steam/ubuntu12_32/libv8.so                                                                                                                                                                                                                              
/home/max/.local/share/Steam/ubuntu12_32/libvideo.so                                                                                                                                                                                                                           
/home/max/.local/share/Steam/ubuntu12_32/libvstdlib_s.so                                                                                                                                                                                                                       
/home/max/.local/share/Steam/ubuntu12_32/serverbrowser.so                                                                                                                                                                                                                      
/home/max/.local/share/Steam/ubuntu12_32/steamclient.so
/home/max/.local/share/Steam/ubuntu12_32/steamservice.so
/home/max/.local/share/Steam/ubuntu12_32/steamui.so
/home/max/.local/share/Steam/ubuntu12_32/vgui2_s.so
/home/max/.local/share/Steam/ubuntu12_64/steamwebhelper

I assume  most of those are not really pointing to any libraries needed, but I'm not quite sure what to do here again (sorry for stupid).

2. Disabling the in-game Steam Overlay in the game properties did change nothing at all.

3. I did not find out how to get the steam output the wiki i talking about, when starting steam from the console, however i get no output when the games crash.

Can anyone help me how to solve my problem? Probably i just forgot something really simple, but i dont get it. Thanks for any kind of help. smile

Last edited by rlyunlucky (2018-03-18 19:45:05)

Offline

#2 2018-03-18 20:33:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,857

Re: Steam games instantly crash, (posibly due to missing libraries)

There are no unresolved linked shared objects.
If the game crashes, look out for a coredump, "man coredumpctl".

Offline

#3 2018-03-18 21:43:54

rlyunlucky
Member
Registered: 2017-10-08
Posts: 16

Re: Steam games instantly crash, (posibly due to missing libraries)

Thanks for the fast reply! I did find the coredumps, the "gdp"-commands return:

            PID: 1592 (Civ5XP)
           UID: 1000 (username)
           GID: 100 (users)
        Signal: 11 (SEGV)
     Timestamp: Sun 2018-03-18 22:27:41 CET (5min ago)
  Command Line: /home/username/.local/share/Steam/steamapps/common/Sid Meier's Civilization V/./Civ5XP
    Executable: /home/username/.local/share/Steam/steamapps/common/Sid Meier's Civilization V/Civ5XP
 Control Group: /user.slice/user-1000.slice/session-c2.scope
          Unit: session-c2.scope
         Slice: user-1000.slice
       Session: c2
     Owner UID: 1000 (username)
       Boot ID: a96f533804e440e89742d155f5379bab
    Machine ID: ...
      Hostname: hostname
       Storage: /var/lib/systemd/coredump/core.Civ5XP.1000.a96f533804e440e89742d155f5379bab.1592.1521408461000000.lz4
       Message: Process 1592 (Civ5XP) of user 1000 dumped core.
                
                Stack trace of thread 1594:
                #0  0x00000000ee465b6b n/a (n/a)

GNU gdb (GDB) 8.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/username/.local/share/Steam/steamapps/common/Sid Meier's Civilization V/Civ5XP...(no debugging symbols found)...done.                                 
[New LWP 1594]                                                                                                                                                              
[New LWP 1593]                                                                                                                                                              
[New LWP 1592]                                                                                                                                                              
                                                                                                                                                                            
warning: Could not load shared library symbols for 10 libraries, e.g. ./libcrypto.so.1.0.0.                                                                                 
Use the "info sharedlibrary" command to see the complete listing.                                                                                                           
Do you need "set solib-search-path" or "set sysroot"?                                                                                                                       
[Thread debugging using libthread_db enabled]                                                                                                                               
Using host libthread_db library "/usr/lib/libthread_db.so.1".                                                                                                               
Core was generated by `/home/username/.local/share/Steam/steamapps/common/Sid Meier's Civilization V/./Civ5'.                                                                    
Program terminated with signal SIGSEGV, Segmentation fault.                                                                                                                 
#0  0xee465b6b in ?? ()                                                                                                                                                     
[Current thread is 1 (Thread 0xf2c9fb40 (LWP 1594))]                                                                                                                        
(gdb) ...

and

           PID: 26801 (Borderlands2)                                                                                                                                        
           UID: 1000 (username)                                                                                                                                                  
           GID: 100 (users)                                                                                                                                                 
        Signal: 11 (SEGV)                                                                                                                                                   
     Timestamp: Sun 2018-03-18 17:02:46 CET (5h 35min ago)                                                                                                                  
  Command Line: /home/username/.local/share/Steam/steamapps/common/Borderlands 2/./Borderlands2                                                                                  
    Executable: /home/username/.local/share/Steam/steamapps/common/Borderlands 2/Borderlands2                                                                                    
 Control Group: /user.slice/user-1000.slice/session-c2.scope
          Unit: session-c2.scope
         Slice: user-1000.slice
       Session: c2
     Owner UID: 1000 (username)
       Boot ID: 23f84a33e66c4591a8a5c39d9a4b9161
    Machine ID: ...
      Hostname: hostname
       Storage: /var/lib/systemd/coredump/core.Borderlands2.1000.23f84a33e66c4591a8a5c39d9a4b9161.26801.1521388966000000.lz4
       Message: Process 26801 (Borderlands2) of user 1000 dumped core.
                
                Stack trace of thread 26801:
                #0  0x0000000000000000 n/a (n/a)

GNU gdb (GDB) 8.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/username/.local/share/Steam/steamapps/common/Borderlands 2/Borderlands2...(no debugging symbols found)...done.
[New LWP 26801]
[New LWP 26802]
[New LWP 26806]
[New LWP 26807]
[New LWP 26804]
[New LWP 26808]
[New LWP 26810]
[New LWP 26813]
[New LWP 26809]
[New LWP 26814]
[New LWP 26815]
[New LWP 26811]
[New LWP 26812]

warning: Could not load shared library symbols for 6 libraries, e.g. ./libsteam_api.so.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/home/username/.local/share/Steam/steamapps/common/Borderlands 2/./Borderlands2'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000000 in ?? ()
[Current thread is 1 (Thread 0xf7dae780 (LWP 26801))]
(gdb) 

the "bt"-commantd doesnt help me either. What do i do with these dumps? How can i find out anything more specific?

Maybe I should mention that at least one of those games has already worked fine for me on another installation, thus i don't think its a general problem with the game.

Offline

#4 2018-03-18 23:43:09

rlyunlucky
Member
Registered: 2017-10-08
Posts: 16

Re: Steam games instantly crash, (posibly due to missing libraries)

Also, looking at the gdb-output, there seem to be warning about shared libraries not loaded, can this be the reason, however these ilbraries are either contained in an installed package or i can't find them with "pkgfile" again...
I am quite unsure about this SIGSEGV - signal, did not find anthing helpful yet, will look on what it means, maybe here anyone can help me.

Offline

#5 2018-03-19 00:10:08

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: Steam games instantly crash, (posibly due to missing libraries)

If you just use coredumpctl info does that generate the same stack trace?

Offline

#6 2018-03-19 01:05:03

rlyunlucky
Member
Registered: 2017-10-08
Posts: 16

Re: Steam games instantly crash, (posibly due to missing libraries)

Yes, I think so. Its the frist part of the gdb-output, for Borderlands 2 for exmple, "coredumpctl info gives":

 PID: 26801 (Borderlands2)                                                                                                                                        
           UID: 1000 (username)                                                                                                                                                  
           GID: 100 (users)                                                                                                                                                 
        Signal: 11 (SEGV)                                                                                                                                                   
     Timestamp: Sun 2018-03-18 17:02:46 CET (8h ago)                                                                                                                        
  Command Line: /home/username/.local/share/Steam/steamapps/common/Borderlands 2/./Borderlands2                                                                                  
    Executable: /home/username/.local/share/Steam/steamapps/common/Borderlands 2/Borderlands2                                                                                    
 Control Group: /user.slice/user-1000.slice/session-c2.scope
          Unit: session-c2.scope
         Slice: user-1000.slice
       Session: c2
     Owner UID: 1000 (username)
       Boot ID: 23f84a33e66c4591a8a5c39d9a4b9161
    Machine ID: ...
      Hostname: hostname
       Storage: /var/lib/systemd/coredump/core.Borderlands2.1000.23f84a33e66c4591a8a5c39d9a4b9161.26801.1521388966000000.lz4
       Message: Process 26801 (Borderlands2) of user 1000 dumped core.
                
                Stack trace of thread 26801:
                #0  0x0000000000000000 n/a (n/a)

Offline

#7 2018-03-19 01:07:59

rlyunlucky
Member
Registered: 2017-10-08
Posts: 16

Re: Steam games instantly crash, (posibly due to missing libraries)

loqs wrote:

If you just use coredumpctl info does that generate the same stack trace?

However to me the stacktrace seems to contain no information, but i have no idea anyways..

Offline

#8 2018-03-19 01:10:52

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: Steam games instantly crash, (posibly due to missing libraries)

Yes there is information missing for comparison https://pastebin.com/6uP5s0XA

Offline

#9 2018-03-19 01:26:02

rlyunlucky
Member
Registered: 2017-10-08
Posts: 16

Re: Steam games instantly crash, (posibly due to missing libraries)

loqs wrote:

Yes there is information missing for comparison https://pastebin.com/6uP5s0XA

Oh yes i see...
Is there anything i can do about that, when tryng to start the games?
How can i start steam with steam-console in arch?  (on Windows there was this -console option if i remember correctly) Maybe this helps

Offline

#10 2018-03-19 08:36:38

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,857

Re: Steam games instantly crash, (posibly due to missing libraries)

Stack corruption - likely some of the bundled libraries (in particular things like ./libc++.so.1 looks terribly suspicious) are binary incompatible with the rest of the system.
Keep in mind that steam officially only supports a very particular ubuntu stack with older versions of libc and compiled with older versions of gcc. Running it on anything else is a matter of "luck" :-(

Did you see https://wiki.archlinux.org/index.php/St … leshooting, notably on the various ways to launch games?

Offline

#11 2018-03-21 23:19:07

rlyunlucky
Member
Registered: 2017-10-08
Posts: 16

Re: Steam games instantly crash, (posibly due to missing libraries)

seth wrote:

Stack corruption - likely some of the bundled libraries (in particular things like ./libc++.so.1 looks terribly suspicious) are binary incompatible with the rest of the system.

The only package i can find "libc++.so.1" in using "pkgfile"  is  teamspeak3. Can this be?

Offline

#12 2018-03-22 07:36:29

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,857

Re: Steam games instantly crash, (posibly due to missing libraries)

No idea, brief google says various games just ship them and the "./" actually supports that idea, but I'm too smart *sigh* "old" to surrender to steam (when I was young™, like 15 years ago, we could just run games w/o online service surveillance)
You could try running

env LD_PRELOAD=/usr/lib32/libstdc++.so.6 steam

to ensure it prefers symbols from the local libstdc++

Offline

#13 2018-03-22 14:13:46

rlyunlucky
Member
Registered: 2017-10-08
Posts: 16

Re: Steam games instantly crash, (posibly due to missing libraries)

Sadly doesn't change anything, When directly trying to launch the game executable, steam asks for a file named "steam_appid.txt" containing the appid. When doing so the game crashes aswell... with the output

[username@hostname Borderlands 2]$ ./Borderlands2                                                                                                                       
Setting breakpad minidump AppID =****                                                                                                                                      
Steam_SetMinidumpSteamID:  Caching Steam ID: **** [API loaded no]                                                                                             
Speicherzugriffsfehler (Speicherabzug geschrieben) 

However the shared libs with "./" are all in the game folder:

[username@hostname Borderlands 2]$ ls                                                                                                                                             
Borderlands2  com.aspyr.bl2.version.json  libc++.so  libc++.so.1  libc++.so.1.0  libcrypto.so.1.0.0  libcxxrt.so  libiconv.so  libiconv.so.2  libiconv.so.2.5.1  libssl.so.1.0.0  libsteam_api.so  steam_appid.txt  steam_shader_cache  steamassets

Also sometimes after trying to launch games from steam, without any pattern i could track so far, my Desktop (KDE) Taskbar and clock break. Not sure if this is of any interest or just something more to be concerned about...

Offline

#14 2018-03-22 14:19:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: Steam games instantly crash, (posibly due to missing libraries)

The taskbar breaking could be due to the fact that games/SDL2 windows inhibit compositing. It is usually harmless.

In general what kind of hardware are we talking here? Older AMD processors often do not have certain instruction sets used by the precompiled binaries, and or insufficient GL capabilities. Does your dmesg contain anything? certain crashes might lead to interesting reports generated there even though the fault was in a "user-space" program.

Offline

#15 2018-03-22 14:22:47

rlyunlucky
Member
Registered: 2017-10-08
Posts: 16

Re: Steam games instantly crash, (posibly due to missing libraries)

Alright... Update: CIvilisation 5 seems to work when the binary run directly.
Bonus-Update: I rabdomly confused the app_ids (*argh... my bad*), Borderland also running if the binary is run directly.

Last edited by rlyunlucky (2018-03-22 14:38:00)

Offline

#16 2018-03-22 14:50:40

rlyunlucky
Member
Registered: 2017-10-08
Posts: 16

Re: Steam games instantly crash, (posibly due to missing libraries)

V1del wrote:

The taskbar breaking could be due to the fact that games/SDL2 windows inhibit compositing. It is usually harmless.

In general what kind of hardware are we talking here? Older AMD processors often do not have certain instruction sets used by the precompiled binaries, and or insufficient GL capabilities. Does your dmesg contain anything? certain crashes might lead to interesting reports generated there even though the fault was in a "user-space" program.

1. Thanks for the destressing hint on my KDE-crashes. smile

2. I have an AMD FX-6300 (not sure if that counts as old yet). When running steam games inside steam m dmesg output is:

  
[  591.536691] Borderlands2[2042]: segfault at 0 ip 0000000000000000 sp 00000000ffdedbac error 14 in Borderlands2[8048000+235a000]

But I'm not sure if this can still be due to hardware related stuff, since now the games seem to run without steam.

Offline

#17 2018-03-22 14:51:36

Cknight70
Member
Registered: 2018-01-24
Posts: 76

Re: Steam games instantly crash, (posibly due to missing libraries)

rlyunlucky wrote:

I did not find out how to get the steam output the wiki i talking about, when starting steam from the console, however i get no output when the games crash.

If you just start regular steam from console  (IE simply steam-runtime or steam-native) it should print out what its doing to the console. Starting a game should print out something like this (AppID 49520 being Borderlands 2 I believe):

GameAction [AppID 49520, ActionID 2] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 49520, ActionID 2] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 49520, ActionID 2] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 49520, ActionID 2] : LaunchApp continues with user response "CreatingProcess"
Opted-in Controller Mask: 0
Game update: AppID 49520 "", ProcID 10808, IP 0.0.0.0:0

P.S. To Seth, if you are ok with buying non free games in the first place then IMO Steam isn't that bad. Certainly not as damning as something like SecuROM. Also consider you can keep it in offline mode indefinitely. Only going online to download new games or updates if you choose.

Last edited by Cknight70 (2018-03-22 15:28:45)

Offline

Board footer

Powered by FluxBB