Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

`zsh -f' is problem free, but normally getting segfault on a regular `zmodload ...' invocation



Hello,
this is theoretically on my side, because on `zsh -f' the module loads
fine, but who knows and maybe someone could help me finding the cause,
i.e. recent patch that introduced something?

I've just updated to 5.6.2-dev-1, i.e. compiled and installed from
HEAD (0290757..a8f90de), and now I'm getting:

% /usr/local/bin/zsh-5.6.2-dev-1 -i
/Users/sgniazdowski/.zplugin/plugins/zdharma---zredis/zredis.plugin.zsh:72:
invalid module name `^G'
zsh: segmentation fault  /usr/local/bin/zsh-5.6.2-dev-1 -i

The line 72 of the script
(https://github.com/zdharma/zredis/blob/c344330c7c038396f2ffeeed077f05669312f2d2/zredis.plugin.zsh)
is:

    zmodload zdharma/zredis

The line looks regular and xxd ran on the script doesn't report any
hidden characters.

IRC user suggested it could be the recent word-code change, and I've
removed .zwc, and the issue persists. I've also tried removing
zdharma/zplugin from loading and no change.

-- 
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org



Messages sorted by: Reverse Date, Date, Thread, Author