Artifacts Associated With Ticket 2843166
Ticket change [fc9b0d9b9d] (rid 108265) by afaupell on 2009-08-23 18:03:57:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized to:
test script: proc stdin {args} { switch -exact -- [lindex $args 0] { initialize { return {initialize finalize watch read} } read { return read } } } close stdin chan create read stdin interp create puts hi causes segfault at interp create on AS build 8.5.7 on linux. commenting the chan create line fixes the problem. source built 8.5.6 on bsd and tclkit 8.5.2 on windows work fine. - foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "afaupell"
- subsystem initialized to: "20. [interp]"
- title initialized to:
replacing stdin with refchan causes segfault in interp
- type initialized to: "Bug"
Ticket change [4e4a97c6bc] (rid 127201) by dkf on 2009-08-24 02:53:42:
- assignee changed to: "andreas_kupries"
Ticket change [6a863b4153] (rid 128166) by afaupell on 2009-08-24 04:30:30:
- icomment:
stack trace #0 0x00000000 in ?? () #1 0xb8016b9b in TclpMakeFile () from /usr/local/lib/libtcl8.5.so #2 0xb7fece03 in TclCreatePipeline () from /usr/local/lib/libtcl8.5.so #3 0xb7fecec0 in Tcl_OpenCommandChannel () from /usr/local/lib/libtcl8.5.so #4 0xb7fcad8f in Tcl_ExecObjCmd () from /usr/local/lib/libtcl8.5.so #5 0xb7f652ba in TclEvalObjvInternal () from /usr/local/lib/libtcl8.5.so #6 0xb7faaa57 in TclExecuteByteCode () from /usr/local/lib/libtcl8.5.so #7 0xb7ff273c in TclObjInterpProcCore () from /usr/local/lib/libtcl8.5.so #8 0xb7ff26a0 in TclObjInterpProc () from /usr/local/lib/libtcl8.5.so #9 0xb7f652ba in TclEvalObjvInternal () from /usr/local/lib/libtcl8.5.so #10 0xb7faaa57 in TclExecuteByteCode () from /usr/local/lib/libtcl8.5.so
- login: "afaupell"
- mimetype: "text/plain"
- username: "afaupell"
- icomment:
Ticket change [09f5cc2d7c] (rid 113738) by andreas_kupries on 2009-08-24 06:10:31:
- icomment:
From the stacktrace this might be a duplicate of 18262248 per 2009-07-24 Andreas Kupries <[email protected]> * generic/tclIO.c (Tcl_GetChannelHandle): [Bug 2826248]: Do not crash * generic/tclPipe.c (FileForRedirect): for getHandleProc == NULL, this is allowed. Provide a nice error message in the bypass area. Updated caller to check the bypass for a mesage. Bug reported by Andy Sonnenburg <[email protected]>. Backported from CVS head. A limitation of reflected channels, they cannot be used as redirection in command pipelines. On the other hand, it is not clear where in 'interp create' it would run [exec]. Maybe somewhere in "init.tcl" ? It might be useful to try this with the CVS head of the 8.5 branch. Note that this will not fix the limitation itself, only convert the crash into a proper Tcl error message.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [04f6293405] (rid 88960) by afaupell on 2009-08-24 10:47:44:
- icomment:
i dont think its related to command pipelines, and i dont think it should be a limitation (throw an error) since everything works as expected in the 2 different versions/builds i have available.
- login: "afaupell"
- mimetype: "text/plain"
- username: "afaupell"
- icomment:
Ticket change [100ebf713b] (rid 94903) by andreas_kupries on 2009-08-25 02:40:26:
- icomment:
Ok. 8.5/8.6 Head, plain build - No crash, output is 'hi'. Next up, try most current AT 8.5.7, 8.6 builds made this weekend, this also the CVS heads of Tcl as of Friday afternoon. ActiveTcl8.5.7.0.291058-linux-ix86-threaded ActiveTcl8.6.0.0b1.291058-linux-ix86-threaded Ditto. No crash. Output is 'hi'. For comparison, use the 8.5.7.290198 release ... Seg.fault. Ok. This seems to be something which is fixed in the latest core sources, relative to April 14 (last AT 8.5.7 release). - login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [93f41f1263] (rid 105895) by andreas_kupries on 2009-08-28 04:30:15:
- icomment:
Was found to be ok in head. Closing as out-of-date.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [40c019e03a] (rid 116069) by andreas_kupries on 2009-08-28 04:30:18:
- closedate changed to: "2009-08-27T21:30:18"
- closer changed to: "andreas_kupries"
- icomment:
allow_comments - 1
- login: "andreas_kupries"
- mimetype: "text/plain"
- resolution changed to: "Out of Date"
- status changed to: "Closed"
- subsystem changed to: "25. Channel System"
- username: "andreas_kupries"