Skip to content

Add ndk-stack mach command - #21366

Merged
bors-servo merged 1 commit into
servo:masterfrom
jdm:android-ndk-stack
Aug 10, 2018
Merged

bors-servo merged 1 commit into
servo:masterfrom
jdm:android-ndk-stack

Conversation

@jdm

@jdm jdm commented Aug 8, 2018 •

Copy link
Copy Markdown
Member

This makes it much easier to get usable symbols from logcat output that includes a crash.



This change is Reviewable

@highfive

highfive commented Aug 8, 2018

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @wafflespeanut: python/servo/devenv_commands.py

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Aug 8, 2018
@jdm

jdm commented Aug 9, 2018

Copy link
Copy Markdown
Member Author

r? @paulrouget

@highfive highfive assigned paulrouget and unassigned nox Aug 9, 2018
@paulrouget

Copy link
Copy Markdown
Contributor

Do you know I only see unwind symbols:

Stack frame #05 pc 048e6682  /data/app/com.mozilla.servo-obyBQcBwDD5wfYEjd8BViw==/lib/arm/libsimpleservo.so: Routine unw_get_reg at /Volumes/Android/buildbot/src/android/ndk-r12-release/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/Unwind/libunwind.cpp:164
Stack frame #06 pc 048e6281  /data/app/com.mozilla.servo-obyBQcBwDD5wfYEjd8BViw==/lib/arm/libsimpleservo.so: Routine _Unwind_VRS_Get_Internal(_Unwind_Context*, _Unwind_VRS_RegClass, unsigned int, _Unwind_VRS_DataRepresentation, void*) at /Volumes/Android/buildbot/src/android/ndk-r12-release/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/Unwind/Unwind-EHABI.cpp:844
Stack frame #07 pc 048cf218  /data/app/com.mozilla.servo-obyBQcBwDD5wfYEjd8BViw==/lib/arm/libsimpleservo.so: Routine __gnu_Unwind_RaiseException at /Volumes/Android/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:432
Stack frame #08 pc 048cfd5c  /data/app/com.mozilla.servo-obyBQcBwDD5wfYEjd8BViw==/lib/arm/libsimpleservo.so: Routine _Unwind_RaiseException at /Volumes/Android/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/config/arm/libunwind.S:356

@jdm

jdm commented Aug 10, 2018

Copy link
Copy Markdown
Member Author

@bors-servo r=paul
<paul> jdm: alright. So it's not just me. Feel free to land #21366 then.

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit ef66205 has been approved by paul

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Aug 10, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit ef66205 with merge e40feab...

bors-servo pushed a commit that referenced this pull request Aug 10, 2018
Add ndk-stack mach command

This makes it much easier to get usable symbols from logcat output that includes a crash.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #20442
- [x] These changes do not require tests because it's a mach command

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21366)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-wpt1

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Aug 10, 2018
@jdm

jdm commented Aug 10, 2018

Copy link
Copy Markdown
Member Author

@bors-servo

Copy link
Copy Markdown
Contributor

@bors-servo

Copy link
Copy Markdown
Contributor

@bors-servo bors-servo mentioned this pull request Aug 10, 2018
4 of 5 tasks
@bors-servo
bors-servo merged commit ef66205 into servo:master Aug 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-tests-failed The changes caused existing tests to fail.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make it easy to run ndk-stack with the right symbols

5 participants