This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Random fork failures
On Jul 11 11:36, Yoni Londner wrote:
> >
> >>I will appreciate any advice, how can I solve this problem.
> >
> >Simple, self-contained testcases, preferredly in plain C, or simple
> >scripts in case the problem only occurs in a script language, which
> >allow to reproduce the problem. Those would be most helpful.
> >
> >
> >Corinna
> >
>
> Example 1:
> #!/usr/bin/perl
> use POSIX qw(getcwd);
> getcwd();
> 1;
>
> Example 2:
> #!/usr/bin/perl
> use Scalar::Util qw(looks_like_number);
> looks_like_number("1");
> 1;
>
> Both end up with:
> Segmentation fault (core dumped)
I tested both scripts on W7 32 and 2K8R2 against the latest snapshot,
as well as against self-built current Cygwin CVS, built with and without
optimization. Both scripts run fine in all scenarios.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple