Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-08-04
03:38 • Ticket [989298ffff] UMR in ensemble code? status still Closed with 6 other c... artifact: f8f6d406b0 user: msofer
03:38 • Closed ticket [989298ffff]. artifact: 82c463dc1a user: msofer
03:33 • Ticket [989298ffff]: 5 changes artifact: 76c4c79c75 user: dkf
03:33 • Ticket [989298ffff]: 1 change artifact: 15bbca4aff user: dkf
2004-08-03
22:51 • Ticket [989298ffff]: 4 changes artifact: 572829ed18 user: msofer
22:46 • Ticket [989298ffff]: 4 changes artifact: 19ada81a92 user: dkf
21:37 • Ticket [989298ffff]: 4 changes artifact: f9e39ab7bf user: msofer
19:28 • Ticket [989298ffff]: 4 changes artifact: 789c025f13 user: dkf
2004-07-12
09:53 • New ticket [989298ffff]. artifact: 8e766831af user: msofer

UMR in ensemble code?

Closed / Fixed989298ffffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-07-12 09:53:27
Running namespace.test under valgrind I get the
following report:

Conditional jump or move depends on uninitialised value(s)
   at 0x80CED14: NsEnsembleImplementationCmd
(tclNamesp.c:4822)
   by 0x806857D: TclEvalObjvInternal (tclBasic.c:3148)
   by 0x809D0AB: TclExecuteByteCode (tclExecute.c:1672)
   by 0x809B85D: TclCompEvalObj (tclExecute.c:1011)
   by 0x80696DD: Tcl_EvalObjEx (tclBasic.c:3893)
   by 0x806E23C: Tcl_CatchObjCmd (tclCmdAH.c:258)
   by 0x806857D: TclEvalObjvInternal (tclBasic.c:3148)
   by 0x80691EC: Tcl_EvalEx (tclBasic.c:3647)
   by 0x80D5361: TclSubstTokens (tclParse.c:2004)
   by 0x8068D65: Tcl_EvalEx (tclBasic.c:3570)

More info may be generated upon request.
dkfplain2004-08-03 19:28:05
Logged In: YES 
user_id=79902

That line corresponds with the middle of a comment in the
HEAD.  Hard to figure out what was meant from that... :^)
msoferplain2004-08-03 21:37:34
Logged In: YES 
user_id=148712

Which line is in a comment? What I see in tclNamesp.c at
line 4822 is
    if (ensembleCmd->nsPtr == ensemblePtr->nsPtr &&

Should I try to regenerate this with more recent sources?
dkfplain2004-08-03 22:46:38
Logged In: YES 
user_id=79902

That's line 4813 in the HEAD. :^) Investigation reveals that
the line with the failure is the one after that, and that it
stems from the epoch field not being updated.  The fault is
actually about line 5120 (i.e. toward the end of
MakeCachedEnsembleCommand) where the ensembleCmd->epoch
field (which should be a copy of ensemblePtr->epoch) is not
filled in.  D'oh!
msoferplain2004-08-03 22:51:49
Logged In: YES 
user_id=148712

oops ... I had a 2-day old HEAD (guess that is NECK or
something)? Sorry
dkf Ticket [989298ffff]: 1 change [History diff]2004-08-04 03:33:48
dkfplain2004-08-04 03:33:49
Logged In: YES 
user_id=79902

I now believe that this should be fixed in the HEAD.  Please
check and close this bug if that is indeed the case. (I'm
assigning it to you because I've no experience with
valgrind... :^)
msofer Closed ticket [989298ffff]. [History diff]2004-08-04 03:38:42
msoferplain2004-08-04 03:38:43
Logged In: YES 
user_id=148712

Valgrind is happy now, good job!
Log in (anonymous is fine) to add a comment.