nvimdev / nvimdev/lspsaga.nvim

When quiting a preview window neovim exists with error

Open
#1,337 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Lua
Stars
3.8k
Forks
308
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

image

on a symbol, peek_definition, then quit with q. Neovim exists with error free(): invalid next size fast

Steps to reproduce

on a symbol, show preview, then quit

Expected behavior

Sorry, you might have enough info? if not please let me know

Neovim version (nvim -v)

NVIM v0.10.0-dev-664+g0ce39108

lspsaga commit

latest

Terminal name/version

kitty

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported sequence in Neovim v0.10.0-dev: invoke peek_definition on a symbol, open the preview, and quit with q. Then trace the lspsaga preview-window cleanup path and use the free(): invalid next size fast failure as the regression signal; done means the same sequence exits without an error.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.