zsh-users
 help / color / mirror / code / Atom feed
From: Sebastian Gniazdowski <sgniazdowski@gmail.com>
To: Zsh Users <zsh-users@zsh.org>
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	[thread overview]
Message-ID: <CAKc7PVCLb0xz0LE6OpTCTgUH3izNkwqPRq0m6gB6uQ6+xTdqiA@mail.gmail.com> (raw)
In-Reply-To: <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@gmail.com> 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

      reply	other threads:[~2018-10-16 17:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-16 17:26 Sebastian Gniazdowski
2018-10-16 17:45 ` Sebastian Gniazdowski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKc7PVCLb0xz0LE6OpTCTgUH3izNkwqPRq0m6gB6uQ6+xTdqiA@mail.gmail.com \
    --to=sgniazdowski@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).