This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Thu, Jun 17, 2010 at 04:33:42PM -0500, Yaakov (Cygwin/X) wrote:
>On Fri, 2010-06-04 at 10:36 +0200, Corinna Vinschen wrote:
>> 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.
>
>I'll bring this to your attention:
>
>http://www.cygwin.com/ml/cygwin/2009-07/msg00710.html
>
>FWIW, I'm also seeing this -- but not with perl -- in the context of
>fork(), where the actual commands work just fine manually.

Do you have a test case?  I tried to make one but "it didn't fail for
me".  If you can generate a test case I'm sure I could fix the problem.

Barring that can you try building a version of the dll with
TP_NUM_W_BUFS set to 11, 12, 13, etc.  to see if that fixes the problem?
It is barely possible that the number is too small now.

I don't see how fork would exacerbate any problem here as Corinna
concluded in the email that you cite since it seems like no destructors
would or should ever be called by fork().

cgf

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]