-
Notifications
You must be signed in to change notification settings - Fork 570
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
(paged-terminal) Various panics/asserts #1591
Comments
EDIT by mitchellh: this is resolved: 4fe49c7 Here's the one I get when moving tiled windows around (probably due to the resize I assume)
|
@rockorager Your issue is fixed: 4fe49c7 unless there was more to it, but I reproduced an issue moving tiled windows around very easily and can't get another crash yet. |
Update: I fixed a number of issues regarding making font size tiny. There is still more work to do on there, but the "big pager" issue is the one I have in my sights right now. On the path I already found two broken assertions, and I'm aware of at least two more. The core issue is we're resizing the grid size to a point that doesn't fit into a "standard page size" for our memory pool and it turns out I didn't really handle this case at all in PageList. I've now covered that use case for some parts but not all. I'm adding tests as I go to trigger them and more work is required, but I've also pushed a number of commits which help the situation. |
Here's another, off the latest
|
Big Pager fixed: 522867c |
I believe all the original issues reported by @qwerasd205 are fixed. There is still one consistent
|
The latest
ReproWith this local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim'
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
'git',
'clone',
'--filter=blob:none',
'https://github.com/folke/lazy.nvim',
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require('lazy').setup({
{
'catppuccin/nvim',
name = 'catppuccin',
priority = 1000,
config = function()
vim.cmd.colorscheme 'catppuccin'
end
},
{
'L3MON4D3/LuaSnip',
config = function()
require('luasnip.loaders.from_vscode').lazy_load()
end,
dependencies = {
'rafamadriz/friendly-snippets'
}
},
{
'hrsh7th/nvim-cmp',
dependencies = {
'saadparwaiz1/cmp_luasnip',
},
config = function()
local cmp = require('cmp')
cmp.setup({
sources = cmp.config.sources({
{ name = 'luasnip' }
})
})
end
}
})
A popup menu with catppuccin theme causes the crash. |
@KNnut I can't reproduce it in neovim but I do have a reproduction in another way with an identical stack trace so I think I can get this fixed. |
@KNnut fixed that. |
Going to close this issue. All crashes in this issue are now fixed afaict. If there are new ones, please open a new issue. |
I'm just gonna list a collection of different panics/asserts that I've run in to on the
paged-terminal
branch.Fixed
scrollUp
scrollDown
Weird Scroll
Repro
cat /dev/urandom
Traces
scrollUp
:scrollDown
:Big Pager
Repro
git log
q
git log
Trace
The text was updated successfully, but these errors were encountered: