Closed Bug 445801 Opened 17 years ago Closed 1 year ago

Crash in nsUICommandCollector

Categories

(Toolkit Graveyard :: Data Collection/Metrics, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: alex, Unassigned)

Details

(Whiteboard: [needs review pete])

Attachments

(1 file)

From Igor: [I] had to hunt down a crash in nsUICommandCollector, Mozilla1.8 branch. In line 129 (call to ms->WindowMap().EnumerateRead) second arg is casted to nsIDOMEventListener*, than anonymized to void* and casted back to nsUICommandCollector* within AddCommandEventListener. Solution is to remove first cast (line 129). Firefox 3 branch looks the same, but we don't see a crash for some reason.
Comment on attachment 332210 [details] [diff] [review] Remove the NS_STATIC_CASTs that caused the crash. Pete -- could you check this out for us? If it looks good, feel free to add it to trunk.
Attachment #332210 - Flags: review?(pete)
Whiteboard: [needs review pete]
Product: Toolkit → Toolkit Graveyard
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: