bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32265: 26.1; yank-excluded-properties set to t triggers "Error in sy


From: Noam Postavsky
Subject: bug#32265: 26.1; yank-excluded-properties set to t triggers "Error in syntax_table logic for intervals <-" signal
Date: Tue, 31 Jul 2018 08:04:18 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

tags 32265 + confirmed
quit

Derek Upham <sand@blarg.net> writes:

> Evaluate '(kill-and-yank-loop)' in U.java.  Eventually Emacs will raise
> an error "Error in syntax_table logic for intervals <-".  The bug only
> appears when yank-excluded-properties is set to "t".

I get an assertion failure when running this, I assume the problem
occurs even earlier though, not sure how to catch it:

../../src/intervals.c:371: Emacs fatal error: assertion failed: LENGTH (i) > 0

#0  terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at 
../../src/emacs.c:364
#1  0x00000000006161d3 in die (msg=0x7795cd "LENGTH (i) > 0", file=0x7794f0 
"../../src/intervals.c", 
    line=371) at ../../src/alloc.c:7410
#2  0x00000000006b51c4 in balance_an_interval (i=0x32e9d78) at 
../../src/intervals.c:371
#3  0x00000000006b54a4 in balance_possible_root_interval (interval=0x32e9d78)
    at ../../src/intervals.c:420
#4  0x00000000006b579e in split_interval_right (interval=0x32e9d78, offset=-1)
    at ../../src/intervals.c:507
#5  0x00000000006bfe11 in set_text_properties_1 (start=make_number(8232), 
end=make_number(8474), 
    properties=XIL(0), object=XIL(0x2ff57f5), i=0x32e9d78) at 
../../src/textprop.c:1436
#6  0x00000000006bfcad in set_text_properties (start=make_number(8232), 
end=make_number(8474), 
    properties=XIL(0), object=XIL(0x2ff57f5), coherent_change_p=XIL(0xc090))
    at ../../src/textprop.c:1397
#7  0x00000000006bf9d6 in Fset_text_properties (start=make_number(8232), 
end=make_number(8474), 
    properties=XIL(0), object=XIL(0)) at ../../src/textprop.c:1304
#8  0x000000000063e4a6 in funcall_subr (subr=0xd81680 <Sset_text_properties>, 
numargs=3, 
    args=0x7fffffff9f80) at ../../src/eval.c:2856
(More stack frames follow...)

Lisp Backtrace:
"set-text-properties" (0xffff9f80)
"remove-yank-excluded-properties" (0xffffa4c8)
"insert-for-yank-1" (0xffffa9d8)
"insert-for-yank" (0xffffaea8)
"yank" (0xffffb310)
"kill-and-yank" (0xffffb590)
"while" (0xffffb880)
"let*" (0xffffba40)
"kill-and-yank-loop" (0xffffbb90)
"eval-buffer" (0xffffbfb0)
"load-with-code-conversion" (0xffffc538)
"load" (0xffffc918)
"command-line-1" (0xffffd270)
"command-line" (0xffffde88)
"normal-top-level" (0xffffe4b0)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]