Skip to content
Tcl Source Code Artifact [9f0707c731]
Login

Artifact [9f0707c731]

Artifact 9f0707c731be1ee90a61e688a0117f1927e6992b:

Ticket change [9f0707c731] - Ticket [2782488fffffffff|2782488fff] <i>tclsh8.5 segfaults upon sourcing 8.4 byte codes</i> status still Open with 4 other changes by andreas_kupries on 2009-10-06 01:47:24.
D 2009-10-06T01:47:24
J icomment I\sdo\snot\sbelieve\sso.\sFrom\sthe\sname\sof\sthe\scommand\sand\sits\soutput\s(procomp,\s2002)\sthis\sis\sa\sTDK\s1.5,\sat\smost\sa\sTDK\s2.x.\sVery\sold.\sI\scan\simagine\sthat\sit\shas\sbugs\swith\sregard\sto\sbytecode\sgeneration\sand/or\sloading\swhich\strips\scurrent\stclsh\s8.5.x.\n\nI\sjust\stried\sto\sreproduce\sthe\sproblem\susing\sTDK\s5.1\sand\san\sAT\s8.5.7.0.290291\sand\sthe\sloading\sis\sok.\sSession\slog:\n\n>\scat\sx/barf.tcl\nputs\sBARF\n>\s./DEF/bin/tclcompiler84\s./x/barf.tcl\n#\sTcl\sDev\sKit\sCompiler\n#\sCopyright\s(C)\s2001-2009\sActiveState\sSoftware\sInc.\sAll\srights\sreserved.\n#\sInternal\slicense\sfor\sActivator\s<[email protected]>.\n>\sll\sx\ntotal\s8\n-rw-rw-r--\s\s\s\s1\sandreask\sDomainUsers\s\s\s\s\s\s340\s2009-10-05\s11:40\sbarf.tbc\n-rw-rw-r--\s\s\s\s1\sandreask\sDomainUsers\s\s\s\s\s\s\s10\s2009-10-05\s11:37\sbarf.tcl\n>\s~/Abuild/bin/tclsh8.5\n%\ssource\sx/barf.tbc\nBARF\n%\spackage\spresent\stbcload\n1.7\n%\spackage\sifneeded\stbcload\s1.7\nload\s/home/andreask/Abuild/lib/tcl8.5/tbcload1.7/libtbcload1.7.so\n%\sinfo\spatchlevel\n8.5.7\n%\spackage\spresent\sActiveTcl\n8.5.7.0.290291\n%\sexit\n>\scat\sx/barf.tbc\n#\sTclPro::Compiler::Include\n\nif\s{[catch\s{package\srequire\stbcload\s1.6}\serr]\s==\s1}\s{\n\s\s\s\sreturn\s-code\serror\s"[info\sscript]:\sThe\sTclPro\sByteCode\sLoader\sis\snot\savailable\sor\sdoes\snot\ssupport\sthe\scorrect\sversion\s--\s$err"\n}\ntbcload::bceval\s{\nTclPro\sByteCode\s2\s0\s1.7\s8.4\n1\s0\s7\s2\s0\s0\s4\s0\s2\s1\s1\s-1\s-1\n7\nw0E<!)'!!\n1\nz\n1\n'!\n2\nx\n4\nDP)*F\nx\n4\n=N)T7\n0\n0\n}\n>\n\nAs\sseen,\scompiled\sfor\stcl\s8.4,\sand\sloads\sinto\stclsh8.5.7\swithout\sa\scrash.\n\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 2782488fffffffffffffffffffffffffffffffff
U andreas_kupries
Z 136a10007112c04072f94fc9469bc11a