protonscr

Steam crashes and fails to upload dump

steamclosed reviewedSteam client
ValveSoftware/steam-for-linux#2243 · opened 2013-03-30 by 416365416c · updated 2019-07-18 · 5 comments · github
4416365416c 2013-03-30 github

Steam has crashed a few times for me (while still downloading my first game on Linux). The crash appeared to line up with attempts to chat to a friend. When I restarted steam (and the chat window) there was a new message and the time stamp for the last message received was the same as the timestamp of the crash (to the minute at least).

The other problem is that the crash dumps appear not to have uploaded successfully. Could there be some more verbose error reporting there so I can try to diagnose a problem on my end? Or instructions somewhere for where to upload dumps manually? (doesn't look like I can add them as attachments to this issue report...)

Processor Information: Vendor: GenuineIntel Speed: 3401 Mhz 4 logical processors 4 physical processors HyperThreading: Unsupported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported

Network Information:
Network Speed:

Operating System Version:
"Fedora release 18 (Spherical Cow)" (64 bit)
Kernel Name: Linux
Kernel Version: 3.6.10-4.fc18.x86_64
X Server Vendor: Fedora Project
X Server Release: 11303000
X Window Manager: KWin
Steam Runtime Version: steam-runtime-release-i386_2013-03-25

Video Card:
Driver: nouveau Gallium 0.4 on NVC4

Driver Version:  2.1 Mesa 9.1
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 59 Hz
VendorID:  0x10de
DeviceID:  0xe22
Number of Monitors:  1
Number of Logical Video Cards:  1
Primary Display Resolution:  1920 x 1080
Desktop Resolution: 1920 x 1080
Primary Display Size: 18.90" x 10.63"  (21.65" diag)
                                        48.0cm x 27.0cm  (55.0cm diag)
Primary VRAM Not Detected

Sound card:
Audio device: Realtek ALC898

Memory:
RAM: 7935 Mb

Miscellaneous:
UI Language: English
LANG: en_US.UTF-8
Microphone: Not set
Total Hard Disk Space Available: 1877792 Mb
Largest Free Hard Disk Block: 1003681 Mb

Installed software:

Recent Failure Reports:
Sat Mar 30 03:50:05 2013 GMT: file ''/tmp/dumps/assert_20130329205005_1.dmp'', upload no: ''HTTP response code said error''
Sat Mar 30 04:05:59 2013 GMT: file ''/tmp/dumps/crash_20130329210558_2.dmp'', upload no: ''HTTP response code said error''
Sat Mar 30 04:13:18 2013 GMT: file ''/tmp/dumps/crash_20130329211257_1.dmp'', upload no: ''HTTP response code said error''

Jjohndrinkwater 2013-03-30 github

Could you upload these crash*.dmp files and link them for the Valve devs to look through please, anywhere is fine, ubuntu one, dropbox etc.

4416365416c 2013-03-30 github

Dump files uploaded to here: http://dl.dropbox.com/u/27017764/dumps.tgz

4416365416c 2013-03-31 github

Installed Nvidia drivers and tested again. Still crashed, when receiving a message after closing the chat window, but dump appeared to upload successfully. New sys info:

Processor Information: Vendor: GenuineIntel Speed: 3401 Mhz 4 logical processors 4 physical processors HyperThreading: Unsupported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported

Network Information:
Network Speed:

Operating System Version:
"Fedora release 18 (Spherical Cow)" (64 bit)
Kernel Name: Linux
Kernel Version: 3.8.4-202.fc18.x86_64
X Server Vendor: Fedora Project
X Server Release: 11303000
X Window Manager: KWin
Steam Runtime Version: steam-runtime-release-i386_2013-03-25

Video Card:
Driver: NVIDIA Corporation GeForce GTX 460/PCIe/SSE2

Driver Version:  4.2.0 NVIDIA 304.64
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 59 Hz
VendorID:  0x10de
DeviceID:  0xe22
Number of Monitors:  1
Number of Logical Video Cards:  1
Primary Display Resolution:  1920 x 1080
Desktop Resolution: 1920 x 1080
Primary Display Size: 18.90" x 10.63"  (21.65" diag)
                                        48.0cm x 27.0cm  (55.0cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 1023 MB
Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
Audio device: Realtek ALC898

Memory:
RAM: 7935 Mb

Miscellaneous:
UI Language: English
LANG: en_US.UTF-8
Microphone: Not set
Total Hard Disk Space Available: 1877664 Mb
Largest Free Hard Disk Block: 988040 Mb

Installed software:

Recent Failure Reports:
Sat Mar 30 03:50:05 2013 GMT: file ''/tmp/dumps/assert_20130329205005_1.dmp'', upload no: ''HTTP response code said error''
Sat Mar 30 04:05:59 2013 GMT: file ''/tmp/dumps/crash_20130329210558_2.dmp'', upload no: ''HTTP response code said error''
Sat Mar 30 04:13:18 2013 GMT: file ''/tmp/dumps/crash_20130329211257_1.dmp'', upload no: ''HTTP response code said error''
Sat Mar 30 04:51:11 2013 GMT: file ''/tmp/dumps/assert_20130329215109_1.dmp'', upload no: ''HTTP response code said error''
Sun Mar 31 19:56:09 2013 GMT: file ''/tmp/dumps/crash_20130331125607_1.dmp'', upload yes: ''CrashID=bp-66b7ea06-5f31-4215-9e4d-89a5b2130331
''

Ggdrewb-valve maintainer 2013-04-01 github

I think you're hitting an SELinux issue, as the crash looks very much like #375 . Miles, which Steam uses but which is not made by Valve, generates code dynamically and does it in a way that SELinux doesn't like. There's no simple fix for this, but #375 talks about some workarounds.

4416365416c 2013-04-01 github

I didn't notice, but it looks like there was a SELinux alert with a matching time-stamp! Might need to put this on an FAQ somewhere...

Here's the text of the alert details:

SELinux is preventing /home/aalpert/.local/share/Steam/ubuntu12_32/steam from using the execheap access on a process.
*****  Plugin allow_execheap (53.1 confidence) suggests  *********************
If you do not think /home/aalpert/.local/share/Steam/ubuntu12_32/steam should need to map heap memory that is both writable and executable.
Then you need to report a bug. This is a potentially dangerous access.
Do
contact your security administrator and report this issue.
*****  Plugin catchall_boolean (42.6 confidence) suggests  *******************
If you want to allow unconfined executables to make their heap memory executable.  Doing this is a really bad idea. Probably indicates a badly coded executable, but could indicate an attack. This executable should be reported in bugzilla
Then you must tell SELinux about this by enabling the 'selinuxuser_execheap' boolean.
You can read 'unconfined_selinux' man page for more details.
Do
setsebool -P selinuxuser_execheap 1
*****  Plugin catchall (5.76 confidence) suggests  ***************************
If you believe that steam should be allowed execheap access on processes labeled unconfined_t by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep steam /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp
Additional Information:
Source Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                 [ process ]
Source                        steam
Source Path                   /home/aalpert/.local/share/Steam/ubuntu12_32/steam
Port                          
Host                          localhost.localdomain
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-86.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     localhost.localdomain
Platform                      Linux localhost.localdomain 3.8.4-202.fc18.x86_64
                              #1 SMP Thu Mar 21 17:02:20 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-03-31 12:56:07 PDT
Last Seen                     2013-03-31 12:56:07 PDT
Local ID                      661b8f22-7b4d-452c-aae7-1fbe9ab33a72
Raw Audit Messages
type=AVC msg=audit(1364759767.751:324): avc:  denied  { execheap } for  pid=2969 comm="steam" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process
type=SYSCALL msg=audit(1364759767.751:324): arch=i386 syscall=capget success=no exit=EACCES a0=d779000 a1=c000 a2=7 a3=ff809afc items=0 ppid=2878 pid=2969 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=1 tty=pts1 comm=steam exe=/home/aalpert/.local/share/Steam/ubuntu12_32/steam subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)
Hash: steam,unconfined_t,unconfined_t,process,execheap
audit2allow
#============= unconfined_t ==============
#!!!! This avc can be allowed using the boolean 'selinuxuser_execheap'
allow unconfined_t self:process execheap;
audit2allow -R
require {
    type unconfined_t;
    class process execheap;
}
#============= unconfined_t ==============
#!!!! This avc can be allowed using the boolean 'selinuxuser_execheap'
allow unconfined_t self:process execheap;

Nothing extracted yet.