Closed Bug 1307688 Opened 8 years ago Closed 7 years ago

Intermittent dom/plugins/test/mochitest/test_hangui.xul | application crashed [@ nsTimerImpl::Fire()]

Categories

(Core Graveyard :: Plug-ins, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

This is a EXCEPTION_ACCESS_VIOLATION_READ in nsTimerImpl::Fire with nothing particularly plugin-like on the stack. Nathan any recent changes to timers that might be related? And should be move this to XPCOM or leave it in plugins to die?
Flags: needinfo?(nfroyd)
(In reply to Benjamin Smedberg [:bsmedberg] from comment #1)
> This is a EXCEPTION_ACCESS_VIOLATION_READ in nsTimerImpl::Fire with nothing
> particularly plugin-like on the stack. Nathan any recent changes to timers
> that might be related? And should be move this to XPCOM or leave it in
> plugins to die?

Byron fixed some TSan races in bug 1157323 that have a bit of fallout; this intermittent is probably related.  Byron, does this look related to bug 1307350?
Flags: needinfo?(nfroyd) → needinfo?(docfaraday)
I have seen this in crash-stats too; I'm pretty sure this is due to something either rescheduling or cancelling timers from the wrong thread. I fear that we will be forced to add thread-checking to the timer API to detect this kind of misuse...
Flags: needinfo?(docfaraday)
I might be able to make the race condition less frequent when Cancel or Init happens somewhere other than the target thread, but actually fixing this is probably going to involve fixing one or both of bug 1285384 and bug 1290894.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.