Closed Bug 937364 Opened 11 years ago Closed 11 years ago

Unable to profile using a nexus4 device

Categories

(Core Graveyard :: Widget: Gonk, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla28

People

(Reporter: kgrandon, Assigned: jld)

References

Details

(Keywords: perf, Whiteboard: [c= p= s=2013.11.22 u=])

One of our partners reported being unable to profile code using the nexus4. It would be good to understand why, and see if there is a way that we can fix this for ourselves/partners.

I'm not sure if this is enough to debug, but I'm seeing the following in the logs:
E/Profiler( 4110): ----------------- MOZ_PROFILER_NEW not set -----------------
E/Profiler( 4110): Sampler started
F/libc    ( 4110): Fatal signal 11 (SIGSEGV) at 0x00300000 (code=1), thread 4110 (b2g)
E/Profiler( 4348): ----------------- MOZ_PROFILER_NEW not set -----------------
I/ServiceManager(  165): service 'media.resource_manager' died
I/ServiceManager(  165): service 'display.qservice' died
E/Profiler( 4348): Sampler started
F/libc    ( 4348): Fatal signal 11 (SIGSEGV) at 0x00a00000 (code=1), thread 4348 ((Preallocated a)
I/DEBUG   ( 4109): unexpected waitpid response: n=4110, status=00000b00
I/DEBUG   ( 4109): ptrace detach from 4110 failed: No such process
I/DEBUG   ( 4109): debuggerd committing suicide to free the zombie!
F/libc    ( 4348): Failed while talking to debuggerd: Connection reset by peer
I/ServiceManager(  165): service 'media.audio_policy' died
I/ServiceManager(  165): service 'media.audio_flinger' died
I/ServiceManager(  165): service 'media.player' died
I/ServiceManager(  165): service 'media.camera' died
Hi Jed, Benoit - Wondering if either of you two know what may be causing this. It would be really great if we could provide our partner with a fix. Thanks!
Flags: needinfo?(jld)
Flags: needinfo?(bgirard)
See bug 914190.  The patch there is r-, but should work if a quick fix is needed.

See also bug 926734 (where the patch from 914190 was successfully used), but I don't think any of the issues showing up there affect the Nexus 4.
Flags: needinfo?(jld)
Thanks for the info Jed!
Depends on: 914190
With the dependency resolved I am now able to profile a nexus4. Thanks for the work on this Jed!
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(bgirard)
Resolution: --- → FIXED
Whiteboard: [c= p= s= u=] → [c= p= s=2013.11.22 u=]
Assignee: nobody → jld
Target Milestone: --- → mozilla28
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.