ghci seg faulting, have no idea why.

this just started happening, don't know why. Could anyone offer suggestions, troubleshooting methods? ghci GHCi, version 6.12.3: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package ffi-1.0 ... linking ... done. Segmentation fault

What operating system/cpu are you using?
On Jan 12, 2011 8:08 PM, "Michael Litchard"
this just started happening, don't know why.
Could anyone offer suggestions, troubleshooting methods?
ghci GHCi, version 6.12.3: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package ffi-1.0 ... linking ... done. Segmentation fault

Linux kether 2.6.26-2-xen-amd64 #1 SMP Thu Sep 16 16:32:15 UTC 2010 x86_64
GNU/Linux
This was working fine for quite awhile, then broke.
Also, I already tried removing the .ghc directory
On Wed, Jan 12, 2011 at 6:16 PM, Antoine Latter
What operating system/cpu are you using? On Jan 12, 2011 8:08 PM, "Michael Litchard"
wrote: this just started happening, don't know why.
Could anyone offer suggestions, troubleshooting methods?
ghci GHCi, version 6.12.3: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package ffi-1.0 ... linking ... done. Segmentation fault

Oh, and the distro would be Debian (whatever the latest stable is)
On Wed, Jan 12, 2011 at 7:10 PM, Michael Litchard
Linux kether 2.6.26-2-xen-amd64 #1 SMP Thu Sep 16 16:32:15 UTC 2010 x86_64 GNU/Linux
This was working fine for quite awhile, then broke. Also, I already tried removing the .ghc directory
On Wed, Jan 12, 2011 at 6:16 PM, Antoine Latter
wrote: What operating system/cpu are you using? On Jan 12, 2011 8:08 PM, "Michael Litchard"
wrote: this just started happening, don't know why.
Could anyone offer suggestions, troubleshooting methods?
ghci GHCi, version 6.12.3: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package ffi-1.0 ... linking ... done. Segmentation fault

Nothing wrong from:
$ ghc-pkg check
?
On Wed, Jan 12, 2011 at 9:11 PM, Michael Litchard
Oh, and the distro would be Debian (whatever the latest stable is)
On Wed, Jan 12, 2011 at 7:10 PM, Michael Litchard
wrote: Linux kether 2.6.26-2-xen-amd64 #1 SMP Thu Sep 16 16:32:15 UTC 2010 x86_64 GNU/Linux
This was working fine for quite awhile, then broke. Also, I already tried removing the .ghc directory
On Wed, Jan 12, 2011 at 6:16 PM, Antoine Latter
wrote: What operating system/cpu are you using?
On Jan 12, 2011 8:08 PM, "Michael Litchard"
wrote: this just started happening, don't know why.
Could anyone offer suggestions, troubleshooting methods?
ghci GHCi, version 6.12.3: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package ffi-1.0 ... linking ... done. Segmentation fault
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

ghc-pkg check
seems fine
On Wed, Jan 12, 2011 at 7:47 PM, Paulo Tanimoto
Nothing wrong from:
$ ghc-pkg check
?
On Wed, Jan 12, 2011 at 9:11 PM, Michael Litchard
wrote: Oh, and the distro would be Debian (whatever the latest stable is)
On Wed, Jan 12, 2011 at 7:10 PM, Michael Litchard
wrote: Linux kether 2.6.26-2-xen-amd64 #1 SMP Thu Sep 16 16:32:15 UTC 2010
x86_64
GNU/Linux
This was working fine for quite awhile, then broke. Also, I already tried removing the .ghc directory
On Wed, Jan 12, 2011 at 6:16 PM, Antoine Latter
wrote: What operating system/cpu are you using?
On Jan 12, 2011 8:08 PM, "Michael Litchard"
wrote:
this just started happening, don't know why.
Could anyone offer suggestions, troubleshooting methods?
ghci GHCi, version 6.12.3: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package ffi-1.0 ... linking ... done. Segmentation fault
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

I believe I have found a solution and am posting the following two links for
others who might be driven insane by this problem.
(ghci worked, then didn't, then did, then didn't). Turns out it seems to be
ghc's terminal bindings need some work.
http://forums.gentoo.org/viewtopic-t-845199-view-previous.html?sid=93c638d02...
which led me here
http://trac.haskell.org/haskeline/ticket/105
Thank you intarwebs, and haskell-cafe!
tl;dr try changing your TERM environment variable to "xterm".
On Wed, Jan 12, 2011 at 8:18 PM, Michael Litchard
ghc-pkg check seems fine
On Wed, Jan 12, 2011 at 7:47 PM, Paulo Tanimoto
wrote: Nothing wrong from:
$ ghc-pkg check
?
On Wed, Jan 12, 2011 at 9:11 PM, Michael Litchard
wrote: Oh, and the distro would be Debian (whatever the latest stable is)
On Wed, Jan 12, 2011 at 7:10 PM, Michael Litchard
wrote: Linux kether 2.6.26-2-xen-amd64 #1 SMP Thu Sep 16 16:32:15 UTC 2010
x86_64
GNU/Linux
This was working fine for quite awhile, then broke. Also, I already tried removing the .ghc directory
On Wed, Jan 12, 2011 at 6:16 PM, Antoine Latter
wrote: What operating system/cpu are you using?
On Jan 12, 2011 8:08 PM, "Michael Litchard"
wrote:
this just started happening, don't know why.
Could anyone offer suggestions, troubleshooting methods?
ghci GHCi, version 6.12.3: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package ffi-1.0 ... linking ... done. Segmentation fault
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

If you load ghci into gdb, and then run it until the segfault, do you get any interesting backtrace? Did you recently run software updates? What happens if you reinstall GHC? Have you rebooted recently? Cheers, Edward Excerpts from Michael Litchard's message of Wed Jan 12 21:07:30 -0500 2011:
this just started happening, don't know why.
Could anyone offer suggestions, troubleshooting methods?
ghci GHCi, version 6.12.3: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package ffi-1.0 ... linking ... done. Segmentation fault
participants (4)
-
Antoine Latter
-
Edward Z. Yang
-
Michael Litchard
-
Paulo Tanimoto