readline: default to readline81 instead of readline6#151090
Merged
SuperSandro2000 merged 1 commit intoNixOS:stagingfrom Nov 30, 2022
Merged
readline: default to readline81 instead of readline6#151090SuperSandro2000 merged 1 commit intoNixOS:stagingfrom
SuperSandro2000 merged 1 commit intoNixOS:stagingfrom
Conversation
d72e026 to
dd358e2
Compare
Member
Author
|
I've also found that I don't think I have the resources to test this effectively. Do we send this to staging and see what hydra shows up? |
Member
Author
|
I'm also seeing crashes in the repl on aarch64-darwin in python3.7, python3.9 and python3.11 when resizing my terminal with backtraces like: Updating readline seems to make this not happen. |
13 tasks
Member
|
@ofborg eval |
Contributor
|
Proposed fix as #206745 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation for this change
I see a tig crash aarch64-darwin when attempting to search by pressing
/, andrl_initializeis in the backtrace. The crash doesn't occur with the current version of readline (8.1). There's a ticket for keeping default versions current (#40015), but I couldn't find much discussion of updating readline in particular outside of a comment on that thread.So I'm being bold and proposing to update readline to its latest version.
backtrace of tig crash
Things done
bashInteractive,postgresql_13,tig)sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes