Unable to profile using a nexus4 device

RESOLVED FIXED in mozilla28

Status

()

Core
Widget: Gonk
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: kgrandon, Assigned: jld)

Tracking

({perf})

Trunk
mozilla28
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

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

(Reporter)

Description

4 years ago
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
(Reporter)

Comment 1

4 years ago
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)
(Assignee)

Comment 2

4 years ago
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)
(Reporter)

Comment 3

4 years ago
Thanks for the info Jed!
Depends on: 914190
(Reporter)

Comment 4

4 years ago
With the dependency resolved I am now able to profile a nexus4. Thanks for the work on this Jed!
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Flags: needinfo?(bgirard)
Resolution: --- → FIXED

Updated

4 years ago
Whiteboard: [c= p= s= u=] → [c= p= s=2013.11.22 u=]
Assignee: nobody → jld
Target Milestone: --- → mozilla28
You need to log in before you can comment on or make changes to this bug.