X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0	tests=AWL,BAYES_00,TW_YG
X-Spam-Check-By: sourceware.org
Message-ID: <4C0CB1AE.8030902@12000.org>
Date: Mon, 07 Jun 2010 01:45:34 -0700
From: "Nasser M. Abbasi" <nma@12000.org>
Reply-To: nma@12000.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: cygwin 1.7.5, perl *** fatal error TP_NUM_W_BUFS too smal
References: <20100603004331.eehneofq8kos4ccw@webmail.12000.org>	<4C07FC62.90207@12000.org>	<20100604083653.GA6401@calimero.vinschen.de>	<4C08CAE9.2000507@12000.org>	<4C08D2B8.8090609@12000.org>	<4C0C685A.1010803@x-ray.at>	<4C0C83D5.3070705@12000.org> <AANLkTilfLX5QpbvWAg3zqOOthsRGgLF3N0ganwgzkEa9@mail.gmail.com>
In-Reply-To: <AANLkTilfLX5QpbvWAg3zqOOthsRGgLF3N0ganwgzkEa9@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 6/7/2010 12:46 AM, Reini Urban wrote:
> 2010/6/7 Nasser M. Abbasi<nma@12000.org>:
>> On 6/6/2010 8:32 PM, Reini Urban wrote:
>>
>>>> --
>>>> Problem reports: http://cygwin.com/problems.html


> At the link above you'll see in bold
> "Run cygcheck -s -v -r>  cygcheck.out and include cygcheck.out as an
> attachment in your report.

Ok. But where to email the actual attachment and the report??  That is 
what I am confused about.  To this mailing list (cygwin@cygwin.com)?


>> But what I did is document it all here, under the cygwin section
>> http://12000.org/my_notes/l2hwin/index.htm
>> Please feel free to use this as the report.
>


> Great.
>
> So it looks like we can make cygwin even more slower,
> eh, fix that in perl core for Win64 cygwin only,
> to sleep some milliseconds after a fork.
> We I need a confirmation because I cannot repro it.
>

Ok, I changed sleep, kept making it sleep longer and longer, up to 
sleep(100), and the problem still there:

===============
  262:         my ($self,$cmd,$in,$out,$err) = @_;
      263:         carp qq{Debug (syswait): Running "$cmd"\n} if($Verbose);
      265:         my $status;
      266:         my $child_pid;
      267:         if ($child_pid = fork) {
      268:           sleep(100);
######### Forked, but do not know how to create a new TTY. #########
   Since two debuggers fight for the same TTY, input is severely entangled.

   I know how to switch the output to a different window in xterms, OS/2
   consoles, and Mac OS X Terminal.app only.  For a manual switch, put 
the name
   of the created TTY in $DB::fork_TTY, or define a function
   DB::get_fork_TTY() returning this.

   On UNIX-like systems one can get the name of a TTY for the given window
   by typing tty, and disconnect the shell from TTY by sleep 1000000.

      275:           unless(exec($cmd)) {
       0 [main] perl 3748 C:\cygwin\bin\perl.exe: *** fatal error - 
Internal error: TP_NUM_W_BUFS too small.
      269:           $status = waitpid($child_pid, 0);
      270:           carp "Debug (syswait): Finished child process: 
#$child_pid\n"
      271:             if($Verbose);
      272:           $child_pid = 0;
      273:           return($?);
==========================


> Do you have any process hook application running,
> such as an antivir SW listed in BLODA?
> http://cygwin.com/faq/faq.using.html#faq.using.bloda
>

Yes, I have NOD32 Antivirus, 64 bit version running on my PC. Version 
4.2.4, windows 7 home premium 64 bit on intel i7-930.

btw, That list seems to list every anti-virus software out there :)

I'll go turn off nod32 real time protection now for one minute while I 
run the test again to see if it makes a difference....


ok, I am back.

Turned off nod32, run the test, and the problem is STILL there.


thanks
--Nasser

--
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

