Skip to content
Tcl Source Code Artifact [60ad429c9d]
Login

Artifact [60ad429c9d]

Artifact 60ad429c9d2e5180cb388b261937202d4aae212a:

Ticket change [60ad429c9d] - New ticket [1904907fffffffff|1904907fff] <i>get segfault when using a channel created with [chan create]</i>. by schwarzkopf on 2008-02-29 19:16:37.
D 2008-02-29T19:16:37
J assignee andreas_kupries
J cmimetype text/plain
J comment %\sparray\stcl_platform\ntcl_platform(byteOrder)\s\s\s=\slittleEndian\ntcl_platform(machine)\s\s\s\s\s=\sx86_64\ntcl_platform(os)\s\s\s\s\s\s\s\s\s\s=\sLinux\ntcl_platform(osVersion)\s\s\s=\s2.6.22-14-generic\ntcl_platform(platform)\s\s\s\s=\sunix\ntcl_platform(pointerSize)\s=\s8\ntcl_platform(threaded)\s\s\s\s=\s1\ntcl_platform(user)\s\s\s\s\s\s\s\s=\sbschwarz\ntcl_platform(wordSize)\s\s\s\s=\s8\n\nI\shave\sa\sfile\swith\sthis\sin\sit,\sand\sit\sproduces\sa\ssegfault:\n\n\s\set\sfid\s[chan\screate\s{r\sw}\s::vchan]\n\n\s\schan\sputs\s$fid\s"HELLO\sTHERE"\n\s\sset\sdata\s[read\s$fid]\n\nIf\sI\sadd\sthe\sfollowing\sat\sthe\send,\sit\sdoes\snot\ssegfault\s(note\sthat\sI\sneed\sa\scatch,\sbecause\sthere\sis\sanother\sproblem\swhen\sI\s[chan\sclose]):\n\n\s\scatch\s{chan\sclose\s$fid}\n\s\s\nI\sdon't\ssee\sthe\sproblem\son\s"normal"\schannels\s(i.e.\sopening\sa\sfile\son\sthe\sfilesystem\swith\s[open])
J foundin obsolete:\s8.5.1
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter schwarzkopf
J subsystem 24.\sChannel\sCommands
J title get\ssegfault\swhen\susing\sa\schannel\screated\swith\s[chan\screate]
J type Bug
K 1904907fffffffffffffffffffffffffffffffff
U schwarzkopf
Z 71f6abb180d69f3fcc1928f93aaedae4