-
Notifications
You must be signed in to change notification settings - Fork 846
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation Fault from ghci #2228
Comments
Almost forgot to mention versions -
|
That's a somewhat old-ish version of stack, I suggest updating! You will probably like the |
Does the Ubuntu 14.04 apt repo have a newer version?
Thanks for letting me know that Any ideas why ghci would segfault for this? |
Use
Noidea. I'd say that a segmentation fault is always a bug. |
Wow, FWIW, even after upgrading stack I still seem to have the same issue -
|
Could be a corrupt ghc. One of the nice things about stack is that it verifies these downloads! We should probably default to using a stack managed ghc ( #2221 ), but till then, what happens if you put |
Doesn't seem to make a difference -
flags: {}
packages: []
extra-deps: []
resolver: lts-3.4
system-ghc: false
resolver: lts-5.0
packages:
- '.'
extra-deps: [
hakyll-sass-0.2.0
]
flags: {}
extra-package-dbs: []
|
Closing, as this is an old support ticket. It'd be great to figure out what's going on here, but it doesn't seem to be a common issue. |
It's highly likely that this is a bug with ghc, but figured I'd start here.
When running
ghc --interactive
(orghci
) from the command line viastack
, it seems that passing a package specified in theextra-deps
ofstack.yaml
produces a segmentation fault -Attempting to pass the full package name, including the
@
suffix, doesn't seem to work either -Here's the full repo - https://github.com/carymrobbins/carymrobbins.github.io/tree/hakyll
For context, I'm attempting to dynamically pass the package flags so that I can easily load different "cabal configs" (e.g. library, executable, test-suite, benchmark) in ghci for some tooling I'm working on. Not pertinent, but should clear up why I'm even doing this in the first place.
The text was updated successfully, but these errors were encountered: