{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/688","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/688/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/688/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/688/events","html_url":"https://github.com/commercialhaskell/stack/issues/688","id":97768210,"number":688,"title":"stack: out of memory (requested 2097152 bytes) on Alpine Linux","user":{"login":"sumyuga","id":1092351,"avatar_url":"https://avatars.githubusercontent.com/u/1092351?v=3","gravatar_id":"","url":"https://api.github.com/users/sumyuga","html_url":"https://github.com/sumyuga","followers_url":"https://api.github.com/users/sumyuga/followers","following_url":"https://api.github.com/users/sumyuga/following{/other_user}","gists_url":"https://api.github.com/users/sumyuga/gists{/gist_id}","starred_url":"https://api.github.com/users/sumyuga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumyuga/subscriptions","organizations_url":"https://api.github.com/users/sumyuga/orgs","repos_url":"https://api.github.com/users/sumyuga/repos","events_url":"https://api.github.com/users/sumyuga/events{/privacy}","received_events_url":"https://api.github.com/users/sumyuga/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/commercialhaskell/stack/milestones/6","html_url":"https://github.com/commercialhaskell/stack/milestones/P2:%20Should","labels_url":"https://api.github.com/repos/commercialhaskell/stack/milestones/6/labels","id":1191309,"number":6,"title":"P2: Should","description":"Arbitrary date chosen, just to get the milestones to order nicely","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":77,"closed_issues":139,"state":"open","created_at":"2015-07-02T18:20:49Z","updated_at":"2015-12-24T15:07:03Z","due_on":"2015-12-31T08:00:00Z","closed_at":null},"comments":13,"created_at":"2015-07-28T18:19:28Z","updated_at":"2015-12-24T18:59:34Z","closed_at":"2015-08-09T02:40:49Z","body":"I've downloaded the binary file of stack and unzip on docker alpine image with glibc. I've installed all needed (perl make automake gcc gmp) and while I executable file is out of memory. ldd test is ok, but strace falls:\r\n```\r\n--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_timerid=0, si_overrun=0, si_value={int=0, ptr=0}} ---\r\nrt_sigreturn()                          = 0\r\n--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_timerid=0, si_overrun=0, si_value={int=0, ptr=0}} ---\r\nrt_sigreturn()                          = 139938731157504\r\nwrite(2, \"stack: \", 7stack: )                  = 7\r\n--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_timerid=0, si_overrun=0, si_value={int=0, ptr=0}} ---\r\nrt_sigreturn()                          = 139938741142048\r\nwrite(2, \"out of memory (requested 2097152\"..., 39out of memory (requested 2097152 bytes)) = 39\r\nwrite(2, \"\\n\", 1\r\n)                       = 1\r\nexit_group(1)                           = ?\r\n+++ exited with 1 +++\r\n```\r\nOn debian:wheezy docker image it works fine"},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/167150156","html_url":"https://github.com/commercialhaskell/stack/issues/688#issuecomment-167150156","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/688","id":167150156,"user":{"login":"ketzacoatl","id":10122937,"avatar_url":"https://avatars.githubusercontent.com/u/10122937?v=3","gravatar_id":"","url":"https://api.github.com/users/ketzacoatl","html_url":"https://github.com/ketzacoatl","followers_url":"https://api.github.com/users/ketzacoatl/followers","following_url":"https://api.github.com/users/ketzacoatl/following{/other_user}","gists_url":"https://api.github.com/users/ketzacoatl/gists{/gist_id}","starred_url":"https://api.github.com/users/ketzacoatl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ketzacoatl/subscriptions","organizations_url":"https://api.github.com/users/ketzacoatl/orgs","repos_url":"https://api.github.com/users/ketzacoatl/repos","events_url":"https://api.github.com/users/ketzacoatl/events{/privacy}","received_events_url":"https://api.github.com/users/ketzacoatl/received_events","type":"User","site_admin":false},"created_at":"2015-12-24T18:59:34Z","updated_at":"2015-12-24T18:59:34Z","body":"Thanks for all your hard work on this @mitchty! I will sync up with @snoyberg and others to see how the group would like to support Alpine, and what this would look like. I'll CC you on any new issues created, if you are interested in tracking that development."}}