breadline segfault added by mario-goulart on Sat Feb 4 23:12:57 2023
$ cat bl.scm (import scheme) (import (chicken io) (chicken process signal)) (import breadline) (on-exit reset-terminal!) (set-signal-handler! signal/int (lambda _ (cleanup-after-signal!) (reset-after-signal!))) (read-line) $ csc -O0 -d3 bl.scm # Execute bl and press C-c on read-line. $ ./bl ^C Error: segmentation violation Call history: bl.scm:4: chicken.load#load-extension bl.scm:6: chicken.base#on-exit bl.scm:8: chicken.process.signal#set-signal-handler! bl.scm:13: chicken.io#read-line bl.scm:10: breadline#cleanup-after-signal! bl.scm:11: breadline#reset-after-signal! <--