On Tue, Mar 12, 2019 at 03:33:26PM +0000, Chavdar Ivanov wrote: > Hi, > > On amd64 -curent from yesterday (and a couple of days earlier) I > started to get zsh crashes when tab-completing (files, directories, > packages), similar to > ..... > Core was generated by `zsh'. > Program terminated with signal SIGSEGV, Segmentation fault. > #0 0x00007cf050211540 in permmatches () from > /usr/pkg/lib/zsh/5.7/zsh/complete.so > (gdb) bt > #0 0x00007cf050211540 in permmatches () from > /usr/pkg/lib/zsh/5.7/zsh/complete.so > #1 0x00007cf050208b7c in ?? () from /usr/pkg/lib/zsh/5.7/zsh/complete.so > #2 0x00000000004550d5 in getstrvalue () > #3 0x0000000000456085 in ?? () > #4 0x0000000000456f67 in getindex () > #5 0x0000000000457557 in fetchvalue () > #6 0x0000000000471da6 in ?? () > #7 0x0000000000476ab7 in prefork () > #8 0x0000000000476f42 in singsub () > #9 0x000000000042057c in evalcond () > #10 0x0000000000421f49 in ?? () > #11 0x000000000042bbb8 in ?? () > #12 0x0000000000429a88 in execlist () > ........ (several repeats of the above snippet).
This is likely the more strict jemalloc debug code in libc finding a memory corruption issue. Try building zsh with debug info (and maybe also install debug sets to get symbol information for libc). Martin