protonscr

Reproducible crash entering Big Picture on Fedora 17 x64

steamclosed Big Picturereviewed
ValveSoftware/steam-for-linux#375 · opened 2012-12-25 by ringerc · updated 2014-05-28 · 6 comments · github
Rringerc 2012-12-25 github

Steam log:

Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20121225102650_2.dmp
success = no
error:  HTTP response code said error
/home/craig/.local/share/Steam/steam.sh: line 287: 12605 Segmentation fault      (core dumped) $DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"

IOW, there's no useful log message, it just segfaults.

I've set ulimit -c unlimited before launching Steam, so I got a core dump. Unfortunately, the Steam binaries appear to be stripped of symbols so the backtrace is pretty useless:

(gdb) bt
#0  0x0cbe4710 in ?? ()
#1  0xf0c17291 in ?? () from /home/craig/.local/share/Steam/ubuntu12_32/libmiles.so
#2  0xf0c18924 in RIB_load_application_providers () from /home/craig/.local/share/Steam/ubuntu12_32/libmiles.so
#3  0xf0c4662f in ?? () from /home/craig/.local/share/Steam/ubuntu12_32/libmiles.so
#4  0xf0c21a8d in AIL_startup () from /home/craig/.local/share/Steam/ubuntu12_32/libmiles.so
#5  0xf1dec711 in ?? () from /home/craig/.local/share/Steam/ubuntu12_32/libaudio.so
#6  0xf1deee9f in ?? () from /home/craig/.local/share/Steam/ubuntu12_32/libaudio.so
#7  0xf5d8e64b in ?? () from /home/craig/.local/share/Steam/ubuntu12_32/steamui.so
#8  0xf5d966f5 in ?? () from /home/craig/.local/share/Steam/ubuntu12_32/steamui.so
#9  0xf5ab5cb0 in ?? () from /home/craig/.local/share/Steam/ubuntu12_32/steamui.so
[#10](/issue/ValveSoftware/steam-for-linux/10) 0xf5ab5f2e in ?? () from /home/craig/.local/share/Steam/ubuntu12_32/steamui.so
[#11](/issue/ValveSoftware/steam-for-linux/11) 0xf5bed1cb in ?? () from /home/craig/.local/share/Steam/ubuntu12_32/steamui.so
[#12](/issue/ValveSoftware/steam-for-linux/12) 0xf61e4ad4 in ?? () from /home/craig/.local/share/Steam/ubuntu12_32/steamui.so
[#13](/issue/ValveSoftware/steam-for-linux/13) 0xf0927c6c in ?? () from /home/craig/.local/share/Steam/ubuntu12_32/vgui2_s.so
[#14](/issue/ValveSoftware/steam-for-linux/14) 0xf091e349 in ?? () from /home/craig/.local/share/Steam/ubuntu12_32/vgui2_s.so
[#15](/issue/ValveSoftware/steam-for-linux/15) 0xf091fc2e in ?? () from /home/craig/.local/share/Steam/ubuntu12_32/vgui2_s.so
[#16](/issue/ValveSoftware/steam-for-linux/16) 0xf092003f in ?? () from /home/craig/.local/share/Steam/ubuntu12_32/vgui2_s.so
[#17](/issue/ValveSoftware/steam-for-linux/17) 0xf5aa211b in ?? () from /home/craig/.local/share/Steam/ubuntu12_32/steamui.so
[#18](/issue/ValveSoftware/steam-for-linux/18) 0xf5b60f60 in ?? () from /home/craig/.local/share/Steam/ubuntu12_32/steamui.so
[#19](/issue/ValveSoftware/steam-for-linux/19) 0xf5b61e66 in ?? () from /home/craig/.local/share/Steam/ubuntu12_32/steamui.so
[#20](/issue/ValveSoftware/steam-for-linux/20) 0x08065c14 in RunSteam(int, char**, bool, bool) ()
[#21](/issue/ValveSoftware/steam-for-linux/21) 0x0804fb49 in main ()
(gdb) 

System info: https://gist.github.com/4371428
Full log: https://gist.github.com/4371432

Hhach-que 2012-12-25 github

I can confirm this also happens under OpenSUSE 12.2 x64.

Kkoex 2012-12-26 github

Same on Arch Linux x86_64 with fglrx.

Ccnervi 2012-12-30 github

This is related to SELinux and execheap... try setting SELinux to Permissive with
setenforce Permissive
works sometimes... and sometimes doesn't sigsegv but freezes with a black screen

Mmoondrake 2013-01-08 github

cnervi: it is a bad idea to advise users to completely disable their security system. Using setsebool allow_execheap=1 maybe somewhat better.

But really, there is no reason that BPM should trigger this. Whether or not you should use selinux on a gaming box is not an issue, Selinux is a nice tool to find some problems in the software, and apparently BPM can be improved by doing things more correctly (i.e. use mmap, not malloc).

See also:
http://steamcommunity.com/app/221410/discussions/0/882965737464751400/
http://danwalsh.livejournal.com/6117.html?thread=23525

NNaguz 2013-02-16 github

Note: You should not do
setenforce Permissive
What you should do is (as usual) what SELinux Alert Brweser tells you to do. As root:
grep steam /var/log/audit/audit.log | audit2allow -M mypol
and then
semodule -i mypol.pp

Note: This may have to be done more times if it sever different condition in which Steam erroneously uses malloc.

Ggdrewb-valve maintainer 2013-08-16 github

Closing as the Miles/selinux incompatibility is captured in other issues. Also Miles is not Valve code so we can't directly fix it, we can only tell them about the problem.

Nothing extracted yet.