[Numpy-discussion] Numpy.test() hangs

Charles R Harris charlesr.harris@gmail....
Tue Nov 11 16:00:21 CST 2008


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

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

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://projects.scipy.org/pipermail/numpy-discussion/attachments/20081111/eed9688c/attachment.html 


More information about the Numpy-discussion mailing list