Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Issue 401003003: Stack trace support for libraries loaded directly from APKs (Closed)

Created:
6 years, 5 months ago by Anton
Modified:
6 years, 5 months ago
Reviewers:
anton1, rmcilroy
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

If the chrome library is loaded directly from inside the APK the android stack trace will give the on device name of the APK in the stack trace. Try to find the symbols in this case by mapping to the appropriate library name. BUG=390618 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285009

Patch Set 1 #

Patch Set 2 : Simplify GetCrazyLib #

Patch Set 3 : Whitespace changes #

Total comments: 16

Patch Set 4 : Updates for Ross' review. #

Patch Set 5 : Remove incidental whitespace change. #

Total comments: 2

Patch Set 6 : Refactor based on Ross' comments. #

Patch Set 7 : Remove unnecessary lambda. #

Total comments: 4

Patch Set 8 : Fix typo in comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -15 lines) Patch
M third_party/android_platform/README.chromium View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M third_party/android_platform/development/scripts/symbol.py View 1 2 3 4 5 6 7 3 chunks +168 lines, -14 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
anton1
6 years, 5 months ago (2014-07-18 15:59:46 UTC) #1
rmcilroy
https://codereview.chromium.org/401003003/diff/40001/third_party/android_platform/development/scripts/symbol.py File third_party/android_platform/development/scripts/symbol.py (right): https://codereview.chromium.org/401003003/diff/40001/third_party/android_platform/development/scripts/symbol.py#newcode163 third_party/android_platform/development/scripts/symbol.py:163: return None return apk_path here for allowing false positives ...
6 years, 5 months ago (2014-07-21 16:05:32 UTC) #2
anton1
https://codereview.chromium.org/401003003/diff/40001/third_party/android_platform/development/scripts/symbol.py File third_party/android_platform/development/scripts/symbol.py (right): https://codereview.chromium.org/401003003/diff/40001/third_party/android_platform/development/scripts/symbol.py#newcode163 third_party/android_platform/development/scripts/symbol.py:163: return None On 2014/07/21 16:05:31, rmcilroy wrote: > return ...
6 years, 5 months ago (2014-07-22 13:54:03 UTC) #3
rmcilroy
https://codereview.chromium.org/401003003/diff/40001/third_party/android_platform/development/scripts/symbol.py File third_party/android_platform/development/scripts/symbol.py (right): https://codereview.chromium.org/401003003/diff/40001/third_party/android_platform/development/scripts/symbol.py#newcode163 third_party/android_platform/development/scripts/symbol.py:163: return None On 2014/07/22 13:54:03, anton1 wrote: > On ...
6 years, 5 months ago (2014-07-22 14:22:32 UTC) #4
anton1
PTAL https://codereview.chromium.org/401003003/diff/80001/third_party/android_platform/development/scripts/symbol.py File third_party/android_platform/development/scripts/symbol.py (right): https://codereview.chromium.org/401003003/diff/80001/third_party/android_platform/development/scripts/symbol.py#newcode203 third_party/android_platform/development/scripts/symbol.py:203: zipf = zipfile.ZipFile(apk_filename, 'r') On 2014/07/22 14:22:31, rmcilroy ...
6 years, 5 months ago (2014-07-22 16:07:18 UTC) #5
rmcilroy
lgtm assuming CHROME_SYMBOLS_DIR and '.' changes are intended. https://codereview.chromium.org/401003003/diff/120001/third_party/android_platform/development/scripts/symbol.py File third_party/android_platform/development/scripts/symbol.py (right): https://codereview.chromium.org/401003003/diff/120001/third_party/android_platform/development/scripts/symbol.py#newcode153 third_party/android_platform/development/scripts/symbol.py:153: """Returns ...
6 years, 5 months ago (2014-07-23 11:38:06 UTC) #6
anton1
https://codereview.chromium.org/401003003/diff/120001/third_party/android_platform/development/scripts/symbol.py File third_party/android_platform/development/scripts/symbol.py (right): https://codereview.chromium.org/401003003/diff/120001/third_party/android_platform/development/scripts/symbol.py#newcode153 third_party/android_platform/development/scripts/symbol.py:153: """Returns true the APK's package name is matches package_name. ...
6 years, 5 months ago (2014-07-23 12:06:17 UTC) #7
anton1
The CQ bit was checked by anton@google.com
6 years, 5 months ago (2014-07-23 13:30:04 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/anton@chromium.org/401003003/140001
6 years, 5 months ago (2014-07-23 13:31:03 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 5 months ago (2014-07-23 16:56:00 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-23 17:16:12 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/173851)
6 years, 5 months ago (2014-07-23 17:16:12 UTC) #12
anton1
The CQ bit was checked by anton@google.com
6 years, 5 months ago (2014-07-23 17:18:37 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/anton@chromium.org/401003003/140001
6 years, 5 months ago (2014-07-23 17:20:02 UTC) #14
commit-bot: I haz the power
6 years, 5 months ago (2014-07-23 19:14:21 UTC) #15
Message was sent while issue was closed.
Change committed as 285009

Powered by Google App Engine
This is Rietveld 408576698