{"action":"created","issue":{"url":"https://api.github.com/repos/oracle/node-oracledb/issues/607","repository_url":"https://api.github.com/repos/oracle/node-oracledb","labels_url":"https://api.github.com/repos/oracle/node-oracledb/issues/607/labels{/name}","comments_url":"https://api.github.com/repos/oracle/node-oracledb/issues/607/comments","events_url":"https://api.github.com/repos/oracle/node-oracledb/issues/607/events","html_url":"https://github.com/oracle/node-oracledb/issues/607","id":205124652,"number":607,"title":"Oracledb module silently crashes","user":{"login":"Tomkinen","id":11924424,"avatar_url":"https://avatars.githubusercontent.com/u/11924424?v=3","gravatar_id":"","url":"https://api.github.com/users/Tomkinen","html_url":"https://github.com/Tomkinen","followers_url":"https://api.github.com/users/Tomkinen/followers","following_url":"https://api.github.com/users/Tomkinen/following{/other_user}","gists_url":"https://api.github.com/users/Tomkinen/gists{/gist_id}","starred_url":"https://api.github.com/users/Tomkinen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tomkinen/subscriptions","organizations_url":"https://api.github.com/users/Tomkinen/orgs","repos_url":"https://api.github.com/users/Tomkinen/repos","events_url":"https://api.github.com/users/Tomkinen/events{/privacy}","received_events_url":"https://api.github.com/users/Tomkinen/received_events","type":"User","site_admin":false},"labels":[{"id":253930243,"url":"https://api.github.com/repos/oracle/node-oracledb/labels/Install%20&%20Configuration","name":"Install & Configuration","color":"fad8c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-02-03T10:43:40Z","updated_at":"2017-02-08T09:37:16Z","closed_at":null,"body":"I am running nodejs (version 4.7.2) in windows server 2012 R2. Oracledb is version 1.12.2. Compiler is visual studio 2013.\r\n\r\nWhen running nodejs application that uses oracledb module, the application randomly crashes without any error messages visible in command prompt.\r\n\r\nUsually the nodejs application crashes in matter of seconds after starting to use it. Especially if the query made by oracledb would return big amount of data.\r\n\r\nI had to install segfault-handler -module to be able to get some errors logged.\r\n\r\nHere is what segfault-handler is returning as error message. It seems that the binaries oracledb is using are causing the error:\r\n\r\nPID 2528 received SIGSEGV for address: 0x7a91ed78\r\nc:\\nodejs_app\\indication\\node_modules\\segfault-handler\\src\\stackwalker.cpp (941): StackWalker::ShowCallstack\r\nc:\\nodejs_app\\indication\\node_modules\\segfault-handler\\src\\segfault-handler.cpp (116): segfault_handler\r\n00007FFC8AE05F32 (ntdll): (filename not available): RtlRestoreContext\r\n00007FFC8AE04753 (ntdll): (filename not available): RtlRaiseException\r\n00007FFC8AE4309A (ntdll): (filename not available): KiUserExceptionDispatcher\r\nc:\\nodejs_app\\indication\\node_modules\\oracledb\\src\\njs\\src\\njsconnection.h (457): eBaton::~eBaton\r\nc:\\nodejs_app\\indication\\node_modules\\oracledb\\src\\njs\\src\\njsconnection.cpp (3796): Connection::Async_AfterExecute\r\n00007FF672F9A4C3 (node): (filename not available): uv_fs_poll_getpath\r\n00007FF672F9A427 (node): (filename not available): uv_fs_poll_getpath\r\n00007FF672F8876B (node): (filename not available): uv_async_send\r\n00007FF672F85284 (node): (filename not available): BIO_asn1_get_suffix\r\n00007FF672F85BB8 (node): (filename not available): uv_run\r\n00007FF672DFF480 (node): (filename not available): node::CreateEnvironment\r\n00007FF672DFF776 (node): (filename not available): node::Start\r\n00007FF6734F0EA4 (node): (filename not available): lh_node_usage_stats_bio\r\n00007FFC8AC713D2 (KERNEL32): (filename not available): BaseThreadInitThunk\r\n00007FFC8ADC5444 (ntdll): (filename not available): RtlUserThreadStart\r\n\r\n\r\n\r\nFiles \"oracledb\\src\\njs\\src\\njsconnection.h\" and \"oracledb\\src\\njs\\src\\njsconnection.cpp\" are causing the crash. Should i install older version of oracledb as that seems to work ok? I have used oracledb for 2 years without this error ever happening. Errors started to happen after updating nodefrom 4.2.6 to 4.7.2 and oracledb from 1.6.0 to 1.12.2.\r\n\r\nI will give more information if you require. Would be very nice to fix this properly (without need to use older version)."},"comment":{"url":"https://api.github.com/repos/oracle/node-oracledb/issues/comments/278278024","html_url":"https://github.com/oracle/node-oracledb/issues/607#issuecomment-278278024","issue_url":"https://api.github.com/repos/oracle/node-oracledb/issues/607","id":278278024,"user":{"login":"Tomkinen","id":11924424,"avatar_url":"https://avatars.githubusercontent.com/u/11924424?v=3","gravatar_id":"","url":"https://api.github.com/users/Tomkinen","html_url":"https://github.com/Tomkinen","followers_url":"https://api.github.com/users/Tomkinen/followers","following_url":"https://api.github.com/users/Tomkinen/following{/other_user}","gists_url":"https://api.github.com/users/Tomkinen/gists{/gist_id}","starred_url":"https://api.github.com/users/Tomkinen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tomkinen/subscriptions","organizations_url":"https://api.github.com/users/Tomkinen/orgs","repos_url":"https://api.github.com/users/Tomkinen/repos","events_url":"https://api.github.com/users/Tomkinen/events{/privacy}","received_events_url":"https://api.github.com/users/Tomkinen/received_events","type":"User","site_admin":false},"created_at":"2017-02-08T09:37:16Z","updated_at":"2017-02-08T09:37:16Z","body":"Yes. You are right. I should try to re-rebuild to see if it has impact. I will get back once i have done that."}}
{"actor":{"display_login":"Tomkinen"}}