.
D 2002-08-21T02:46:07
J icomment Logged\sIn:\sYES\s\nuser_id=75003\n\nFound\sthe\sproblem.\sWhen\sa\ssocket\sis\screated\sin\sa\sthread\sthe\s\nsocket\sdriver\swill\sbe\sinitialized\sfor\sthat\sthread,\sespecially\sits\s\nTSD\sslot.\n\nCall\ssequence:\n\s\s\s\sSocketObjCmd\s=>\sTclpHasSockets\s=>\sInitSocket\n\nNow\sif\sa\sthread\sis\screated\sand\sno\ssocket\sis\screated\snothing\sis\s\niniitialized.\sThe\schannel\stransfer\sthen\sinserts\sa\ssocket\sinto\sthe\s\nthread,\sbut\sthis\sdoes\snot\srun\sany\scode\sto\scompletely\sinitialize\s\nthe\sdriver.\sHence\sthe\sTSD\sslot\sis\suninitialized\sand\sthus\sthe\s\ncrash.\n\nBecause\sof\sthe\sworkaround\sdescribed\sabove\s(create\sand\s\ndestroy\sa\stemp\ssocket\sin\sthe\sthread\sbefore\stransfering\s\nsockets)\sthe\spriority\swill\sgo\sdown.\s\n\nThe\strue\sfix\showever\sis\sto\sextend\sthe\schannel\sdriver\swith\san\s\ninit-function\swhich\scan\sbe\sused\sby\schannels\sduring\s\nregistration\sin\san\sinterp\sto\sensure\sthat\stheir\sdriver\sis\sinitialized\s\nin\sthe\sthread\sof\ssaid\sinterp.\n
J login andreas_kupries
J mimetype text/plain
J priority 7\sHigh
J username andreas_kupries
K 593810ffffffffffffffffffffffffffffffffff
U andreas_kupries
Z df5e780a78a370b82431dc2780005d47