Skip Menu |
Report information
Id: 25933
Status: open
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: Michael.Jacob [at] SCHERING.DE
Cc:
AdminCc:

Operating System: cygwin
PatchStatus: (no value)
Severity: low
Type: library
Perl Version: 5.8.0
Fixed In: (no value)



Subject: Storable, exception handling on callback methods inconsistent
Date: Tue, 3 Feb 2004 17:34:23 +0100
To: perlbug [...] perl.org
From: Michael.Jacob [...] SCHERING.DE
Download (untitled) / with headers
text/plain 3.3k
To: perlbug@perl.org Subject: Storable, exception handling on callback methods inconsistent Reply-To: MichaelJacob@SCHNARCHNASE Message-Id: <5.8.0_1888_1075825593@SCHNARCHNASE> This is a bug report for perl from MichaelJacob@SCHNARCHNASE, generated with the help of perlbug 1.34 running under perl v5.8.0. ----------------------------------------------------------------- [Please enter your report here] Storable does not handle exceptions thrown from a callback method (as STORABLE_thaw()) very well. If they end in a \n they are re-thrown else they are ignored. There should be at least a warning in the POD, or better some other way to treat exceptions from a callback method in a consistent way. [Please do not change anything below this line] ----------------------------------------------------------------- --- Flags: category=library severity=low --- Site configuration information for perl v5.8.0: Configured by Gerrit at Fri Aug 29 11:53:54 CEST 2003. Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=cygwin, osvers=1.3.22(0.7832), archname=cygwin-multi-64int uname='cygwin_nt-5.0 ismene 1.3.22(0.7832) 2003-03-18 09:20 i586 unknown unknown cygwin ' config_args='-de -Dmksymlinks -Dusemultiplicity -Duse64bitint -Doptimize=-O3 -Dman3ext=3pm' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=undef uselongdouble=undef usemymalloc=y, bincompat5005=undef Compiler: cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing', optimize='-O3', cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing' ccversion='', gccversion='3.2 20020927 (prerelease)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4 alignbytes=8, prototype=define Linker and Libraries: ld='ld2', ldflags =' -s -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -ldb -lcrypt -lutil -lgdbm_compat perllibs=-lcrypt -lutil -lgdbm_compat libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s' cccdlflags=' ', lddlflags=' -s -L/usr/local/lib' Locally applied patches: --- @INC for perl v5.8.0: /usr/lib/perl5/5.8.0/cygwin-multi-64int /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl . --- Environment for perl v5.8.0: HOME=/home/MichaelJacob LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/system32/WBEM:/cygdrive/c/perl580/bin:/usr/bin:/cygdrive/c/Program Files/UltraEdit:/cygdrive/c/PROGRA~1/IBM/SQLLIB/BIN:/cygdrive/c/PROGRA~1/IBM/SQLLIB/FUNCTION:/cygdrive/c/PROGRA~1/IBM/SQLLIB/SAMPLES/REPL:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/system32/WBEM:/cygdrive/c/perl580/bin:/usr/bin:/usr/X11R6/bin PERL_BADLANG (unset) SHELL (unset)
Download (untitled) / with headers
text/plain 3.7k
I've posted this issue now in the queue of Storable: http://rt.cpan.org/Ticket/Display.html?id=40524 On Di. 03. Feb. 2004, 08:48:45, Michael.Jacob@SCHERING.DE wrote: Show quoted text
> To: perlbug@perl.org > Subject: Storable, exception handling on callback methods inconsistent > Reply-To: MichaelJacob@SCHNARCHNASE > Message-Id: <5.8.0_1888_1075825593@SCHNARCHNASE> > > This is a bug report for perl from MichaelJacob@SCHNARCHNASE, > generated with the help of perlbug 1.34 running under perl v5.8.0. > > > ----------------------------------------------------------------- > [Please enter your report here] > > Storable does not handle exceptions thrown from a callback > method (as STORABLE_thaw()) very well. If they end in a \n they > are re-thrown else they are ignored. > > There should be at least a warning in the POD, or better some > other way to treat exceptions from a callback method in a > consistent way. > > [Please do not change anything below this line] > ----------------------------------------------------------------- > --- > Flags: > category=library > severity=low > --- > Site configuration information for perl v5.8.0: > > Configured by Gerrit at Fri Aug 29 11:53:54 CEST 2003. > > Summary of my perl5 (revision 5.0 version 8 subversion 0) > configuration: > Platform: > osname=cygwin, osvers=1.3.22(0.7832), archname=cygwin-multi-64int > uname='cygwin_nt-5.0 ismene 1.3.22(0.7832) 2003-03-18 09:20 i586 > unknown unknown cygwin ' > config_args='-de -Dmksymlinks -Dusemultiplicity -Duse64bitint > -Doptimize=-O3 -Dman3ext=3pm' > hint=recommended, useposix=true, d_sigaction=define > usethreads=undef use5005threads=undef useithreads=undef > usemultiplicity=define > useperlio=define d_sfio=undef uselargefiles=define usesocks=undef > use64bitint=define use64bitall=undef uselongdouble=undef > usemymalloc=y, bincompat5005=undef > Compiler: > cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing', > optimize='-O3', > cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing' > ccversion='', gccversion='3.2 20020927 (prerelease)', > gccosandvers='' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 > d_longlong=define, longlongsize=8, d_longdbl=define, > longdblsize=12 > ivtype='long long', ivsize=8, nvtype='double', nvsize=8, > Off_t='off_t', > lseeksize=4 > alignbytes=8, prototype=define > Linker and Libraries: > ld='ld2', ldflags =' -s -L/usr/local/lib' > libpth=/usr/local/lib /usr/lib /lib > libs=-lgdbm -ldb -lcrypt -lutil -lgdbm_compat > perllibs=-lcrypt -lutil -lgdbm_compat > libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a > gnulibc_version='' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s' > cccdlflags=' ', lddlflags=' -s -L/usr/local/lib' > > Locally applied patches: > > > --- > @INC for perl v5.8.0: > /usr/lib/perl5/5.8.0/cygwin-multi-64int > /usr/lib/perl5/5.8.0 > /usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int > /usr/lib/perl5/site_perl/5.8.0 > /usr/lib/perl5/site_perl > . > > --- > Environment for perl v5.8.0: > HOME=/home/MichaelJacob > LANG (unset) > LANGUAGE (unset) > LD_LIBRARY_PATH (unset) > LOGDIR (unset) > >
PATH=/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/system32/WBEM:/cygdrive/c/perl580/bin:/usr/bin:/cygdrive/c/Program Show quoted text
> >
Files/UltraEdit:/cygdrive/c/PROGRA~1/IBM/SQLLIB/BIN:/cygdrive/c/PROGRA~1/IBM/SQLLIB/FUNCTION:/cygdrive/c/PROGRA~1/IBM/SQLLIB/SAMPLES/REPL:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/system32/WBEM:/cygdrive/c/perl580/bin:/usr/bin:/usr/X11R6/bin Show quoted text
> PERL_BADLANG (unset) > SHELL (unset) > >


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org