|
2007-03-13
| ||
| 22:59 | • Closed ticket [1669489fff]: TclArraySet crash plus 8 other changes artifact: a29ae4175c user: dgp | |
| 01:07 | • Ticket [1669489fff]: 4 changes artifact: 1a32992661 user: dgp | |
| 01:01 | • Ticket [1669489fff]: 4 changes artifact: 13b9a7f8c6 user: dgp | |
| 01:01 | • Add attachment 1669489.patch to ticket [1669489fff] artifact: 73478dcc39 user: dgp | |
|
2007-02-26
| ||
| 21:58 | • New ticket [1669489fff] TclArraySet crash. artifact: ae3eb2bfd4 user: dgp | |
TclArraySet crash
Closed / Fixed1669489fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2007-02-26 21:58:49
% array set a {}
% set elements {1 2 3 4}
1 2 3 4
% trace add variable a write {string length $elements ;#}
% array set a $elements
Segmentation fault
Same crash also happens with the HEAD.
Problem is that TclArraySet
doesn't preserve the elemPtrs
it pulls from a ListObj, and
keeps trying to access it
after it's shimmered out of validity.
dgpplain2007-03-13 01:01:55
File Added - 220166: 1669489.patch Logged In: YES user_id=80530 Originator: YES Here's a patch to review. File Added: 1669489.patch
dgpplain2007-03-13 01:07:07
Logged In: YES user_id=80530 Originator: YES Patch committed to HEAD. Backport still needs examination.
dgpplain2007-03-13 22:59:53
Logged In: YES user_id=80530 Originator: YES Commit different fix for 8.4.15.
Log in (anonymous is fine) to add a comment.
Attachments:
- 1669489.patch [download] added by dgp on 2007-03-13 01:01:54. [details]