Closed Bug 673390 Opened 13 years ago Closed 13 years ago

Crash on Linux [@ nsNativeTheme::IsIndeterminateProgress]

Categories

(Core :: Widget: Gtk, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla8

People

(Reporter: jruderman, Assigned: arno)

References

Details

(Keywords: crash, testcase, Whiteboard: [inbound])

Attachments

(3 files)

      No description provided.
Attached file stack trace
Attached patch patch v1Splinter Review
This happens because as div is fixed, it's parent is a ViewPortFrame which a null content. Then, call to  aFrame->GetContent()->IsHTML(nsWidgetAtoms::progress) crashes mozilla.
Assignee: nobody → arno
Attachment #547902 - Flags: review?(roc)
I've also checked (at least in the gtk port) that there is no other moz-appearance property which exhibits the same bug, but I wonder if it's better, for more safety, to make all methods in nsNativeTheme.cpp handle frames with null content
Comment on attachment 547902 [details] [diff] [review]
patch v1

Review of attachment 547902 [details] [diff] [review]:
-----------------------------------------------------------------

Lovely!
Attachment #547902 - Flags: review?(roc) → review+
Keywords: checkin-needed
Keywords: checkin-needed
Whiteboard: [inbound]
http://hg.mozilla.org/mozilla-central/rev/d8a5ef7806ec
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: