all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Andy Moreton <amoreton@solarflare.com>
Cc: 13664@debbugs.gnu.org
Subject: bug#13664: 24.3.50; assertion failed: ZV != ZV_BYTE || charpos == bytepos" alloc.c:6556
Date: Sat, 09 Feb 2013 20:45:38 +0200	[thread overview]
Message-ID: <83ehgp72ct.fsf@gnu.org> (raw)
In-Reply-To: <51168D4D.3010700@solarflare.com>

> Date: Sat, 9 Feb 2013 17:54:21 +0000
> From: Andy Moreton <amoreton@solarflare.com>
> 
> 
> Start a freshly bootstrapped emacs with my normal init file, including
> el-get. Something in el-get package loading triggers the assert
> (without el-get and the other packages it loads, emacs starts normally).
> The assertion failure is completely reproducible.
> 
> gdb backtrace:
> 
> Thread 1 (Thread 24412.0x59f4):
> #0  0x7c90120f in ntdll!DbgUiConnectToDbg () from 
> C:\WINDOWS\system32\ntdll.dll
> #1  0x01157790 in emacs_abort () at w32fns.c:7753
> #2  0x0100145d in terminate_due_to_signal (sig=0x16, 
> backtrace_limit=0x7fffffff) at emacs.c:343
> #3  0x01021e5d in die (msg=0x15fca94 "assertion failed: ZV != ZV_BYTE || charpos == bytepos", file=0x15fb860 "intervals.c", line=0x766) at alloc.c:6556
> #4  0x012e53af in set_point_both (charpos=0xa, bytepos=0xb) at intervals.c:1894

Some snafu with characters vs byte counts in a unibyte buffer.  It dies
here:

  /* In a single-byte buffer, the two positions must be equal.  */
  eassert (ZV != ZV_BYTE || charpos == bytepos);

If you revert the changes to syntax.c in revision 111693, does the
problem go away?





  reply	other threads:[~2013-02-09 18:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-09 22:42 bug#13667: 24.3.50; emacs_backtrace.txt Drew Adams
2013-02-09 23:02 ` Drew Adams
2013-02-10  5:40 ` Eli Zaretskii
2013-02-10 16:31   ` bug#13664: " Dmitry Antipov
2013-02-09 17:54     ` bug#13664: 24.3.50; assertion failed: ZV != ZV_BYTE || charpos == bytepos" alloc.c:6556 Andy Moreton
2013-02-09 18:45       ` Eli Zaretskii [this message]
2013-02-10 13:34         ` Andy Moreton
2013-02-10 18:32       ` bug#13664: bug#13667: 24.3.50; emacs_backtrace.txt Andy Moreton
2013-02-10 20:47         ` Glenn Morris

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=83ehgp72ct.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=13664@debbugs.gnu.org \
    --cc=amoreton@solarflare.com \
    /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.