emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs 23.1.93 pretest


From: Eli Zaretskii
Subject: Re: Emacs 23.1.93 pretest
Date: Sun, 28 Feb 2010 19:15:10 +0200

> From: Chong Yidong <address@hidden>
> Cc: address@hidden
> Date: Sat, 27 Feb 2010 20:45:45 -0500
> 
> Eli Zaretskii <address@hidden> writes:
> 
> >> Hmm, this is strange.  This change (actually the succeeding 2010-02-06
> >> change to the same place) switches from using alloca to SAFE_ALLOCA
> >> (i.e. malloc, since the desired structure is large).  But the only way I
> >> can see for this code to crash is if load_charset_map somehow makes a
> >> pointer into the allocated structure.  But in that case, the old alloca
> >> case should have crashed too.
> >
> > Yes, it _is_ weird.  But the effect (see below) does look like we are
> > freeing memory being used, or maybe overwriting some allocated buffer,
> > or in some other way thrashing the arena.
> 
> Hmm, I think I may see the problem.  Does this patch help?

No, it doesn't :-(




reply via email to

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