Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: query terminal properties on ZLE startup
- X-seq: zsh-workers 53373
- From: "Jun. T" <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: PATCH: query terminal properties on ZLE startup
- Date: Sat, 22 Feb 2025 23:50:01 +0900
- Archived-at: <https://zsh.org/workers/53373>
- In-reply-to: <42572-1740099942.836692@_3BM.v5Iz.JqiS>
- List-id: <zsh-workers.zsh.org>
- References: <42572-1740099942.836692@_3BM.v5Iz.JqiS>
With this patch the following tests fails (SIGSEGV):
V01zmodload, V02zregexparse, V05styles, V12zparseopts, V13zformat,
X03zlebindkey
I guess all of them have the same origin. In the case of V01zmodload,
it coredups in the test hunk 'Test loading of all compiled modules'.
The back trace is (Ubuntu-24.04):
#0 __GI__IO_fputs (
str=0x7ffe86846670 "\033]11;?\033\\\033]10;?\033\\\033[?u\033[>0q\033[c \r", fp=0x0) at ./libio/iofputs.c:36
#1 0x000007c28868d105 in probe_terminal (
tquery=0x7ffe86846670 "\033]11;?\033\\\033]10;?\033\\\033[?u\033[>0q\033[c \r",
states=0x7c2886935c0 <states> "<snip>", handle_seq=0x7c28868db79 <handle_query>) at termquery.c:218
#2 0x000007c28868df73 in query_terminal () at termquery.c:509
#3 0x000007c28866a433 in setup_ (m=0x58201a359e10) at zle_main.c:2244
#4 0x0000581fe854dc33 in dyn_setup_module (m=0x58201a359e10) at module.c:1804
#5 0x0000581fe854de8a in setup_module (m=0x58201a359e10) at module.c:1886
#6 0x0000581fe854fb88 in load_module (name=0x58201a359e50 "zsh/zle",
enablesarr=0x0, silent=0) at module.c:2292
#7 0x0000581fe854f634 in load_module (name=0x58201a355e80 "zsh/ksh93",
enablesarr=0x0, silent=0) at module.c:2271
termquery.c:218 is
fputs(tquery, shout);
and shout seens to be NULL ('fp=0x0' in frame #0).
Another test (X04zlehighlight) hangs at the hunk
'region highlight - standout overlapping on other region_highlight entry'
but I have no time to investigate further (sorry).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author