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)
Tracking
(Not tracked)
VERIFIED
WORKSFORME
People
(Reporter: kmcclusk, Assigned: waqar)
References
()
Details
(Keywords: crash)
Attachments
(3 files)
838 bytes,
text/html
|
Details | |
6.86 KB,
patch
|
Details | Diff | Splinter Review | |
2.49 KB,
text/html
|
Details |
The blender seems to be writing outside the bounds of the memory allocated for
the offscreen buffers, causing a crash.
Reporter | ||
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
Comment 3•25 years ago
|
||
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?
Comment 4•25 years ago
|
||
Fixed in mozilla/gfx/src/nsBlender.cpp v3.16 by adding range checking code.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 6•25 years ago
|
||
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 → ---
Updated•25 years ago
|
OS: All → Linux
Hardware: All → HP
Comment 7•25 years ago
|
||
The current crash on Linux has been reported as bug 38909. Same stack trace.
Comment 8•25 years ago
|
||
Comment 9•24 years ago
|
||
Reassigning to rightful owner of bug.
Assignee: beard → kmcclusk
Status: REOPENED → NEW
Reporter | ||
Comment 10•24 years ago
|
||
Reporter | ||
Comment 11•24 years ago
|
||
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
Assignee | ||
Comment 12•24 years ago
|
||
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 ago → 24 years ago
Resolution: --- → WORKSFORME
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•