[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: return of BigFloat errors



An upgrade to 1.3.27 (head of SVN actually) continues to give me
BigFloat errors.  I sure that this is data dependant.

I'm trying to enter a AP.

I added:

  use Carp qw(cluck);
  cluck "bad math";
  print STDERR "X: $x\n";
  print STDERR "Y: $y\n";

to the code at the line 1865, and got the following trace.
I will start trying to decode this in the morning.


[Sun Dec 30 22:16:11 2012] [error] [client 2607:f0b0:f:2::247] bad math at /usr/share/perl5/Math/BigFloat.pm line 1686, referer: https://marlin.sandelman.ca/ledgersmb/ap.pl
[Sun Dec 30 22:16:11 2012] [error] [client 2607:f0b0:f:2::247] \tMath::BigFloat::bmul('Math::BigFloat=HASH(0xa86fa14)', undef) called at /usr/share/perl5/Math/BigInt.pm line 108, referer: https://marlin.sandelman.ca/ledgersmb/ap.pl
[Sun Dec 30 22:16:11 2012] [error] [client 2607:f0b0:f:2::247] \tMath::BigInt::__ANON__('Math::BigFloat=HASH(0xa68b978)', undef, 1) called at bin/aa.pl line 374, referer: https://marlin.sandelman.ca/ledgersmb/ap.pl
[Sun Dec 30 22:16:11 2012] [error] [client 2607:f0b0:f:2::247] \tmain::create_links called at bin/aa.pl line 138, referer: https://marlin.sandelman.ca/ledgersmb/ap.pl
[Sun Dec 30 22:16:11 2012] [error] [client 2607:f0b0:f:2::247] \tmain::edit() called at bin/aa.pl line 1362, referer: https://marlin.sandelman.ca/ledgersmb/ap.pl
[Sun Dec 30 22:16:11 2012] [error] [client 2607:f0b0:f:2::247] \tmain::post called at old-handler.pl line 175, referer: https://marlin.sandelman.ca/ledgersmb/ap.pl
[Sun Dec 30 22:16:11 2012] [error] [client 2607:f0b0:f:2::247] \tmain::__ANON__() called at /usr/share/perl5/Error.pm line 416, referer: https://marlin.sandelman.ca/ledgersmb/ap.pl
[Sun Dec 30 22:16:11 2012] [error] [client 2607:f0b0:f:2::247] \teval {...} called at /usr/share/perl5/Error.pm line 408, referer: https://marlin.sandelman.ca/ledgersmb/ap.pl
[Sun Dec 30 22:16:11 2012] [error] [client 2607:f0b0:f:2::247] \tError::subs::try('CODE(0x87b3bd8)', 'HASH(0x97dfdbc)') called at old-handler.pl line 186, referer: https://marlin.sandelman.ca/ledgersmb/ap.pl
[Sun Dec 30 22:16:11 2012] [error] [client 2607:f0b0:f:2::247] \trequire old-handler.pl called at /home/ledgersmb/ledgersmb/ap.pl line 7, referer: https://marlin.sandelman.ca/ledgersmb/ap.pl
[Sun Dec 30 22:16:11 2012] [error] [client 2607:f0b0:f:2::247] X: 1.1494165398274987316083206494165398274987, referer: https://marlin.sandelman.ca/ledgersmb/ap.pl
[Sun Dec 30 22:16:11 2012] [error] [client 2607:f0b0:f:2::247] Y: HASH(0xa87ee84), referer: https://marlin.sandelman.ca/ledgersmb/ap.pl
[Sun Dec 30 22:16:11 2012] [error] [client 2607:f0b0:f:2::247] not of type Math::BigInt::GMP at /usr/share/perl5/Math/BigFloat.pm line 1689., referer: https://marlin.sandelman.ca/ledgersmb/ap.pl
[Sun Dec 30 22:16:11 2012] [error] [client 2607:f0b0:f:2::247] Compilation failed in require at /home/ledgersmb/ledgersmb/ap.pl line 7., referer: https://marlin.sandelman.ca/ledgersmb/ap.pl
[Sun Dec 30 22:16:11 2012] [error] [client 2607:f0b0:f:2::247] Premature end of script headers: ap.pl, referer: https://marlin.sandelman.ca/ledgersmb/ap.pl