http://www.perlmonks.org?node_id=1004605


in reply to Program unexpectedly terminates

As a shot in the dark, I added $SIG{PIPE} = 'IGNORE'; and haven't seen the problem reoccur in 7 hours, so it's looking like that solved the problem. Now I have to figure out if the culprit is LWP::UserAgent (and it's many dependencies) or Net::Proxy::Type, or IO::Socket::Socks. Then produce a repeatable test case and properly report it as a bug.