[Top][All Lists]

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

Re: Ediff frequently crashes emacs.

From: Richard Stallman
Subject: Re: Ediff frequently crashes emacs.
Date: Sat, 11 Dec 2004 13:26:42 -0500

    > 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'.

reply via email to

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