Skip Menu |

This queue is for tickets about the MIME-Lite CPAN distribution.

Report information
The Basics
Id: 64963
Status: resolved
Priority: 0/
Queue: MIME-Lite

People
Owner: Nobody in particular
Requestors: jschulz.cpan [...] bloonix.de
Cc:
AdminCc:

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



Hi Ricardo, the following code snipped dies every time: $SIG{CHLD} = "IGNORE"; MIME::Lite->new(%email)->send('sendmail', '/usr/sbin/sendmail -t -oi') or die "foo"; I think "close SENDMAIL" in send_by_sendmail() is the reason. If I comment it out then it works fine. Could you work around a solution please? Cheers, Jonny
When you set the CHLD handler to "IGNORE" you are just asking for trouble from IPC all over the place. The only real solution here is for you to localize your SIGCHLD handler to the places where it is needed, rather than to use it globally. Alternately, I suppose you could send via SMTP to avoid any child-based IPC. -- rjbs