Overview
| Artifact ID: | 9642db28b3aae2e7976494d3170436ad05de383e |
|---|---|
| Ticket: | 2921116fffffffffffffffffffffffffffffffff
Segmentation fault when removing the transformation |
| User & Date: | sbron on 2009-12-25 16:01:33 |
Changes
- assignee changed to: "andreas_kupries"
- cmimetype changed to: "text/plain"
- comment changed to:
If the read method of a stacked channel (temporarily) removes the transformation to send an acknowledgement back to the sender, Tcl crashes with a segfault. The problem can be reproduced using the attached script. Probably the chan pop command releases the data structure attached to the transformation handle that is later still needed to process the data returned by the read method. Either the code invoking the read method should make a copy of the data it will need to finish processing the read action, or removing the transformation inside the read method should fail with an appropriate error message. Obviously similar problems may happen in other stacked channel methods when they remove the transformation. Tested on OpenSuSE 11.2, x86_64
- foundin changed to: "obsolete: 8.6b1.1"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "sbron"
- subsystem changed to: "26. Channel Transforms"
- title changed to:
Segmentation fault when removing the transformation
- type changed to: "Bug"