[Numpy-discussion] Numpy.test() hangs

Charles R Harris charlesr.harris@gmail....
Tue Nov 11 15:25:22 CST 2008


On Tue, Nov 11, 2008 at 1:16 PM, James Philbin <philbinj@gmail.com> wrote:

> Hmmm... So I examined an objdump of umath.so:
> objdump -d /usr/lib/python2.5/site-packages/numpy/core/umath.so > umath.asm
>
> The relevant lines are here:
> ---
> 00000000000292c0 <log1pf>:
>   292c0:       e9 fb ff ff ff          jmpq   292c0 <log1pf>
>   292c5:       66 66 2e 0f 1f 84 00    nopw   %cs:0x0(%rax,%rax,1)
>   292cc:       00 00 00 00
> ---
>
> Not sure if i'm reading this correctly, but the first line seems to be
> an unconditional jump to itself, hence an infinite loop?
>

Hmm... I'm fishing now, but I think the current configuration doesn't find
log1pf in the library even though it is there. Before updating from svn,
could you try going into numpy/core/src/math_c99.inc.src  line 219 and put
"static" in the function definition?

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20081111/22e0c5ba/attachment.html 


More information about the Numpy-discussion mailing list