> On Nov 23, 2014, at 8:00 PM, Nael Alismail <[email protected]> wrote:
> 
> I'm stuck on an issue during testing and I was wondering if I could get some 
> help nailing down the problem. I've created a project to recreate the error 
> here: https://github.com/maestroh/segfault_test
> 
> When running my tests, I continue to get a segmentation fault error when 
> nodemon restarts. The only way I've been able to recreate the error is 
> through the following steps.

[snip]

> When the tests re-run, I receive the following segfault error

[snip]

> /home/nael/proj/segfault_test/node_modules/jsdom/node_modules/contextify/build/Release/contextify.node(_ZN17ContextifyContext20GlobalPropertySetterEN2v85LocalINS0_6StringEEENS1_INS0_5ValueEEERKNS0_12AccessorInfoE+0x6e)[0x7f02505ad25e]

That is Contextify being set up, which is a really interestingly annoying piece 
of hackery. Its concepts now form the node 0.11 vm module. 

Which node are you using? 

> I only get the segfault when requiring sinon or simple-mock. Anyone know how 
> to further diagnose the problem? I'm thinking there is a problem with how I'm 
> setting up and tearing down jsdom, but I can't find anyone else that's had 
> the problem. One other thought is that I'm running in a virtual machine. I'm 
> wondering if the contextify build isn't getting created correctly which 
> results in the segfault.


I wonder if those do similar hacks -- do either of those use contextify?

Aria

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/9DA32552-6C2A-484D-8F39-5F1C59201DC0%40nbtsc.org.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to