Skip to content
Tcl Source Code View Ticket
Login

View Ticket

stacked channel self-manipulation protections too weak

Closed / Fixed721ec6927136c79169195ac09cfe6efd0a27fce6Created 13 years agoUpdated 13 years ago
Descriptionplain2014-03-27 16:25:08
When the read operation on a channel can cause
stack/unstack operations to re-shape the structure
of the channel, we can get into a situation where
pointers point to bad places.  There are some protections
from this in the code, but not enough.

Committing new test iortrans-4.8.1 to trunk to expose
such a segfault.
Referenced by3
dgpplain2014-03-27 16:44:47
Test iogt-2.4 shows it is an 8.5 issue too.
dkf Ticket [721ec69271]: 5 changes [History diff]2014-03-28 09:41:07
dgpplain2014-04-21 19:18:12
The latest commit to trunk (refCounting of ChannelBuffer)
is sufficient to stop the segfault in test iortrans-4.8.1.

Now it's just a failing test.

iogt-2.4 still segfaults.
dgpplain2014-04-22 15:10:17
iogt-2.4 segfaults fixed with addition of
refcounting machinery and preservations to
the [testchannel transform] implementation.

Test still fail.  Have to ponder what proper
behavior is here.
dgpplain2014-04-24 17:29:55
The segfaults are squashed now.
dgp Closed ticket [721ec69271]. [History diff]2014-05-08 17:42:48
Log in (anonymous is fine) to add a comment.