Closed Bug 444466 Opened 16 years ago Closed 16 years ago

Crash [@ nsTextControlFrame::PreDestroy()]

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.1a1

People

(Reporter: neil, Assigned: neil)

Details

(Keywords: crash, fixed1.9.0.2)

Crash Data

Attachments

(1 file)

I've only seen this in a 1.9.0 Linux debug build, but the code is suspect.
Attached patch Proposed patchSplinter Review
This fixes the crash for me.
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #328769 - Flags: superreview?(bzbarsky)
Attachment #328769 - Flags: review?(bzbarsky)
Comment on attachment 328769 [details] [diff] [review]
Proposed patch

Makes sense.  Check in a crashtest too?
Attachment #328769 - Flags: superreview?(bzbarsky)
Attachment #328769 - Flags: superreview+
Attachment #328769 - Flags: review?(bzbarsky)
Attachment #328769 - Flags: review+
(In reply to comment #2)
> Check in a crashtest too?
I'd love to, but my crash trigger was closing a window, which we already test.
Keywords: checkin-needed
http://hg.mozilla.org/index.cgi/mozilla-central/rev/2b156d138832
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1a1
Comment on attachment 328769 [details] [diff] [review]
Proposed patch

Simple null-check for a potential crash.
Attachment #328769 - Flags: approval1.9.0.2?
Comment on attachment 328769 [details] [diff] [review]
Proposed patch

Approved for 1.9.0.2. Please land in CVS. a=ss
Attachment #328769 - Flags: approval1.9.0.2? → approval1.9.0.2+
Keywords: fixed1.9.0.2
Can we get STR to verify this bug?  Thanks.
Crash Signature: [@ nsTextControlFrame::PreDestroy()]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: