Closed Bug 61519 Opened 24 years ago Closed 24 years ago

crash in nsXBLPrototypeHandler::ExecuteHandler

Categories

(Core :: Layout, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: blizzard, Assigned: blizzard)

References

Details

Attachments

(1 file)

It's possible to crash in nsXBLPrototypeHandler::ExecuteHandler if no mozilla window has gotten focus yet and you scroll the window using a scrollbar. The scrollbar doesn't grab focus so no window is ever given focus. Another problem is that doing a |QueryInterface| on the DOM event receiver to an |nsIContent| interface will fail. That return isn't checked and will crash as well. To reproduce this problem, fire up TestGtkEmbed to http://www.redhat.com. It should be small enough that it shows a scrollbar. Grab the scrollbar slider and slide it down the page. You will get an assertion and a crash. Patch attached in a moment.
Attached patch patchSplinter Review
Adding pink in the hopes of getting some hot review action.
a=hyatt
I think that this was fixed with the checkin that fixed 61452. Checking on that. Hyatt, even if it was do you still want me to add these checks in?
This is a top crash, I believe -- see bug 59782 or bug 57982. I think it could use some extra love.
this is definately different that what sfraser and I checked in earlier.
OK, I'll check this in. Those other bugs look similar but not exactly the same. pink, does this patch look OK to you? I should technically have two reviews before checking it in.
i guess this looks ok, though i don't know this code at all. r=pink
*** Bug 61500 has been marked as a duplicate of this bug. ***
*** Bug 61548 has been marked as a duplicate of this bug. ***
Checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
*** Bug 59782 has been marked as a duplicate of this bug. ***
*** Bug 59930 has been marked as a duplicate of this bug. ***
Verified fixed in the 2001010209 trunk build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: