* Re: Tcl/Tk wish shell execution problem under bash @ 2003-09-18 13:16 Jeff Russell 2003-09-18 14:18 ` Igor Pechtchanski 0 siblings, 1 reply; 10+ messages in thread From: Jeff Russell @ 2003-09-18 13:16 UTC (permalink / raw) To: cygwin Andrew DeFaria asked: > > The Tcl/Tk wish shell (wish84.exe) does not properly start/execute under bash. When > > launched, the Tk canvas window appears, but the command prompt window never opens. > >... > > > > Any ideas? > > Are you running bash under rxvt? No, using the standard bash launched with cygwin.bat. > Have you tried "wish" from a Windows console running bash? Same behavior, wish84 seems to hang. However, running wish84 directly from the Windows console results in normal execution/behavior. JEff Russell -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Tcl/Tk wish shell execution problem under bash 2003-09-18 13:16 Tcl/Tk wish shell execution problem under bash Jeff Russell @ 2003-09-18 14:18 ` Igor Pechtchanski 2003-09-18 14:43 ` Jeff Russell 0 siblings, 1 reply; 10+ messages in thread From: Igor Pechtchanski @ 2003-09-18 14:18 UTC (permalink / raw) To: Jeff Russell; +Cc: cygwin On Thu, 18 Sep 2003, Jeff Russell wrote: > Andrew DeFaria asked: > > > > The Tcl/Tk wish shell (wish84.exe) does not properly start/execute > > > under bash. When launched, the Tk canvas window appears, but the > > > command prompt window never opens. > > >... > > > > > > Any ideas? > > > > Are you running bash under rxvt? > No, using the standard bash launched with cygwin.bat. > > > Have you tried "wish" from a Windows console running bash? > Same behavior, wish84 seems to hang. However, running wish84 directly from > the Windows console results in normal execution/behavior. > > JEff Russell Jeff, Can you reproduce the hang by running 'bash -c wish84'? How about 'bash --login -i -c wish84'? If so, the problem might be triggered by the presence of bash. WAG below. <WAG> It's possible that wish84 uses some signals that aren't correctly interpreted by bash in 1.5.4. There were some signal fixes in the latest Cygwin snapshot -- please try it: <http://cygwin.com/snapshots/>. If you get the same behavior with the snapshot, please run wish84 under strace. It would help immensely if you tried interpreting the output somehow (i.e., does it hang or loop? if it hangs, what are the last actions? if it loops, what does it loop through?). You may need to strace 'bash -c wish84' instead. </WAG> Hope this helps, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: Tcl/Tk wish shell execution problem under bash 2003-09-18 14:18 ` Igor Pechtchanski @ 2003-09-18 14:43 ` Jeff Russell 2003-09-18 14:49 ` Igor Pechtchanski 0 siblings, 1 reply; 10+ messages in thread From: Jeff Russell @ 2003-09-18 14:43 UTC (permalink / raw) To: cygwin Igor Pechtchanski wrote: > > Can you reproduce the hang by running 'bash -c wish84'? How about 'bash > --login -i -c wish84'? If so, the problem might be triggered by the > presence of bash. > The following attempts produce the same hanging behavior: "bash -c /bin/wish84" from a DOS command shell and a bash (--login -i) shell "bash --login -i -c /bin/wish84" from DOS shell nd a bash (--login -i) shell However, "strace -w /bin/wish84" (from a bash shell) works! (Also confirmed by Felix von Hove) I haven't tried the latest snapshot due to learning curve (in progress). JEff Russell -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: Tcl/Tk wish shell execution problem under bash 2003-09-18 14:43 ` Jeff Russell @ 2003-09-18 14:49 ` Igor Pechtchanski 2003-09-18 14:53 ` Christopher Faylor 2003-09-18 15:04 ` Jeff Russell 0 siblings, 2 replies; 10+ messages in thread From: Igor Pechtchanski @ 2003-09-18 14:49 UTC (permalink / raw) To: Jeff Russell; +Cc: cygwin On Thu, 18 Sep 2003, Jeff Russell wrote: > Igor Pechtchanski wrote: > > > > Can you reproduce the hang by running 'bash -c wish84'? How about 'bash > > --login -i -c wish84'? If so, the problem might be triggered by the > > presence of bash. > > > The following attempts produce the same hanging behavior: > "bash -c /bin/wish84" from a DOS command shell and a bash (--login -i) > shell > "bash --login -i -c /bin/wish84" from DOS shell nd a bash (--login -i) > shell > However, > "strace -w /bin/wish84" (from a bash shell) works! (Also confirmed by > Felix von Hove) > > I haven't tried the latest snapshot due to learning curve (in progress). > > JEff Russell This validates my WAG somewhat. Does "strace -o wish.strace bash -c wish84" reproduce the hang? The reason is that, IIRC, strace uses Windows exec mechanisms, rather than Cygwin's, so you need to force Cygwin's exec by running bash first. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Tcl/Tk wish shell execution problem under bash 2003-09-18 14:49 ` Igor Pechtchanski @ 2003-09-18 14:53 ` Christopher Faylor 2003-09-18 15:09 ` Jeff Russell 2003-09-18 15:04 ` Jeff Russell 1 sibling, 1 reply; 10+ messages in thread From: Christopher Faylor @ 2003-09-18 14:53 UTC (permalink / raw) To: cygwin On Thu, Sep 18, 2003 at 10:43:53AM -0400, Igor Pechtchanski wrote: >On Thu, 18 Sep 2003, Jeff Russell wrote: > >> Igor Pechtchanski wrote: >> > >> > Can you reproduce the hang by running 'bash -c wish84'? How about 'bash >> > --login -i -c wish84'? If so, the problem might be triggered by the >> > presence of bash. >> > >> The following attempts produce the same hanging behavior: >> "bash -c /bin/wish84" from a DOS command shell and a bash (--login -i) >> shell >> "bash --login -i -c /bin/wish84" from DOS shell nd a bash (--login -i) >> shell >> However, >> "strace -w /bin/wish84" (from a bash shell) works! (Also confirmed by >> Felix von Hove) >> >> I haven't tried the latest snapshot due to learning curve (in progress). >> >> JEff Russell > >This validates my WAG somewhat. Does "strace -o wish.strace bash -c >wish84" reproduce the hang? The reason is that, IIRC, strace uses Windows >exec mechanisms, rather than Cygwin's, so you need to force Cygwin's exec >by running bash first. Also try using a large buffer with strace: strace -b 1000000 -o wish.strace bash -c wish84 since the large buffer sometimes helps unmask problems which were "fixed" by the slowdown incurred by running strace. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: Tcl/Tk wish shell execution problem under bash 2003-09-18 14:53 ` Christopher Faylor @ 2003-09-18 15:09 ` Jeff Russell 0 siblings, 0 replies; 10+ messages in thread From: Jeff Russell @ 2003-09-18 15:09 UTC (permalink / raw) To: cygwin Christopher Faylor wrote: > > Also try using a large buffer with strace: > > strace -b 1000000 -o wish.strace bash -c wish84 > > since the large buffer sometimes helps unmask problems which were "fixed" > by the slowdown incurred by running strace. > Same hang is observed as the regular ol' "strace bash -c wish84"... JEff -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: Tcl/Tk wish shell execution problem under bash 2003-09-18 14:49 ` Igor Pechtchanski 2003-09-18 14:53 ` Christopher Faylor @ 2003-09-18 15:04 ` Jeff Russell 1 sibling, 0 replies; 10+ messages in thread From: Jeff Russell @ 2003-09-18 15:04 UTC (permalink / raw) To: cygwin [-- Attachment #1: Type: text/plain, Size: 673 bytes --] > > This validates my WAG somewhat. Does "strace -o wish.strace bash -c > wish84" reproduce the hang? The reason is that, IIRC, strace uses Windows > exec mechanisms, rather than Cygwin's, so you need to force Cygwin's exec > by running bash first. I get it... "strace -o wish.strace -w bash -c /bin/wish84" reproduces the hang (after about 1MB of log file). My (naive) take on the relevant end of the log file seems to show that wish84 is busy searching paths for a file without any interesting error messages. However, about 1/3 through the attached file, _cygwin_istext_for_stdio seems to report an error. The last 100 lines of the strace output are attached. JEff [-- Attachment #2: wish84.strace.txt --] [-- Type: text/plain, Size: 11212 bytes --] 109 10243487 [main] wish84 2512 mount_info::conv_to_win32_path: src_path D:/cygwin/usr/share/tclIndex, dst D:\cygwin\usr\share\tclIndex, flags 0x0, rc 0 541 10244028 [main] wish84 2512 symlink_info::check: GetFileAttributes (D:\cygwin\usr\share\tclIndex) failed 212 10244240 [main] wish84 2512 geterrno_from_win_error: windows error 2 == errno 2 263 10244503 [main] wish84 2512 symlink_info::check: GetFileAttributes (D:\cygwin\usr\share\tclIndex.lnk) failed 182 10244685 [main] wish84 2512 geterrno_from_win_error: windows error 2 == errno 2 116 10244801 [main] wish84 2512 symlink_info::check: 0 = symlink.check (D:\cygwin\usr\share\tclIndex, 0x22CE10) (0x0) 119 10244920 [main] wish84 2512 mount_info::conv_to_win32_path: conv_to_win32_path (D:/cygwin/usr/share) 115 10245035 [main] wish84 2512 normalize_win32_path: D:\cygwin\usr\share = normalize_win32_path (D:/cygwin/usr/share) 110 10245145 [main] wish84 2512 mount_info::conv_to_win32_path: src_path D:/cygwin/usr/share, dst D:\cygwin\usr\share, flags 0x0, rc 0 276 10245421 [main] wish84 2512 symlink_info::check: not a symlink 382 10245803 [main] wish84 2512 symlink_info::check: 0 = symlink.check (D:\cygwin\usr\share, 0x22CE10) (0x0) 180 10245983 [main] wish84 2512 path_conv::check: root_dir(D:\), this->path(D:\cygwin\usr\share\tclIndex), set_has_acls(0) 12334 10258317 [main] wish84 2512 normalize_posix_path: src D:/cygwin/usr/share/tcl8.4/tclIndex 146 10258463 [main] wish84 2512 normalize_win32_path: D:\cygwin\usr\share\tcl8.4\tclIndex = normalize_win32_path (D:/cygwin/usr/share/tcl8.4/tclIndex) 117 10258580 [main] wish84 2512 mount_info::conv_to_win32_path: conv_to_win32_path (D:/cygwin/usr/share/tcl8.4/tclIndex) 122 10258702 [main] wish84 2512 normalize_win32_path: D:\cygwin\usr\share\tcl8.4\tclIndex = normalize_win32_path (D:/cygwin/usr/share/tcl8.4/tclIndex) 109 10258811 [main] wish84 2512 mount_info::conv_to_win32_path: src_path D:/cygwin/usr/share/tcl8.4/tclIndex, dst D:\cygwin\usr\share\tcl8.4\tclIndex, flags 0x0, rc 0 563 10259374 [main] wish84 2512 symlink_info::check: not a symlink 207 10259581 [main] wish84 2512 symlink_info::check: 0 = symlink.check (D:\cygwin\usr\share\tcl8.4\tclIndex, 0x22CF00) (0x0) 129 10259710 [main] wish84 2512 path_conv::check: root_dir(D:\), this->path(D:\cygwin\usr\share\tcl8.4\tclIndex), set_has_acls(0) 1496 10261206 [main] wish84 2512 normalize_posix_path: src D:/cygwin/usr/share/tcl8.4/tclIndex 155 10261361 [main] wish84 2512 normalize_win32_path: D:\cygwin\usr\share\tcl8.4\tclIndex = normalize_win32_path (D:/cygwin/usr/share/tcl8.4/tclIndex) 121 10261482 [main] wish84 2512 mount_info::conv_to_win32_path: conv_to_win32_path (D:/cygwin/usr/share/tcl8.4/tclIndex) 123 10261605 [main] wish84 2512 normalize_win32_path: D:\cygwin\usr\share\tcl8.4\tclIndex = normalize_win32_path (D:/cygwin/usr/share/tcl8.4/tclIndex) 110 10261715 [main] wish84 2512 mount_info::conv_to_win32_path: src_path D:/cygwin/usr/share/tcl8.4/tclIndex, dst D:\cygwin\usr\share\tcl8.4\tclIndex, flags 0x0, rc 0 517 10262232 [main] wish84 2512 symlink_info::check: not a symlink 209 10262441 [main] wish84 2512 symlink_info::check: 0 = symlink.check (D:\cygwin\usr\share\tcl8.4\tclIndex, 0x22CE10) (0x0) 132 10262573 [main] wish84 2512 path_conv::check: root_dir(D:\), this->path(D:\cygwin\usr\share\tcl8.4\tclIndex), set_has_acls(0) 352830 10615403 [main] wish84 2512 normalize_posix_path: src D:/cygwin/usr/share/tk8.4/tearoff.tcl 148 10615551 [main] wish84 2512 normalize_win32_path: D:\cygwin\usr\share\tk8.4\tearoff.tcl = normalize_win32_path (D:/cygwin/usr/share/tk8.4/tearoff.tcl) 126 10615677 [main] wish84 2512 mount_info::conv_to_win32_path: conv_to_win32_path (D:/cygwin/usr/share/tk8.4/tearoff.tcl) 121 10615798 [main] wish84 2512 normalize_win32_path: D:\cygwin\usr\share\tk8.4\tearoff.tcl = normalize_win32_path (D:/cygwin/usr/share/tk8.4/tearoff.tcl) 108 10615906 [main] wish84 2512 mount_info::conv_to_win32_path: src_path D:/cygwin/usr/share/tk8.4/tearoff.tcl, dst D:\cygwin\usr\share\tk8.4\tearoff.tcl, flags 0x0, rc 0 580 10616486 [main] wish84 2512 symlink_info::check: not a symlink 230 10616716 [main] wish84 2512 symlink_info::check: 0 = symlink.check (D:\cygwin\usr\share\tk8.4\tearoff.tcl, 0x22D150) (0x0) 127 10616843 [main] wish84 2512 path_conv::check: root_dir(D:\), this->path(D:\cygwin\usr\share\tk8.4\tearoff.tcl), set_has_acls(0) 1504 10618347 [main] wish84 2512 normalize_posix_path: src D:/cygwin/usr/share/tk8.4/tearoff.tcl 114 10618461 [main] wish84 2512 normalize_win32_path: D:\cygwin\usr\share\tk8.4\tearoff.tcl = normalize_win32_path (D:/cygwin/usr/share/tk8.4/tearoff.tcl) 532 10618993 [main] wish84 2512 mount_info::conv_to_win32_path: conv_to_win32_path (D:/cygwin/usr/share/tk8.4/tearoff.tcl) 223 10619216 [main] wish84 2512 normalize_win32_path: D:\cygwin\usr\share\tk8.4\tearoff.tcl = normalize_win32_path (D:/cygwin/usr/share/tk8.4/tearoff.tcl) 117 10619333 [main] wish84 2512 mount_info::conv_to_win32_path: src_path D:/cygwin/usr/share/tk8.4/tearoff.tcl, dst D:\cygwin\usr\share\tk8.4\tearoff.tcl, flags 0x0, rc 0 576 10619909 [main] wish84 2512 symlink_info::check: not a symlink 215 10620124 [main] wish84 2512 symlink_info::check: 0 = symlink.check (D:\cygwin\usr\share\tk8.4\tearoff.tcl, 0x22CFE0) (0x0) 121 10620245 [main] wish84 2512 path_conv::check: root_dir(D:\), this->path(D:\cygwin\usr\share\tk8.4\tearoff.tcl), set_has_acls(0) 616784 11237029 [main] wish84 2512 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (0) 156 11237185 [main] wish84 2512 _cygwin_istext_for_stdio: _cifs: fd not disk file 111 11237296 [main] wish84 2512 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (1) 105 11237401 [main] wish84 2512 _cygwin_istext_for_stdio: _cifs: fd not disk file 102 11237503 [main] wish84 2512 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (2) 106 11237609 [main] wish84 2512 _cygwin_istext_for_stdio: _cifs: fd not disk file 25624 11263233 [main] wish84 2512 normalize_posix_path: src /cygdrive/c/data/wishrc.tcl 176 11263409 [main] wish84 2512 normalize_posix_path: /cygdrive/c/data/wishrc.tcl = normalize_posix_path (/cygdrive/c/data/wishrc.tcl) 117 11263526 [main] wish84 2512 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/data/wishrc.tcl) 116 11263642 [main] wish84 2512 mount_info::cygdrive_win32_path: src '/cygdrive/c/data/wishrc.tcl', dst 'c:\data\wishrc.tcl' 107 11263749 [main] wish84 2512 set_flags: flags: binary (0x2) 337 11264086 [main] wish84 2512 mount_info::conv_to_win32_path: src_path /cygdrive/c/data/wishrc.tcl, dst c:\data\wishrc.tcl, flags 0x22, rc 0 614 11264700 [main] wish84 2512 symlink_info::check: GetFileAttributes (c:\data\wishrc.tcl) failed 219 11264919 [main] wish84 2512 geterrno_from_win_error: windows error 2 == errno 2 285 11265204 [main] wish84 2512 symlink_info::check: GetFileAttributes (c:\data\wishrc.tcl.lnk) failed 167 11265371 [main] wish84 2512 geterrno_from_win_error: windows error 2 == errno 2 122 11265493 [main] wish84 2512 symlink_info::check: 0 = symlink.check (c:\data\wishrc.tcl, 0x22EF60) (0x22) 117 11265610 [main] wish84 2512 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/data) 118 11265728 [main] wish84 2512 mount_info::cygdrive_win32_path: src '/cygdrive/c/data', dst 'c:\data' 108 11265836 [main] wish84 2512 set_flags: flags: binary (0x2) 103 11265939 [main] wish84 2512 mount_info::conv_to_win32_path: src_path /cygdrive/c/data, dst c:\data, flags 0x22, rc 0 545 11266484 [main] wish84 2512 symlink_info::check: not a symlink 202 11266686 [main] wish84 2512 symlink_info::check: 0 = symlink.check (c:\data, 0x22EF60) (0x22) 119 11266805 [main] wish84 2512 path_conv::check: root_dir(c:\), this->path(c:\data\wishrc.tcl), set_has_acls(0) 1855 11268660 [main] wish84 2512 normalize_posix_path: src c:/data/wishrc.tcl 123 11268783 [main] wish84 2512 normalize_win32_path: c:\data\wishrc.tcl = normalize_win32_path (c:/data/wishrc.tcl) 110 11268893 [main] wish84 2512 mount_info::conv_to_win32_path: conv_to_win32_path (c:/data/wishrc.tcl) 121 11269014 [main] wish84 2512 normalize_win32_path: c:\data\wishrc.tcl = normalize_win32_path (c:/data/wishrc.tcl) 113 11269127 [main] wish84 2512 mount_info::conv_to_win32_path: src_path c:/data/wishrc.tcl, dst c:\data\wishrc.tcl, flags 0x0, rc 0 533 11269660 [main] wish84 2512 symlink_info::check: GetFileAttributes (c:\data\wishrc.tcl) failed 211 11269871 [main] wish84 2512 geterrno_from_win_error: windows error 2 == errno 2 287 11270158 [main] wish84 2512 symlink_info::check: GetFileAttributes (c:\data\wishrc.tcl.lnk) failed 164 11270322 [main] wish84 2512 geterrno_from_win_error: windows error 2 == errno 2 115 11270437 [main] wish84 2512 symlink_info::check: 0 = symlink.check (c:\data\wishrc.tcl, 0x22EF40) (0x0) 116 11270553 [main] wish84 2512 mount_info::conv_to_win32_path: conv_to_win32_path (c:/data) 119 11270672 [main] wish84 2512 normalize_win32_path: c:\data = normalize_win32_path (c:/data) 107 11270779 [main] wish84 2512 mount_info::conv_to_win32_path: src_path c:/data, dst c:\data, flags 0x0, rc 0 302 11271081 [main] wish84 2512 symlink_info::check: not a symlink 172 11271253 [main] wish84 2512 symlink_info::check: 0 = symlink.check (c:\data, 0x22EF40) (0x0) 122 11271375 [main] wish84 2512 path_conv::check: root_dir(c:\), this->path(c:\data\wishrc.tcl), set_has_acls(0) 1402 11272777 [main] wish84 2512 normalize_posix_path: src c:/data/wishrc.tcl 506 11273283 [main] wish84 2512 normalize_win32_path: c:\data\wishrc.tcl = normalize_win32_path (c:/data/wishrc.tcl) 163 11273446 [main] wish84 2512 mount_info::conv_to_win32_path: conv_to_win32_path (c:/data/wishrc.tcl) 122 11273568 [main] wish84 2512 normalize_win32_path: c:\data\wishrc.tcl = normalize_win32_path (c:/data/wishrc.tcl) 113 11273681 [main] wish84 2512 mount_info::conv_to_win32_path: src_path c:/data/wishrc.tcl, dst c:\data\wishrc.tcl, flags 0x0, rc 0 653 11274334 [main] wish84 2512 symlink_info::check: GetFileAttributes (c:\data\wishrc.tcl) failed 224 11274558 [main] wish84 2512 geterrno_from_win_error: windows error 2 == errno 2 279 11274837 [main] wish84 2512 symlink_info::check: GetFileAttributes (c:\data\wishrc.tcl.lnk) failed 167 11275004 [main] wish84 2512 geterrno_from_win_error: windows error 2 == errno 2 114 11275118 [main] wish84 2512 symlink_info::check: 0 = symlink.check (c:\data\wishrc.tcl, 0x22EE50) (0x0) 112 11275230 [main] wish84 2512 mount_info::conv_to_win32_path: conv_to_win32_path (c:/data) 148 11275378 [main] wish84 2512 normalize_win32_path: c:\data = normalize_win32_path (c:/data) 112 11275490 [main] wish84 2512 mount_info::conv_to_win32_path: src_path c:/data, dst c:\data, flags 0x0, rc 0 312 11275802 [main] wish84 2512 symlink_info::check: not a symlink 173 11275975 [main] wish84 2512 symlink_info::check: 0 = symlink.check (c:\data, 0x22EE50) (0x0) 119 11276094 [main] wish84 2512 path_conv::check: root_dir(c:\), this->path(c:\data\wishrc.tcl), set_has_acls(0) [-- Attachment #3: Type: text/plain, Size: 218 bytes --] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: Tcl/Tk wish shell execution problem under bash @ 2003-09-22 20:44 cstark 0 siblings, 0 replies; 10+ messages in thread From: cstark @ 2003-09-22 20:44 UTC (permalink / raw) To: cygwin I would like to report the same Tcl/Tk wish shell hang problem that Jeff Russell brought up. I followed the thread on this issue and have been left confused as to how to solve it. Recap: wish84 fails to bring up the command line shell while instantiating the window frame correctly. Running "strace -w /bin/wish84" avoids the problem (through recourse to Win exec rather than Cygwin exec). An error report excerpt from strace was supplied by Jeff (11/18/2003); I have similar errors. The problem remains on snapshot cygwin1-20030919.dll. I need to call wish from bash or equivalent - is there a workaround or bug fix? Colin Stark ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Tcl/Tk wish shell execution problem under bash @ 2003-09-18 2:05 Jeff Russell 2003-09-18 6:09 ` Andrew DeFaria 0 siblings, 1 reply; 10+ messages in thread From: Jeff Russell @ 2003-09-18 2:05 UTC (permalink / raw) To: cygwin The Tcl/Tk wish shell (wish84.exe) does not properly start/execute under bash. When launched, the Tk canvas window appears, but the command prompt window never opens. The wish84.exe application seems to hang (an hour-glass appears with the mouse over the Tk canvas window; a Ctrl-C from bash is ignored, but a click on the tk-window close results in a Windows pop-up saying the application is not responding, from which it can be "ended now"). The Tcl-only shell (tclsh) seems to execute properly. The wish application properly executes when launched from the Windows Start->Run menu. Relevent packages: tcltk-20030901-1, cygwin-1.5.4-1, and bash-2.05b-15 (on Win2k). I'm not sure how investigate this...some things I tried: * recompiled Tcl/Tk from the 20030901-1 source distribution, same behavior. (Note: a minor fix is required in the file tcl/generic/tclCmdAH.c due to a symbol conflict with "FILE_EXISTS".) * recompiled Tcl/Tk from the 8.4.4 source distribution, same behavior. (Note: per the instructions that recommend use of the mingGW stuff.) * tried running "dumper" on the wish84 process, and dumper itself core dumped with a segmentation fault. * if I start wish84 specifying a script with the line "console show", the console window is opened, but no command prompt appears (as if it were busy doing something). If commands are typed into the console window, output appears in the original bash window. Any ideas? JEff Russell -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Tcl/Tk wish shell execution problem under bash 2003-09-18 2:05 Jeff Russell @ 2003-09-18 6:09 ` Andrew DeFaria 0 siblings, 0 replies; 10+ messages in thread From: Andrew DeFaria @ 2003-09-18 6:09 UTC (permalink / raw) To: cygwin Jeff Russell wrote: > The Tcl/Tk wish shell (wish84.exe) does not properly start/execute > under bash. When launched, the Tk canvas window appears, but the > command prompt window never opens. ... > Any ideas? Are you running bash under rxvt? Have you tried "wish" from a Windows console running bash? === Obligatory witty line: There is always one more imbecile than you counted on. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2003-09-22 19:33 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-09-18 13:16 Tcl/Tk wish shell execution problem under bash Jeff Russell 2003-09-18 14:18 ` Igor Pechtchanski 2003-09-18 14:43 ` Jeff Russell 2003-09-18 14:49 ` Igor Pechtchanski 2003-09-18 14:53 ` Christopher Faylor 2003-09-18 15:09 ` Jeff Russell 2003-09-18 15:04 ` Jeff Russell -- strict thread matches above, loose matches on Subject: below -- 2003-09-22 20:44 cstark 2003-09-18 2:05 Jeff Russell 2003-09-18 6:09 ` Andrew DeFaria
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).