Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
SIGSEGV in "am" and "wm" tools when run from adb shell due to exec spawning #190
Comments
thestinger
added
Type: bug
upstream
labels
Feb 24, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Feb 24, 2016
Contributor
I've seen that crash before. It's one of the Android bugs uncovered by using exec spawning. I expect you would hit the same issue if you enabled Android's wrap feature for those processes on stock (not available outside of userdebug/eng builds though).
|
I've seen that crash before. It's one of the Android bugs uncovered by using exec spawning. I expect you would hit the same issue if you enabled Android's wrap feature for those processes on stock (not available outside of userdebug/eng builds though). |
thestinger
added this to the Release milestone
Mar 28, 2016
thestinger
changed the title from
SIGSEGV in "am" and "wm" tools when run from adb shell
to
SIGSEGV in "am" and "wm" tools when run from adb shell due to exec spawning
Mar 28, 2016
thestinger
added
the
Nexus 5
label
Jun 4, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Jun 4, 2016
Contributor
This only happens on the Nexus 5, as it appears to be caused by PaX changes that are still active when soft mode is enabled. It's probably the changes related to the stack gap.
If it was only relevant to the Nexus 5, I would just close this, but ART should be improved to work with PaX because it's going to be relevant in the future.
|
This only happens on the Nexus 5, as it appears to be caused by PaX changes that are still active when soft mode is enabled. It's probably the changes related to the stack gap. If it was only relevant to the Nexus 5, I would just close this, but ART should be improved to work with PaX because it's going to be relevant in the future. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment|
This is fixed. |
smaeul commentedFeb 24, 2016
https://gist.githubusercontent.com/smaeul/87ff4e34e88423f7d4ba/raw/5ec844294f5ff0a948b5af766158fce43c0899ae/adb_shell_am-logcat
https://gist.githubusercontent.com/smaeul/87ff4e34e88423f7d4ba/raw/5ec844294f5ff0a948b5af766158fce43c0899ae/adb_shell_wm_density-logcat
Present in both the 2016.02.18 and 2016.02.21 builds.