Closed Bug 589721 Opened 14 years ago Closed 14 years ago

Segfault when closing remote tab with open geolocation prompt

Categories

(Core :: DOM: Geolocation, defect)

x86
Windows CE
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fennec 2.0a1+ ---

People

(Reporter: jdm, Assigned: jdm)

Details

Attachments

(3 files)

Attached file Testcase
STR:
1. visit testcase in fennectrolysis and see open geolocation prompt
2. close tab
3. boom
Attached file Backtrace
The actor being destroyed is already invalid for some reason.
Assignee: nobody → josh
Found it.  PGeolocationRequestChild is implemented by the refcounted nsGeolocationRequest.  The last reference ends up going out of scope before the parent actually sends the __delete__ message, so things explode when that happens.
tracking-fennec: --- → ?
OS: Linux → Windows CE
Attached patch PatchSplinter Review
Attachment #468240 - Flags: review?(doug.turner)
Attachment #468240 - Flags: review?(doug.turner) → review+
tracking-fennec: ? → 2.0b1+
pushed to a1 rel branch: http://hg.mozilla.org/mozilla-central/rev/f0e151e87568

this still needs to land on m-c, so not closing it yet
tracking-fennec: 2.0b1+ → 2.0a1+
https://bugzilla.mozilla.org/show_bug.cgi?id=589721
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: