Skip to content
Tcl Source Code Artifact [fc9b0d9b9d]
Login

Artifact [fc9b0d9b9d]

Artifact fc9b0d9b9d7a08c591197224fa154926ad5efbb7:

Ticket change [fc9b0d9b9d] - New ticket [2843166fffffffff|2843166fff] <i>replacing stdin with refchan causes segfault in interp</i>. by afaupell on 2009-08-23 18:03:57.
D 2009-08-23T18:03:57
J assignee hobbs
J cmimetype text/plain
J comment test\sscript:\n\nproc\sstdin\s{args}\s{\n\s\s\s\sswitch\s-exact\s--\s[lindex\s$args\s0]\s{\n\s\s\s\s\s\s\s\sinitialize\s{\sreturn\s{initialize\sfinalize\swatch\sread}\s}\n\s\s\s\s\s\s\s\sread\s{\n\s\s\s\s\s\s\s\s\s\s\s\sreturn\sread\n\s\s\s\s\s\s\s\s}\n\s\s\s\s}\n}\nclose\sstdin\nchan\screate\sread\sstdin\ninterp\screate\nputs\shi\n\n\ncauses\ssegfault\sat\sinterp\screate\son\sAS\sbuild\s8.5.7\son\slinux.\scommenting\sthe\schan\screate\sline\sfixes\sthe\sproblem.\n\nsource\sbuilt\s8.5.6\son\sbsd\sand\stclkit\s8.5.2\son\swindows\swork\sfine.\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter afaupell
J subsystem 20.\s[interp]
J title replacing\sstdin\swith\srefchan\scauses\ssegfault\sin\sinterp
J type Bug
K 2843166fffffffffffffffffffffffffffffffff
U afaupell
Z 70037cb7a1b64090d54b13f97035938c