Closed
Bug 1172813
Opened 10 years ago
Closed 10 years ago
profile-symbolicate.py fails with "ValueError: invalid literal for int() with base 0"
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.2 S14 (12june)
People
(Reporter: ting, Assigned: ting)
Details
Attachments
(1 file)
Signaling Profiled Processes: 204 1530
Stabilizing 204 b2g ...
Pulling /data/local/tmp/profile_0_204.txt into profile_204_b2g.txt
Adding symbols to profile_204_b2g.txt and creating profile_204_b2g.sym ...
Traceback (most recent call last):
File "./scripts/profile-symbolicate.py", line 489, in <module>
main()
File "./scripts/profile-symbolicate.py", line 470, in main
libs.SearchUnresolvedAddresses(progress=progress)
File "./scripts/profile-symbolicate.py", line 392, in SearchUnresolvedAddresses
for address in addresses:
File "./scripts/profile-symbolicate.py", line 371, in getUnresolvedAddressesV3
yield int(str, 0)
ValueError: invalid literal for int() with base 0: '0xb303c7b0 replacing unconfirmed target 0xab182200 with real target 0xa9ddff00 '
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8617186 -
Flags: review?(dhylands)
Comment 2•10 years ago
|
||
Comment on attachment 8617186 [details] [review]
patch v1
Do you have an example of a string which causes the int conversion to fail? I mean an example from the file we're parsing, Obviously strings like 0xz would fail. But where are these bad strings coming from?
I think that the patch is fine, I'm just surprised.
Attachment #8617186 -
Flags: review?(dhylands) → review+
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Dave Hylands [:dhylands] from comment #2)
> Do you have an example of a string which causes the int conversion to fail?
> I mean an example from the file we're parsing, Obviously strings like 0xz
> would fail. But where are these bad strings coming from?
It's there in the exception: '0xb303c7b0 replacing unconfirmed target 0xab182200 with real target 0xa9ddff00 ', from https://dxr.mozilla.org/mozilla-central/source/gfx/layers/apz/src/InputBlockState.cpp#50.
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 4•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S14 (12june)
You need to log in
before you can comment on or make changes to this bug.
Description
•