Closed Bug 33091 Opened 25 years ago Closed 24 years ago

Setting opacity causes a crash when using nsViewManager2

Categories

(Core Graveyard :: GFX, defect, P3)

HP
Linux
defect

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: kmcclusk, Assigned: waqar)

References

()

Details

(Keywords: crash)

Attachments

(3 files)

The blender seems to be writing outside the bounds of the memory allocated for the offscreen buffers, causing a crash.
Blocks: 33219
I think the range checking fixed the crashes. However, while the range checking is keeping things in bounds, it isn't producing the correct coordinates. There are two independent calls to rangeCheck, one for the source and one for the destination. The range checking is not independent however. If the destination origin is changed because it is less than 0, there must be a corresponding change to the source origin (incrementing it by the same amount that the destination origin was), or the wrong part of the image will be blended. If the origins are greater than the extents of the surfaces, shouldn't the blend function just abort?
Fixed in mozilla/gfx/src/nsBlender.cpp v3.16 by adding range checking code.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Adding crash keyword
Keywords: crash
With the May 25th build on Mac and Windows, the static sample file is rendered properly. However, the May 25 Linux build renders the page partially and then crashes. Reopening bug for this reason.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
OS: All → Linux
Hardware: All → HP
The current crash on Linux has been reported as bug 38909. Same stack trace.
Actually, bug 38909 is a verified duplicate of bug 17356.
Reassigning to rightful owner of bug.
Assignee: beard → kmcclusk
Status: REOPENED → NEW
Not crashing on WINNT with latest build. Waqar could you test this on Linux? (Use my attachment test13.html with transparency put back in)
Assignee: kmcclusk → waqar
It does not carsh with 2000/08/03 build. I used Test13 and the attachement (12331) that Kevin had attached to this bug.
Status: NEW → RESOLVED
Closed: 25 years ago24 years ago
Resolution: --- → WORKSFORME
Works for me in the Sept 14th Linux build.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: