{"action":"closed","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/2228","repository_url":"https://api.github.com/repos/commercialhaskell/stack","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2228/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2228/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2228/events","html_url":"https://github.com/commercialhaskell/stack/issues/2228","id":158069089,"number":2228,"title":"Segmentation Fault from ghci","user":{"login":"carymrobbins","id":3103764,"avatar_url":"https://avatars.githubusercontent.com/u/3103764?v=3","gravatar_id":"","url":"https://api.github.com/users/carymrobbins","html_url":"https://github.com/carymrobbins","followers_url":"https://api.github.com/users/carymrobbins/followers","following_url":"https://api.github.com/users/carymrobbins/following{/other_user}","gists_url":"https://api.github.com/users/carymrobbins/gists{/gist_id}","starred_url":"https://api.github.com/users/carymrobbins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carymrobbins/subscriptions","organizations_url":"https://api.github.com/users/carymrobbins/orgs","repos_url":"https://api.github.com/users/carymrobbins/repos","events_url":"https://api.github.com/users/carymrobbins/events{/privacy}","received_events_url":"https://api.github.com/users/carymrobbins/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/commercialhaskell/stack/labels/component:%20ghci","name":"component: ghci","color":"bfdadc"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/commercialhaskell/stack/milestones/8","html_url":"https://github.com/commercialhaskell/stack/milestones/Support","labels_url":"https://api.github.com/repos/commercialhaskell/stack/milestones/8/labels","id":1208081,"number":8,"title":"Support","description":"Issues without clear work items for the codebase","creator":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars.githubusercontent.com/u/49415?v=3","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":206,"state":"open","created_at":"2015-07-14T20:38:48Z","updated_at":"2016-10-18T21:21:44Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-06-02T06:36:32Z","updated_at":"2016-10-18T21:21:44Z","closed_at":"2016-10-18T21:21:43Z","body":"It's highly likely that this is a bug with ghc, but figured I'd start here.\r\n\r\nWhen running `ghc --interactive` (or `ghci`) from the command line via `stack`, it seems that passing a package specified in the `extra-deps` of `stack.yaml` produces a segmentation fault -\r\n\r\n```\r\n$ stack ghc -- --interactive -package hakyll-sass                      \r\nGHCi, version 7.10.3: http://www.haskell.org/ghc/  :? for help\r\n[1]    9839 segmentation fault (core dumped)  stack ghc -- --interactive -package hakyll-sass\r\n```\r\n\r\nAttempting to pass the full package name, including the `@` suffix, doesn't seem to work either -\r\n\r\n```\r\n$ stack ghc -- --interactive -hide-all-packages -package base\r\nGHCi, version 7.10.3: http://www.haskell.org/ghc/  :? for help\r\nλ :m Hakyll.Web.Sass\r\n\r\n<no location info>:\r\n    Could not find module ‘Hakyll.Web.Sass’\r\n    It is a member of the hidden package ‘hakyll-sass-0.2.0@hakyl_1urYnSdaNKvBiW7ovUv5av’.\r\nλ \r\nLeaving GHCi.\r\n\r\n$ stack ghc -- --interactive -package 'hakyll-sass-0.2.0@hakyl_1urYnSdaNKvBiW7ovUv5av'\r\nGHCi, version 7.10.3: http://www.haskell.org/ghc/  :? for help\r\n<command line>: Can't parse package flag: hakyll-sass-0.2.0@hakyl_1urYnSdaNKvBiW7ovUv5av\r\n```\r\n\r\nHere's the full repo - https://github.com/carymrobbins/carymrobbins.github.io/tree/hakyll\r\n\r\nFor 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."}}
{"actor":{"display_login":"mgsloan"}}