Closed Bug 1639435 Opened 5 years ago Closed 5 years ago

Crash in [@ java.lang.IllegalStateException: at org.mozilla.gecko.process.GeckoProcessManager$ChildConnection.getPid(GeckoProcessManager.java)]

Categories

(GeckoView :: General, defect, P1)

Unspecified
Android
defect

Tracking

(firefox76 unaffected, firefox77 fixed, firefox78 fixed)

RESOLVED FIXED
mozilla78
Tracking Status
firefox76 --- unaffected
firefox77 --- fixed
firefox78 --- fixed

People

(Reporter: bugzilla, Assigned: bugzilla)

References

(Regression)

Details

(Keywords: crash, regression, Whiteboard: [geckoview:m78])

Crash Data

Attachments

(1 file)

This bug is for crash report bp-63201adb-ec41-414f-ab1b-a493f0200520.

Java stack trace:

java.lang.IllegalStateException
	at org.mozilla.gecko.process.GeckoProcessManager$ChildConnection.getPid(GeckoProcessManager.java:4)
	at org.mozilla.gecko.process.GeckoProcessManager$ChildConnection.bind(GeckoProcessManager.java:12)
	at org.mozilla.gecko.process.GeckoProcessManager.start(GeckoProcessManager.java:7)
	at org.mozilla.gecko.process.GeckoProcessManager.lambda$start$4(GeckoProcessManager.java:2)
	at org.mozilla.gecko.process.-$$Lambda$GeckoProcessManager$f3c4adslVLFeRpGUG7Noos477nk.run(Unknown Source:20)
	at org.mozilla.gecko.util.XPCOMEventTarget.runOnLauncherThread(XPCOMEventTarget.java:3)
	at org.mozilla.gecko.process.GeckoProcessManager.start(GeckoProcessManager.java:4)

We need to get rid of GeckoProcessManager.buildLogMsg

Assignee: nobody → aklotz
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: [geckoview:m78]

GeckoProcessManager.buildLogMsg requires a successful bind to construct its
message, but its only remaining callsite is only invoked when a bind fails,
so it blows up.

This patch eliminates buildLogMsg and just changes the callsite to use
a string literal.

Pushed by aklotz@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/399e60cb2d0b Remove GeckoProcessManager.buildLogMsg and change its callsite to just use a literal string; r=geckoview-reviewers,droeh

Comment on attachment 9150348 [details]
Bug 1639435: Remove GeckoProcessManager.buildLogMsg and change its callsite to just use a literal string; r=#geckoview-reviewers

Beta/Release Uplift Approval Request

  • User impact if declined: Crashes
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Trivial, well-understood fix
  • String changes made/needed:
Attachment #9150348 - Flags: approval-mozilla-beta?
Keywords: regression
Regressed by: 1630229
Has Regression Range: --- → yes
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78

Comment on attachment 9150348 [details]
Bug 1639435: Remove GeckoProcessManager.buildLogMsg and change its callsite to just use a literal string; r=#geckoview-reviewers

Geckoview crash fix, patch looks safe, approved for 77 beta, thanks.

Attachment #9150348 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: