Closed Bug 1112442 Opened 10 years ago Closed 10 years ago

Profiler outputs incomplete json file on B2G

Categories

(Core :: Gecko Profiler, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1111830

People

(Reporter: kanru, Unassigned)

References

Details

(Keywords: regression)

% ./profile.sh capture
Signaling Profiled Processes: 11111 11305 11328 11600
Stabilizing 11111 b2g ...
Pulling /data/local/tmp/profile_0_11111.txt into profile_11111_b2g.txt
Adding symbols to profile_11111_b2g.txt and creating profile_11111_b2g.sym ...
Traceback (most recent call last):
  File "./scripts/profile-symbolicate.py", line 475, in <module>
    main()
  File "./scripts/profile-symbolicate.py", line 440, in main
    profile = json.load(open(args.filename, "rb"))
  File "/usr/lib/python2.7/json/__init__.py", line 290, in load
    **kw)
  File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
    obj, end = self.scan_once(s, idx)
ValueError: Unterminated string starting at: line 1 column 1474279 (char 1474278)

This breaks the profiler on B2G
I think this is a dupe of bug 1111830. If you have the patch from there in your tree please re-open this bug.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.