[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs WIN32 crashes on reinitialzing of lisp process using slime
From: |
Kim F. Storm |
Subject: |
Re: Emacs WIN32 crashes on reinitialzing of lisp process using slime |
Date: |
Fri, 13 Apr 2007 14:20:19 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.97 (gnu/linux) |
martin rudalics <address@hidden> writes:
>> I don't know. I couldn't reproduce it by setting a kill-buffer-hook that
>> calls kill-buffer, so it must be specific to the way it is done by slime
>> (using a process-sentinel rather than kill-buffer-hook).
>
> kill-buffer has a window of opportunity before it sets buffer-name to
> nil. Could you try reproducing the slime crash with the patch I sent to
> emacs-pretest?
Could you also try if the following (simpler) patch gives good results.
*** buffer.c 29 Mar 2007 22:06:47 +0200 1.525
--- buffer.c 13 Apr 2007 14:17:29 +0200
***************
*** 1458,1464 ****
--- 1458,1470 ----
unlock_buffer (b);
#endif /* CLASH_DETECTION */
+ GCPRO1 (buf);
kill_buffer_processes (buf);
+ UNGCPRO;
+
+ if (NILP (b->name))
+ return Qnil;
+
clear_charpos_cache (b);
tem = Vinhibit_quit;
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Emacs WIN32 crashes on reinitialzing of lisp process using slime, cb, 2007/04/11
- Re: Emacs WIN32 crashes on reinitialzing of lisp process using slime, Eli Zaretskii, 2007/04/11
- Re: Emacs WIN32 crashes on reinitialzing of lisp process using slime, cb, 2007/04/12
- Re: Emacs WIN32 crashes on reinitialzing of lisp process using slime, Eli Zaretskii, 2007/04/12
- Re: Emacs WIN32 crashes on reinitialzing of lisp process using slime, Jason Rumney, 2007/04/12
- Re: Emacs WIN32 crashes on reinitialzing of lisp process using slime, Jason Rumney, 2007/04/12
- Re: Emacs WIN32 crashes on reinitialzing of lisp process using slime, Eli Zaretskii, 2007/04/13
- Re: Emacs WIN32 crashes on reinitialzing of lisp process using slime, Jason Rumney, 2007/04/13
- Re: Emacs WIN32 crashes on reinitialzing of lisp process using slime, martin rudalics, 2007/04/13
- Re: Emacs WIN32 crashes on reinitialzing of lisp process using slime,
Kim F. Storm <=
- Re: Emacs WIN32 crashes on reinitialzing of lisp process using slime, Jason Rumney, 2007/04/13
- Re: Emacs WIN32 crashes on reinitialzing of lisp process using slime, Kim F. Storm, 2007/04/13
- Re: Emacs WIN32 crashes on reinitialzing of lisp process using slime, Eli Zaretskii, 2007/04/13
- Re: Emacs WIN32 crashes on reinitialzing of lisp process using slime, Kim F. Storm, 2007/04/13