首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Scipy测试问题-未分配要释放的指针

Scipy测试问题-未分配要释放的指针
EN

Stack Overflow用户
提问于 2012-12-05 01:08:50
回答 1查看 724关注 0票数 1

我在Mac os X(美洲狮)上通过从源代码编译的方式安装了Numpy和Scipy。

numpy测试结果很好。但是scipy测试有一个问题。

代码语言:javascript
复制
In [1]: import scipy

In [2]: scipy.test()
Running unit tests for scipy
NumPy version 1.6.2
NumPy is installed in /usr/local/lib/python2.7/site-packages/numpy
SciPy version 0.11.0
SciPy is installed in /usr/local/lib/python2.7/site-packages/scipy
Python version 2.7.3 (default, Dec  4 2012, 00:30:38) [GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))]
nose version 1.2.1
.....................................................................................................................................................................................   
F.FFPython(66098,0x7fff74ae5180) malloc: *** error for object 0x7fe9cb2e07b0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6

有人知道如何解决这个问题吗?

多亏了pv,它看起来像是一个bug。

代码语言:javascript
复制
test_definition (test_basic.TestDoubleIFFT) ... FAIL
test_definition_real (test_basic.TestDoubleIFFT) ... ok
test_djbfft (test_basic.TestDoubleIFFT) ... FAIL
test_random_complex (test_basic.TestDoubleIFFT) ... FAIL
Python(66990,0x7fff74ae5180) malloc: *** error for object 0x7f9f53d8dec0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

我对其余的测试很好奇。如果这个失败的测试是唯一的问题,那就好了。

我怎样才能跳过这个失败的测试而继续其余的测试呢?

EN

回答 1

Stack Overflow用户

发布于 2012-12-05 01:30:40

使用scipy.test("full", verbose=2)运行,将输出存储到一个文件中,并归档一个错误报告:http://projects.scipy.org/scipy/ (但如果问题已知,请先尝试搜索)

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/13708212

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档