Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ubuntu 19.10] Segmentation fault #6535

Closed
leinardi opened this issue Sep 27, 2019 · 5 comments
Closed

[Ubuntu 19.10] Segmentation fault #6535

leinardi opened this issue Sep 27, 2019 · 5 comments

Comments

@leinardi
Copy link

Your system information

  • Steam client version (build number or date): 1568860339
  • Distribution (e.g. Ubuntu): Ubuntu 19.10
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

Steam crashes almost instantly after starting it, with a segmentation fault:

Running Steam on ubuntu 19.10 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Installing breakpad exception handler for appid(steam)/version(1568860339)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Installing breakpad exception handler for appid(steam)/version(1568860339)
Installing breakpad exception handler for appid(steam)/version(1568860339)
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"

(steam:30121): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Yaru/gtk-2.0/main.rc:775: error: unexpected identifier `direction', expected character `}'

(steam:30121): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Yaru/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Steam: An X Error occurred
X Error of failed request:  GLXBadContext
Major opcode of failed request:  151
Serial number of failed request:  52
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request:  BadValue (integer parameter out of range for operation)
Major opcode of failed request:  151
Value in failed request:  0x0
Serial number of failed request:  51
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request:  BadMatch (invalid parameter attributes)
Major opcode of failed request:  151
Serial number of failed request:  53
xerror_handler: X failed, continuing
crash_20190927224820_1.dmp[30160]: Uploading dump (out-of-process)
/tmp/dumps/crash_20190927224820_1.dmp
/home/jd/.local/share/Steam/steam.sh: riga 720: 30121 Errore di segmentazione (core dump creato) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
crash_20190927224820_1.dmp[30160]: Finished uploading minidump (out-of-process): success = yes
crash_20190927224820_1.dmp[30160]: response: CrashID=bp-4a074523-0d9a-480f-b110-93ce62190927
crash_20190927224820_1.dmp[30160]: file ''/tmp/dumps/crash_20190927224820_1.dmp'', upload yes: ''CrashID=bp-4a074523-0d9a-480f-b110-93ce62190927''

The theme warnings seems to be independent from the theme selected:

Running Steam on ubuntu 19.10 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Installing breakpad exception handler for appid(steam)/version(1568860339)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Installing breakpad exception handler for appid(steam)/version(1568860339)
Installing breakpad exception handler for appid(steam)/version(1568860339)
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"

(steam:31057): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Adwaita/gtk-2.0/main.rc:733: error: unexpected identifier `direction', expected character `}'

(steam:31057): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Adwaita/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Steam: An X Error occurred
X Error of failed request:  GLXBadContext
Major opcode of failed request:  151
Serial number of failed request:  52
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request:  BadValue (integer parameter out of range for operation)
Major opcode of failed request:  151
Value in failed request:  0x0
Serial number of failed request:  51
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request:  BadMatch (invalid parameter attributes)
Major opcode of failed request:  151
Serial number of failed request:  53
xerror_handler: X failed, continuing
crash_20190927224917_1.dmp[31096]: Uploading dump (out-of-process)
/tmp/dumps/crash_20190927224917_1.dmp
/home/jd/.local/share/Steam/steam.sh: riga 720: 31057 Errore di segmentazione (core dump creato) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
crash_20190927224917_1.dmp[31096]: Finished uploading minidump (out-of-process): success = yes
crash_20190927224917_1.dmp[31096]: response: CrashID=bp-a18c67c4-ca94-491b-893e-e39232190927
crash_20190927224917_1.dmp[31096]: file ''/tmp/dumps/crash_20190927224917_1.dmp'', upload yes: ''CrashID=bp-a18c67c4-ca94-491b-893e-e39232190927''

Steps for reproducing this issue:

  1. Install Ubuntu 19.10
  2. Download and install the latest steam_latest.deb from the official Steam website
  3. Start Steam
@kisak-valve
Copy link
Member

Hello @leinardi, swrast is mesa's slower software renderer and the fact that Steam is trying to use it hints that you're using an nvidia card with the nvidia proprietary driver, but don't have a sane 32 bit opengl driver stack.

Does any 32 bit opengl application like glxinfo from mesa-utils:i386 work?

What video card / driver version are you using? If it is an nvidia card like I suspect, please verify that the 32 bit userspace is installed for the same major driver series as the 64 bit stack with something like apt policy libnvidia-gl-435:i386 for the 435.xx nvidia driver series.

@leinardi
Copy link
Author

leinardi commented Sep 27, 2019

Hi @kisak-valve, thanks for the super quick response! I notice that in #6098 they had the very same issue with Mint 19.1. I tried the suggested solution and worked for me too!

What I have done :

  • launched Ubuntu Software & Updates
  • installed Nouveau drivers
  • installed back 435 proprietary drivers (I used Synaptic)
  • rebooted my computer

Now steam works fine.

Still is strange that this is required. I noticed that Ubuntu 19.10 installed the Nvidia proprietary drivers during the OS installation and the first boot of the OS was already using the 435. Perhaps this automated installation is slightly different form the one you do if you install them manually.

@kisak-valve
Copy link
Member

Sounds like whatever Ubuntu has for driver installer logic was in a pure 64 bit environment during the system install, and didn't install nvidia's 32 bit opengl drivers until it was rerun in the multiarch environment.

@greshilov
Copy link

I faced this problem on Arch Linux after changing mesa to nvidia drivers.

Solved by installing multilib/lib32-nvidia-utils.

@realfoodman
Copy link

Leinardi's fix worked for me, though I also had to run the command in this reply and reboot after switching to the Neouveau driver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants