GNU bug report logs - #9413
24.0.50; crash in x-show-tip

Previous Next

Package: emacs;

Reported by: sds <at> gnu.org

Date: Wed, 31 Aug 2011 19:41:01 UTC

Severity: normal

Tags: unreproducible

Found in version 24.0.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 9413 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Leo <sdl.web <at> gmail.com>
Cc: 9413 <at> debbugs.gnu.org, sds <at> gnu.org
Subject: Re: bug#9413: 24.0.50; crash in x-show-tip
Date: Fri, 02 Sep 2011 07:21:43 +0200

Leo skrev 2011-09-02 04:52:
> On 2011-09-01 14:27 +0800, Jan D. wrote:
>> Did you do any XML parsing in Emacs before this crash?
>> There is a well known bug in xmlCleanupParser that destroys thread
>> specific storage, see:
>> http://lists.fedoraproject.org/pipermail/devel/2010-January/129117.html.
>>
>> 	Jan D.
>
> Does emacs suffer from this issue?
>

I think so, xmlCleanupParser is called by parse_region every time it parses 
successfully.  According to the bug and documentation, xmlCleanupParser shall 
be called only when you are sure no more xml calls will be made by the 
program.  It is suggested to do this just before exit in case you are not 
sure, to avoid that valgrind (and other memory debuggers) report memory leaks.

	Jan D.





This bug report was last modified 12 years and 105 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.