emacs-devel
[Top][All Lists]
Advanced

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

Re: editfns.c (Fformat): fix for segfault


From: Kenichi Handa
Subject: Re: editfns.c (Fformat): fix for segfault
Date: Tue, 29 Apr 2003 11:50:38 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Richard Stallman <address@hidden> writes:
>     This is my analysis.  In the first scan, Fchar_to_string or
>     Fprint1_to_string are called, and they will relocate a data
>     of a Lisp string (in the current case, args[0]).

> How can either of these functions cause a GC?

As I'm not familiar with Emacs' memory allocation, my guess
may be wrong.  What I thought was that buffers and strings
may be relocated without GC if Emacs is using a relocatable
allocator for them.  Only that explains why this bug happens.

---
Ken'ichi HANDA
address@hidden




reply via email to

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