Bug#763900: iceweasel/ppc: <jemalloc>Compile-time page size does not divide the runtime one.

Adi Kriegisch adi at kriegisch.at
Fri Oct 3 15:05:10 UTC 2014


Package: iceweasel
Version: 31.1.0esr-1

I recently upgraded an iMac G5 to Debian/Jessie. Now iceweasel does not
start anymore with the following error message:
  | <jemalloc>Compile-time page size does not divide the runtime one.
  | Segmentation fault

This seems to be a reoccurance of a rather old upstream bug[1] that can
also be found on redhat's bugtracker[2]. This patch
(inspired by the patch attached to the redhat bugtracker[3]) seems to fix
the issue:
--- a/memory/mozjemalloc/jemalloc.c 2014-08-25 15:17:22.000000000 +0200
+++ b/memory/mozjemalloc/jemalloc.c 2014-10-03 11:30:51.183346370 +0200
@@ -1088,7 +1088,7 @@
  * controlling the malloc behavior are defined as compile-time constants
  * for best performance and cannot be altered at runtime.
  */
-#if !defined(__ia64__) && !defined(__sparc__) && !defined(__mips__)
+#if !defined(__ia64__) && !defined(__sparc__) && !defined(__mips__) && !defined(__powerpc__)
 #define MALLOC_STATIC_SIZES 1
 #endif

A local build with this patch applied works on my machine.

-- Adi

PS: I have the same error on Icedove too; will start a build with the same
patch over the weekend and report the bug there too...

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=851859
[2] https://bugzilla.redhat.com/show_bug.cgi?id=852698
[3] https://bugzilla.redhat.com/attachment.cgi?id=610408
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/attachments/20141003/0d6c33eb/attachment.sig>


More information about the pkg-mozilla-maintainers mailing list