GNU bug report logs - #13664
24.3.50; assertion failed: ZV != ZV_BYTE || charpos == bytepos" alloc.c:6556

Previous Next

Package: emacs;

Reported by: Andy Moreton <amoreton <at> solarflare.com>

Date: Sat, 9 Feb 2013 18:16:02 UTC

Severity: normal

Merged with 13667, 13669

Found in version 24.3.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andy Moreton <amoreton <at> solarflare.com>
Cc: 13664 <at> 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
> Date: Sat, 9 Feb 2013 17:54:21 +0000
> From: Andy Moreton <amoreton <at> 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?




This bug report was last modified 12 years and 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.