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
5.10.0 crash on serialised v-strings #9404
Comments
From abuse@cabal.org.ukThis is a bug report for perl from abuse@cabal.org.uk, Attempts to stringify version objects that do not have an 'original' field Here is a correctly-formed version object: $ perl -MData::Dumper -Mversion -e 'print Dumper qv(1.2.3)' And here's how to trigger the segfault: $ perl -e 'print bless { version => [1,2,3] }, "version"' And it working with the 'original' field: $ perl -e 'print bless { original => 'v1.2.3', version => [1,2,3]}, "version"' (Perl 5.8.8 outputs something like "version=HASH(0x1800634)" in both cases.) I'm somewhat aware that it's a case of "don't do that", but such serialised http://www.cpan.org/pub/CPAN/authors/id/K/KR/KRUSCOE/Tie-DxHash-v1.0.0.meta Flags: Site configuration information for perl 5.10.0: Configured by Debian Project at Sat Jun 21 19:18:10 UTC 2008. Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Locally applied patches: @INC for perl 5.10.0: Environment for perl 5.10.0: |
From @JohnPeacockabuse@cabal.org.uk (via RT) wrote:
I hate Data::Dumper (this is the second time I've had to work around its I've added a test and have a fix for the CPAN compatibility release. I'm just John |
The RT System itself - Status changed from 'new' to 'open' |
From @JohnPeacockJohn Peacock wrote:
I've got a fix for the segfault, but in order for it to take effect, you have to The big problem with this limitation is that the major recipients of coredumps And before anyone says "Why didn't you keep version.pm separate from the core so John |
From @rgs2008/7/12 John Peacock <john.peacock@havurah-software.org>:
Thanks, applied as #34142 (although apparently your patch was against 5.10.x)
Not really, sorry. |
From p5p@spam.wizbit.beBinary search: ./perl-p-5.8.0\@17818/miniperl -l test.pl ./perl-p-5.8.0\@17821/miniperl -l test.pl (Had some problems compiling 17819/17820) http://public.activestate.com/cgi-bin/perlbrowse/p/17819 Subject: [PATCH] Tweaks to Bleadperl Version Object Support ./perl-p-5.8.0\@17989/miniperl -l test.pl ./perl-p-5.8.0\@17991/miniperl -l test.pl (Had problems compiling 17990) Change 17990 by hv@hv-crypt.org on 2002/10/10 11:19:57 Subject: [PATCH] Version object combined patch Change 17991 by hv@hv-crypt.org on 2002/10/10 11:20:41 new files lib/version.pm and lib/version.t for change #17990. |
@cpansprout - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#56606 (status was 'resolved')
Searchable as RT56606$
The text was updated successfully, but these errors were encountered: