all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Toby Allsopp <toby@mi6.gen.nz>
Cc: emacs-pretest-bug@gnu.org, rms@gnu.org
Subject: Re: 23.0.50; Crash in ediff-regions-linewise
Date: Sun, 14 Oct 2007 15:05:16 -0400	[thread overview]
Message-ID: <jwv4pgtr01d.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87wstq5cr6.fsf@candyboy.here> (Toby Allsopp's message of "Sun\, 14 Oct 2007 21\:19\:57 +1300")

>>>>> "Toby" == Toby Allsopp <toby@mi6.gen.nz> writes:

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

> Richard Stallman <rms@gnu.org> 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	other threads:[~2007-10-14 19:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-13  7:13 23.0.50; Crash in ediff-regions-linewise Toby Allsopp
2007-10-13 19:47 ` Richard Stallman
2007-10-14  8:19   ` Toby Allsopp
2007-10-14 19:05     ` Stefan Monnier [this message]
2007-10-14 20:01       ` Andreas Schwab
2007-10-16 15:43         ` Stefan Monnier
2007-10-15 20:39       ` Toby Allsopp
2007-10-16 15:50         ` Stefan Monnier
2007-10-17  5:42           ` Toby Allsopp
2007-10-17 14:03             ` Stefan Monnier
     [not found]   ` <874pgu5bxh.fsf@candyboy.here>
2007-10-15  1:37     ` Richard Stallman

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=jwv4pgtr01d.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=rms@gnu.org \
    --cc=toby@mi6.gen.nz \
    /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.