Hi, while I jumped forward and backward through the completions, Zsh crashed with a coredump. I can't tell any more and I can't reproduce it. ``` % zsh --version zsh 5.8 (x86_64-debian-linux-gnu) % coredumpctl --debugger =gdb-bt-full debug PID: 80311 (zsh) UID: 1000 (joerg) GID: 1000 (joerg) Signal: 11 (SEGV) Timestamp: Thu 2021-09-16 17:54:45 CEST (2h 40min ago) Command Line: zsh Executable: /usr/bin/zsh Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/awesome.service Unit: user@1000.service User Unit: awesome.service Slice: user-1000.slice Owner UID: 1000 (joerg) Boot ID: a0dd9e882602483495a4591f57f4e4a3 Machine ID: 523cb54753234ed08c13ec497d0d3b64 Hostname: zenbook Storage: /var/lib/systemd/coredump/core.zsh.1000.a0dd9e882602483495a4591f57f4e4a3.80311.1631807685000000.zst (present) Disk Size: 504.8K Message: Process 80311 (zsh) of user 1000 dumped core. Found module linux-vdso.so.1 with build-id: d295f4e3c841868283e5a431bb658ab607ddf4df Found module computil.so with build-id: df3d864af5c068bab19669e6165b25bba596ed03 Found module complist.so with build-id: 5fdf527ed74682ccdc3ced31bc995595378f3de4 Found module stat.so with build-id: 8ad1b23b2b4a55f681869578dda172aebe39896c Found module parameter.so with build-id: 3407f929bd73a91b0109061fc6a071d67002fdb8 Found module zutil.so with build-id: 8260674235a86d5dd17e6dc066c87a00f6de8b51 Found module complete.so with build-id: b5eb9c6df497090315fed5e469faa39a1e1dba66 Found module zle.so with build-id: fb6462e8dd692ba5d304d0cba3b332b410c793bc Found module terminfo.so with build-id: 8bb8368eceea389b774720b7f70baead1d0a58b5 Found module libnss_files.so.2 with build-id: d67972b1c26a08eb13fca9f83004e591d646b4f9 Found module ld-linux-x86-64.so.2 with build-id: 6211a5e83642f3c0cb0b1670ee201d1d9d72e05e Found module libc.so.6 with build-id: 01c84302cf3f6cc425d99475eea3d3423f9e9454 Found module libm.so.6 with build-id: b44ca5e7a0f28dcd69da4204a1b36597109fd4aa Found module libtinfo.so.6 with build-id: 69f5032af49a249767adb9157e01de4981a95620 Found module libdl.so.2 with build-id: e3eb1a873134b05c621c37b47d8a7d94ca31ea74 Found module libcap.so.2 with build-id: a6034f7fc277ee9d9714c2b288b419498225156f Found module zsh with build-id: f4907c596a5004e3afc002403b3161c2c379340c Stack trace of thread 80311: #0 0x00007ff6970db4b6 n/a (complist.so + 0xb4b6) #1 0x00007ff69718d6cc list_matches (complete.so + 0x216cc) #2 0x00007ff6971c1c44 zrefresh (zle.so + 0x2dc44) #3 0x00007ff6970d5ef1 n/a (complist.so + 0x5ef1) #4 0x00005600457139c9 runhookdef (zsh + 0x689c9) #5 0x00007ff697178ac7 after_complete (complete.so + 0xcac7) #6 0x00007ff6971ca377 n/a (zle.so + 0x36377) #7 0x00007ff6971c6990 completecall (zle.so + 0x32990) #8 0x00007ff6971b5b2a execzlefunc (zle.so + 0x21b2a) #9 0x00007ff6971b6133 zlecore (zle.so + 0x22133) #10 0x00007ff6971b6ffc zleread (zle.so + 0x22ffc) #11 0x00005600456fe638 zleentry (zsh + 0x53638) #12 0x00005600456ffb4b n/a (zsh + 0x54b4b) #13 0x00005600456f7827 n/a (zsh + 0x4c827) #14 0x0000560045709476 n/a (zsh + 0x5e476) #15 0x000056004572a326 parse_event (zsh + 0x7f326) #16 0x00005600456faf79 loop (zsh + 0x4ff79) #17 0x00005600456fec56 zsh_main (zsh + 0x53c56) #18 0x00007ff6973ebe4a __libc_start_main (libc.so.6 + 0x27e4a) #19 0x00005600456c2d7a _start (zsh + 0x17d7a) [New LWP 80311] Core was generated by `zsh'. Program terminated with signal SIGSEGV, Segmentation fault. #0 singledraw () at ../../../Src/Zle/complist.c:1948 Download failed: Invalid argument. Continuing without source file ./obj/Src/Zle/../../../Src/Zle/complist.c. 1948 ../../../Src/Zle/complist.c: Inappropriate ioctl for device. #0 singledraw () at ../../../Src/Zle/complist.c:1948 g = 0x0 mc1 = 150 ml1 = 1 lc2 = 0 t2 = <optimized out> mc2 = 0 ml2 = 2 md1 = 1 mcc1 = 5 md2 = 2 mcc2 = 0 lc1 = 1 t1 = <optimized out> g = <optimized out> mc1 = <optimized out> mc2 = <optimized out> ml1 = <optimized out> ml2 = <optimized out> md1 = <optimized out> md2 = <optimized out> mcc1 = <optimized out> mcc2 = <optimized out> lc1 = <optimized out> lc2 = <optimized out> t1 = <optimized out> t2 = <optimized out> i = <optimized out> #1 complistmatches (dummy=<optimized out>, dat=<optimized out>) at ../../../Src/Zle/complist.c:2097 onlnct = 1 extendedglob = 1 oamatches = <optimized out> #2 0x00007ff69718d6cc in list_matches (dummy=<optimized out>, dummy2=<optimized out>) at ../../../Src/Zle/compresult.c:2317 dat = {matches = 0x560045bca4e0, num = 8, nmesg = 32758, cur = 0x0} ret = <optimized out> #3 0x00007ff6971c1c44 in zrefresh () at ../../../Src/Zle/zle_refresh.c:1769 inlist = 1 iln = <optimized out> t0 = <optimized out> tmpline = 0x560045ba4da0 L"\x25bf4594嘅\x45997010嘀eract /mnt/other/Image020503221153.pdf - -l eng > Pragmatic-Programmer-5.txt" t = <optimized out> scs = <optimized out> u = <optimized out> tmpcs = <optimized out> tmpll = 80 tmppos = <optimized out> tmpalloced = 0 remetafy = 0 txtchange = <optimized out> rprompt_off = <optimized out> rpms = {canscroll = 0, ln = 0, more_status = 0, nvcs = 63, nvln = 0, tosln = 0, s = 0x560045ba2c20, sen = 0x560045ba2fc0} width = <optimized out> #4 0x00007ff6970d5ef1 in domenuselect (dummy=<optimized out>, dat=0x7fff5ef49320) at ../../../Src/Zle/complist.c:2571 fdat = 0x7fff5ef49320 lastsearch = 0x0 p = 0x560045bcbb30 pg = 0x560045bcca28 cmd = 0x7ff6971e1688 <thingies+360> do_last_key = <optimized out> u = 0x0 i = <optimized out> acc = <optimized out> wishcol = <optimized out> setwish = <optimized out> oe = 0 wasnext = <optimized out> space = <optimized out> lbeg = <optimized out> step = <optimized out> wrap = <optimized out> pl = 1 broken = 0 first = 0 nolist = <optimized out> mode = 0 modecs = 30 modell = 68 modelen = 20 wasmeta = 1 s = <optimized out> status = "\000\235\274E\000V\000\000\000\000\000\000\000\000\000\000\030x\036\227\366\177\000\000\000\213\235\313zE}\216\200\263xE\000V\000\000̮xE\000V", '\000' <repeats 18 times>, "\030x\036\227\366\177\000\000Y\372\027\227\366\177\000\000\350|\036\227\366\177\000\000x-\000\000\001", '\000' <repeats 11 times>, "F\350\030\227\366\177\000\000\001\000\000\000\366\177\000\000\000աE\000V\000" modeline = 0x7ff6971f8c20 "tesseract /mnt/other/Image.pdf - -l eng > Pragmatic-Programmer-5.txt" #5 0x00005600457139c9 in runhookdef (h=0x7ff697193208 <comphooks+40>, d=0x7fff5ef49320) at ../../Src/module.c:1001 p = 0x560045bb86c0 r = <optimized out> #6 0x00007ff697178ac7 in after_complete (dummy=<optimized out>, dat=0x7fff5ef49428) at ../../../Src/Zle/compcore.c:518 cdat = {matches = 0x560045bca4e0, num = 8, nmesg = 0, cur = 0x0} ret = <optimized out> #7 0x00007ff6971ca377 in docomplete (lst=<optimized out>) at ../../../Src/Zle/zle_tricky.c:878 active = 1 s = 0x560045ba5000 "\200R\274E" ol = 0x0 olst = <optimized out> chl = 0 ne = 0 ocs = <optimized out> ret = 0 dat = {0, 0} #8 0x00007ff6971c6990 in completecall (args=args@entry=0x7ff6971e7818 <zlenoargs>) at ../../../Src/Zle/zle_tricky.c:207 No locals. #9 0x00007ff6971b5b2a in execzlefunc (func=0x7ff6971e1cf0 <thingies+2000>, args=args@entry=0x7ff6971e7818 <zlenoargs>, set_bindk=set_bindk@entry=0, set_lbindk=set_lbindk@entry=0) at ../../../Src/Zle/zle_main.c:1466 atcurhist = <optimized out> inuse = 0 wflags = 518 r = <optimized out> ret = <optimized out> remetafy = 0 nestedvichg = 0 isrepeat = 0 w = 0x560045a2cb30 save_bindk = 0x7ff6971e1cf0 <thingies+2000> save_lbindk = 0x7ff6971e1cf0 <thingies+2000> #10 0x00007ff6971b6133 in zlecore () at ../../../Src/Zle/zle_main.c:1143 km = <optimized out> #11 0x00007ff6971b6ffc in zleread (lp=<optimized out>, rp=<optimized out>, flags=<optimized out>, context=<optimized out>, init=0x7ff6971d641d "zle-line-init", finish=0x7ff6971d640d "zle-line-finish") at ../../../Src/Zle/zle_main.c:1350 s = <optimized out> bracket = 0x560045a0be70 old_errno = 2 tmout = <optimized out> #12 0x00005600456fe638 in zleentry (cmd=cmd@entry=1) at ../../Src/init.c:1627 ret = 0x0 ap = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fff5ef49900, reg_save_area = 0x7fff5ef49840}} #13 0x00005600456ffb4b in inputline () at ../../Src/input.c:295 flags = <optimized out> ingetcline = <optimized out> ingetcpmptl = <optimized out> ingetcpmptr = <optimized out> context = <optimized out> ingetcline = <optimized out> ingetcpmptl = <optimized out> ingetcpmptr = <optimized out> context = <optimized out> pptbuf = <optimized out> pptlen = <optimized out> flags = <optimized out> stripptr = <optimized out> ct = <optimized out> ptr = <optimized out> oinbuf = <optimized out> newlen = <optimized out> oldlen = <optimized out> #14 ingetc () at ../../Src/input.c:228 lastc = 32 #15 0x00005600456ffcff in ingetc () at ../../Src/input.c:196 lastc = 32 #16 0x00005600456f7827 in ihgetc () at ../../Src/hist.c:408 c = <optimized out> #17 0x0000560045709476 in gettok () at ../../Src/lex.c:611 c = <optimized out> beginning = <optimized out> d = <optimized out> peekfd = -1 peek = <optimized out> c = <optimized out> d = <optimized out> peekfd = <optimized out> peek = <optimized out> beginning = <optimized out> unpeekfd = <optimized out> e = <optimized out> #18 zshlex () at ../../Src/lex.c:275 No locals. #19 0x000056004570a17e in zshlex () at ../../Src/lex.c:268 next = <optimized out> doc = <optimized out> munged_term = <optimized out> #20 0x000056004572a326 in parse_event (endtok=endtok@entry=37) at ../../Src/parse.c:581 No locals. #21 0x00005600456faf79 in loop (toplevel=toplevel@entry=1, justonce=justonce@entry=0) at ../../Src/init.c:150 prog = <optimized out> err = <optimized out> non_empty = 1 #22 0x00005600456fec56 in zsh_main (argc=<optimized out>, argv=<optimized out>) at ../../Src/init.c:1781 errexit = 0 t = <optimized out> runscript = 0x0 zsh_name = <optimized out> cmd = 0x0 t0 = <optimized out> #23 0x00007ff6973ebe4a in __libc_start_main (main=0x5600456c2d40 <main>, argc=1, argv=0x7fff5ef49cf8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff5ef49ce8) at ../csu/libc-start.c:314 self = <optimized out> result = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -6457072288627416982, 94559164706128, 0, 0, 0, -748184724453187478, -752529529406349206}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x1, 0x7fff5ef49cf8}, data = {prev = 0x0, cleanup = 0x0, canceltype = 1}}} not_first_call = <optimized out> #24 0x00005600456c2d7a in _start () No symbol table info available. --- END --- ``` I still have the coredump. So, if you need any informations, I can extract it. Regards Jörg -- Ein Optimist ist in der Regel ein Zeitgenosse, der ungenügend informiert ist. (John B. Priestley)
Attachment:
signature.asc
Description: PGP signature