What is the standard AOSP procedure for gathering crash dumps from sandboxed processes? On our Android Pie devices which are using Android WebView, we are encountering an issue where we couldn’t collect the tombstone dump file for sandboxed processes and it results in the error message: “E libc: failed to connect to tombstoned: Operation not permitted”.
I suspect it might be due to socket system call restrictions placed in seccomp-bpf. After allowing those system calls I was able to collect the tombstone dump for the Webview sandboxed processes. I was thinking that the SandboxedHandler is broken and not being able to communicate with the Crashpad Handler since it is running in a sandboxed environment. Any suggestions or thoughts on how to obtain tombstone dump files for sandboxed processes ?
Thanks,
Sandeep
--
You received this message because you are subscribed to the Google Groups "android-webview-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-webview...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/android-webview-dev/72623892-d41a-402f-baf6-5d2303662082n%40chromium.org.
Do you enable Crashpad in your builds?
We do not enable crashpad in our AOSP builds as it follows the default build configuration
I was expecting the Android Tombstones for the renderer process. I was confused earlier thinking that Crashpad code is responsible writing the tombstones. I have the following questions.
1.If Crashpad is not enabled, then is Android responsible for capturing the renderer process crashes and writing tombstones? Is this 'fallback' currently broken and is there a bug tracking this issue?
2. Do you have guidance on where to look or what component was previously responsible for enabling tombstones for renderer processes?
3. How to enable Crashpad by default in our AOSP builds ? Any documentation would also help ?
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/android-webview-dev/9d85522c-7070-4dab-88bf-f9371615c910n%40chromium.org.
Hi Torne,
Thank you for your prompt response.
Do you enable Crashpad in your builds?
We do not enable crashpad in our AOSP builds as it follows the default build configuration
I was expecting the Android Tombstones for the renderer process. I was confused earlier thinking that Crashpad code is responsible writing the tombstones. I have the following questions.
1.If Crashpad is not enabled, then is Android responsible for capturing the renderer process crashes and writing tombstones? Is this 'fallback' currently broken and is there a bug tracking this issue?
2. Do you have guidance on where to look or what component was previously responsible for enabling tombstones for renderer processes?
3. How to enable Crashpad by default in our AOSP builds ? Any documentation would also help ?