Closed Bug 774259 Opened 8 years ago Closed 7 years ago

Intermittent mochitest crash ("ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that", "ASSERTION: Profile change cancellation." & "Assertion failure: !connections[i]->ConnectionReady(), at mozStorageService.cpp")

Categories

(Core :: General, defect, critical)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: emorley, Unassigned)

References

Details

(Keywords: assertion, crash, intermittent-failure)

Starting on inbound cset https://hg.mozilla.org/integration/mozilla-inbound/rev/082542b01af8 there have been extremely frequent (~two thirds of the runs) linux32-only mochitest-5 failures:
https://tbpl.mozilla.org/?tree=Mozilla-Inbound&jobname=mochitests-5

That cset was a backout, so not really sure what to make of this.

I've clobbered, but it hasn't helped.

Filing this so we have something to point at whilst waiting for retriggers. Is currently holding up the merge to m-c in time for the uplift.

On https://hg.mozilla.org/integration/mozilla-inbound/rev/082542b01af8:
-> [Orange] https://tbpl.mozilla.org/php/getParsedLog.php?id=13567653&tree=Mozilla-Inbound
-> [Orange]  https://tbpl.mozilla.org/php/getParsedLog.php?id=13568016&tree=Mozilla-Inbound
-> [Green] https://tbpl.mozilla.org/php/getParsedLog.php?id=13568994&tree=Mozilla-Inbound

On https://hg.mozilla.org/integration/mozilla-inbound/rev/b85bf85ebc06:
-> [Orange] https://tbpl.mozilla.org/php/getParsedLog.php?id=13570071&tree=Mozilla-Inbound
-> [Orange] https://tbpl.mozilla.org/php/getParsedLog.php?id=13570491&tree=Mozilla-Inbound
-> [Green] https://tbpl.mozilla.org/php/getParsedLog.php?id=13570856&tree=Mozilla-Inbound

There are 3 assertions:

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

-> ###!!! ASSERTION: Profile change cancellation.: 'Error', file ../../../toolkit/xre/nsXREDirProvider.cpp, line 817

-> Assertion failure: !connections[i]->ConnectionReady(), at ../../../storage/src/mozStorageService.cpp:853
Found a few related bugs...

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

Bug 622218

> -> ###!!! ASSERTION: Profile change cancellation.: 'Error', file
> ../../../toolkit/xre/nsXREDirProvider.cpp, line 817

Bug 715137

> -> Assertion failure: !connections[i]->ConnectionReady(), at
> ../../../storage/src/mozStorageService.cpp:853

Bug 764030
Depends on: 622218, 715137, 764030
Ok, so it went away for one push (two runs since I retriggered), then came back again on the next push:
https://tbpl.mozilla.org/php/getParsedLog.php?id=13574665&tree=Mozilla-Inbound

Doesn't seem quite as frequent as first appeared, but still ideally don't want to let it off inbound.
Due to coalescling, we've only had a handful of M5 runs since the above. 

The failure rate does look slightly less drastic at least. I think we should wait a little bit longer just to make sure, before merging inbound to m-c.
Whilst I'm still reluctant to let this migrate out of inbound, it is now seeming to not be frequent enough for us to actually track down a range - so I think we have no other choice.
Depends on: 778527
https://tbpl.mozilla.org/php/getParsedLog.php?id=15619235&tree=Mozilla-Inbound
Summary: Extremely frequent linux32-only M5 assertions ("ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that", "ASSERTION: Profile change cancellation." & "Assertion failure: !connections[i]->ConnectionReady()") → Intermittent linux32-only M5 ("ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that", "ASSERTION: Profile change cancellation." & "Assertion failure: !connections[i]->ConnectionReady() at mozStorageService.cpp:837")
(In reply to Ed Morley [:edmorley UTC+1] from comment #31)
> https://tbpl.mozilla.org/php/getParsedLog.php?id=15619235&tree=Mozilla-
> Inbound

OS X
Keywords: assertion
Summary: Intermittent linux32-only M5 ("ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that", "ASSERTION: Profile change cancellation." & "Assertion failure: !connections[i]->ConnectionReady() at mozStorageService.cpp:837") → Intermittent M5 debug crash ("ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that", "ASSERTION: Profile change cancellation." & "Assertion failure: !connections[i]->ConnectionReady(), at mozStorageService.cpp:837")
Depends on: 795703
Also m-oth:
https://tbpl.mozilla.org/php/getParsedLog.php?id=15723232&tree=Mozilla-Inbound
Summary: Intermittent M5 debug crash ("ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that", "ASSERTION: Profile change cancellation." & "Assertion failure: !connections[i]->ConnectionReady(), at mozStorageService.cpp:837") → Intermittent mochitest crash ("ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that", "ASSERTION: Profile change cancellation." & "Assertion failure: !connections[i]->ConnectionReady(), at mozStorageService.cpp")
bug 795703 should remove the weakref assertion.
Whiteboard: [orange]
Keywords: crash
Resolving WFM keyword:intermittent-failure bugs last modified >3 months ago, whose whiteboard contains none of:
{random,disabled,marked,fuzzy,todo,fails,failing,annotated,time-bomb,leave open}

There will inevitably be some false positives; for that (and the bugspam) I apologise. Filter on orangewfm.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.