Skip Menu |

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

Report information
The Basics
Id: 7854
Status: new
Priority: 0/
Queue: Math-Algebra-Symbols

People
Owner: Nobody in particular
Requestors: madams55075 [...] comcast.net
Cc:
AdminCc:

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



Subject: Exponentiation Error
See below for script showing error in exponentiation. After the __END__ is output from the script and output from perl -V. Thank you, Mike #!/usr/bin/perl use Math::Algebra::Symbols; use warnings; use strict; print "Math::Algebra::Symbols version :",$Math::Algebra::Symbols::VERSION,"\n"; my ($b,$f,$s) = symbols( qw/b f s/ ); my $z =$b + $f + $s; print $z, "\n"; for my $i (1..20){ print $i,"] ",$z**$i,"\n"; } __END__ result of running above: Math::Algebra::Symbols version :1.17 $b+$f+$s 1] $b+$f+$s 2] 2*$b*$f+2*$b*$s+$f*$s+$s*$f+$b**2+$f**2+$s**2 Can't call method "c" on an undefined value at C:/opt/Perl/site/lib/Math/Algebra/SymbolsSum.pm line 95. Press any key to continue . . . my perl: [20:08:56.81]:perl -V Summary of my perl5 (revision 5 version 8 subversion 3) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=undef use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cl', ccflags ='-nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX', optimize='-MD -Zi -DNDEBUG -O1', cppflags='-DWIN32' ccversion='', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\opt\Perl\lib\CORE" -machine:x86' libpth=C:\PROGRA~1\MICROS~3\VC98\lib libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib gnulibc_version='undef' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\opt\Perl\lib\CORE" -machine:x86' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS Locally applied patches: ActivePerl Build 809 22218 Remove the caveat about detached threads crashing on Windows 22201 Avoid threads+win32 crash by freeing Perl interpreter slightly later 22169 Display 'out of memeory' errors using low-level I/O 22159 Upgrade to Time::Hires 1.55 22120 Make 'Configure -Dcf_by=...' work 22051 Upgrade to Time::HiRes 1.54 21540 Fix backward-compatibility issues in if.pm Built under MSWin32 Compiled at Feb 3 2004 00:28:51 %ENV: PERL5LIB="c:/opt/mike/lib/;./" @INC: c:/opt/mike/lib/ ./ C:/opt/Perl/lib C:/opt/Perl/site/lib .
From: Philiprbrenan [...] yahoo.com
Thanks for your note. Symbols uses alot of memory: Perl on Windows multi-thread does not have enough memory to continue your script. I should of course put a more graceful message to this effect or think of some way of using less memory. Phil [guest - Sat Oct 2 21:24:43 2004]: Show quoted text
> See below for script showing error in exponentiation. > > After the __END__ is output from the script and output from > perl -V. > > Thank you, > Mike > > #!/usr/bin/perl > > use Math::Algebra::Symbols; > use warnings; > use strict; > > print "Math::Algebra::Symbols version > :",$Math::Algebra::Symbols::VERSION,"\n"; > my ($b,$f,$s) = symbols( qw/b f s/ ); > my $z =$b + $f + $s; > print $z, "\n"; > for my $i (1..20){ > print $i,"] ",$z**$i,"\n"; > } > __END__ > result of running above: > > Math::Algebra::Symbols version :1.17 > $b+$f+$s > 1] $b+$f+$s > 2] 2*$b*$f+2*$b*$s+$f*$s+$s*$f+$b**2+$f**2+$s**2 > Can't call method "c" on an undefined value at > C:/opt/Perl/site/lib/Math/Algebra/SymbolsSum.pm line > 95. > Press any key to continue . . . > > my perl: > > [20:08:56.81]:perl -V > Summary of my perl5 (revision 5 version 8 subversion 3) configuration: > Platform: > osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread > uname='' > config_args='undef' > hint=recommended, useposix=true, d_sigaction=undef > usethreads=undef use5005threads=undef useithreads=define > usemultiplicity=define > useperlio=define d_sfio=undef uselargefiles=define usesocks=undef > use64bitint=undef use64bitall=undef uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='cl', ccflags ='-nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 > -D_CONSOLE -DNO_STRICT > -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT > -DPERL_IMPLICIT_SYS > -DUSE_PERLIO -DPERL_MSVCRT_READFIX', > optimize='-MD -Zi -DNDEBUG -O1', > cppflags='-DWIN32' > ccversion='', gccversion='', gccosandvers='' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 > d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 > ivtype='long', ivsize=4, nvtype='double', nvsize=8, > Off_t='__int64', lseeksize=8 > alignbytes=8, prototype=define > Linker and Libraries: > ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf > -libpath:"C:\opt\Perl\lib\CORE" > -machine:x86' > libpth=C:\PROGRA~1\MICROS~3\VC98\lib > libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib > comdlg32.lib > advapi32.lib shell32.lib ole32.lib oleaut32.lib > netapi32.lib uuid.lib > wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib > odbccp32.lib msvcrt.lib > perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib > winspool.lib comdlg32.lib > advapi32.lib shell32.lib ole32.lib oleaut32.lib > netapi32.lib uuid.lib > wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib > odbccp32.lib > msvcrt.lib > libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib > gnulibc_version='undef' > Dynamic Linking: > dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' > cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug > -opt:ref,icf > -libpath:"C:\opt\Perl\lib\CORE" > -machine:x86' > > > Characteristics of this binary (from libperl): > Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES > PERL_IMPLICIT_CONTEXT > PERL_IMPLICIT_SYS > Locally applied patches: > ActivePerl Build 809 > 22218 Remove the caveat about detached threads crashing on > Windows > 22201 Avoid threads+win32 crash by freeing Perl interpreter > slightly later > 22169 Display 'out of memeory' errors using low-level I/O > 22159 Upgrade to Time::Hires 1.55 > 22120 Make 'Configure -Dcf_by=...' work > 22051 Upgrade to Time::HiRes 1.54 > 21540 Fix backward-compatibility issues in if.pm > Built under MSWin32 > Compiled at Feb 3 2004 00:28:51 > %ENV: > PERL5LIB="c:/opt/mike/lib/;./" > @INC: > c:/opt/mike/lib/ > ./ > C:/opt/Perl/lib > C:/opt/Perl/site/lib > .