zsh-workers
 help / color / mirror / code / Atom feed
* crash when Tab is pressed multiple times with zimfw installed
@ 2023-04-25 16:27 zhuzhzh
  0 siblings, 0 replies; only message in thread
From: zhuzhzh @ 2023-04-25 16:27 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 3610 bytes --]

Hi Expert,

I update my zsh. Then it will crash if I press Tab key multiple times.

I have zimfw (https://zimfw.sh/) installed, which use some plugins like

zmodule zsh-users/zsh-syntax-highlighting
zmodule zsh-users/zsh-autosuggestions

If I doesn't enable them,  the crash doesn't occur.


I find the issue is brought since the commit f93ad02b94bd18c96a0861506127e3a246fb8eec .
See the details below.

Regards,
Harris




$ git bisect good
f93ad02b94bd18c96a0861506127e3a246fb8eec is the first bad commit
commit f93ad02b94bd18c96a0861506127e3a246fb8eec
Author: Bart Schaefer <schaefer@zsh.org>
Date:   Sat Jan 21 19:18:15 2023 -0800

    51310: zle -F handlers preserve LASTWIDGET

    Also fix email address in an old ChangeLog entry

 ChangeLog          | 6 +++++-
 Src/Zle/zle_main.c | 2 ++
 2 files changed, 7 insertions(+), 1 deletion(-)

$ git show f93ad02b94bd18c96a0861506127e3a246fb8eec
commit f93ad02b94bd18c96a0861506127e3a246fb8eec
Author: Bart Schaefer <schaefer@zsh.org>
Date:   Sat Jan 21 19:18:15 2023 -0800

    51310: zle -F handlers preserve LASTWIDGET

    Also fix email address in an old ChangeLog entry


Δ ChangeLog
────────────────────────────────────────────────────────────────────────────

─────┐
• 1: │
─────┘
2023-01-21  Bart Schaefer  <schaefer@zsh.org>

    * 51310: Src/Zle/zle_main.c: zle -F handlers preserve LASTWIDGET

2023-01-16  Peter Stephenson  <p.stephenson@samsung.com>

    * 51278: Src/params.c, Test/D06subscript.ztst: result of (i)

───────┐
• 631: │
───────┘

    * 49960: Doc/Zsh/compsys.yo: Sort lists in zshcompsys.

2022-04-05  Bart Schaefer  <schaefer@toltec-ubuntu>
2022-04-05  Bart Schaefer  <schaefer@zsh.org>

    * 49994: Src/glob.c: Single-byte equivalence of users/22601 and
    workers/40891 for matching against zero-length strings

Δ Src/Zle/zle_main.c
────────────────────────────────────────────────────────────────────────────

───────────────────────────────────────────────────────────┐
• 737: raw_getbyte(long do_keytmout, char *cptr, int full) │
───────────────────────────────────────────────────────────┘
            ) {
            /* Handle the fd. */
            char *fdbuf;
            Thingy save_lbindk = lbindk;
            {
                char buf[BDIGBUFSIZE];
                convbase(buf, lwatch_fd->fd, 10);

───────────────────────────────────────────────────────────┐
• 780: raw_getbyte(long do_keytmout, char *cptr, int full) │
───────────────────────────────────────────────────────────┘
                 */
                errtry = 1;
            }
            lbindk = save_lbindk;
            }
        }
        /* Function may have invalidated the display. */

[-- Attachment #2: Type: text/html, Size: 5682 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-25 16:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-25 16:27 crash when Tab is pressed multiple times with zimfw installed zhuzhzh

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).