{"action":"created","issue":{"url":"https://api.github.com/repos/abbr/deasync/issues/12","labels_url":"https://api.github.com/repos/abbr/deasync/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/abbr/deasync/issues/12/comments","events_url":"https://api.github.com/repos/abbr/deasync/issues/12/events","html_url":"https://github.com/abbr/deasync/issues/12","id":65074221,"number":12,"title":"SIGSEGV error","user":{"login":"jonkafton","id":939376,"avatar_url":"https://avatars.githubusercontent.com/u/939376?v=3","gravatar_id":"","url":"https://api.github.com/users/jonkafton","html_url":"https://github.com/jonkafton","followers_url":"https://api.github.com/users/jonkafton/followers","following_url":"https://api.github.com/users/jonkafton/following{/other_user}","gists_url":"https://api.github.com/users/jonkafton/gists{/gist_id}","starred_url":"https://api.github.com/users/jonkafton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonkafton/subscriptions","organizations_url":"https://api.github.com/users/jonkafton/orgs","repos_url":"https://api.github.com/users/jonkafton/repos","events_url":"https://api.github.com/users/jonkafton/events{/privacy}","received_events_url":"https://api.github.com/users/jonkafton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-29T16:18:08Z","updated_at":"2015-03-29T19:03:38Z","closed_at":null,"body":"I'm getting process exits with SIGSEGV error on any usage of deasync (generic wrapper and runLoopOnce() style). Node is v0.12.0. 'segfault-handler' provides following stack trace:\r\n\r\nPID 40231 received SIGSEGV for address: 0x0\r\n0   segfault-handler.node               0x00000001017f590f _ZL16segfault_handleriP9__siginfoPv + 287\r\n1   libsystem_platform.dylib            0x00007fff94ef0f1a _sigtramp + 26\r\n2   ???                                 0x0000000400000000 0x0 + 17179869184\r\n3   node                                0x000000010058fdf3 _ZN4node12TLSCallbacks6DoReadEP11uv_stream_slPK8uv_buf_t14uv_handle_type + 115\r\n4   node                                0x000000010065c02a uv__stream_io + 1266\r\n5   node                                0x000000010066312f uv__io_poll + 1581\r\n6   node                                0x000000010065592c uv_run + 249\r\n7   node                                0x0000000100549c92 _ZN4node5StartEiPPc + 342\r\n8   node                                0x0000000100001374 start + 52\r\n9   ???                                 0x000000000000000a 0x0 + 10\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/abbr/deasync/issues/comments/87455562","html_url":"https://github.com/abbr/deasync/issues/12#issuecomment-87455562","issue_url":"https://api.github.com/repos/abbr/deasync/issues/12","id":87455562,"user":{"login":"jonkafton","id":939376,"avatar_url":"https://avatars.githubusercontent.com/u/939376?v=3","gravatar_id":"","url":"https://api.github.com/users/jonkafton","html_url":"https://github.com/jonkafton","followers_url":"https://api.github.com/users/jonkafton/followers","following_url":"https://api.github.com/users/jonkafton/following{/other_user}","gists_url":"https://api.github.com/users/jonkafton/gists{/gist_id}","starred_url":"https://api.github.com/users/jonkafton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonkafton/subscriptions","organizations_url":"https://api.github.com/users/jonkafton/orgs","repos_url":"https://api.github.com/users/jonkafton/repos","events_url":"https://api.github.com/users/jonkafton/events{/privacy}","received_events_url":"https://api.github.com/users/jonkafton/received_events","type":"User","site_admin":false},"created_at":"2015-03-29T19:03:38Z","updated_at":"2015-03-29T19:03:38Z","body":"I'm wrapping a method on the prototype with deasync as below:\r\n\r\n    PriceData.prototype.fetchSync = deasync(function (timeframe, count, done) {\r\n        this.data[timeframe].fetch(count, done);\r\n    });\r\n\r\n... which is called by e.g....\r\n\r\n    var priceData = new PriceData();\r\n    priceData.fetchSync(\"H1\", 10);\r\n\r\nthis.data[timeframe].fetch is a normal async function that fires the done callback with error and data. \r\n\r\n"}}