all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Leo <sdl.web@gmail.com>
Cc: 9413@debbugs.gnu.org, sds@gnu.org
Subject: bug#9413: 24.0.50; crash in x-show-tip
Date: Fri, 02 Sep 2011 07:21:43 +0200	[thread overview]
Message-ID: <4E6067E7.1010600@swipnet.se> (raw)
In-Reply-To: <m14o0vr6z3.fsf@gmail.com>



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	other threads:[~2011-09-02  5:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-31 19:37 bug#9413: 24.0.50; crash in x-show-tip Sam Steingold
2011-09-01  6:27 ` Jan D.
2011-09-01 22:26   ` Sam Steingold
2011-09-03 14:13     ` Jan Djärv
2011-09-02  2:52   ` Leo
2011-09-02  5:21     ` Jan Djärv [this message]
2011-09-03 21:56       ` Lars Magne Ingebrigtsen
2011-09-03 22:06         ` Jan Djärv

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=4E6067E7.1010600@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=9413@debbugs.gnu.org \
    --cc=sdl.web@gmail.com \
    --cc=sds@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 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.