{"action":"opened","number":21,"pull_request":{"url":"https://api.github.com/repos/aaronm67/node-phash/pulls/21","id":45265226,"html_url":"https://github.com/aaronm67/node-phash/pull/21","diff_url":"https://github.com/aaronm67/node-phash/pull/21.diff","patch_url":"https://github.com/aaronm67/node-phash/pull/21.patch","issue_url":"https://api.github.com/repos/aaronm67/node-phash/issues/21","number":21,"state":"open","locked":false,"title":"cflags fno-exceptions","user":{"login":"bryanrasmussen","id":312384,"avatar_url":"https://avatars.githubusercontent.com/u/312384?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanrasmussen","html_url":"https://github.com/bryanrasmussen","followers_url":"https://api.github.com/users/bryanrasmussen/followers","following_url":"https://api.github.com/users/bryanrasmussen/following{/other_user}","gists_url":"https://api.github.com/users/bryanrasmussen/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanrasmussen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanrasmussen/subscriptions","organizations_url":"https://api.github.com/users/bryanrasmussen/orgs","repos_url":"https://api.github.com/users/bryanrasmussen/repos","events_url":"https://api.github.com/users/bryanrasmussen/events{/privacy}","received_events_url":"https://api.github.com/users/bryanrasmussen/received_events","type":"User","site_admin":false},"body":"I added in 'cflags!': [ '-fno-exceptions' ],\r\n      'cflags_cc!': [ '-fno-exceptions' ], to binding.gyp because if I am trying to process images in a queue  and I try to hash an image that is malformed or just not existent or does not have the rights to read for some reason I get something like the following \r\n\r\n[CImg] *** CImgIOException *** [instance(0,0,0,0,0x0,non-shared)] CImg<unsigned char>::load(): Failed to recognize format of file '/Users/bryan/projects/repositories/secondweownit/weownit/public/uploads/images/54ca/54ca0ac949f1d8c972000005/1223cbTHUMB-chagrin-falls-patriotic-debate.jpg'.\r\nnode(7178,0x1055e1000) malloc: *** error for object 0x101040a00: pointer being freed was not allocated\r\n*** set a breakpoint in malloc_error_break to debug\r\n\r\nafter which my process queue shuts down and I can't keep processing the next images that do work. \r\n\r\nIf however I can catch the exceptions my queue can register the errors and keep merrily chugging along. \r\n\r\nIt's not necessarily the best solution, so you may want to do other things to allow processing of errors. \r\n\r\nThanks for your work on this. \r\n","created_at":"2015-09-17T08:44:35Z","updated_at":"2015-09-17T08:44:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aaronm67/node-phash/pulls/21/commits","review_comments_url":"https://api.github.com/repos/aaronm67/node-phash/pulls/21/comments","review_comment_url":"https://api.github.com/repos/aaronm67/node-phash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aaronm67/node-phash/issues/21/comments","statuses_url":"https://api.github.com/repos/aaronm67/node-phash/statuses/f5c27e89ea3d5ef48516e1bdee24b0caed590467","head":{"label":"bryanrasmussen:master","ref":"master","sha":"f5c27e89ea3d5ef48516e1bdee24b0caed590467","user":{"login":"bryanrasmussen","id":312384,"avatar_url":"https://avatars.githubusercontent.com/u/312384?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanrasmussen","html_url":"https://github.com/bryanrasmussen","followers_url":"https://api.github.com/users/bryanrasmussen/followers","following_url":"https://api.github.com/users/bryanrasmussen/following{/other_user}","gists_url":"https://api.github.com/users/bryanrasmussen/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanrasmussen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanrasmussen/subscriptions","organizations_url":"https://api.github.com/users/bryanrasmussen/orgs","repos_url":"https://api.github.com/users/bryanrasmussen/repos","events_url":"https://api.github.com/users/bryanrasmussen/events{/privacy}","received_events_url":"https://api.github.com/users/bryanrasmussen/received_events","type":"User","site_admin":false},"repo":{"id":42642109,"name":"node-phash","full_name":"bryanrasmussen/node-phash","owner":{"login":"bryanrasmussen","id":312384,"avatar_url":"https://avatars.githubusercontent.com/u/312384?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanrasmussen","html_url":"https://github.com/bryanrasmussen","followers_url":"https://api.github.com/users/bryanrasmussen/followers","following_url":"https://api.github.com/users/bryanrasmussen/following{/other_user}","gists_url":"https://api.github.com/users/bryanrasmussen/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanrasmussen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanrasmussen/subscriptions","organizations_url":"https://api.github.com/users/bryanrasmussen/orgs","repos_url":"https://api.github.com/users/bryanrasmussen/repos","events_url":"https://api.github.com/users/bryanrasmussen/events{/privacy}","received_events_url":"https://api.github.com/users/bryanrasmussen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bryanrasmussen/node-phash","description":"Phash Bindings for Node.js","fork":true,"url":"https://api.github.com/repos/bryanrasmussen/node-phash","forks_url":"https://api.github.com/repos/bryanrasmussen/node-phash/forks","keys_url":"https://api.github.com/repos/bryanrasmussen/node-phash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bryanrasmussen/node-phash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bryanrasmussen/node-phash/teams","hooks_url":"https://api.github.com/repos/bryanrasmussen/node-phash/hooks","issue_events_url":"https://api.github.com/repos/bryanrasmussen/node-phash/issues/events{/number}","events_url":"https://api.github.com/repos/bryanrasmussen/node-phash/events","assignees_url":"https://api.github.com/repos/bryanrasmussen/node-phash/assignees{/user}","branches_url":"https://api.github.com/repos/bryanrasmussen/node-phash/branches{/branch}","tags_url":"https://api.github.com/repos/bryanrasmussen/node-phash/tags","blobs_url":"https://api.github.com/repos/bryanrasmussen/node-phash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bryanrasmussen/node-phash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bryanrasmussen/node-phash/git/refs{/sha}","trees_url":"https://api.github.com/repos/bryanrasmussen/node-phash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bryanrasmussen/node-phash/statuses/{sha}","languages_url":"https://api.github.com/repos/bryanrasmussen/node-phash/languages","stargazers_url":"https://api.github.com/repos/bryanrasmussen/node-phash/stargazers","contributors_url":"https://api.github.com/repos/bryanrasmussen/node-phash/contributors","subscribers_url":"https://api.github.com/repos/bryanrasmussen/node-phash/subscribers","subscription_url":"https://api.github.com/repos/bryanrasmussen/node-phash/subscription","commits_url":"https://api.github.com/repos/bryanrasmussen/node-phash/commits{/sha}","git_commits_url":"https://api.github.com/repos/bryanrasmussen/node-phash/git/commits{/sha}","comments_url":"https://api.github.com/repos/bryanrasmussen/node-phash/comments{/number}","issue_comment_url":"https://api.github.com/repos/bryanrasmussen/node-phash/issues/comments{/number}","contents_url":"https://api.github.com/repos/bryanrasmussen/node-phash/contents/{+path}","compare_url":"https://api.github.com/repos/bryanrasmussen/node-phash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bryanrasmussen/node-phash/merges","archive_url":"https://api.github.com/repos/bryanrasmussen/node-phash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bryanrasmussen/node-phash/downloads","issues_url":"https://api.github.com/repos/bryanrasmussen/node-phash/issues{/number}","pulls_url":"https://api.github.com/repos/bryanrasmussen/node-phash/pulls{/number}","milestones_url":"https://api.github.com/repos/bryanrasmussen/node-phash/milestones{/number}","notifications_url":"https://api.github.com/repos/bryanrasmussen/node-phash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bryanrasmussen/node-phash/labels{/name}","releases_url":"https://api.github.com/repos/bryanrasmussen/node-phash/releases{/id}","created_at":"2015-09-17T07:38:03Z","updated_at":"2015-09-17T07:38:04Z","pushed_at":"2015-09-17T08:40:42Z","git_url":"git://github.com/bryanrasmussen/node-phash.git","ssh_url":"git@github.com:bryanrasmussen/node-phash.git","clone_url":"https://github.com/bryanrasmussen/node-phash.git","svn_url":"https://github.com/bryanrasmussen/node-phash","homepage":null,"size":1748,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"aaronm67:master","ref":"master","sha":"5f5491408f9c3d82584d1be26d781ae1ccb69ebe","user":{"login":"aaronm67","id":727029,"avatar_url":"https://avatars.githubusercontent.com/u/727029?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronm67","html_url":"https://github.com/aaronm67","followers_url":"https://api.github.com/users/aaronm67/followers","following_url":"https://api.github.com/users/aaronm67/following{/other_user}","gists_url":"https://api.github.com/users/aaronm67/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronm67/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronm67/subscriptions","organizations_url":"https://api.github.com/users/aaronm67/orgs","repos_url":"https://api.github.com/users/aaronm67/repos","events_url":"https://api.github.com/users/aaronm67/events{/privacy}","received_events_url":"https://api.github.com/users/aaronm67/received_events","type":"User","site_admin":false},"repo":{"id":4733992,"name":"node-phash","full_name":"aaronm67/node-phash","owner":{"login":"aaronm67","id":727029,"avatar_url":"https://avatars.githubusercontent.com/u/727029?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronm67","html_url":"https://github.com/aaronm67","followers_url":"https://api.github.com/users/aaronm67/followers","following_url":"https://api.github.com/users/aaronm67/following{/other_user}","gists_url":"https://api.github.com/users/aaronm67/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronm67/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronm67/subscriptions","organizations_url":"https://api.github.com/users/aaronm67/orgs","repos_url":"https://api.github.com/users/aaronm67/repos","events_url":"https://api.github.com/users/aaronm67/events{/privacy}","received_events_url":"https://api.github.com/users/aaronm67/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aaronm67/node-phash","description":"Phash Bindings for Node.js","fork":false,"url":"https://api.github.com/repos/aaronm67/node-phash","forks_url":"https://api.github.com/repos/aaronm67/node-phash/forks","keys_url":"https://api.github.com/repos/aaronm67/node-phash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aaronm67/node-phash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aaronm67/node-phash/teams","hooks_url":"https://api.github.com/repos/aaronm67/node-phash/hooks","issue_events_url":"https://api.github.com/repos/aaronm67/node-phash/issues/events{/number}","events_url":"https://api.github.com/repos/aaronm67/node-phash/events","assignees_url":"https://api.github.com/repos/aaronm67/node-phash/assignees{/user}","branches_url":"https://api.github.com/repos/aaronm67/node-phash/branches{/branch}","tags_url":"https://api.github.com/repos/aaronm67/node-phash/tags","blobs_url":"https://api.github.com/repos/aaronm67/node-phash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aaronm67/node-phash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aaronm67/node-phash/git/refs{/sha}","trees_url":"https://api.github.com/repos/aaronm67/node-phash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aaronm67/node-phash/statuses/{sha}","languages_url":"https://api.github.com/repos/aaronm67/node-phash/languages","stargazers_url":"https://api.github.com/repos/aaronm67/node-phash/stargazers","contributors_url":"https://api.github.com/repos/aaronm67/node-phash/contributors","subscribers_url":"https://api.github.com/repos/aaronm67/node-phash/subscribers","subscription_url":"https://api.github.com/repos/aaronm67/node-phash/subscription","commits_url":"https://api.github.com/repos/aaronm67/node-phash/commits{/sha}","git_commits_url":"https://api.github.com/repos/aaronm67/node-phash/git/commits{/sha}","comments_url":"https://api.github.com/repos/aaronm67/node-phash/comments{/number}","issue_comment_url":"https://api.github.com/repos/aaronm67/node-phash/issues/comments{/number}","contents_url":"https://api.github.com/repos/aaronm67/node-phash/contents/{+path}","compare_url":"https://api.github.com/repos/aaronm67/node-phash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aaronm67/node-phash/merges","archive_url":"https://api.github.com/repos/aaronm67/node-phash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aaronm67/node-phash/downloads","issues_url":"https://api.github.com/repos/aaronm67/node-phash/issues{/number}","pulls_url":"https://api.github.com/repos/aaronm67/node-phash/pulls{/number}","milestones_url":"https://api.github.com/repos/aaronm67/node-phash/milestones{/number}","notifications_url":"https://api.github.com/repos/aaronm67/node-phash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aaronm67/node-phash/labels{/name}","releases_url":"https://api.github.com/repos/aaronm67/node-phash/releases{/id}","created_at":"2012-06-21T02:35:43Z","updated_at":"2015-09-06T02:22:49Z","pushed_at":"2015-04-11T14:25:50Z","git_url":"git://github.com/aaronm67/node-phash.git","ssh_url":"git@github.com:aaronm67/node-phash.git","clone_url":"https://github.com/aaronm67/node-phash.git","svn_url":"https://github.com/aaronm67/node-phash","homepage":null,"size":1895,"stargazers_count":58,"watchers_count":58,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":8,"forks":18,"open_issues":8,"watchers":58,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aaronm67/node-phash/pulls/21"},"html":{"href":"https://github.com/aaronm67/node-phash/pull/21"},"issue":{"href":"https://api.github.com/repos/aaronm67/node-phash/issues/21"},"comments":{"href":"https://api.github.com/repos/aaronm67/node-phash/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/aaronm67/node-phash/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/aaronm67/node-phash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aaronm67/node-phash/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/aaronm67/node-phash/statuses/f5c27e89ea3d5ef48516e1bdee24b0caed590467"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":6,"deletions":4,"changed_files":2}}