Closed Bug 1323246 Opened 8 years ago Closed 7 years ago

Intermittent browser/components/extensions/test/browser/browser_ext_windows_create.js | application crashed [@ _objc_trap() + 0x0]

Categories

(Core :: Widget: Cocoa, defect, P3)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: bulk-close-intermittents, intermittent-failure, Whiteboard: tpi:+)

This looks like the real culprit:
https://treeherder.mozilla.org/logviewer.html#?job_id=5875611&repo=mozilla-central#L15020

objc[2030]: Cannot form weak reference to instance (0x119893cd0) of class NSToolbarFullScreenWindow. It is possible that this object was over-released, or is in the process of deallocation.
(In reply to Andrew Swan [:aswan] from comment #1)
> This looks like the real culprit:
> https://treeherder.mozilla.org/logviewer.html#?job_id=5875611&repo=mozilla-
> central#L15020
> 
> objc[2030]: Cannot form weak reference to instance (0x119893cd0) of class
> NSToolbarFullScreenWindow. It is possible that this object was
> over-released, or is in the process of deallocation.

was running into this again with a intermittent failure with this crash. Andrew can you fix this crash or do you know who is best to cc for this issue ?
Flags: needinfo?(aswan)
I'm not sure exactly but this component should be accurate, hopefully the right people are watching it.
Component: WebExtensions: Untriaged → Widget: Cocoa
Flags: needinfo?(aswan)
Product: Toolkit → Core
(In reply to Andrew Swan [:aswan] from comment #1)
> objc[2030]: Cannot form weak reference to instance (0x119893cd0) of class
> NSToolbarFullScreenWindow. It is possible that this object was
> over-released, or is in the process of deallocation.

Sounds like we're doing something funky during the fullscreen transition, or there's a bug in Cocoa.
What is NSToolbarFullScreenWindow? It doesn't seem to me there is any NSToolbarFullScreenWindow referenced in our code...
It's not an exposed API, it's an implementation detail of the full screen mode. I suspect that Cocoa creates a separate NSWindow for the window's primary NSToolbar so that it can overlay it over the window if the user moves the mouse to the top edge of the screen. We don't use NSToolbars, so it shouldn't be necessary to create that window, but maybe the system does it anyway.
In any case, the warning of NSToolbarFullScreenWindow is just a symptom of the problem and the trail of breadcrumbs to the actual problem will be rather long, I expect.
Priority: -- → P3
Whiteboard: tpi:+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.