all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: peter@javamonkey.com, emacs-pretest-bug@gnu.org, emacs-devel@gnu.org
Subject: Re: Ediff frequently crashes emacs.
Date: Sat, 11 Dec 2004 13:26:42 -0500	[thread overview]
Message-ID: <E1CdBx4-0001Q7-1O@fencepost.gnu.org> (raw)
In-Reply-To: <m3zn0l1xjl.fsf@kfs-l.imdomain.dk> (storm@cua.dk)

    > Notably it crashed in various libc functions (setlocale, tzset)
    > because they didn't seem to obey the malloc_hook and free_hook in a
    > consistent manner, i.e. some data would be malloc'ed via the hook, but
    > free'd without the hook--at least I saw the same piece of memory being
    > malloc'ed twice by setlocale with no call to the free hook in-between.

Can you find one single library function that really does do this,
and figure out why it does?

    Also, can anyone explain why the call to free(malloc_state_ptr) crashes
    when I enable XMALLOC_OVERRUN_CHECK ?

I don't know why, but the amount of leakage in never freeing this
is insignificant, so I'd say just delete that call to `free'.

      parent reply	other threads:[~2004-12-11 18:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m3lldqm6sp.fsf@javamonkey.com>
     [not found] ` <wlmzy6yls1.wl@church.math.s.chiba-u.ac.jp>
     [not found]   ` <m31xfhms17.fsf@javamonkey.com>
     [not found]     ` <m3lldkv9xe.fsf@kfs-l.imdomain.dk>
     [not found]       ` <m3fz3sf37g.fsf@javamonkey.com>
     [not found]         ` <m3u0s86iue.fsf@javamonkey.com>
     [not found]           ` <E1CPOYC-0005j9-Mh@fencepost.gnu.org>
     [not found]             ` <m3vfbwtvtu.fsf@javamonkey.com>
     [not found]               ` <m3vfbw2jma.fsf@kfs-l.imdomain.dk>
     [not found]                 ` <m3653qrau7.fsf@javamonkey.com>
     [not found]                   ` <m3hdn9eazr.fsf@kfs-l.imdomain.dk>
     [not found]                     ` <m3hdn8a42f.fsf@javamonkey.com>
     [not found]                       ` <m3vfbob2jq.fsf@kfs-l.imdomain.dk>
     [not found]                         ` <m3act0ks35.fsf@javamonkey.com>
     [not found]                           ` <m3fz2rve62.fsf@kfs-l.imdomain.dk>
2004-12-11  0:35                             ` Ediff frequently crashes emacs Kim F. Storm
2004-12-11  2:26                               ` Peter Seibel
2004-12-11 18:26                                 ` Richard Stallman
2004-12-11 23:40                                 ` Kim F. Storm
2004-12-12  3:35                                   ` Peter Seibel
2004-12-13  9:03                                     ` Kim F. Storm
2004-12-26 21:54                                   ` Peter Seibel
2004-12-27 18:06                                     ` Richard Stallman
2004-12-27 21:21                                       ` Peter Seibel
2004-12-28  4:57                                         ` Richard Stallman
2004-12-11 18:26                               ` Richard Stallman [this message]

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

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

  git send-email \
    --in-reply-to=E1CdBx4-0001Q7-1O@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=peter@javamonkey.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.