unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: editfns.c (Fformat): fix for segfault
Date: Tue, 29 Apr 2003 11:50:38 +0900 (JST)	[thread overview]
Message-ID: <200304290250.LAA11997@etlken.m17n.org> (raw)
In-Reply-To: <E19AICm-0005Qs-00@fencepost.gnu.org> (message from Richard Stallman on Mon, 28 Apr 2003 19:38:40 -0400)

In article <E19AICm-0005Qs-00@fencepost.gnu.org>, Richard Stallman <rms@gnu.org> 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
handa@m17n.org

  reply	other threads:[~2003-04-29  2:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <851xzo9f2l.fsf@pi.meyering.net>
2003-04-28  2:36 ` editfns.c (Fformat): fix for segfault Kenichi Handa
2003-04-28 23:38 ` Richard Stallman
2003-04-29  2:50   ` Kenichi Handa [this message]
2003-04-29 19:28     ` Richard Stallman
2003-05-03 14:10   ` Jim Meyering
2003-05-04 13:04     ` Richard Stallman
2003-05-05  8:47       ` Jim Meyering
2003-05-05 19:10         ` Richard Stallman
2003-05-07  9:27           ` Jim Meyering

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200304290250.LAA11997@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).