[Numpy-discussion] Numpy.test() hangs

Charles R Harris charlesr.harris at gmail.com
Tue Nov 11 16:25:22 EST 2008


On Tue, Nov 11, 2008 at 1:16 PM, James Philbin <philbinj at 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://mail.python.org/pipermail/numpy-discussion/attachments/20081111/22e0c5ba/attachment.html>


More information about the NumPy-Discussion mailing list