Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Probabilistic crash on zsh 5.9 on x86_64
- X-seq: zsh-workers 51636
- From: zsh bug report throwaway email thing <zsh.throwaway.eDjb3nwqw@xxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Probabilistic crash on zsh 5.9 on x86_64
- Date: Sat, 08 Apr 2023 17:28:43 +0000
- Archived-at: <https://zsh.org/workers/51636>
- Feedback-id: 71425472:user:proton
- List-id: <zsh-workers.zsh.org>
Hello,
I would like to report a bug in zsh 5.9 (x86_64-pc-linux-gnu) (on Arch Linux, but I also reproduced on Alpine in QEMU, so it is probably zsh and not libc. Also, this does not happen in archiso in qemu, which is also weird.).
Repro instructions: run the commands:
TRAPEXIT() { ls }
TRAPEXIT
# if that does not crash, keep typing TRAPEXIT until it does. sometimes it doesn't crash.
Expected behavior: zsh might throw an error or something? but it shouldn't crash
Actual behavior: there is an unknown chance that zsh throws an error and crashes like this:
zsh: TRAPEXIT: function not defined by file
malloc(): unaligned tcache chunk detected
[1] 34511 IOT instruction (core dumped) zsh
Nothing relevant in dmesg.
If I can help in any way, please contact me.
Kind regards,
an anonymous bug reporter
Messages sorted by:
Reverse Date,
Date,
Thread,
Author