all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Derek Upham <sand@blarg.net>
Cc: 32265@debbugs.gnu.org
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	[thread overview]
Message-ID: <87lg9r1uil.fsf@gmail.com> (raw)
In-Reply-To: <87lg9zgal6.fsf@priss.frightenedpiglet.com> (Derek Upham's message of "Tue, 24 Jul 2018 22:15:17 -0700")

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	other threads:[~2018-07-31 12:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-25  5:15 bug#32265: 26.1; yank-excluded-properties set to t triggers "Error in syntax_table logic for intervals <-" signal Derek Upham
2018-07-31 12:04 ` Noam Postavsky [this message]
2018-07-31 16:15   ` Eli Zaretskii
2018-08-01  1:06     ` Noam Postavsky
2018-08-01 10:15       ` Eli Zaretskii
2018-08-01 13:54         ` Derek Upham
2018-08-01 15:38           ` Eli Zaretskii
2018-08-02  4:44             ` Derek Upham
2018-08-02 13:31               ` Eli Zaretskii

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=87lg9r1uil.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=32265@debbugs.gnu.org \
    --cc=sand@blarg.net \
    /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.