Launching Firefox under lldb while an existing instance of Firefox is running causes the new process to crash

RESOLVED FIXED in Firefox 65

Status

()

defect
RESOLVED FIXED
7 months ago
7 months ago

People

(Reporter: mstange, Assigned: spohl)

Tracking

({regression})

Trunk
mozilla66
All
macOS
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox-esr60 unaffected, firefox64 unaffected, firefox65 fixed, firefox66 fixed)

Details

Steps to reproduce:
 1. Launch an instance of Firefox Nightly.
 2. From Terminal, launch another instance under lldb, like this:

> $ lldb /Applications/Firefox\ Nightly.app/Contents/MacOS/firefox
> ...
> Current executable set to '/Applications/Firefox Nightly.app/Contents/MacOS/firefox' (x86_64).
> (lldb) run
> Process 34735 launched: '/Applications/Firefox Nightly.app/Contents/MacOS/firefox' (x86_64)
> Process 34735 exited with status = 6 (0x00000006)
> (lldb)

Expected results:
Either the existing instance should be brought to the foreground, maybe with a new window opened, or a new instance should be launched.

Actual results:
The new process crashes. It doesn't seem to crash when launched outside of lldb.

The crash is caught by the crash reporter; here's an example report:
https://crash-stats.mozilla.com/report/index/c5c54e68-c9ac-462a-82b5-5e9fa0181211
Another one that may be new in 66?
Also a regression from bug 469990, most likely.
Assignee: nobody → spohl.mozilla.bugs
Status: NEW → ASSIGNED
Fixed by the backout of bug 469990 (cset 590bdef6b312) which will be merged to beta shortly.
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
The backout has been landed on Beta and will be included in the 65.0b5 release.
https://hg.mozilla.org/releases/mozilla-beta/rev/978402f68f3c
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.