Tcl Source Code

View Ticket
Login
Ticket UUID: 3607372
Title: TclInitByteCodeObj: unbalanced literal refCounts
Type: Bug Created on: 2013-03-08 21:08:08
Submitter: dgp Assigned to: dgp
Subsystem: 47. Bytecode Compiler Severity:
Priority: 5 Medium Last modified: 2013-03-11 19:56:11
Status: Closed Closed by: dgp
Resolution: Fixed Closed on: 2013-03-11 12:56:11
Version: current: 8.6.0
Description:
When TIBCO detects a circular reference
in bytecode, and copies a value to disconnect it,
it fails to call TclReleaseLiteral() to decr the
literal refcount of the value being discarded.
User Comments:
dgp added on 2013-03-09 04:14:10:
Replacing Tcl_DecrRefCount() 
with TclReleaseLiteral() should be enough to
fix.  See branch bug-3607372.

dgp added on 2013-03-11 19:56:11:

allow_comments - 1

Fixed for 8.6.1.