GHCi segfault
This may be libedit's fault, but I can't tell :)
How to replicate: Load up GHCi, hold the up-arrow. Segfault!
Here's a backtrace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7e546b0 (LWP 9959)]
0xb808133c in ?? () from /usr/lib/libedit.so.2
(gdb) bt
#0 0xb808133c in ?? () from /usr/lib/libedit.so.2
#1 0xb8085e1a in ?? () from /usr/lib/libedit.so.2
#2 0xb8088164 in el_gets () from /usr/lib/libedit.so.2
#3 0xb8095d24 in readline () from /usr/lib/libedit.so.2
#4 0x08aaea00 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)