Jasmine PhantomJs.exe抛出“文件”;在抛出';std::bad#u alloc'&引用;Windows 2008 R2上的错误

Jasmine PhantomJs.exe抛出“文件”;在抛出';std::bad#u alloc'&引用;Windows 2008 R2上的错误,jasmine,phantomjs,Jasmine,Phantomjs,我试图使用PhantomJs.exe从命令行运行我的jamsine规范。这是我的命令行 'path\to\phantomjs\phantomjs.exe run-jasmine.js SpecRunner.html 我正在从spec runner html文件所在的文件夹运行此文件。上面的命令引发以下错误 terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc This ap

我试图使用PhantomJs.exe从命令行运行我的jamsine规范。这是我的命令行

'path\to\phantomjs\phantomjs.exe run-jasmine.js SpecRunner.html
我正在从spec runner html文件所在的文件夹运行此文件。上面的命令引发以下错误

terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
我已经看过phantomjs组,但这对像我这样有.net背景的人没有多大帮助

到目前为止,我发现PhantomJs的1.3.0版对我来说很好。

看看


这是当检测到C运行时(CRT)库实例冲突时发生的典型调用情况!一个应用程序静态绑定到CRT,同时该应用程序尝试动态绑定到CRT。

不是幻影,但std::bad_alloc是内存不足最常见的原因。我同意。但是我只看到了phantomjs.exe,而且每次使用phantomjs.exe我都能看到。但是我应该如何解决问题?…联系构建bits的人,攻击系统的应用程序!:-(…并将此问题标记为已回答?:-)这并不完全回答问题,但通过指出库本身可能存在问题这一事实,节省了我的时间。我开始使用一个旧版本,现在对我有效(原始问题更新以反映这一点)