Closed Bug 921846 Opened 11 years ago Closed 10 years ago

[app manager] ADB addon helper should never freeze Firefox

Categories

(DevTools Graveyard :: WebIDE, defect, P3)

x86
All
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: paul, Assigned: ochameau)

Details

STR:
- plug the phone
- see the phone name in the footer
- unplug
- the phone name disapear
- plug
- Firefox hangs for ~2 minutes

This doesn't happen all the time, but kind of often here.

Logs:

console.log: adbhelper@mozilla.orgADBHELPER - DISCONNECTED: full_keon
console.log: adbhelper@mozilla.orgadb: trackDevices ondata
console.log: adbhelper@mozilla.orgadb: length=22
console.log: adbhelper@mozilla.orgadb: 0012full_keon    offline
console.log: adbhelper@mozilla.orgadb: trackDevices ondata
console.log: adbhelper@mozilla.orgadb: length=21
console.log: adbhelper@mozilla.orgadb: 0011full_keon    device
console.log: adbhelper@mozilla.orgADBHELPER - CONNECTED: full_keon

/* This is where the freeze happens. */

console.log: adbhelper@mozilla.orgadb: forwardPort tcp:51405 -- localfilesystem:/data/local/debugger-socket
console.log: adbhelper@mozilla.orgadb: runCommand host:forward:tcp:51405;localfilesystem:/data/local/debugger-socket
console.log: adbhelper@mozilla.orgadb: runCommand onopen
console.log: adbhelper@mozilla.orgadb: len=70 30303432686f73743a666f72776172643a746370 0042host:forward:tcp
console.log: adbhelper@mozilla.orgadb: runCommand ondata
console.log: adbhelper@mozilla.orgadb: runCommand onclose
Here is another way to freeze Firefox:

STR:
- Disable addon
- kill any running abd processes
- enable addon
- the all Firefox UI freeze for ~5 seconds

Logs:

console.log: adbhelper@mozilla.orgadb: adb kill-server: 0
console.log: adbhelper@mozilla.orgadb: trackDevices onclose
console.log: adbhelper@mozilla.orgadb: init
console.debug: adbhelper@mozilla.org
  ADB:
  Asking for host:version
console.debug: adbhelper@mozilla.org
  ADB:
  running checker onerror
console.log: adbhelper@mozilla.orgadb: Didn't find ADB process running, restarting
console.debug: adbhelper@mozilla.org
  ADB:
  running checker onclose
* daemon not running. starting it now on port 5037 *
* daemon started successfully *



console.log: adbhelper@mozilla.orgadb: trackDevices
console.log: adbhelper@mozilla.orgadb: trackDevices onopen
console.log: adbhelper@mozilla.orgadb: len=22 30303132686f73743a747261636b2d6465766963 0012host:track-devic
Summary: [app manager] [adb helper] disconnecting and then reconnecting the USB cable freezes Firefox → [app manager] ADB addon helper should never freeze Firefox
Assignee: nobody → poirot.alex
Priority: -- → P1
Priority: P1 → P2
Priority: P2 → P3
Does this bug this exists??
Nope.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.