Overview
| Artifact ID: | 586a01599628658163e1c927a979bea46fb0df74 |
|---|---|
| Ticket: | 3392070fffffffffffffffffffffffffffffffff
literal leak with delayed compile [subst] |
| User & Date: | dgp on 2011-08-15 17:19:18 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
This exercise of the test suite leaks: $ make valgrind TESTFLAGS='-file "regexpComp.test subst.test" -match "regexpComp-12.1 subst-3.2"' ... ==4233== 292 (48 direct, 244 indirect) bytes in 1 blocks are definitely lost in loss record 23 of 24 ==4233== at 0x4A05E1C: malloc (vg_replace_malloc.c:195) ==4233== by 0x498654: Tcl_Alloc (in /local/tmp/dgp/fossil/tcl-only/unix/tcltest) ==4233== by 0x4FB2CA: TclCreateLiteral (in /local/tmp/dgp/fossil/tcl-only/unix/tcltest) ==4233== by 0x44821F: InitLocalCache (in /local/tmp/dgp/fossil/tcl-only/unix/tcltest) ==4233== by 0x4488F0: TclNRInterpProcCore (in /local/tmp/dgp/fossil/tcl-only/unix/tcltest) ==4233== by 0x48E315: TclNRRunCallbacks (in /local/tmp/dgp/fossil/tcl-only/unix/tcltest) ==4233== by 0x493E03: TclEvalEx (in /local/tmp/dgp/fossil/tcl-only/unix/tcltest) ==4233== by 0x494135: Tcl_EvalEx (in /local/tmp/dgp/fossil/tcl-only/unix/tcltest) Looking at the tests, I suspect the literal value "j" is leaking, but don't have anything more concrete than that yet.
- foundin changed to: "obsolete: 8.6b2"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to: "literal leak in regexpComp/subst combination"
- type changed to: "Bug"