Skip to content
Tcl Source Code View Ticket
Login

View Ticket

panic upon Windows TLS failures...

Closed / Accepted727271ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-04-24 23:25:53
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
nobodyplain2003-04-25 06:25:54
File Added - 48675: tlsPanic.diff
andreas_kupries Ticket [727271ffff]: 1 change [History diff]2003-04-25 06:29:06
andreas_kupriesplain2003-04-26 03:04:09
Logged In: YES 
user_id=75003

Applied the patch in both HEAD and core-8-4-branch.
Log in (anonymous is fine) to add a comment.

Attachments: