Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] ffmpeg -zsh: segmentation fault (core dumped) #249

Closed
5 tasks done
Freed-Wu opened this issue Dec 9, 2021 · 1 comment
Closed
5 tasks done

[BUG] ffmpeg -zsh: segmentation fault (core dumped) #249

Freed-Wu opened this issue Dec 9, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@Freed-Wu
Copy link

Freed-Wu commented Dec 9, 2021

Describe the bug

A clear and concise description of what the bug is.

I can make sure:

  • I am using the latest version of fzf-tab
  • this is the minimal zshrc which can reproduce this bug
  • fzf-tab is loaded after compinit
  • fzf-tab is loaded after plugins which will wrap Tab, like junegunn/fzf/completion.zsh
  • fzf-tab is loaded before zsh-autosuggestions, zsh-syntax-highlighting and fast-syntax-highlighting.

Minimal zshrc

# should install zsh-theme-powerlevel10k firstly
# In my PC, `sudo pacman -S zsh-theme-powerlevel10k`
. /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
autoload -Uz compinit && compinit
. /home/wzy/.zinit/plugins/fzf-tab/fzf-tab.plugin.zsh

To Reproduce

Steps to reproduce the behavior:

# create a new zsh environment without sourcing any zshrc
zsh -f
# source minimal zshrc
. ~/Desktop/test.zsh
# press q because powerlevel10k will start an interface
# type `ffmpeg -`, then press `<tab>`
# you will see segmentation fault
# must use ffmpeg, other program will not result in this bug.
# must use powerlevel10k
# the path of `_ffmpeg` is `/usr/share/zsh/functions/Completion/Unix/_ffmpeg`

Screenshots

Screenshot from 2021-12-09 15-43-20

Environment:

  • OS: 5.15.4-arch1-1
  • zsh version: 5.8.1

Log

Screenshot from 2021-12-09 15-51-00

@Freed-Wu Freed-Wu added the bug Something isn't working label Dec 9, 2021
@Aloxaf
Copy link
Owner

Aloxaf commented Dec 9, 2021

see #176

@Freed-Wu Freed-Wu closed this as completed Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants