Skip to content
Tcl Source Code View Ticket
Login

View Ticket

upvar.test: TCL_MEM_DEBUG PANIC due to TclFormatObj

Closed / Fixed1547681fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2006-08-28 02:47:47
upvar.test
Test file error: Trying to incr ref count of Tcl_Obj
allocated in another thread

abnormal program termination
Trying to incr ref count of Tcl_Obj allocated in
another thread

I believe the above failure is caused by not passing
NULL after the final argument to TclFormatObj in
tclNamesp.c on or near line 4611 in HEAD.  This
prevents the loop in FormatObjVA from terminating reliably.
mistachkinplain2006-08-28 11:17:33
Logged In: YES 
user_id=113501


This issue has now been fixed.  DGP, can you see if this
fixes the issues you were seeing as well?
dgpplain2006-08-28 20:13:40
Logged In: YES 
user_id=80530


Thanks for the fix, but it's
not the one I want.

I want the caller to do without
a trailing NULL argument, so I
must fix TclFormatObj to support
that.
dgpplain2006-08-28 21:23:16
Logged In: YES 
user_id=80530

fix committed
mistachkinplain2006-08-29 02:19:03
Logged In: YES 
user_id=113501


That's what I get for trying to read your intentions... :)
Log in (anonymous is fine) to add a comment.