emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems building trunk in OpenBSD/i386


From: Eli Zaretskii
Subject: Re: problems building trunk in OpenBSD/i386
Date: Thu, 12 Jul 2007 07:07:37 -0400

> Date: Thu, 12 Jul 2007 02:37:33 -0700
> From: Ryan Yeske <address@hidden>
> 
> 
> cvs update -A
> ./configure
> make bootstrap
> 
> I get the error:
> 
> ./temacs --batch --load loadup bootstrap
> pid 17656: Fatal error 'Cannot create kernel pipe' at line 200 in file 
> /usr/src/lib/libpthread/uthread/uthread_init.c (errno = 24)
> *** Signal 6
> 
> EMACS_22_BASE is the last version that I know builds fine on this platform.
> 
> Advice on how to proceed in debugging this appreciated.

The backtrace indicates there's infinite recursion in gmalloc.c:

> #365 0x08184f6d in __malloc_initialize () at gmalloc.c:615
> #366 0x081856c1 in malloc (size=3072) at gmalloc.c:982

These two lines repeat themselves again and again, with calls to other
functions interspersed in between.

I'm guessing that the infinite recursion causes Emacs to eventually
run out of runtime stack, and then it dies with the above weird
message, which really tells you that the program is in deep trouble.

If you can step through the code in question with GDB and try to
understand why it recurses, it will help.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]