Skip to content
Tcl Source Code Artifact [049ca48f9b]
Login

Artifact [049ca48f9b]

Artifact 049ca48f9b8d59780cf2f34fdba1e222cb6e6f75:

Ticket change [049ca48f9b] - Ticket [0f14b45adc1932e4|0f14b45adc] <i>A bug in Tcl 64bit libraries</i> status still Open with 3 other changes by apnadkarni on 2014-10-08 16:58:03.
D 2014-10-08T16:58:03.678
J icomment I\sbelieve\sthat\syou\sare\scompiling\syour\smodules\swith\sdifferent\spreprocessor\sflags\s(nothing\sto\sdo\swith\sTcl).\r\n\r\nStepping\sthrough\sthe\sdisassembled\scode\s(will\snot\sbe\svisible\sat\s\sC\slevel)\sof\sTclTextInterp::TclTextInterp,\sthe\soffset\sto\sargv_m\smember\sin\sthe\sobject\sis\s0x68.\sThis\svalue\sis\sNULL\sand\shence\sthe\scrash.\r\n\r\nThe\sinitialization\sof\sargv_m\shappens\sin\sVMDApp::VMDApp\swhere\sit\sis\sinitialized\sat\soffset\s0x60\s(NOT\s0x68).\sLooking\sat\sthe\sdefinition\sof\sthe\sVMDApp\sclass,\sthere\sare\sa\scouple\sof\s#defines\swrapping\smembers.\sMy\sguess\sis\sone\sof\sthese\sis\snot\sdefined\swhen\syou\sare\scompiling\sVMDApp\sbut\sdefined\sfor\sTclTextInterp.\sHence\sthe\sinconsistency.\r\n\r\nDo\snot\slook\sat\sthe\sdebugger\ssymbol\svalues.\sThose\sassume\scompilation\swith\sconsistent\sflags\sand\shence\swill\snot\sshow\strue\sstate.\sLook\sat\sthe\sactual\smemory\sdump.\r\n\r\nBTW,\sif\syou\slook\sat\sthe\scontents\sof\sargcbuf[]\sa\sfew\slines\sbefore\sthe\scrash,\syou\swill\ssee\sa\sbogus\svalue\shas\sbeen\ssprintf'ed\sinto\sthe\sbuffer\sfor\sthe\ssame\sreason.\r\n\r\n/Ashok
J login apnadkarni
J mimetype text/plain
K 0f14b45adc1932e4f9fbe0ad03777c13a09809b2
U apnadkarni
Z 6a66cc5df5ff31b487322025bd327b9b