Closed Bug 471977 Opened 16 years ago Closed 15 years ago

Assertion: You're asking for a weak reference to an object that doesn't support that: 'factoryPtr' for first passed crashtest

Categories

(Core :: XPCOM, defect)

x86
macOS
defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: whimboo, Unassigned)

References

()

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

Attached file Stack
While running the crashtests listed in widget/src/cocoa/crashtests/crashtests.list the test for 397209-1.html throws following assertion:

###!!! ASSERTION: Oops!  You're asking for a weak reference to an object that doesn't support that.: 'factoryPtr', file nsWeakReference.cpp, line 109

You can find the stack as attachment.
Does it also happen when you visit it as a standalone testcase?
No, it doesn't happen in such a situation. It only asserts during a crashtest run.
This asserts only for the first passed test. As Martijn mentioned on IRC it could be happen due to a bug in the reftest framework?
Summary: Assertion: You're asking for a weak reference to an object that doesn't support that: 'factoryPtr' → Assertion: You're asking for a weak reference to an object that doesn't support that: 'factoryPtr' for first passed crashtest
Depends on: 368573
Possible related bug: bug 507092.
I don't see this assertion when I run the cocoa crashtests (or all crashtests) on Firefox trunk on mozilla-central.

whimboo, if you're still seeing this, you can reopen, but attach a stack that's been through fix-macosx-stack.pl ;)
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Yeah, doesn't occur anymore. Verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: