From: Jason Rumney <jasonr@gnu.org>
To: Jason Rumney <jasonr@gnu.org>
Cc: Eli Zaretskii <eliz@gnu.org>, cb <carstenblaauw@web.de>,
emacs-devel@gnu.org
Subject: Re: Emacs WIN32 crashes on reinitialzing of lisp process using slime
Date: Thu, 12 Apr 2007 23:40:15 +0100 [thread overview]
Message-ID: <461EB54F.40909@gnu.org> (raw)
In-Reply-To: <461EAF08.1050202@gnu.org>
Jason Rumney wrote:
> I have narrowed down the crash to a call to free_buffer_text(b) on
> line 4967 of buffer.c. It seems to be inlined, so in the stack trace
> it claims to be in Fkill_buffer, but the line number appears to be
> correct, as there is a call to r_alloc_free on that line, which is
> where the abort is coming from, apparently because b->text->beg (which
> we are freeing) is NULL.
>
> Changing r_alloc_free to handle freeing NULL silently will get rid of
> the crash, but may disguise other bugs.
Further investigation shows that the kill-buffer is called recursively
on the same buffer in slime-net-close, due to the hooks calling
slime-net-sentinel which in turn calls slime-net-close again.
So a simple test case can probably be found by trying to reproduce that
recursion.
next prev parent reply other threads:[~2007-04-12 22:40 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-11 19:01 Emacs WIN32 crashes on reinitialzing of lisp process using slime cb
2007-04-12 3:09 ` Eli Zaretskii
2007-04-12 5:31 ` cb
2007-04-12 19:11 ` Eli Zaretskii
2007-04-12 22:13 ` Jason Rumney
2007-04-12 22:40 ` Jason Rumney [this message]
2007-04-13 9:37 ` Eli Zaretskii
2007-04-13 9:57 ` Jason Rumney
2007-04-13 11:54 ` martin rudalics
2007-04-13 12:20 ` Kim F. Storm
2007-04-13 12:37 ` Jason Rumney
2007-04-13 12:52 ` Kim F. Storm
2007-04-13 18:38 ` Eli Zaretskii
2007-04-13 23:01 ` Kim F. Storm
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=461EB54F.40909@gnu.org \
--to=jasonr@gnu.org \
--cc=carstenblaauw@web.de \
--cc=eliz@gnu.org \
--cc=emacs-devel@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).