Tcl Source Code

View Ticket
Login
Ticket UUID: 727271
Title: panic upon Windows TLS failures...
Type: Patch Created on: 2003-04-24 23:25:53
Submitter: nobody Assigned to: andreas_kupries
Subsystem: 49. Threading Severity:
Priority: 8 Last modified: 2003-04-26 03:04:09
Status: Closed Closed by: andreas_kupries
Resolution: Accepted Closed on: 2003-04-25 20:04:09
Version: None
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:
nobody added on 2003-04-25 06:25:54:

File Added - 48675: tlsPanic.diff

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.

Attachments: