Missing Native Crash Stacktrace on Android 13 #2152
Replies: 7 comments 4 replies
-
|
if you look later in your log for messages from the same pid/tid pair, you can see the problem: i thought we had cts tests that ensured no OEM fucked up a device in that way, but maybe not. what device(s) have you seen this problem on? @cferris1000 in case he's aware of any broken devices. |
Beta Was this translation helpful? Give feedback.
-
|
I'm not familiar with any device that doesn't create /data/tombstones properly. And, CTS does verify that the directory exists. It's possible your emulator has not created the directory, or even created it but not with the correct permissions. |
Beta Was this translation helpful? Give feedback.
-
|
yeah, you should be able to check that with |
Beta Was this translation helpful? Give feedback.
-
|
It wouldn't be the directory not having been created, that's referenced by a directory fd that's opened on tombstoned startup (with a I'm not sure what would happen if the directory was deleted while we're holding an fd to it, though? |
Beta Was this translation helpful? Give feedback.
-
|
@enh-google I’m able to use su on the emulator, so I do have superuser privileges. |
Beta Was this translation helpful? Give feedback.
-
|
@enh-google @jmgao @cferris1000 , what can be a workaround for this Issue ? as we are blocked on this one, this issue was intermittent in Android 10 but it is deterministic for many of our test failures in Android 13. |
Beta Was this translation helpful? Give feedback.
-
|
looks like that device is missing https://android-review.googlesource.com/c/platform/frameworks/base/+/2758848 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
On Android 13 Sometimes, native crashes (e.g., Fatal signal 11 (SIGSEGV)) do not produce a backtrace in logcat or tombstones. The same crash on Android 10 shows a full stacktrace and register dump.
Android 13 Logs -
Android 10 Logs -
Attaching Complete Logs For both Android Versions :
Android_10_and_13_Logs.zip
How can we enable full native crash dumps?
Beta Was this translation helpful? Give feedback.
All reactions