Closed
Bug 791399
Opened 12 years ago
Closed 12 years ago
Profiler tries to write to directory where it doesn't have privileges
Categories
(Core :: Gecko Profiler, defect)
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: cjones, Assigned: cjones)
Details
Attachments
(1 file)
It should be using the directory service to find the OS temp dir.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee: nobody → jones.chris.g
Attachment #661400 -
Flags: review?(bgirard)
Comment 2•12 years ago
|
||
What's the default OS tmp dir on B2G so we don't break the addons symbolication? https://github.com/bgirard/Gecko-Profiler-Addon/blob/master/lib/main.js#L602
Assignee | ||
Comment 3•12 years ago
|
||
The profiler addon is 100% broken already, so it really doesn't matter. At any rate, it's /data/local/tmp.
Comment 4•12 years ago
|
||
(In reply to Chris Jones [:cjones] [:warhammer] from comment #3) > The profiler addon is 100% broken already, so it really doesn't matter. > > At any rate, it's /data/local/tmp. Not exactly, glandium has a working build that's gated on some dependent patches so I want to coordinate any landing to not break his changes.
Updated•12 years ago
|
Attachment #661400 -
Flags: review?(bgirard) → review+
Assignee | ||
Comment 5•12 years ago
|
||
glandium, see comment 3 and comment 4. I hope we haven't been duplicating effort! ;)
Comment 6•12 years ago
|
||
I'm not touching that part, so you can land safely, but just know this will go away soonish.
Assignee | ||
Comment 7•12 years ago
|
||
Please don't tell me that that's because we'll be sending JS sample objects through the debug protocol :(.
Comment 8•12 years ago
|
||
(In reply to Chris Jones [:cjones] [:warhammer] from comment #7) > Please don't tell me that that's because we'll be sending JS sample objects > through the debug protocol :(. It is. Any particular problem with that ?
Assignee | ||
Comment 9•12 years ago
|
||
Bug 789667. We'll probably have to bump the sample buffer size down on b2g again :(.
Comment 10•12 years ago
|
||
(In reply to Chris Jones [:cjones] [:warhammer] from comment #9) > Bug 789667. We'll probably have to bump the sample buffer size down on b2g > again :(. Note the debug protocol will allow to adjust sizes dynamically.
Assignee | ||
Comment 11•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/072674dbb5c7
Comment 12•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/072674dbb5c7
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•