{"action":"created","issue":{"url":"https://api.github.com/repos/chigraph/chigraph-gui/issues/15","repository_url":"https://api.github.com/repos/chigraph/chigraph-gui","labels_url":"https://api.github.com/repos/chigraph/chigraph-gui/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/chigraph/chigraph-gui/issues/15/comments","events_url":"https://api.github.com/repos/chigraph/chigraph-gui/issues/15/events","html_url":"https://github.com/chigraph/chigraph-gui/issues/15","id":221911666,"number":15,"title":"Packaging ","user":{"login":"russelltg","id":7105082,"avatar_url":"https://avatars0.githubusercontent.com/u/7105082?v=3","gravatar_id":"","url":"https://api.github.com/users/russelltg","html_url":"https://github.com/russelltg","followers_url":"https://api.github.com/users/russelltg/followers","following_url":"https://api.github.com/users/russelltg/following{/other_user}","gists_url":"https://api.github.com/users/russelltg/gists{/gist_id}","starred_url":"https://api.github.com/users/russelltg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russelltg/subscriptions","organizations_url":"https://api.github.com/users/russelltg/orgs","repos_url":"https://api.github.com/users/russelltg/repos","events_url":"https://api.github.com/users/russelltg/events{/privacy}","received_events_url":"https://api.github.com/users/russelltg/received_events","type":"User","site_admin":false},"labels":[{"id":580328533,"url":"https://api.github.com/repos/chigraph/chigraph-gui/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":584160531,"url":"https://api.github.com/repos/chigraph/chigraph-gui/labels/PR","name":"PR","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2017-04-14T23:47:56Z","updated_at":"2017-04-14T23:48:01Z","closed_at":null,"body":"_From @russelltg on November 23, 2016 15:50_\n\n- [ ] windows installer\n- [ ] appimage \n- [ ] .app\n\n<!---\n@huboard:{\"order\":1.0000125,\"milestone_order\":16,\"custom_state\":\"\"}\n-->\n\n\n_Copied from original issue: chigraph/chigraph#16_"},"comment":{"url":"https://api.github.com/repos/chigraph/chigraph-gui/issues/comments/294257100","html_url":"https://github.com/chigraph/chigraph-gui/issues/15#issuecomment-294257100","issue_url":"https://api.github.com/repos/chigraph/chigraph-gui/issues/15","id":294257100,"user":{"login":"russelltg","id":7105082,"avatar_url":"https://avatars0.githubusercontent.com/u/7105082?v=3","gravatar_id":"","url":"https://api.github.com/users/russelltg","html_url":"https://github.com/russelltg","followers_url":"https://api.github.com/users/russelltg/followers","following_url":"https://api.github.com/users/russelltg/following{/other_user}","gists_url":"https://api.github.com/users/russelltg/gists{/gist_id}","starred_url":"https://api.github.com/users/russelltg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russelltg/subscriptions","organizations_url":"https://api.github.com/users/russelltg/orgs","repos_url":"https://api.github.com/users/russelltg/repos","events_url":"https://api.github.com/users/russelltg/events{/privacy}","received_events_url":"https://api.github.com/users/russelltg/received_events","type":"User","site_admin":false},"created_at":"2017-04-14T23:48:01Z","updated_at":"2017-04-14T23:48:01Z","body":"Alright so when running it natively (no appimage), strace spits out this relevant output:\r\n```\r\nstat(\"/home/russellg/projects/chigraph/build/bin/chi\", {st_mode=S_IFREG|0755, st_size=46456432, ...}) = 0\r\nfstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0\r\nwrite(1, \"/home/russellg/projects/chigraph\"..., 47) = 47\r\npipe2([12, 13], O_CLOEXEC)              = 0\r\npipe2([14, 15], O_CLOEXEC)              = 0\r\npipe2([16, 17], O_CLOEXEC)              = 0\r\npipe2([18, 19], O_CLOEXEC)              = 0\r\nrt_sigaction(SIGCHLD, {sa_handler=0x7f31fa1c2400, sa_mask=[], sa_flags=SA_RESTORER|SA_NOCLDSTOP, sa_restorer=0x7f31f550afe0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0\r\nrt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f31f550afe0}, NULL, 8) = 0\r\nfutex(0x7f31fa67ac84, FUTEX_WAKE_PRIVATE, 2147483647) = 0\r\npipe2([20, 21], O_CLOEXEC)              = 0\r\neventfd2(0, EFD_CLOEXEC)                = 22\r\nclone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f31ffc7e390) = 21125\r\n```\r\n`/home/russellg/projects/chigraph/build/bin/chi` is the process being spawned, and the clone clearly does its job. \r\n\r\nBut when it's under the appimage, the clone seems ok:\r\n```\r\nwrite(1, \"/tmp/.mount_kNdEPl/usr/bin/chi\\n\", 31) = 31 # this prints to stdout the name of the executable for debugging\r\n...\r\nclone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f7217246ad0) = 21432\r\n```\r\n\r\nbut then there's a `SIGCHILD`:\r\n\r\n```\r\n--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=21432, si_uid=1000, si_status=127, si_utime=0, si_stime=0} ---\r\n```\r\n\r\nwhich is where the exit status 127 is coming from.\r\n\r\nI'm not that experienced at reading these, any clues?\r\n"}}
{"actor":{"display_login":"russelltg"}}