zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh-workers@zsh.org
Subject: Re: Src/exec.c:3961: BUG: q = 13 != queue_in = 14
Date: Tue, 27 Jun 2017 10:07:48 +0100	[thread overview]
Message-ID: <20170627100748.4909a23b@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <1498552722.1206485.1022515336.5B080D32@webmail.messagingengine.com>

On Tue, 27 Jun 2017 08:38:42 +0000
Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
> The error is reproducible, but my current recipe requires z-sy-h.
> Haven't tried yet to minimize that, sorry.
> 
> Recipe:
> [[[
> $ git clone https://github.com/zsh-users/zsh-syntax-highlighting /tmp/zsh-syntax-highlighting
> $ Src/zsh -f 
> % source /tmp/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 
> % echo <TAB>
> 2: …/Src/exec.c:3961: BUG: q = 13 != queue_in = 14

I can see a couple in compctl.c... assuming zsh-syntax-highlighting
doesn't itself load compsys, they might be possibilities.

pws

diff --git a/Src/Zle/compctl.c b/Src/Zle/compctl.c
index 9e6ccb4..5414b8f 100644
--- a/Src/Zle/compctl.c
+++ b/Src/Zle/compctl.c
@@ -1867,6 +1867,7 @@ ccmakehookfn(UNUSED(Hookdef dummy), struct ccmakedat *dat)
 	    redup(osi, 0);
 
 	    dat->lst = 0;
+	    unqueue_signals();
 	    return 0;
 	}
 	if (lastmatches) {
@@ -1890,6 +1891,7 @@ ccmakehookfn(UNUSED(Hookdef dummy), struct ccmakedat *dat)
 	    redup(osi, 0);
 
 	    dat->lst = 0;
+	    unqueue_signals();
 	    return 0;
 	}
 	if (!m || !(m = m->next))


  reply	other threads:[~2017-06-27  9:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20170627083923epcas3p32d15a148fe8bae48a74f97377d20a018@epcas3p3.samsung.com>
2017-06-27  8:38 ` Daniel Shahaf
2017-06-27  9:07   ` Peter Stephenson [this message]
2017-06-27  9:14     ` Daniel Shahaf

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=20170627100748.4909a23b@pwslap01u.europe.root.pri \
    --to=p.stephenson@samsung.com \
    --cc=zsh-workers@zsh.org \
    /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 public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).