Artifacts Associated With Ticket 1884496
Ticket change [86bc3ddfa2] (rid 131569) by dgp on 2008-02-01 15:26:26:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Only on the dgp-refactor branch: Following script reads from freed memory (MEM_DEBUG build to verify): set script {set a [p]; puts "result is $a"} proc p {} {string first l $::script} eval $script Need some way to protect tokens getting freed in the middle of evaluation. - foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "7 High"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "45. Parsing and Eval"
- title initialized to: "read from freed memory"
- type initialized to: "Bug"
Ticket change [ecf70e4193] (rid 103803) by ferrieux on 2011-09-24 05:17:20:
- icomment:
Is that still valid with all your valgrinding experience ? ;-)
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [e8c2d335ec] (rid 104701) by ferrieux on 2013-01-10 06:30:59:
- icomment:
Tested today, --enable-symbols=all or mem, with or without valgrind, cannot seem to repro. Can you ?
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [f144ae17cd] (rid 109340) by dgp on 2013-01-10 22:14:26:
- icomment:
This demo script stopped crashing with the checkin http://core.tcl.tk/tcl/info/815028bdfc This is when the NRE-enabled [eval] command was merged in. I think the change stopped this particular demo script from crashing, but didn't really address the underlying lack of lifetime management. Would need another demo to continue pursuing that.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [74d920f074] (rid 105286) by dgp on 2013-01-10 22:59:20:
- icomment:
The vulnerable point is TclNREvalObjEx() with the TCL_EVAL_DIRECT flag set. [eval] no longer goes there.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [bf4b48caf3] (rid 102225) by dgp on 2013-01-10 23:42:35:
- icomment:
I see test execute-11.1 panic . Another symptom?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [f6dcc02f4f] (rid 130387) by dgp on 2013-01-11 01:50:17:
- icomment:
Nope that was 3600284
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [cda1583ccf] (rid 95928) by dgp on 2013-01-11 01:52:50:
- icomment:
Updated demo of the problem: $ make runtest ... % set script {set a [p]; puts "result is $a"} set a [p]; puts "result is $a" % proc p {} {string first l $::script} % testevent queue a head $script % update make: *** [runtest] Segmentation fault - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [40e7fd094a] (rid 116089) by ferrieux on 2013-01-13 01:34:23:
- icomment:
Fixed in commit 86e21dd01d by decoupling intreps just like for Lists. Please review. (that's a quick and dirty proof of concept; visibility of types and functions should be ironed out)
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [32724acbaa] (rid 93611) by dgp on 2013-03-19 20:32:03:
- closedate changed to: "2013-03-19T13:32:03"
- closer changed to: "dgp"
- icomment:
allow_comments - 1
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"