Closed Bug 1338973 Opened 7 years ago Closed 5 years ago

Crash in nsCOMArray_base::InsertObjectsAt

Categories

(Core :: XPCOM, defect, P3)

x86_64
Windows 10
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox52 --- wontfix
firefox53 --- affected
firefox54 --- affected

People

(Reporter: n.nethercote, Unassigned)

Details

(Keywords: crash, stale-bug)

Crash Data

This bug was filed from the Socorro interface and is 
report bp-dc02da85-ab54-456b-82ee-bf21c2170212.
=============================================================

We've had crashes with this signature in the past, but this feels like a new(ish) one. It's showing up on Nightly, Aurora, and Beta.

It's a shutdown crash, and the crash address is always 0x0, which suggests that aObjects is null.

Michal, any ideas?
Flags: needinfo?(michal.novotny)
Whiteboard: [necko-active]
AFAICS, we always pass a pointer to a valid nsCOMArray<nsIFile> to the timer. Also the access to nsDeleteDir::mTimers is protected by a lock, so it cannot happen that nsDeleteDir::Shutdown uses a pointer to an array freed by nsDeleteDir::TimerCallback. So I have no theory :-/
Flags: needinfo?(michal.novotny)
Curiously, 100% of these (55) InsertObjectsAt crashes are on Win64 Firefox.
Hardware: Unspecified → x86_64
Too late for firefox 52, mass-wontfix.
can getclosure() ever return null if it races against wanting to run the timer perhaps? This might be the only use of getclosure) in gecko :)

maybe just "if (finishDeleting && *arg)" to protect against the timer class doing something unanticipated?

might not be worth overthinking.
Assignee: nobody → michal.novotny
Bulk priority update: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Moving to p3 because no activity for at least 24 weeks.
Priority: P1 → P3
None of the reports this year has cache on the stack. Most of them are coming from nsThreadPool::Shutdown().
Assignee: michal.novotny → nobody
Component: Networking: Cache → XPCOM
Whiteboard: [necko-active]

Closing because no crashes reported for 12 weeks.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.