Skip to content

bug: crashes neovim after latest update. #27

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

Closed
asilvadesigns opened this issue Mar 11, 2025 · 4 comments · Fixed by #29
Closed

bug: crashes neovim after latest update. #27

asilvadesigns opened this issue Mar 11, 2025 · 4 comments · Fixed by #29
Labels
bug Something isn't working

Comments

@asilvadesigns
Copy link

Neovim version (nvim -v)

NVIM v0.11.0-dev-1917+g7371abf755

Operating system/version

MacOS 15.3.1

Describe the bug

After the latest update, this plugin crashes neovim.
This is my configuration using lazy. When I disable the plugin via enabled = false, neovim works again.

    {
      "eero-lehtinen/oklch-color-picker.nvim",
      version = "*",
      event = "VeryLazy",
      opts = {},
    },

Steps To Reproduce

  1. open neovim.
  2. it will exit immediately.

Expected Behavior

Neovim should not crash.

@asilvadesigns asilvadesigns added the bug Something isn't working label Mar 11, 2025
@eero-lehtinen
Copy link
Owner

eero-lehtinen commented Mar 11, 2025

Thanks for the report.

This person was having the same issue #20 (comment) and fixed it just by deleting the ~/.local/share/nvim/oklch-color-picker directory.

I wasn't able to reproduce this issue with Windows, Linux or a 2014 Macbook, so I guess it's arm macOS specific.

It's somewhat hard for me to understand why it would now start breaking. I have run into crashes before with library loading, but that usually happened only when replacing the library while running. Maybe I broke that recently.

@eero-lehtinen
Copy link
Owner

I released a new version to revert the picker upgrade. Hopefully not too many people updated and bricked their neovims.

@eero-lehtinen
Copy link
Owner

eero-lehtinen commented Mar 11, 2025

Looks like blink.cmp had the exact same issues... Saghen/blink.cmp#68. MacOS seems to have a kernel caching thing that crashes the library if updated without a specific file renaming dance.

@asilvadesigns
Copy link
Author

nice, worked, thank you!

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

Successfully merging a pull request may close this issue.

2 participants