Hi all
I'm using node 0.8.14 and I've got a test suite that results in a segmentation fault on both OSX and whatever Travis is building on. I thought I'd be clever and use gdb to get a stack trace but here's what I got:
(gdb) set args ./node_modules/mocha/bin/mocha
(gdb) run
Starting program: /usr/local/bin/node ./node_modules/mocha/bin/mocha
Reading symbols for shared libraries ++++......................................................................................................................................... done
․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
Program received signal SIGSEGV, Segmentation fault.
0x00007fff98797d46 in __kill ()
(gdb) bt
#0 0x00007fff98797d46 in __kill ()
(gdb)
So that's not too useful :/
What can I do next to track down the problem? I have no native code myself so I think the problem must be occurring in libxmljs, contextify, or rbytes, but I don't know which. I'm afraid I haven't done anything with native code in over a decade and even then it was on Windows so I'm just a little out of my comfort zone here... :/
If you'd like to help investigate (me love you long time) you can see the output from Travis at
https://travis-ci.org/#!/GraemeF/wordburglar/builds/3071625 and repeat the test yourself by cloning
https://github.com/GraemeF/wordburglar.git and run npm install and then npm test.
Any tips would be appreciated!
Cheers,
G.
--
Twitter: @GraemeF
IRC: graeme_f