Closed Bug 1042041 Opened 10 years ago Closed 10 years ago

Crash in ContentHostBase::Composite while dereferencing null pointer bigImgIter

Categories

(Core :: Graphics: Layers, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34

People

(Reporter: nical, Assigned: nical)

References

Details

Attachments

(1 obsolete file)

This crash inside the assertion in a debug build here:
http://dxr.mozilla.org/mozilla-central/source/gfx/layers/composite/ContentHost.cpp?from=ContentHost.cpp&case=true#128

The if branch containing the assertion should not be taken if bigImgIter is null.
Attached patch Fix. (obsolete) — Splinter Review
Attachment #8460180 - Flags: review?(jmuizelaar)
Comment on attachment 8460180 [details] [diff] [review]
Fix.

Nevermind, the problem is that the surface on white is a big-image while the other is not. they should either both be big-images, or both not be big-images.
Attachment #8460180 - Flags: review?(jmuizelaar)
Depends on: 1042052
nical, did you upload correct patch to attachment 8460180 [details] [diff] [review]? I can not see valid code there.
Flags: needinfo?(nical.bugzilla)
(In reply to Sotaro Ikeda [:sotaro PTO July/25 - Aug/3] from comment #3)
> nical, did you upload correct patch to attachment 8460180 [details] [diff] [review]
> [review]? I can not see valid code there.

I have a patch locally that makes the assertions more explicit about the issue, but this bug can only be caused caused by bug 1042052 so I haven't made up my mind about whether what I have locally is worth checking in. I'll obsolete attachment 8460180 [details] [diff] [review] to make it clear that we don't want to land it.
Flags: needinfo?(nical.bugzilla)
Comment on attachment 8460180 [details] [diff] [review]
Fix.

Oh! now I understand what you meant, Sotaro. I attached an empty patch. I thought you meant that the solution was inadequate which is also true.
Attachment #8460180 - Attachment is obsolete: true
Bug 1042052 fixed this.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: