Skip to content

Strange IO and segmentation fault in ghci on Macos (aarch64)

Summary

After moving the cursor left using arrow keys and pressing any keys, right part of previously inserted input duplicates. Also, window resizing causes a segmentation fault.

Steps to reproduce

  1. Run ghci, press any keys, move cursor left using arrow keys, press any keys
  2. Resize terminal window

Environment

  • GHC version used: 8.10.5

Optional:

  • Operating System: MacOS 11.4
  • System Architecture: aarch64

Screen_Recording_2021-07-04_at_23.37.40

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information