New issue
Advanced search Search tips

Issue 702259 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Mar 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Ndk Stack tool no longer works after libcronet.so rename

Project Member Reported by xunji...@chromium.org, Mar 16 2017

Issue description

Step to repro:
- Make a native crash
- Use ndk stack tool to symbolize it.

Expected: stack will be symbolized
Actual: stack can't be symbolized because libcronet.so is renamed.


 
ndk-stack works for me:
1. put crasher in native code
2. ninja -C out/Debug cronet_sample_apk
3. adb install out/Debug/apks/CronetSample.apk
4. cd third_party/android_tools/ndk
5. run "Cronet Sample App" on device
6. adb logcat | ./ndk-stack -sym ../../../out/Debug/lib.unstripped/
7. see symbolicated stack:
Stack frame #00 pc 00030930  /data/app/org.chromium.cronet_sample_apk-1/lib/arm/libcronet.59.0.3044.0.so: Routine cronet::CronetURLRequestContextAdapter::CronetURLRequestContextAdapter(std::__ndk1::unique_ptr<cronet::URLRequestContextConfig, std::__ndk1::default_delete<cronet::URLRequestContextConfig> >) at /usr/local/google/home/pauljensen/chrome/src/out/Debug/../../components/cronet/android/cronet_url_request_context_adapter.cc:487
Stack frame #01 pc 00030999  /data/app/org.chromium.cronet_sample_apk-1/lib/arm/libcronet.59.0.3044.0.so: Routine CreateRequestContextAdapter at /usr/local/google/home/pauljensen/chrome/src/out/Debug/../../components/cronet/android/cronet_url_request_context_adapter.cc:1180 (discriminator 3)

Can you please include reproduction steps?
Status: WontFix (was: Assigned)
Apologies. Maybe my local build was in an incomplete state? Everything seems to work now.

Sign in to add a comment