Hi,
Here you go. Perl isn't threaded, but I've included perl -V below as
well. I'll look into reproducing this on 5.8.9 as well, since it may
be related to a different CPAN module version.
The machine that crashes does have the latest Devel::Declare, I had to
install the entire dependency tree from scratch.
Thank you for your help! This does look like the best Exception
handling module available, but I'll need to quell some paranoia before
getting it heavily into production.
Alan Ferrency
perl -e 'use Devel::Declare; print $Devel::Declare::VERSION'
0.005011
perl -e 'use B::Hooks::OP::PPAddr; print $B::Hooks::OP::PPAddr::VERSION'
0.03
perl -e 'use B::Hooks::OP::Check; print $B::Hooks::OP::Check::VERSION'
0.18
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=freebsd, osvers=6.2-prerelease, archname=i386-freebsd
uname='freebsd mayon.pair.com 6.2-prerelease freebsd 6.2-prerelease #2: wed sep 13 23:00:26 utc 2006 <snip>:usrobjusrsrcsysgeneric i386 '
config_args='-de'
hint=previous, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include',
optimize='-O',
cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include'
ccversion='', gccversion='3.4.6 [FreeBSD] 20060305', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-Wl,-E -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lm -lcrypt -lutil -lc
perllibs=-lm -lcrypt -lutil -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO
Built under freebsd
Compiled at Sep 19 2006 14:25:44
@INC:
/usr/local/lib/perl5/5.8.8/i386-freebsd
/usr/local/lib/perl5/5.8.8
/usr/local/lib/perl5/site_perl/5.8.8/i386-freebsd
/usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl
.
On Thu, 27 Aug 2009, Sergey Aleynikov via RT wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=49029 >
>
> warmechs% perl -v
> This is perl, v5.8.8 built for i386-freebsd
>
> warmechs% perl -e 'use Devel::Declare; print $Devel::Declare::VERSION'
> 0.005006%
>
>
> warmechs% perl crash.pl
> syntax error at crash.pl line 9, near "1}"
> Execution of crash.pl aborted due to compilation errors.
>
> ======
>
> To investigate what's happening, i need:
> perl -V (or just is your build threaded/unthreaded) and versions of
> Devel::Declare, B::Hooks::OP::PPAddr, B::Hooks::OP::Check you have
> installed.
>
> If you have different versions of them on your 5.8.8/5.8.9 installations
> - try install latest Devel::Declare with dependencies on 5.8.8, this'll
> probably solve your problem.
>