Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: `zsh -f' is problem free, but normally getting segfault on a regular `zmodload ...' invocation
- X-seq: zsh-users 23714
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: `zsh -f' is problem free, but normally getting segfault on a regular `zmodload ...' invocation
- Date: Tue, 16 Oct 2018 19:45:34 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=nrPAWdKb/aIka+Wegj7qhEifI4Ib57pgqFStMIDfrqw=; b=HHGcX5ffSN2vKwSr4vI9DwclS9UjZD5wvmgALvxrPWA3t3JS+TF6jhPWNfCmbMy0oW CzBUHCYqabq4urZlDyKqiqoUS/mr/e7BNKN7kT+m6t48vrGwuNo4Vk1cHlABSKmBdcpP IcIZhL1EGZMBYllmDEfVtiE1iIre1tTlacq9fgh1IR34yrDWCTEv6Fj2chV7Jh7F+I9f xCv1Iq0hWHQbAfs5hHwqKxgtfXMFM+drKwckzqtt9FCfvDzqBlM8hHtIWjyBmJooBsz6 TuIt/CJsvRAfywUfrbGm/cdNU/8898ofZZVHUXyWXFUF/ZF0vuXCTI+wUurAYDqM6fJw iBuA==
- In-reply-to: <CAKc7PVBb_QLHHeagX27iXBRWUBqSVgpgTmt613caTZCap+tsxA@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVBb_QLHHeagX27iXBRWUBqSVgpgTmt613caTZCap+tsxA@mail.gmail.com>
I've ran wrong Zsh version with `-f`, the issue does persist with
`-f', it's just the segfault that's lacking:
▲ .zplugin/plugins/zsh-users---zsh % /usr/local/bin/zsh-5.6.2-dev-1 -fi
MacMini% MODULE_PATH=/Users/sgniazdowski/.zplugin/plugins/zdharma---zredis/module/Src:/usr/local/lib/zsh/5.6.2-dev-1:/Users/sgniazdowski/.zplugin/bin/zmodules/Src
if [[ -e /Users/sgniazdowski/.zplugin/plugins/zdharma---zredis/module/Src/zdharma/zredis.so
]]; then
#zmodload -u zdharma/db 2>/dev/null
zmodload -d zdharma/zredis zdharma/db
zmodload zdharma/zredis
fi
zsh: invalid module name `^G'
MacMini%
On Tue, 16 Oct 2018 at 19:26, Sebastian Gniazdowski
<sgniazdowski@xxxxxxxxx> wrote:
>
> 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
--
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