[Numpy-discussion] Numpy.test() hangs

Charles R Harris charlesr.harris at gmail.com
Tue Nov 11 17:00:21 EST 2008


On Tue, Nov 11, 2008 at 2:25 PM, Charles R Harris <charlesr.harris at gmail.com
> wrote:

>
>
> 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?
>

I think this is now fixed in svn, I'm trying to see if static fixes the
problem with the old buggy version. What optimization level is numpy being
compiled with?

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20081111/eed9688c/attachment.html>


More information about the NumPy-Discussion mailing list