Skip Menu |

This queue is for tickets about the Math-Cephes CPAN distribution.

Report information
The Basics
Id: 74182
Status: stalled
Priority: 0/
Queue: Math-Cephes

People
Owner: Nobody in particular
Requestors: charly [...] oac.uncor.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: new bug
Date: Fri, 20 Jan 2012 09:33:28 -0300
To: bug-Math-Cephes [...] rt.cpan.org
From: Charly <charly [...] oac.uncor.edu>
Hi, I've installed Math-Cephes-0.47 on a MacBook (OS X 10.7.2). When I do 'make test' I get: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/99pod.t ............ ok t/bessels.t .......... 1/27 and the Mac stays there forever. I also noted this suspicious line after the 'make' command: /usr/bin/ranlib: archive library: libmd.a will be fat and ar(1) will not be able to operate on it Thanks charly
Hi charly, sorry for the late response, but I've only started maintaining this module today (taking over from the late Randy Kobes). On Fri Jan 20 07:33:39 2012, charly@oac.uncor.edu wrote: Show quoted text
> Hi, > I've installed Math-Cephes-0.47 on a MacBook (OS X 10.7.2). > When I do 'make test' I get: > > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/99pod.t ............ ok > t/bessels.t .......... 1/27 > > and the Mac stays there forever. > > I also noted this suspicious line after the 'make' command: > /usr/bin/ranlib: archive library: libmd.a will be fat and ar(1) will
not be Show quoted text
> able to operate on it > > Thanks > charly
Can you try again with the tip of https://github.com/shlomif/Math-Cephes ? Regards, -- Shlomi Fish
Subject: hangs on big endian machines
I have been running a smoker on a PA-RISC machine for a while, and I've had to kill it for Math::Cephes a number of times since it hangs on the first test. It looks like this RT is the same issue. perl -Iblib/lib -Iblib/arch t/bessels.t 1..27 ok 1 ok 2 not ok 3 (expected 0.1670246643: got -1212138.37621912) at t/bessels.t line 34 ok 4 not ok 5 (expected 0.06683312418: got -349717.012947448) at t/bessels.t line 36 ok 6 not ok 7 (expected 0.151169768: got -1097075.55958296) at t/bessels.t line 38 at which point it hangs forever (hence no failure report). I got the latest code from the git repo and there is no change. This is a big endian machine (which is why I'm running the smoker on it). The debugger (compiling with -g) indicates it's stuck in a loop in floor.c line 339. If I go in by hand and change mconf.h to set MIEEE 1 and BIGENDIAN 1, it no longer hangs, but on the other hand it also fails most of the tests. Sorry I don't have a nice patch, but let me know if you want me to run anything else.
Hi DANAJ, On Fri Feb 01 00:09:07 2013, DANAJ wrote: Show quoted text
> I have been running a smoker on a PA-RISC machine for a while, and I've > had to kill it for Math::Cephes a number of times since it hangs on the > first test. It looks like this RT is the same issue.
There's a way to do it automatically I'm sure. Show quoted text
> > perl -Iblib/lib -Iblib/arch t/bessels.t > 1..27 > ok 1 > ok 2 > not ok 3 (expected 0.1670246643: got -1212138.37621912) at t/bessels.t > line 34 > ok 4 > not ok 5 (expected 0.06683312418: got -349717.012947448) at t/bessels.t > line 36 > ok 6 > not ok 7 (expected 0.151169768: got -1097075.55958296) at t/bessels.t > line 38 > > at which point it hangs forever (hence no failure report). > > I got the latest code from the git repo and there is no change. > > This is a big endian machine (which is why I'm running the smoker on it). > > The debugger (compiling with -g) indicates it's stuck in a loop in > floor.c line 339. > > If I go in by hand and change mconf.h to set MIEEE 1 and BIGENDIAN 1, it > no longer hangs, but on the other hand it also fails most of the tests. > > Sorry I don't have a nice patch, but let me know if you want me to run > anything else.
well, I guess I could try using QEmu or something, but I really would like that you investigate the problem and look into it. Regards, — Shlomi Fish
On Fri Feb 01 03:17:36 2013, SHLOMIF wrote: Show quoted text
> Hi DANAJ, > > On Fri Feb 01 00:09:07 2013, DANAJ wrote:
> > I have been running a smoker on a PA-RISC machine for a while, and I've > > had to kill it for Math::Cephes a number of times since it hangs on the > > first test. It looks like this RT is the same issue.
> > There's a way to do it automatically I'm sure.
Certainly, but I was running the smoker to help find issues like this. I suppose now that we've narrowed down the problem I can turn off smoking it for that machine. Show quoted text
> > [...] > > Sorry I don't have a nice patch, but let me know if you want me to run > > anything else.
> > well, I guess I could try using QEmu or something, but I really would > like that you investigate the problem and look into it.
I'll see if I can. I don't actually need to run Math::Cephes right now, but it would be nice to get it working.
On Fri Feb 01 03:17:36 2013, SHLOMIF wrote: Show quoted text
> Hi DANAJ, > > On Fri Feb 01 00:09:07 2013, DANAJ wrote:
> > I have been running a smoker on a PA-RISC machine for a while, and I've > > had to kill it for Math::Cephes a number of times since it hangs on the > > first test. It looks like this RT is the same issue.
> > There's a way to do it automatically I'm sure. >
> > > > perl -Iblib/lib -Iblib/arch t/bessels.t > > 1..27 > > ok 1 > > ok 2 > > not ok 3 (expected 0.1670246643: got -1212138.37621912) at t/bessels.t > > line 34 > > ok 4 > > not ok 5 (expected 0.06683312418: got -349717.012947448) at t/bessels.t > > line 36 > > ok 6 > > not ok 7 (expected 0.151169768: got -1097075.55958296) at t/bessels.t > > line 38 > > > > at which point it hangs forever (hence no failure report). > > > > I got the latest code from the git repo and there is no change. > > > > This is a big endian machine (which is why I'm running the smoker on it). > > > > The debugger (compiling with -g) indicates it's stuck in a loop in > > floor.c line 339. > > > > If I go in by hand and change mconf.h to set MIEEE 1 and BIGENDIAN 1, it > > no longer hangs, but on the other hand it also fails most of the tests. > > > > Sorry I don't have a nice patch, but let me know if you want me to run > > anything else.
> > well, I guess I could try using QEmu or something, but I really would > like that you investigate the problem and look into it. >
Marking as "stalled" due to difficulty in reproducing and lack of general interest in this bug. Show quoted text
> Regards, > > — Shlomi Fish