From: SourceForge.net <no...@so...> - 2005-11-18 23:08:30
|
Bugs item #1355942, was opened at 2005-11-13 12:41 Message generated for change (Settings changed) made by msofer You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1355942&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 21. [namespace] Group: development: 8.5a4 >Status: Closed >Resolution: Fixed Priority: 9 Submitted By: miguel sofer (msofer) Assigned to: miguel sofer (msofer) Summary: crash in nested ns deletions Initial Comment: mig@ave:/home/CVS/tcl_SF_clean/unix$ cat /tmp/crash namespace eval ::test_ns_2 { proc foo {} {lappend ::result 2} trace add command foo delete {namespace eval ::test_ns_3 foo;#} } namespace eval ::test_ns_3 { proc foo {} { namespace delete ::test_ns_2 } } puts [info patch] namespace delete ::test_ns_2 mig@ave:/home/CVS/tcl_SF_clean/unix$ ./tclsh /tmp/crash 8.5a4 Segmentation fault NOTE: 8.4.7 is immune, core-8-4-branch and HEAD bomb. ---------------------------------------------------------------------- Comment By: miguel sofer (msofer) Date: 2005-11-13 22:35 Message: Logged In: YES user_id=148712 Fixed in HEAD; backport to core-8-4-branch not yet done. ---------------------------------------------------------------------- Comment By: miguel sofer (msofer) Date: 2005-11-13 15:56 Message: Logged In: YES user_id=148712 Simpler crash: Interestingly, the following does not crash: namespace eval ::test { proc bar {} {} trace add command bar delete foo;# } proc foo {} { namespace delete ::test } namespace delete ::test Another remark: 8.4.7 does not crash here, but it has different compile flags. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1355942&group_id=10894 |