Closed Bug 1229882 Opened 9 years ago Closed 6 years ago

Cleopatra won't attach to device, keeps saying "Choose target package name"

Categories

(Core :: Gecko Profiler, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox45 --- affected

People

(Reporter: kats, Unassigned)

References

Details

I have various Fennec instances installed on my device - Release, beta, aurora, nightly, and a local build (fennec_kats). Sometimes Cleopatra seems to get very confused by this. In the target package dropdown I see things like this:

(auto)
org.mozilla.fennec
org.mozilla.fenenc

or

(auto)
org.mozilla.fennec_kats
org.mozilla.fennec_kats

or

(auto)
org.mozilla.fennec
org.mozilla.fennec
org.mozilla.fennec_kats
org.mozilla.fennec_kats

And no matter what I pick it won't seem to connect.
The profiler addon will run:
/bin/bash -l -c 'adb shell ps'
and match on:
/^org\.mozilla\.\w+$/)

What's the output of ps? Looks like the output of this changed.
kats@kgupta-air tmp$ adb shell ps | grep org.mozilla
u0_a74    19380 1     1263264 109020 ffffffff 00000000 S org.mozilla.fennec
u0_a74    20268 178   839528 34924 ffffffff 00000000 S org.mozilla.fennec
u0_a72    20466 1     1212068 97344 ffffffff 00000000 S org.mozilla.fennec_kats
u0_a74    21401 178   836028 29376 ffffffff 00000000 S org.mozilla.fennec_aurora
u0_a72    21545 178   1243832 217308 ffffffff 00000000 S org.mozilla.fennec_kats

Maybe nightly is spawning a new process for some reason? I'm running Android 4.2.2 if that matters. The column with "1" and "178" is the PPID, and PID 178 is the zygote process:

root      178   1     817464 40084 ffffffff 00000000 S zygote
Looking at the PIDs in normal logcat, it looks like the zygote-spawned process is the one running gecko.
This bug no longer looks valid.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.