Skip Menu |

This queue is for tickets about the Archive-Tar CPAN distribution.

Report information
The Basics
Id: 64339
Status: resolved
Worked: 5 min
Priority: 0/
Queue: Archive-Tar

People
Owner: BINGOS [...] cpan.org
Requestors: victor [...] vsespb.ru
Cc:
AdminCc:

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



Subject: archive-tar does not work with SIG DIE handlers
Date: Thu, 30 Dec 2010 17:19:33 +0300
To: bug-Archive-Tar [...] rt.cpan.org
From: Victor <victor [...] vsespb.ru>
hello. any simple code like my $a = Archive::Tar->new( "a.tgz", 1); does not work if the following used: $SIG{__DIE__} = sub { for my $s (0..$#_) { mylogfunc("Fatal Error: $_[$s]"); }; print $UnhandledError; exit(1); }; $SIG{__WARN__} = sub { for my $s (0..$#_) { mylogfunc("Warning: $_[$s]"); } }; btw never experienced problem with such SIG DIE handlers + modules for last five years.
This bug is triggered when Archive::Tar attempts to use the unsupported "TELL" method in IO::Zlib at line 326 in Archive::Tar. I opened https://github.com/jib/archive-tar-new/pull/2 with a proposed patch.
Subject: Re: [rt.cpan.org #64339] archive-tar does not work with SIG DIE handlers
Date: Tue, 15 May 2012 00:48:42 +0400
To: bug-Archive-Tar [...] rt.cpan.org
From: Victor Efimov <victor [...] vsespb.ru>
Thanks! 2012/5/15 Mark Allen via RT <bug-Archive-Tar@rt.cpan.org> Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=64339 > > > This bug is triggered when Archive::Tar attempts to use the unsupported > "TELL" method in > IO::Zlib at line 326 in Archive::Tar. > > I opened https://github.com/jib/archive-tar-new/pull/2 with a proposed > patch. >
This was resolved: * important changes in version 1.86 24/05/2012 (Mark Allen) - don't use tell on IO::Zlib handles RT#64339 Many thanks.