steam-runtime icon indicating copy to clipboard operation
steam-runtime copied to clipboard

segfault in ALSA snd_device_name_hint(), backport fix?

Open sulix opened this issue 10 years ago • 3 comments

I'm seeing a few crashes in snd_device_name_hint() (called, in this case, via FMOD's FMOD::System::getDriverCaps() function) which occur under the Steam runtime (release_2015-01-06), but not natively on (K)Ubuntu 14.10.

It appears to be a result of this issue: https://bugs.launchpad.net/ubuntu/+source/alsa-lib/+bug/1008600

Could you either backport the fix, or update the included version of alsa?

Cheers, — David

sulix avatar Jan 23 '15 15:01 sulix

Debian's version 1.1.0 of libasound2-data includes an alsa.conf that adds more name hints to devices (diff is alsa.conf.txt). The result is that I now get a crash in the game "LYNE" from this bug (if I use the old alsa.conf without the added hint names, it works fine). It's the only game I know of that is affected, but the average user isn't going to track down the problem. They will think the game is just broken.

hobophobe avatar Feb 03 '16 20:02 hobophobe

It looks like the 23rd February Steam beta client contains updated libraries for Alsa on Linux.

"Linux: Updated ALSA libraries in the Steam Runtime to prevent compatibility issues with newer distributions"

https://steamcommunity.com/groups/SteamClientBeta#announcements

edddeduck avatar Feb 29 '16 09:02 edddeduck

"LYNE" works fine with the new alsa.conf, now that the runtime library has been updated! Thanks for the heads-up on the update, edddeduck!

hobophobe avatar Mar 05 '16 18:03 hobophobe