unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24001: 25.0.95; Assertion failure in bidi.c with nhexl-mode
@ 2016-07-16  3:53 Stefan Monnier
  2016-07-16  9:05 ` Clément Pit--Claudel
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Monnier @ 2016-07-16  3:53 UTC (permalink / raw)
  To: 24001


% src/emacs -Q -l elpa/packages/nhexl-mode/nhexl-mode.el lisp/subr.el -f
nhexl-mode

And then do C-v enough times (about 10 times) gives me an assertion
violation

bidi.c:2988: Emacs fatal error: assertion failed: bidi_it->next_for_neutral.charpos > bidi_it->charpos || (bidi_it->next_for_neutral.charpos == bidi_it->charpos && bidi_it->type == PDI)

Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=6, 
    backtrace_limit=2147483647) at emacs.c:353
(gdb) bt
#0  terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:353
#1  0x08212147 in die (
    msg=0x830f2f0 "bidi_it->next_for_neutral.charpos > bidi_it->charpos || (bidi_it->next_for_neutral.charpos == bidi_it->charpos && bidi_it->type == PDI)", 
    file=0x830eddc "bidi.c", line=2988) at alloc.c:7223
#2  0x0813b977 in bidi_resolve_neutral (bidi_it=0xffffa97c) at bidi.c:2984
#3  0x0813bbcf in bidi_type_of_next_char (bidi_it=bidi_it@entry=0xffffa97c)
    at bidi.c:3160
#4  0x0813bd32 in bidi_level_of_next_char (bidi_it=bidi_it@entry=0xffffa97c)
    at bidi.c:3227
#5  0x0813c8f9 in bidi_move_to_visually_next (bidi_it=0xffffa97c)
    at bidi.c:3420
#6  0x080a0a6f in set_iterator_to_next (it=it@entry=0xffffa3c8, 
    reseat_p=reseat_p@entry=true) at xdisp.c:7428
#7  0x080ae6b8 in display_line (it=it@entry=0xffffa3c8) at xdisp.c:20997
#8  0x080af3e5 in try_window (window=..., pos=..., flags=0) at xdisp.c:17198
#9  0x080c7129 in redisplay_window (window=..., window@entry=..., 
    just_this_one_p=just_this_one_p@entry=false) at xdisp.c:16394
#10 0x080cafb3 in redisplay_window_0 (window=...) at xdisp.c:14446
#11 0x082394e7 in internal_condition_case_1 (
    bfun=0x80caf87 <redisplay_window_0>, arg=..., handlers=..., 
    hfun=0x8073e75 <redisplay_window_error>) at eval.c:1333
#12 0x08082ba7 in redisplay_windows (window=...) at xdisp.c:14426
#13 0x080b533a in redisplay_internal () at xdisp.c:13986
#14 0x080b6f41 in redisplay () at xdisp.c:13214
#15 0x081a8b9e in read_char (commandflag=1, map=..., prev_event=..., 
    used_mouse_menu=0xffffd17b, end_time=0x0) at keyboard.c:2477
#16 0x081aac0b in read_key_sequence (keybuf=keybuf@entry=0xffffd1f8, 
    bufsize=bufsize@entry=30, prompt=..., prompt@entry=..., 
    dont_downcase_last=false, can_return_switch_frame=true, 
    fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9063
#17 0x081ad1f1 in command_loop_1 () at keyboard.c:1365
#18 0x08239472 in internal_condition_case (bfun=0x81ace6e <command_loop_1>, 
    handlers=..., hfun=0x819d8d0 <cmd_error>) at eval.c:1309
#19 0x08196203 in command_loop_2 (ignore=...) at keyboard.c:1107
#20 0x082393e9 in internal_catch (tag=..., func=0x81961e2 <command_loop_2>, 
    arg=...) at eval.c:1074
#21 0x08196192 in command_loop () at keyboard.c:1086
#22 0x0819d367 in recursive_edit_1 () at keyboard.c:692
#23 0x0819d7eb in Frecursive_edit () at keyboard.c:763
#24 0x08195913 in main (argc=<optimized out>, argv=0xffffd4d4) at emacs.c:1606

Lisp Backtrace:
"redisplay_internal (C function)" (0x0)
(gdb) 



In GNU Emacs 25.0.95.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.30)
 of 2016-07-12 built on ceviche
Repository revision: 069fc05bd5fabdd5971e2c5230a8586248fb7f38
Windowing system distributor 'The X.Org Foundation', version 11.0.11802000
System Description:	Debian GNU/Linux testing (stretch)

Configured using:
 'configure -C --enable-checking --enable-check-lisp-object-type
 'CFLAGS=-Wall -g3 -Og -Wno-pointer-sign'
 PKG_CONFIG_PATH=/home/monnier/lib/pkgconfig'

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GCONF GSETTINGS NOTIFY GNUTLS
LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11

Important settings:
  value of $LANG: fr_CH.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  outline-minor-mode: t
  flyspell-mode: t
  checkdoc-minor-mode: t
  electric-pair-mode: t
  url-handler-mode: t
  global-reveal-mode: t
  reveal-mode: t
  auto-insert-mode: t
  savehist-mode: t
  minibuffer-electric-default-mode: t
  global-compact-docstrings-mode: t
  compact-docstrings-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  global-prettify-symbols-mode: t
  prettify-symbols-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
.emacs start
Loading /home/monnier/src/elisp/twelf/autoloads...done
Loading /home/monnier/src/elisp/haskell-mode/haskell-site-file.el (source)...done
Loading ~/src/elisp/bbdb/lisp/bbdb-autoloads...done
Loading /home/monnier/src/elisp/ProofGeneral/generic/proof-site.el (source)...done
Loading /home/monnier/etc/emacs/X11.el (source)...done
Loading /home/monnier/etc/emacs/custom.el (source)...done
Starting new Ispell process /usr/bin/aspell with american dictionary...
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
/home/monnier/src/emacs/elpa/packages/ada-mode/ada-ref-man hides /home/monnier/src/emacs/elpa/packages/ada-ref-man/ada-ref-man
/home/monnier/src/emacs/elpa/packages/ada-mode/ada-xref hides /home/monnier/src/emacs/emacs-25/lisp/progmodes/ada-xref
/home/monnier/src/emacs/elpa/packages/ada-mode/ada-mode hides /home/monnier/src/emacs/emacs-25/lisp/progmodes/ada-mode
/home/monnier/src/emacs/elpa/packages/ada-mode/ada-stmt hides /home/monnier/src/emacs/emacs-25/lisp/progmodes/ada-stmt
/home/monnier/src/emacs/elpa/packages/ada-mode/ada-prj hides /home/monnier/src/emacs/emacs-25/lisp/progmodes/ada-prj
/home/monnier/src/emacs/elpa/packages/cl-generic/cl-generic hides /home/monnier/src/emacs/emacs-25/lisp/emacs-lisp/cl-generic
/home/monnier/src/emacs/elpa/packages/seq/seq hides /home/monnier/src/emacs/emacs-25/lisp/emacs-lisp/seq
/home/monnier/src/emacs/elpa/packages/landmark/landmark hides /home/monnier/src/emacs/emacs-25/lisp/obsolete/landmark
/home/monnier/src/emacs/elpa/packages/crisp/crisp hides /home/monnier/src/emacs/emacs-25/lisp/obsolete/crisp

Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils
noutline outline easy-mmode flyspell ispell checkdoc thingatpt load-dir
elec-pair url-handlers reveal autoinsert proof-site proof-autoloads cl
pg-vars savehist minibuf-eldef disp-table compact-docstrings advice info
finder-inf url-auth url-parse auth-source cl-seq eieio eieio-core
cl-macs gnus-util mm-util help-fns mail-prsvr password-cache url-vars
package epg-config seq byte-opt gv bytecomp byte-compile cl-extra
help-mode easymenu cconv cl-loaddefs pcase cl-lib bbdb-autoloads
time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset
image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote dbusbind inotify dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit
x multi-tty make-network-process emacs)

Memory information:
((conses 8 137951 7145)
 (symbols 24 24519 0)
 (miscs 20 72 335)
 (strings 16 32855 6142)
 (string-bytes 1 1123996)
 (vectors 8 17928)
 (vector-slots 4 505906 2656)
 (floats 8 241 149)
 (intervals 28 257 0)
 (buffers 520 19)
 (heap 1024 29140 949))





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#24001: 25.0.95; Assertion failure in bidi.c with nhexl-mode
  2016-07-16  3:53 bug#24001: 25.0.95; Assertion failure in bidi.c with nhexl-mode Stefan Monnier
@ 2016-07-16  9:05 ` Clément Pit--Claudel
  2016-07-16 12:09   ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Clément Pit--Claudel @ 2016-07-16  9:05 UTC (permalink / raw)
  To: 24001; +Cc: Stefan Monnier


[-- Attachment #1.1: Type: text/plain, Size: 1103 bytes --]

On 2016-07-16 05:53, Stefan Monnier wrote:
> % src/emacs -Q -l elpa/packages/nhexl-mode/nhexl-mode.el lisp/subr.el -f
> nhexl-mode
> 
> And then do C-v enough times (about 10 times) gives me an assertion
> violation

I'm not seeing in GNU Emacs 25.1.50.3 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
 of 2016-07-16 built on clem-w50-mint
Repository revision: 867041f9c6f713a4c73cfbf467e9ceee79a6214a
Windowing system distributor 'The X.Org Foundation', version 11.0.11803000
System Description:	Linux Mint 18 Sarah

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Nhexl mode enabled in current buffer
Quit [2 times]
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 LIBSYSTEMD

Important settings:
  value of $LC_MONETARY: en_DK.UTF-8
  value of $LC_NUMERIC: en_DK.UTF-8
  value of $LC_TIME: en_DK.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#24001: 25.0.95; Assertion failure in bidi.c with nhexl-mode
  2016-07-16  9:05 ` Clément Pit--Claudel
@ 2016-07-16 12:09   ` Eli Zaretskii
  2016-07-16 13:44     ` Eli Zaretskii
  2016-07-16 13:58     ` Clément Pit--Claudel
  0 siblings, 2 replies; 8+ messages in thread
From: Eli Zaretskii @ 2016-07-16 12:09 UTC (permalink / raw)
  To: Clément Pit--Claudel; +Cc: 24001, monnier

> From: Clément Pit--Claudel <clement.pit@gmail.com>
> Date: Sat, 16 Jul 2016 11:05:50 +0200
> Cc: Stefan Monnier <monnier@iro.umontreal.ca>
> 
> On 2016-07-16 05:53, Stefan Monnier wrote:
> > % src/emacs -Q -l elpa/packages/nhexl-mode/nhexl-mode.el lisp/subr.el -f
> > nhexl-mode
> > 
> > And then do C-v enough times (about 10 times) gives me an assertion
> > violation
> 
> I'm not seeing in GNU Emacs 25.1.50.3 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
>  of 2016-07-16 built on clem-w50-mint

Did you configure with --enable-checking?  If not, every eassert
compiles to nothing.

I do see this here.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#24001: 25.0.95; Assertion failure in bidi.c with nhexl-mode
  2016-07-16 12:09   ` Eli Zaretskii
@ 2016-07-16 13:44     ` Eli Zaretskii
  2016-07-16 14:23       ` Clément Pit--Claudel
  2016-07-17  1:54       ` Stefan Monnier
  2016-07-16 13:58     ` Clément Pit--Claudel
  1 sibling, 2 replies; 8+ messages in thread
From: Eli Zaretskii @ 2016-07-16 13:44 UTC (permalink / raw)
  To: monnier; +Cc: 24001, clement.pit

> Date: Sat, 16 Jul 2016 15:09:49 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 24001@debbugs.gnu.org, monnier@iro.umontreal.ca
> 
> > From: Clément Pit--Claudel <clement.pit@gmail.com>
> > Date: Sat, 16 Jul 2016 11:05:50 +0200
> > Cc: Stefan Monnier <monnier@iro.umontreal.ca>
> > 
> > On 2016-07-16 05:53, Stefan Monnier wrote:
> > > % src/emacs -Q -l elpa/packages/nhexl-mode/nhexl-mode.el lisp/subr.el -f
> > > nhexl-mode
> > > 
> > > And then do C-v enough times (about 10 times) gives me an assertion
> > > violation
> > 
> > I'm not seeing in GNU Emacs 25.1.50.3 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
> >  of 2016-07-16 built on clem-w50-mint
> 
> Did you configure with --enable-checking?  If not, every eassert
> compiles to nothing.
> 
> I do see this here.

Should be fixed now on the emacs-25 branch.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#24001: 25.0.95; Assertion failure in bidi.c with nhexl-mode
  2016-07-16 12:09   ` Eli Zaretskii
  2016-07-16 13:44     ` Eli Zaretskii
@ 2016-07-16 13:58     ` Clément Pit--Claudel
  1 sibling, 0 replies; 8+ messages in thread
From: Clément Pit--Claudel @ 2016-07-16 13:58 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 24001, monnier


[-- Attachment #1.1: Type: text/plain, Size: 776 bytes --]

On 2016-07-16 14:09, Eli Zaretskii wrote:
>> From: Clément Pit--Claudel <clement.pit@gmail.com>
>> > Date: Sat, 16 Jul 2016 11:05:50 +0200
>> > Cc: Stefan Monnier <monnier@iro.umontreal.ca>
>> > 
>> > On 2016-07-16 05:53, Stefan Monnier wrote:
>>> > > % src/emacs -Q -l elpa/packages/nhexl-mode/nhexl-mode.el lisp/subr.el -f
>>> > > nhexl-mode
>>> > > 
>>> > > And then do C-v enough times (about 10 times) gives me an assertion
>>> > > violation
>> > 
>> > I'm not seeing in GNU Emacs 25.1.50.3 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
>> >  of 2016-07-16 built on clem-w50-mint
> Did you configure with --enable-checking?  If not, every eassert
> compiles to nothing.

Thanks. I thought I did, but I tried it with the wrong build. Sorry for the noise.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#24001: 25.0.95; Assertion failure in bidi.c with nhexl-mode
  2016-07-16 13:44     ` Eli Zaretskii
@ 2016-07-16 14:23       ` Clément Pit--Claudel
  2016-07-16 15:38         ` Eli Zaretskii
  2016-07-17  1:54       ` Stefan Monnier
  1 sibling, 1 reply; 8+ messages in thread
From: Clément Pit--Claudel @ 2016-07-16 14:23 UTC (permalink / raw)
  To: Eli Zaretskii, monnier; +Cc: 24001


[-- Attachment #1.1: Type: text/plain, Size: 117 bytes --]

On 2016-07-16 15:44, Eli Zaretskii wrote:
> Should be fixed now on the emacs-25 branch.

Indeed, confirmed! :)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#24001: 25.0.95; Assertion failure in bidi.c with nhexl-mode
  2016-07-16 14:23       ` Clément Pit--Claudel
@ 2016-07-16 15:38         ` Eli Zaretskii
  0 siblings, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2016-07-16 15:38 UTC (permalink / raw)
  To: Clément Pit--Claudel; +Cc: 24001, monnier

> Cc: 24001@debbugs.gnu.org
> From: Clément Pit--Claudel <clement.pit@gmail.com>
> Date: Sat, 16 Jul 2016 16:23:27 +0200
> 
> On 2016-07-16 15:44, Eli Zaretskii wrote:
> > Should be fixed now on the emacs-25 branch.
> 
> Indeed, confirmed! :)

Thanks.

Stefan, please close the bug, unless you see any leftovers.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#24001: 25.0.95; Assertion failure in bidi.c with nhexl-mode
  2016-07-16 13:44     ` Eli Zaretskii
  2016-07-16 14:23       ` Clément Pit--Claudel
@ 2016-07-17  1:54       ` Stefan Monnier
  1 sibling, 0 replies; 8+ messages in thread
From: Stefan Monnier @ 2016-07-17  1:54 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 24001-done

> Should be fixed now on the emacs-25 branch.

Thanks,


        Stefan





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-07-17  1:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-16  3:53 bug#24001: 25.0.95; Assertion failure in bidi.c with nhexl-mode Stefan Monnier
2016-07-16  9:05 ` Clément Pit--Claudel
2016-07-16 12:09   ` Eli Zaretskii
2016-07-16 13:44     ` Eli Zaretskii
2016-07-16 14:23       ` Clément Pit--Claudel
2016-07-16 15:38         ` Eli Zaretskii
2016-07-17  1:54       ` Stefan Monnier
2016-07-16 13:58     ` Clément Pit--Claudel

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).