[ Putting the glibc maintainers and the mips porters into the loop.
  Summary: emacs23-nox aborts with malloc assertion failure on mipsel. ]

On 2010-01-26 02:17 +0100, Deng Xiyue wrote:

> Package: emacs23-nox
> Version: 23.1+1-5
> Severity: grave
>
> When installing emacs23-nox, aptitude stops with the following outputs:
>
> ---BEGIN OF OUTPUT---
>
> $ LANG=C sudo aptitude install emacs23-nox
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> Reading task descriptions... Done
> The following partially installed packages will be configured:
>   emacs23-nox
> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B of archives. After unpacking 0B will be used.
> Writing extended state information... Done
> Setting up emacs23-nox (23.1+1-5) ...
> emacs-install emacs23
> install/cscope: Byte-compiling for emacs23
> emacs23: malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char 
> *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, 
> fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned 
> long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * 
> (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size 
> & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
> Fatal error (6)Aborted

This assertion failure happens in libc6.  I'm inclined to reassign the
bug, but I'll leave this to more knowledgeable people.  The fact that
the eglibc testsuite is currently disabled on mipsel┬╣ does not exactly
increase confidence in the libc6 package on that architecture.

> install/dictionaries-common: Byte-compiling for emacsen flavour emacs23
> emacs23: malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char 
> *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, 
> fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned 
> long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * 
> (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size 
> & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
> Fatal error (6)Aborted
> emacsen-common: Handling install of emacsen flavor emacs23
> emacsen-common: byte-compiling for emacs23
> emacs23: malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char 
> *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, 
> fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned 
> long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * 
> (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size 
> & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
> Fatal error (6)Aborted
> emacs-install: /usr/lib/emacsen-common/packages/install/emacsen-common 
> emacs23 failed at /usr/lib/emacsen-common/emacs-install line 28, <TSORT> line 
> 6.
> dpkg: error processing emacs23-nox (--configure):
>  subprocess installed post-installation script returned error exit status 134
> Errors were encountered while processing:
>  emacs23-nox
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> A package failed to install.  Trying to recover:
> Setting up emacs23-nox (23.1+1-5) ...
> emacs-install emacs23
> install/cscope: Byte-compiling for emacs23
> emacs23: malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char 
> *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, 
> fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned 
> long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * 
> (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size 
> & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
> Fatal error (6)Aborted
> install/dictionaries-common: Byte-compiling for emacsen flavour emacs23
> emacs23: malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char 
> *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, 
> fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned 
> long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * 
> (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size 
> & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
> Fatal error (6)Aborted
> emacsen-common: Handling install of emacsen flavor emacs23
> emacsen-common: byte-compiling for emacs23
> emacs23: malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char 
> *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, 
> fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned 
> long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * 
> (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size 
> & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
> Fatal error (6)Aborted
> emacs-install: /usr/lib/emacsen-common/packages/install/emacsen-common 
> emacs23 failed at /usr/lib/emacsen-common/emacs-install line 28, <TSORT> line 
> 6.
> dpkg: error processing emacs23-nox (--configure):
>  subprocess installed post-installation script returned error exit status 134
> Errors were encountered while processing:
>  emacs23-nox
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> Reading task descriptions... Done
>
>
> ---END OF OUTPUT---
>
>
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers testing
>   APT policy: (500, 'testing'), (300, 'unstable')
> Architecture: mipsel (mips64)
>
> Kernel: Linux 2.6.32.4 (PREEMPT)
> Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages emacs23-nox depends on:
> ii  emacs23-bin-common        23.1+1-5       The GNU Emacs editor's shared, 
> arc
> ii  install-info              4.13a.dfsg.1-5 Manage installed documentation 
> in 
> ii  libasound2                1.0.21a-1      shared library for ALSA 
> applicatio
> ii  libc6                     2.10.2-2       GNU C Library: Shared libraries

It will probably not help, but could you please upgrade libc6 to the
version in unstable (2.10.2-5) and retry?

Regards,
        Sven


┬╣ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516087


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to