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: Tue, 16 Oct 2007 11:50:25 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

>> BTW recompiling with -DENABLE_CHECKING should catch these problems earlier
>> and with a more explicit failure.

> This makes temacs die due to a failed assertion.  See below for
> details.  I'm out of time to look into this further at the moment.

Hmm..... not sure why I didn't bump into this, but the patch below might
fix it.


        Stefan


Index: alloc.c
===================================================================
RCS file: /sources/emacs/emacs/src/alloc.c,v
retrieving revision 1.427
diff -u -u -b -r1.427 alloc.c
--- alloc.c     16 Oct 2007 15:42:58 -0000      1.427
+++ alloc.c     16 Oct 2007 15:48:10 -0000
@@ -4966,7 +4966,10 @@
       for (i = 0; i < size; i++)
        vec->contents[i] = Fpurecopy (XVECTOR (obj)->contents[i]);
       if (COMPILEDP (obj))
+       {
+         XSETPVECTYPE (vec, PVEC_COMPILED);
        XSETCOMPILED (obj, vec);
+       }
       else
        XSETVECTOR (obj, vec);
       return obj;


Diffs between working revision and workfile end here.




reply via email to

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