Overview
| Artifact ID: | 5ccebb9f287d9f594f5049e08972eff198fd63435a047ade0cb43e8e5bd43ae7 |
|---|---|
| Ticket: | 8c52e7873850438e512afa106284e299812dc48d
dgp-refactor TclStackFree panic |
| User & Date: | dgp on 2023-07-21 16:00:54 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed to:
The dgp-refactor branch has been exhibiting a panic in TclStackFree since the merge of TIP 636 from trunk. Some merge flaw has introduced a defect. Here is a stripped down demo of the panic: proc demo {} { set l {} namespace eval {} {} lappend l a b } demo TclStackFree: incorrect freePtr (0x2489b50 != 0x2489b3f). Call out of sequence? The [set] and [lappend] commands have the effect of getting "l" treated as a compiled local variable. The panicking TclStackFree is one that releases a compiled local previously created with TclStackAlloc. The [namespace eval] seems to be where the corruption happens, and the most likely suspect is in the invokeReplace instruction. Note also that the reported mismatch reports a value of MEMSTART(markerPtr) ending in f, which doesn't seem to be a result with an acceptable alignment, which is supposed to be part of what MEMSTART() does. Very strange symptoms. - is_private changed to: "0"
- login: "dgp"
- priority changed to: "5 Medium"
- private_contact changed to: "8e2300e85be5dd1445b9666eb9429055951e33be"
- resolution changed to: "None"
- severity changed to: "Critical"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to: "dgp-refactor TclStackFree panic"
- type changed to: "Bug"