Skip to content
Tcl Source Code Artifact [b0c58215e5]
Login

Artifact [b0c58215e5]

Artifact b0c58215e5dae8b2bc58278e5b3f45a254b9f80b:

Ticket change [b0c58215e5] - Ticket [218317ffffffffff|218317ffff] <i>Crash on SUN 64 bit platform (Sun5.7 Compiler- 5.0c++)</i> status still Closed with 4 other changes by nobody on 2000-12-14 04:25:58.
D 2000-12-14T04:25:58
J icomment I\sam\sreceiving\sthe\ssame\scrash\son\sWindows\sNT\s4.0,\susing\sTcl/Tk\s8.3.1\sand\sTktable\s2.5.\sThe\sobjPtr\spassed\sinto\sFreeCmdNameInternalRep\scontains\sa\scmdPtr\sthat\sis\snull\s(0).\sThe\sobjPtr\sis\sthe\sresultObj\sof\sthe\scurrent\sinterp,\sas\spicked\sup\sby\sthe\sTable_GetCmd\sroutine\sin\sTktable\s(TktableCmds.c).\sThis\sroutine\suses\swhat\sappears\sto\sme\sto\sbe\sa\sdangerous\spractice:\sit\spicks\sup\sthe\sresultObj\sfrom\sthe\sinterp,\sthen\scalls\sa\sroutine\s(TableGetCellValue)\sthat\sconceivably\sexecutes\smore\sTcl\scode\s(and\stherefore,\spresumably,\saffects\sthe\stcl\sresult),\sand\sTHEN\sattempts\sto\suse\sthe\sresult\sobject\s(set\sits\svalue).\sI\shave\scoded\saround\sthe\sproblem\sby\shaving\sTable_GetCmd\suse\sTcl_SetResult\sinstead,\sand\sthe\sproblem\sdisappears.\s\n\nAs\san\sadded\snote,\sif\sI\srecompile\sTcl\swith\s\sDEBUGDEFINES\s=\s-DTCL_MEM_DEBUG\na\strap\soccurs\sin\sTcl_IsShared\swhen\scalled\sfrom\sTcl_SetStringObj.\sApparently\sthe\sobject's\sref\scount\sis\sset\sto\sthe\smagic\s0x61616161.\n\nI\swill\scertainly\sattempt\sat\ssome\sfuture\spoint\sto\scome\sup\swith\sa\ssimple\sscript\sto\sproduce\sthe\sproblem,\sbut\sdon't\shave\stime\sright\snow.\sI\shope\sthat\sthis\sadditional\sinformation\sis\suseful.\n\s\sJon\sHilbert\n
J login nobody
J mimetype text/plain
J username nobody
K 218317ffffffffffffffffffffffffffffffffff
U nobody
Z b9a0c5eaeb8d4fc5d52daa938592b34a