Bug#509930: x-www-browser for ultra5 ultra60

Julien Cristau jcristau at debian.org
Wed Mar 25 08:14:56 UTC 2009


On Wed, 2009-03-25 at 07:47 +0100, Julien Cristau wrote:
> I've spent some time looking at this, and I'm a bit worried about
> PKIX_PL_Object_Alloc.  Specifically, sizeof(PKIX_PL_Object) seems to be
> 28 on 32bit, and __alignof__(PKIX_PL_Object) is 4.  PKIX_PL_Object_Alloc
> goes to allocate some space for one PKIX_PL_Object + the size it was
> asked for, and then goes and returns object + 1.  Thus, if
> PKIX_PL_Malloc gives it a 8 byte aligned pointer, PKIX_PL_Object_Alloc
> will return an unaligned address to its caller.  PKIX_PL_OcspResponse's
> size is 56, and it has to be 8 byte aligned on sparc, so it's possible
> this is the problem here.

It'd be nice if someone could try the attached patch on sparc and see if
they can reproduce the browser crash.

Cheers,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nss.debdiff
Type: text/x-patch
Size: 2280 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/attachments/20090325/49eb3d86/attachment.bin 


More information about the pkg-mozilla-maintainers mailing list