--- Begin Message ---
Subject: |
30.0.50; outline-minor-mode |
Date: |
Sat, 25 May 2024 11:20:39 +0200 |
When I start Emacs with
./src/emacs -Q src/print.c -f outline-minor-mode -f outline-hide-other --eval
'(progn (pop-to-buffer "print.c") (while t (next-line) (redisplay)))'
it crashes like so:
marker.c:331: Emacs fatal error: assertion failed: BUF_BEG_BYTE (b) <=
bytepos && bytepos <= BUF_Z_BYTE (b)
Fatal error 6: Aborted
The backtrace is attached.
g.log
Description: Text document
In GNU Emacs 30.0.50 (build 6, x86_64-pc-linux-gnu, GTK+ Version
3.24.38, cairo version 1.16.0) of 2024-05-17 built on caladan
Repository revision: 6ca3a60db3427bc6aef08144c1524920ff3d9c4d
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101007
System Description: Debian GNU/Linux 12 (bookworm)
Configured using:
'configure --enable-checking --without-native-compiler
--with-xpm=ifavailable --with-gif=ifavailable
--with-native-compilation=no --with-tree-sitter'
Configured features:
CAIRO DBUS FREETYPE GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LIBSELINUX
LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND
SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM
XINPUT2 GTK3 ZLIB
Important settings:
value of $LANG: C.UTF-8
locale-coding-system: utf-8-unix
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#71194: 30.0.50; outline-minor-mode |
Date: |
Sat, 25 May 2024 14:28:55 +0300 |
> From: Helmut Eller <eller.helmut@gmail.com>
> Date: Sat, 25 May 2024 11:20:39 +0200
>
> When I start Emacs with
>
> ./src/emacs -Q src/print.c -f outline-minor-mode -f outline-hide-other
> --eval '(progn (pop-to-buffer "print.c") (while t (next-line) (redisplay)))'
>
> it crashes like so:
>
> marker.c:331: Emacs fatal error: assertion failed: BUF_BEG_BYTE (b) <=
> bytepos && bytepos <= BUF_Z_BYTE (b)
> Fatal error 6: Aborted
>
> The backtrace is attached.
Thanks. This is an assertion violation. The assertion was added 11
years ago, when a change was made in xdisp.c that removed calculation
of BYTEPOS from CHARPOS when needed. The assertion was added because
the person who made the change thought that calculation of BYTEPOS was
unnecessary. It took 11 years to prove him wrong...
Should be fixed now on the emacs-29 branch, to be merged to master
shortly.
--- End Message ---