Subject: Re: bug#9558: Minimal emacs build runs out of memory

From: Andreas Schwab <[email-masked]>
Date: Tue, 20 Sep 2011 18:20:25 +0200

Reuben Thomas <[email-masked]> writes:

> #0  0x4007a32c in __pthread_mutex_lock (mutex=0x83871c8) at
> pthread_mutex_lock.c:47
> #1  0x08120823 in emacs_blocked_malloc (size=16384, ptr=0x812082e) at
> alloc.c:1260
> #2  0x401220d0 in __libc_malloc (bytes=16384) at malloc.c:3622
> #3  0x0812082e in emacs_blocked_malloc (size=16384, ptr=0x812082e) at
> alloc.c:1269

Obviously stack overflow due to endless recursion.  __libc_malloc isn't
supposed to call back into emacs.  You need to find out why
old_malloc_hook was set to emacs_blocked_malloc.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."