Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-12-26
09:20 • Closed ticket [2175442fff]: memdebug, thread Tcl demands memdebug extensions... artifact: 66ffe5521b user: sf-robot
2009-12-11
10:21 • Pending ticket [2175442fff]. artifact: d598e3f6a5 user: msofer
2009-05-01
08:24 • Ticket [2175442fff]: 1 change artifact: 49fa0384d5 user: msofer
2008-11-27
13:40 • Ticket [2175442fff]: 4 changes artifact: 521681ff4d user: dgp
2008-10-17
20:29 • New ticket [2175442fff]. artifact: 7300c93c5e user: dgp

memdebug, thread Tcl demands memdebug extensions

Closed2175442fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 17 years ago
Descriptionplain2008-10-17 20:29:46
Because of the 2003-07-24 commit
to tclObj.c of mem-debug enabled
code that maintains a hash table
tracking the objPtr's allocated
in each thread, it is mandatory
when this code is active (that is,
in a mem-debug-enabled-,thread-enabled
build of Tcl), that all callers
of TclFreeObj() also are calling
it in a compatible way.

Since TclFreeObj() is a public
routine (slot 30 of the stubs
table), and is an essential part
of the public macro 
Tcl_DecrRefCount(), if any extensions
calling either of those was compiled
without using a mem-debug-enabled
inclusion of tcl.h, the result
will be inconsistent maintenance
if that hash table which will lead
to panics.
dgpplain2008-11-27 13:40:11
ISTR some commentary in the
chat room that since memory debug
builds are rather specialized
developer configurations, this
constraint was likely to be deemed
an acceptable limitation.
msofer Ticket [2175442fff]: 1 change [History diff]2009-05-01 08:24:17
msofer Pending ticket [2175442fff]. [History diff]2009-12-11 10:21:10
sf-robotplain2009-12-26 09:20:31
allow_comments - 1

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.