wezm/node-genx

segfailt on node v0.10.0

Opened this issue · 1 comments

figure I better post this here, as well.

Upgraded last week to node v.0.10.0, I also upgraded node-genx to 1.0 via npm, and now a program that creates a file of several thousand XML documents that has been running very stable since 0.4.0 segfaults.

I got segvcatcher installed for v0.10.0, and the output is below. I am hoping someone can point me towards what I need to look into next, so I can try and fix this. Thanks in advance.

-bash-3.2$ /usr/bin/node /var/lib/sphinx/server/sphinx/sphinx_idx.js http://localhost:5984/dai canonical 0:1293868800 --throttle=10 --queuesize=50 > full.xml
PID 31204 received SIGSEGV for address: 0x11
/var/lib/sphinx/node_modules/segvcatcher/build/Release/segvhandler.node[0x123b47]
[0xdb7440]
/usr/bin/node(_ZN2v88internal18IncrementalMarking4StepEiNS1_16CompletionActionE+0x412)[0x8420402]
/usr/bin/node(_ZN2v88internal8NewSpace15SlowAllocateRawEi+0x6f)[0x852a1ff]
/usr/bin/node(_ZN2v88internal4Heap8AllocateEPNS0_3MapENS0_15AllocationSpaceE+0x1cf)[0x83d194f]
/usr/bin/node(_ZN2v88internal4Heap23AllocateJSObjectFromMapEPNS0_3MapENS0_13PretenureFlagE+0x68)[0x83d2d48]
/usr/bin/node(_ZN2v88internal7Factory11NewJSObjectENS0_6HandleINS0_10JSFunctionEEENS0_13PretenureFlagE+0x33)[0x83a35b3]
/usr/bin/node(_ZN2v88internal17Runtime_NewObjectENS0_9ArgumentsEPNS0_7IsolateE+0x213)[0x84ea2f3]
[0x8d60a376]
[0x8d61636b]
[0xa69ef3ec]
[0xa3ac2434]
[0x8d60e501]
[0x8d621892]
[0x8d61308a]
/usr/bin/node[0x83952ae]
/usr/bin/node(_ZN2v88internal9Execution4CallENS0_6HandleINS0_6ObjectEEES4_iPS4_Pbb+0x98)[0x8396c68]
/usr/bin/node(_ZN2v88Function4CallENS_6HandleINS_6ObjectEEEiPNS1_INS_5ValueEEE+0xf7)[0x833b4c7]
/usr/lib/node_modules/genx/build/Release/genx.node(_ZN6Writer4EmitEiPN2v86HandleINS0_5ValueEEE+0x5b)[0x11a6cb]
/usr/lib/node_modules/genx/build/Release/genx.node(_ZN6Writer11sender_sendEPvPKh+0x57)[0x11ae77]
/usr/lib/node_modules/genx/build/Release/genx.node[0x11816c]
/usr/lib/node_modules/genx/build/Release/genx.node[0x118225]
/usr/lib/node_modules/genx/build/Release/genx.node(genxAddText+0x3c)[0x118e3c]
/usr/lib/node_modules/genx/build/Release/genx.node(_ZN6Writer7addTextEPKh+0x20)[0x11a990]
/usr/lib/node_modules/genx/build/Release/genx.node(_ZN6Writer7AddTextERKN2v89ArgumentsE+0x114)[0x11b824]
[0xb8afa91b]
[0xb8ab898e]
[0xb8ad79ca]
[0xb8ae4137]
[0xa69a9f88]
[0x8d624a85]
[0xb8ac1732]

Can you try with the latest version and see if it still happens? I personally am using it to generate XML with over 1.4 million records on node 4.2.3 and it's working fine. If you can get it to happen again (and still care after like 3 years :) could you post an example file that does it and I'll recreate it? Thanks!