{"action":"created","issue":{"url":"https://api.github.com/repos/naelstrof/maim/issues/51","labels_url":"https://api.github.com/repos/naelstrof/maim/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/naelstrof/maim/issues/51/comments","events_url":"https://api.github.com/repos/naelstrof/maim/issues/51/events","html_url":"https://github.com/naelstrof/maim/issues/51","id":91322937,"number":51,"title":"Segfault on Arch Linux","user":{"login":"paulriddle","id":7285838,"avatar_url":"https://avatars.githubusercontent.com/u/7285838?v=3","gravatar_id":"","url":"https://api.github.com/users/paulriddle","html_url":"https://github.com/paulriddle","followers_url":"https://api.github.com/users/paulriddle/followers","following_url":"https://api.github.com/users/paulriddle/following{/other_user}","gists_url":"https://api.github.com/users/paulriddle/gists{/gist_id}","starred_url":"https://api.github.com/users/paulriddle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulriddle/subscriptions","organizations_url":"https://api.github.com/users/paulriddle/orgs","repos_url":"https://api.github.com/users/paulriddle/repos","events_url":"https://api.github.com/users/paulriddle/events{/privacy}","received_events_url":"https://api.github.com/users/paulriddle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-26T18:02:17Z","updated_at":"2015-06-28T19:57:56Z","closed_at":null,"body":"`maim foobar.png` consistently segfaults for me. I don't know why. I'm running recently updated Arch with bspwm for windows manager. I tried stracing the command, but it's mostly gibberish to me. It keeps repeating this error:\r\n\r\n```\r\nrecvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{\"\\1\\1!\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32\r\nrecvmsg(3, 0x7fff612954e0, 0)           = -1 EAGAIN (Resource temporarily unavailable)\r\nrecvmsg(3, 0x7fff612954e0, 0)           = -1 EAGAIN (Resource temporarily unavailable)\r\npoll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])\r\nwritev(3, [{\"\\214\\24\\3\\0O\\0\\0\\0\\\\W\\0\\0\", 12}, {NULL, 0}, {\"\", 0}], 3) = 12\r\npoll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])\r\nrecvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{\"\\1\\0\\\"\\0\\3\\0\\0\\0\\\\W\\0\\0\\0\\0\\0\\0\\0\\5\\0\\4T\\0\\0\\0\\1\\0?\\0\\1\\0\\2\\0\"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 44\r\nrecvmsg(3, 0x7fff61295db0, 0)           = -1 EAGAIN (Resource temporarily unavailable)\r\nrecvmsg(3, 0x7fff61295db0, 0)           = -1 EAGAIN (Resource temporarily unavailable)\r\n```\r\nand then the segfault happens. maim version is 3.4.43. I suspect that the issue might be in my setup, since this version was out for a long time and somebody would have noticed by now that it doesn't work on archlinux.\r\n\r\nHow can I help?"},"comment":{"url":"https://api.github.com/repos/naelstrof/maim/issues/comments/116321457","html_url":"https://github.com/naelstrof/maim/issues/51#issuecomment-116321457","issue_url":"https://api.github.com/repos/naelstrof/maim/issues/51","id":116321457,"user":{"login":"naelstrof","id":1131571,"avatar_url":"https://avatars.githubusercontent.com/u/1131571?v=3","gravatar_id":"","url":"https://api.github.com/users/naelstrof","html_url":"https://github.com/naelstrof","followers_url":"https://api.github.com/users/naelstrof/followers","following_url":"https://api.github.com/users/naelstrof/following{/other_user}","gists_url":"https://api.github.com/users/naelstrof/gists{/gist_id}","starred_url":"https://api.github.com/users/naelstrof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naelstrof/subscriptions","organizations_url":"https://api.github.com/users/naelstrof/orgs","repos_url":"https://api.github.com/users/naelstrof/repos","events_url":"https://api.github.com/users/naelstrof/events{/privacy}","received_events_url":"https://api.github.com/users/naelstrof/received_events","type":"User","site_admin":false},"created_at":"2015-06-28T19:57:55Z","updated_at":"2015-06-28T19:57:55Z","body":"It's crashing in libdl-2.21.so, I doubt it's due to maim. libdl-2.21.so is part of glibc, you could try reinstalling it and updating your system.\r\n\r\nOtherwise to fix your problem you can keep maim-git installed from the AUR."}}