Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storable, exception handling on callback methods inconsistent #7084

Open
p5pRT opened this issue Feb 3, 2004 · 3 comments
Open

Storable, exception handling on callback methods inconsistent #7084

p5pRT opened this issue Feb 3, 2004 · 3 comments

Comments

@p5pRT
Copy link

p5pRT commented Feb 3, 2004

Migrated from rt.perl.org#25933 (status was 'open')

Searchable as RT25933$

@p5pRT
Copy link
Author

p5pRT commented Feb 3, 2004

From Michael.Jacob@SCHERING.DE

Created by MichaelJacob@SCHNARCHNASE

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.

Perl Info

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)



@p5pRT
Copy link
Author

p5pRT commented Oct 30, 2008

From module@renee-baecker.de

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​:

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/PROGRA1/IBM/SQLLIB/BIN​:/cygdrive/c/PROGRA1/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\)

@p5pRT
Copy link
Author

p5pRT commented Oct 30, 2008

The RT System itself - Status changed from 'new' to 'open'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants