cygwin 1.7.5, perl *** fatal error TP_NUM_W_BUFS too smal

Nasser M. Abbasi nma@12000.org
Fri Jun 4 10:17:00 GMT 2010


On 6/4/2010 2:44 AM, Nasser M. Abbasi wrote:
> On 6/4/2010 1:36 AM, Corinna Vinschen wrote:
>>>
>>> Error: Cannot read 'img2.png': No such file or directory
>>> Converting image #1
>>>         0 [main] perl 3400 C:\cygwin\bin\perl.exe: *** fatal error -
>>> Internal error: TP_NUM_W_BUFS too small."
>>
>
>> This looks like an internal error in Cygwin which runs out of TLS
>> filename buffers.  For a start, could you please strace the perl
>> process?  This may help to figure out the function in which the problem
>> occurs.
>>
>>
>> Corinna
>>
>

>
> $ export PERLDB_OPTS="NonStop frame=2"
> make test
>

I got a little more useful output using this:

$export PERLDB_OPTS="NonStop AutoTrace frame=2"
$ make test >& out.txt

Looking at out.txt, the output around the crash is below. It seems to 
come after exec($cmd). It looks like it can't spawn a new process.

btw, this is windows 7. new PC, 8 GM ram.

If you need the complete file out.txt, I can send it to you directly.

thanks
--Nasser

=========

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:           $status = waitpid($child_pid, 0);
######### 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.

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

Error while converting image
     4239:                   if (! -r "${PREFIX}$img") {
     4240:                       &write_warnings("\nFailed to convert 
image $psname.ps")
========================

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



More information about the Cygwin mailing list