Ticket UUID: | 1050490 | |||
Title: | invalid ref in ThreadSetResult | |||
Type: | Bug | Version: | None | |
Submitter: | dgp | Created on: | 2004-10-20 05:50:13 | |
Subsystem: | 80. Thread Package | Assigned To: | vasiljevic | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2004-10-20 15:54:28 | |
Resolution: | Fixed | Closed By: | vasiljevic | |
Closed on: | 2004-10-20 08:54:28 | |||
Description: |
ThreadSetResult gets a pointer to the string rep of an interp result: result = Tcl_GetStringResult(interp); then keeps on using that pointer after the interp's doing other things, making no effort to preserve the result. Recent changes on the Tcl HEAD allow that result to change out from under us. Here's a simple patch to correct. Without it, you will see tests fail. | |||
User Comments: |
vasiljevic added on 2004-10-20 15:54:28:
Logged In: YES user_id=95086 Fixed and applied to HEAD. dgp added on 2004-10-20 12:50:13: File Added - 105762: thread.patch |
Attachments:
- thread.patch [download] added by dgp on 2004-10-20 12:50:13. [details]