Skip Menu |

This queue is for tickets about the Log-WarnDie CPAN distribution.

Report information
The Basics
Id: 61932
Status: open
Priority: 0/
Queue: Log-WarnDie

People
Owner: Nobody in particular
Requestors: bsi [...] hosember.hu
Cc:
AdminCc:

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



Subject: Conflict with Net::SFTP::Foreign (open3 and STDERR handling)
I've ran into a bug using Log::WarnDie with Net::SFTP::Foreign. The problem is SFTP connections fails if Log::WarnDie has been loaded. I've dug into the problem and found that open3() fails in the SFTP module and unfortunately I've found only one workaround: untie STDERR before open3(). But this is a pretty aggressive "solution" so I've reported this both to you and Net::SFTP::Foreign developer. Please try to find a real long standing solution to this problem!
Can I assume this can be closed since RT61751 fixed the problem?
From: bsi [...] hosember.hu
Well, that's only a workaround and not a permanent solution. If the "sub Log::WarnDie::FILENO { 2 }" is not used, the problem still exists. In my opinion the bug should be marked as resolved only if the workaround is not needed anymore. I'm not sure who's responsibility is to implement the fix, I mean I'm not sure that it belongs to Log:WarnDie or to Net::SFTP::Foreign, but I think that it should be resolved either here or at Net::SFTP::Foreign for good, without any workarounds.
Subject: Re: [rt.cpan.org #61932] Conflict with Net::SFTP::Foreign (open3 and STDERR handling)
Date: Tue, 11 Apr 2017 12:28:15 +0000
To: bug-Log-WarnDie [...] rt.cpan.org
From: "Barnabas Bona" <bsi [...] hosember.hu>
Well, that's only a workaround and not a permanent solution. If the "sub Log::WarnDie::FILENO { 2 }" is not used, the problem still exists. In my opinion the bug should be marked as resolved only if the workaround is not needed anymore. Show quoted text
------ Original Message ------ From: "Nigel Horne via RT" <bug-Log-WarnDie@rt.cpan.org> To: bsi@hosember.hu Sent: 2017-04-10 19:26:45 Subject: [rt.cpan.org #61932] Conflict with Net::SFTP::Foreign (open3 and STDERR handling)
><URL: https://rt.cpan.org/Ticket/Display.html?id=61932 > > >Can I assume this can be closed since RT61751 fixed the problem? > >
Would you please take a look at the version in Github at https://github.com/nigelhorne/Log-WarnDie and let me know how I can change t/rt61923.t to reproduce this problem?