From: SourceForge.net <no...@so...> - 2012-06-08 15:56:14
|
Bugs item #3532959, was opened at 2012-06-07 13:27 Message generated for change (Comment added) made by dgp You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=3532959&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: 22. [proc] and [uplevel] Group: current: 8.5.11 Status: Open Resolution: None Priority: 9 Private: No Submitted By: Don Porter (dgp) Assigned to: Andreas Kupries (andreas_kupries) Summary: free lambda after interp -> crash Initial Comment: % set lambda x x % lappend lambda {set a 1} x {set a 1} % interp create slave slave % slave eval [list apply $lambda foo] 1 % interp delete slave % unset lambda /bin/sh: line 2: 23642 Segmentation fault ./tclsh ---------------------------------------------------------------------- >Comment By: Don Porter (dgp) Date: 2012-06-08 08:56 Message: WIP on bug-3532959 ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2012-06-08 08:38 Message: Contributing to the problem in this example is that TclProcCleanupProc is crashing attempting to clear away data it never stored in the first place. ---------------------------------------------------------------------- Comment By: miguel sofer (msofer) Date: 2012-06-07 15:28 Message: Freeing a lambda's internal rep requires access to the interp, purely for tip-280 related data management. Not sure what to do about that, reassigning to aku. Attaching valgrind's view of the crash on current tip of core-8-5-branch. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=3532959&group_id=10894 |