[Webkit-unassigned] [Bug 15396] PPC Only: svg/custom/mask-excessive-malloc.svg crashes on trunk

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 14 22:49:22 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15396





------- Comment #6 from eric at webkit.org  2007-10-14 22:49 PDT -------
One possibility is that:
    CGContextRef cgContext = CGBitmapContextCreate(imageBuffer, size.width(),
size.height(), 8, bytesPerRow,
        colorSpace, grayScale ? kCGImageAlphaNone :
kCGImageAlphaPremultipliedLast);

in ImageBuffer::create() could be crashing (or smashing memory) instead of
failing gracefully like it does on Intel.  I'm not even sure we're hitting that
line (depends on how much memory you have available), but someone trying to
debug this on PPC should see if guarding that call against really large values
fixes the problem.  (In which case this would definitely be a CG bug, code
guards should be added to WebKit and this bug moved into Radar.)


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list