New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 591737 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

When enabled breakpad fails to capture crash report because of SELinux

Reported by dhawansa...@gmail.com, Mar 3 2016

Issue description

Steps to reproduce the problem:
1. Enable Breakpad in a local dev build.
2. Visit chrome://crash
3. Crash generation fails with a "Crash dump generation failed." message from breakpad.

What is the expected behavior?
The report should have been generated properly and stored on the device (usually in /data/data/Cache/Crash Reports/).

What went wrong?
It looks like SELinux blocked the process from creating and writing to a temp file. (setenforce 0 fixes this).

avc: denied { open } for name=".org.chromium.Chromium.bUTYFj" dev="dm-1" ino=409662 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=file permissive=0

This only happens on my Nexus 6 and Nexus 6p (Both running 6.0.1). I've also tried this on a Nexus 5 also running the same release and it worked just fine. Why would the rules be different on the same Android version (probably not the right place for that question).

Am I doing anything wrong here? Is this expected behavior?

Did this work before? Yes Prior to Android 6.0

Chrome version: 46.0.2490.385  Channel: dev
OS Version: 6.0.1
Flash Version: 

Might not be a Chromium Issue, but I thought I should report it.
 
Wrong Arch-x86_64. It's on arm. 

Comment 2 by b...@chromium.org, Mar 4 2016

Components: Internals>CrashReporting
Labels: -Arch-x86_64 Arch-ARM
Owner: siev...@chromium.org
Status: Assigned (was: Unconfirmed)
Cc: siev...@chromium.org
Owner: rsesek@chromium.org
+rsesek

I believe this was fixed, but did this affect M46 really?
My M46 fork point was closer to the start of the branch.. Can you point me to the crbug or the fix? 

I haven't been able to try the M50 tip so far. 

Comment 6 by rsesek@chromium.org, Mar 14 2016

The bug is probably 542840, but really you need to update your fork. M46 likely has other issues on N/SELinux besides just Breakpad.
Confirmed. That's what it was. Thanks. 
Status: WontFix (was: Assigned)

Sign in to add a comment