Skip to content

:abandon in an exception breakpoint can lead ghci to freeze later

An example:

Prelude> :set -fbreak-on-exception
Prelude> error "an error"
Stopped at <exception thrown>
_exception :: e = GHC.IOBase.ErrorCall ('a' : _)
unable to list source for <exception thrown>
[<exception thrown>] Prelude> :abandon
Prelude> ()  -- whatever we do here, ghci freezes
()
...
...
^CInterrupted.
Trac metadata
Trac field Value
Version 6.8
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC mnislaih@gmail.com
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information