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

Segfault with scrollback_pager_history_size > 1 and many lines output #3011

Closed
sudoBash418 opened this issue Oct 6, 2020 · 0 comments
Closed
Labels

Comments

@sudoBash418
Copy link

Describe the bug
kitty 0.19.0 segfaults after roughly 120k lines with the config option scrollback_pager_history_size set to anything over 1.
This bug does not occur for me on 0.18.3.

To Reproduce
Steps to reproduce the behavior:

  1. Use a config file with scrollback_pager_history_size 2
  2. Run kitty python -c 'for x in range(10000000): print(x)'
  3. See that it segfaults after ~120000 lines printed

Environment details
OS: Arch Linux

Output of kitty --debug-config

kitty 0.19.0 created by Kovid Goyal
Linux hostname 5.8.13-zen1-2-zen #1 ZEN SMP PREEMPT Fri, 02 Oct 2020 15:14:58 +0000 x86_64
Arch Linux \r (\l)
LSB_VERSION=1.4
DISTRIB_ID=Arch
DISTRIB_RELEASE=rolling
DISTRIB_DESCRIPTION="Arch Linux"
Loaded config files: /tmp/tmp-kitty.conf
Running under: X11

Config options different from defaults:
scrollback_pager_history_size 2097152
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant