emacs-devel
[Top][All Lists]
Advanced

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

Re: crash: CVS sources on Solaris 2.5.1 with gcc 3.0


From: Richard Stallman
Subject: Re: crash: CVS sources on Solaris 2.5.1 with gcc 3.0
Date: Fri, 9 Nov 2001 22:40:27 -0700 (MST)

    > Can you try backing-out recent patch to unexelf.c?

    yep - backing it out solved the problem!

I may have seen where the problem is.  One consequence of using malloc
to get space to read the file is that the malloc tables which get
saved will mark that space as allocated.  But the range of memory that
is being saved won't include that space.  This is inconsistent, and it
might be the cause of this crash.

What happens if you use alloca instead of malloc to allocate that
space?



reply via email to

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