{"action":"created","issue":{"url":"https://api.github.com/repos/waTeim/node-julia/issues/21","labels_url":"https://api.github.com/repos/waTeim/node-julia/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/waTeim/node-julia/issues/21/comments","events_url":"https://api.github.com/repos/waTeim/node-julia/issues/21/events","html_url":"https://github.com/waTeim/node-julia/issues/21","id":108740278,"number":21,"title":"hang on import","user":{"login":"sebastiang","id":446324,"avatar_url":"https://avatars.githubusercontent.com/u/446324?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastiang","html_url":"https://github.com/sebastiang","followers_url":"https://api.github.com/users/sebastiang/followers","following_url":"https://api.github.com/users/sebastiang/following{/other_user}","gists_url":"https://api.github.com/users/sebastiang/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastiang/subscriptions","organizations_url":"https://api.github.com/users/sebastiang/orgs","repos_url":"https://api.github.com/users/sebastiang/repos","events_url":"https://api.github.com/users/sebastiang/events{/privacy}","received_events_url":"https://api.github.com/users/sebastiang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-28T20:30:29Z","updated_at":"2015-09-29T01:29:12Z","closed_at":null,"body":"I am trying to figure out why an `import` of a Julia modules works on one machine, but hangs on another. While I hunt down what differences might exist between the machine images -- each provisioned the same way -- I thought I'd post the stack trace to see if it inspired any ideas. Node `0.12.7`, julia `v0.4-rc2`. I start the app, it hangs on an `import` statement, and after a while I `CTRL+C`. If I do it quickly, I just get a plain segfault. If I wait a while, I get something like this.\r\n\r\n    ^Cfatal: error thrown and no exception handler available.\r\n    InterruptException()\r\n    rec_backtrace at /usr/local/lib/julia/libjulia.so (unknown line)\r\n    jl_throw at /usr/local/lib/julia/libjulia.so (unknown line)\r\n    unknown function (ip: 0x7f32b97d409f)\r\n    unknown function (ip: 0x7f32b97d4109)\r\n    unknown function (ip: 0x7f32bae13340)\r\n    pthread_cond_wait at /lib/x86_64-linux-gnu/libpthread.so.0 (unknown line)\r\n    _ZNSt18condition_variable4waitERSt11unique_lockISt5mutexE at /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (unknown line)\r\n    _ZN5JMain12syncQueueGetEv at /MyApp/build/node_modules/node-julia/build/Release/nj.node (unknown line)\r\n    _Z8doImportRKN2v820FunctionCallbackInfoINS_5ValueEEE at /MyApp/build/node_modules/node-julia/build/Release/nj.node (unknown line)\r\n    _ZN2v88internal25FunctionCallbackArguments4CallEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEE at node (unknown line)\r\n    unknown function (ip: 0x7d9af1)\r\n    unknown function (ip: 0x3839292060a2)\r\n    unknown function (ip: 0x3839295ac819)\r\n    unknown function (ip: 0x38392921e8d5)\r\n    unknown function (ip: 0x3839295ac3a2)\r\n    unknown function (ip: 0x3839295a4c9f)\r\n    unknown function (ip: 0x38392958ff71)\r\n    unknown function (ip: 0x38392959a379)\r\n    unknown function (ip: 0x38392958ff71)\r\n    unknown function (ip: 0x3839292bf54c)\r\n    unknown function (ip: 0x3839292bd920)\r\n    unknown function (ip: 0x3839292bdbb4)\r\n    unknown function (ip: 0x3839292bd920)\r\n    unknown function (ip: 0x3839292a3b5e)\r\n    unknown function (ip: 0x3839292a614b)\r\n    unknown function (ip: 0x383929224ac6)\r\n    unknown function (ip: 0x3839292a2c46)\r\n    unknown function (ip: 0x38392929d12c)\r\n    unknown function (ip: 0x3839292998e0)\r\n    unknown function (ip: 0x383929290505)\r\n    unknown function (ip: 0x38392928fec4)\r\n    unknown function (ip: 0x38392926597f)\r\n    unknown function (ip: 0x383929264370)\r\n    unknown function (ip: 0x38392921ef40)\r\n    unknown function (ip: 0x38392921de90)\r\n    _ZN2v88internal9Execution4CallEPNS0_7IsolateENS0_6HandleINS0_6ObjectEEES6_iPS6_b at node (unknown line)\r\n    _ZN2v88Function4CallENS_6HandleINS_5ValueEEEiPS3_ at node (unknown line)\r\n    _ZN4node15LoadEnvironmentEPNS_11EnvironmentE at node (unknown line)\r\n    _ZN4node5StartEiPPc at node (unknown line)\r\n    __libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)\r\n    unknown function (ip: 0x617cdf)\r\n    unknown function (ip: (nil))\r\n"},"comment":{"url":"https://api.github.com/repos/waTeim/node-julia/issues/comments/143917939","html_url":"https://github.com/waTeim/node-julia/issues/21#issuecomment-143917939","issue_url":"https://api.github.com/repos/waTeim/node-julia/issues/21","id":143917939,"user":{"login":"sebastiang","id":446324,"avatar_url":"https://avatars.githubusercontent.com/u/446324?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastiang","html_url":"https://github.com/sebastiang","followers_url":"https://api.github.com/users/sebastiang/followers","following_url":"https://api.github.com/users/sebastiang/following{/other_user}","gists_url":"https://api.github.com/users/sebastiang/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastiang/subscriptions","organizations_url":"https://api.github.com/users/sebastiang/orgs","repos_url":"https://api.github.com/users/sebastiang/repos","events_url":"https://api.github.com/users/sebastiang/events{/privacy}","received_events_url":"https://api.github.com/users/sebastiang/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T01:29:12Z","updated_at":"2015-09-29T01:29:12Z","body":"it would appear I have to build the latest build with JL_OPTIONS_HANDLE_SIGNALS_OFF defined?"}}