emacs-devel
[Top][All Lists]
Advanced

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

Re: 23.0.50; Crash in ediff-regions-linewise


From: Stefan Monnier
Subject: Re: 23.0.50; Crash in ediff-regions-linewise
Date: Sun, 14 Oct 2007 15:05:16 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

>>>>> "Toby" == Toby Allsopp <address@hidden> writes:

> [I apologise if this is a duplicate message; my ISP bounced my first
> attempt.]

> Richard Stallman <address@hidden> writes:

>> The crash occurred trying to print some Lisp data.  Probably some data
>> is invalid -- but which data?  Please look at the data to see what if
>> anything is invalid.

> It appears that Fmake_indirect_buffer creates a buffer object that is
> invalid in some way.  This then fails a bufferp check and results in
> an error containing the invalid buffer object.

Can you try the patch below?
BTW recompiling with -DENABLE_CHECKING should catch these problems earlier
and with a more explicit failure.


        Stefan


--- buffer.c    10 oct 2007 11:29:34 -0400      1.535
+++ buffer.c    14 oct 2007 15:03:35 -0400      
@@ -568,6 +568,7 @@
 
   b = (struct buffer *) allocate_buffer ();
   b->size = sizeof (struct buffer) / sizeof (EMACS_INT);
+  XSETPVECTYPE (b, PVEC_BUFFER);
 
   if (XBUFFER (base_buffer)->base_buffer)
     b->base_buffer = XBUFFER (base_buffer)->base_buffer;




reply via email to

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