bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#9413: 24.0.50; crash in x-show-tip


From: Jan Djärv
Subject: bug#9413: 24.0.50; crash in x-show-tip
Date: Fri, 02 Sep 2011 07:21:43 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:5.0) Gecko/20110624 Thunderbird/5.0



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.






reply via email to

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