-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I'm receiving a segmentation fault when trying to connect my DB.
PID 28641 received SIGSEGV for address: 0x50
0 segfault-handler.node 0x00000001016f1649 _ZL16segfault_handleriP9__siginfoPv + 329
1 libsystem_platform.dylib 0x00007fff97d8d52a _sigtramp + 26
2 ??? 0x0000000000000000 0x0 + 0
3 node 0x0000000100131332 _ZN2v86String11NewFromUtf8EPNS_7IsolateEPKcNS_13NewStringTypeEi + 98
4 oracle_bindings.node 0x0000000102690390 _ZN12OracleClient16EIO_AfterConnectEP9uv_work_s + 96
5 node 0x000000010076b2a5 uv__work_done + 178
6 node 0x000000010076ceb1 uv__async_event + 198
7 node 0x000000010076d044 uv__async_io + 136
8 node 0x000000010077bd36 uv__io_poll + 1554
9 node 0x000000010076d4f7 uv_run + 321
10 node 0x0000000100649a1f _ZN4node5StartEiPPc + 583
11 node 0x0000000100001934 start + 52
12 ??? 0x0000000000000002 0x0 + 2
This is the code I'm running:
var settings = {};
var oracle = require("strong-oracle")(settings);
var connectData = {
hostname: "localhost",
user: "my_user",
password: "my_pass",
database: "orcl"
};
oracle.connect(connectData, function(err, connection) {
console.log('connected!');
connection.close();
});I am able to connect successfully with SQLDeveloper, node-oracledb, and SQLPlus.
Node version: 4.2.6
strong-oracle: 1.9.0
Instant Client: 12.1.0.2 (64-bit)
OS X El Capitan
Metadata
Metadata
Assignees
Labels
No labels