Tcl Source Code

View Ticket
Login
Ticket UUID: 727271
Title: panic upon Windows TLS failures...
Type: Patch Version: None
Submitter: nobody Created on: 2003-04-24 23:25:53
Subsystem: 49. Threading Assigned To: andreas_kupries
Priority: 8 Severity:
Status: Closed Last Modified: 2003-04-26 03:04:09
Resolution: Accepted Closed By: andreas_kupries
    Closed on: 2003-04-25 20:04:09
Description:
i found the (?) random crash problem... 
TlsAlloc is failing with TLS_OUT_OF_INDEXES after 
quite a while in the same process.
How did i find this issue, you ask?  
Well, i put checking in to detect Tls error codes and 
panic() when they are detected.
This is really bad because Windows NT 4.0 is 
limited to 64 TLS slots per process and Windows 98 
is limited to 80 per process...
I think somebody assumed the functions couldn't 
fail when they wrote the code.

JJM
User Comments: andreas_kupries added on 2003-04-26 03:04:09:
Logged In: YES 
user_id=75003

Applied the patch in both HEAD and core-8-4-branch.

nobody added on 2003-04-25 06:25:54:

File Added - 48675: tlsPanic.diff

Attachments: