If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

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

RESOLVED INCOMPLETE

Status

()

Core
Widget: Cocoa
P3
normal
RESOLVED INCOMPLETE
9 months ago
7 days ago

People

(Reporter: Treeherder Bug Filer, Unassigned)

Tracking

({bulk-close-intermittents, intermittent-failure})

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: tpi:+)

(Reporter)

Description

9 months ago
treeherder
Filed by: philringnalda [at] gmail.com

https://treeherder.mozilla.org/logviewer.html#?job_id=5875611&repo=mozilla-central

https://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-central-macosx64-debug/1481640842/mozilla-central_yosemite_r7-debug_test-mochitest-browser-chrome-2-bm106-tests1-macosx-build6.txt.gz

Comment 1

9 months ago
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)

Comment 3

6 months ago
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.

Updated

6 months ago
Priority: -- → P3
Whiteboard: tpi:+

Comment 7

3 months ago
1 failures in 892 pushes (0.001 failures/push) were associated with this bug in the last 7 days.   

Repository breakdown:
* autoland: 1

Platform breakdown:
* linux32: 1

For more details, see:
https://brasstacks.mozilla.com/orangefactor/?display=Bug&bugid=1323246&startday=2017-06-19&endday=2017-06-25&tree=all
Status: NEW → RESOLVED
Last Resolved: 7 days ago
Keywords: bulk-close-intermittents
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.