Skip to content
Tcl Source Code Artifact [41a0dc6f8a]
Login

Artifact [41a0dc6f8a]

Artifact 41a0dc6f8ac62aac1cd29378f2b5b8cc91b276b1:

Ticket change [41a0dc6f8a] - New ticket [4f51fb37428603a0|4f51fb3742] <i>`Expect&#39; memory faults upon issuing `c&#39;</i>. by anonymous on 2015-07-12 17:15:38.
D 2015-07-12T17:15:38.185
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment as\sadvised\son\scomp.lang.tcl\sI\sissue\sthis\sbug\sreport,\s\shappens\swith\sExpect\s5.45.3\s\sunder\smacosx\s10.10.3:\s\r\n\r\nI\swant\sto\suse\s`expect'\sas\san\sinteractive\sdebugger\sfor\sa\svery\smodest\stcl\sscript.\srunning\sthe\sscript\seither\svia\s`/usr/bin/env\sexpect\s-D\s1'\sor\sby\sadding\ssomewhere\sa\s`debug\s1'\sto\sthe\sscript\sand\sloading\sthe\sExpect\spackage\sfrom\swithin\s`tclsh'\sand\ssourcing\sthe\sscript\s\sfrom\swithin\stclsh\sinitially\sdoes\sthe\sexpected\s(...),\si.e.\sI\sget\sthe\s`dbg'\sprompt\sof\s`Expect'.\s\ssimple\sthings\s(looking\sat\svariables,\ssingle-stepping,\setc.\swork).\sbut\sas\ssoon\sas\sI\sissue\s`c'\sthere\sis\sa\sshort,\snotable\sdelay\s(somewhat\slarger\sthan\susual\sruntime\sof\sthe\sscript\sI'd\ssay)\sfollowed\sby\sa\smemory\sfault.\s\r\n\r\nthe\sproblem\sis\smost\seasily\sreproduced\sby\srunning\sthe\sscript\s(called\s"breakdown"\sfor\stotally\sunrelated\sreasons\s;-)\slike\r\n\s\r\n\s\s\s\sexpect\s-D\s1\sbreakdown\r\n\s\s\s\sc\s\s#(issued\sat\sthe\sdbg\sprompt)\r\n\r\nthis\striggers\sthe\smemfault\seach\sand\severy\stime\son\smy\smachine.\r\n\r\nthe\sscript\sdoes\snothing\sfancy.\sit\suses\s\r\n\r\n\snamespace\spath\s{::tcl::mathop}\s\r\n\spackage\srequire\scmdline\s\r\n\r\notherwise\sit's\s"vanilla\stcl"\s(making\ssome\suse\sof\s`clock')\r\n\r\nI\scan\sprovide\sthe\sscript\stogether\swith\ssome\sdata\sfiles\sit\sprocesses\ssince\sthis\sright\snow\sis\smy\s"minimal\sexample"\s--\sI\shave\sno\sidea\show\sto\scorner\sthe\sproblem.\sso\sjust\slet\sme\sknow,\swhere\sto\supload/email\sthe\sscript+data
J foundin 8.6.3
J is_private 0
J login anonymous
J priority 5\sMedium
J private_contact 87a8ab2e1e5150e17c388ae3d6a4369041a5c4fa
J resolution None
J severity Severe
J status Open
J submitter anonymous
J subsystem 69.\sOther
J title `Expect'\smemory\sfaults\supon\sissuing\s`c'
J type Bug
K 4f51fb37428603a028f505129f6978c2445fbc08
U anonymous
Z 8e1038cc888f0b2784459f2b26104926