Skip Menu |

This queue is for tickets about the Mediainfo CPAN distribution.

Report information
The Basics
Id: 78658
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: Mediainfo

People
Owner: CHENGANG [...] cpan.org
Requestors: ajsinclair [...] gmail.com
Cc:
AdminCc:

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



Subject: Windows issue and linux defunct processes
Date: Mon, 30 Jul 2012 16:42:02 +1000
To: bug-Mediainfo [...] rt.cpan.org
From: Andrew Sinclair <ajsinclair [...] gmail.com>
Hi, I have a script that scans my very large directories of media files and use the mediainfo module to record details on all the files. However I have 2 issues. 1: It crashes under Perl Win32 with the following error open3: IO::Pipe: Can't spawn-NOWAIT: Resource temporarily unavailable at c:/Perl 64/site/lib/Mediainfo.pm line 26 2. Under linux (Redhat 5.6) it leaves a very large number of defunct mediainfo processes and sometimes I get open3: fork failed: Resource temporarily unavailable at /usr/lib/perl5/site_perl/5.8.8/Mediainfo.pm line 26 Which both seem to be related to the way open3 is being used. Thanks, Andrew
fixed in ver 0.10 which already upload to CPAN. add waitpid after open3().