X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_75,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4A72610A.6080907@gmail.com> Date: Fri, 31 Jul 2009 04:12:10 +0100 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [1.7] Updated: cygwin-1.7.0-54 References: <20090730202942 DOT GP18621 AT calimero DOT vinschen DOT de> <806a89db0907301436i104fb530ladbd569d202d9e0b AT mail DOT gmail DOT com> <2bf229d30907301644w3c997799l9bd964bd69127d3c AT mail DOT gmail DOT com> <4A72419A DOT 5060804 AT gmail DOT com> <2bf229d30907301912t1402086di7ad6a9f6cb8c4c2e AT mail DOT gmail DOT com> In-Reply-To: <2bf229d30907301912t1402086di7ad6a9f6cb8c4c2e@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Chris Sutcliffe wrote: >> Wanna try strace-ing mintty and shoving the output in a pastebin somewhere for >> us to take a look at? > > Sure think, you can find the strace here: > > http://emergedesktop.org/cygwin/mintty.strace Interesting. Looks like something went wrong during patch conversion maybe: > 165 300357 [main] mintty 1652 find_exec: find_exec (/bin/bash) > 156 300513 [main] mintty 1652 perhaps_suffix: prog '/bin/bash' > 227 300740 [main] mintty 1652 normalize_posix_path: src /bin/bash > 126 300866 [main] mintty 1652 normalize_posix_path: /bin/bash = normalize_posix_path (/bin/bash) > 104 300970 [main] mintty 1652 mount_info::conv_to_win32_path: conv_to_win32_path (/bin/bash) > 176 301146 [main] mintty 1652 set_flags: flags: binary (0x2) > 71 301217 [main] mintty 1652 mount_info::conv_to_win32_path: src_path /bin/bash, dst C:\cygwin\bin\bash, flags 0x3000A, rc 0 > 446 301663 [main] mintty 1652 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\bin\bash) > 153 301816 [main] mintty 1652 symlink_info::check: not a symlink > 206 302022 [main] mintty 1652 symlink_info::check: 0 = symlink.check (C:\cygwin\bin\bash.exe, 0x22B868) (0x3000A) > 101 302123 [main] mintty 1652 path_conv::check: this->path(C:\cygwin\bin\bash.exe), has_acls(1) > 110 302233 [main] mintty 1652 perhaps_suffix: buf C:\cygwin\bin\bash.exe, suffix found '.exe' > 95 302328 [main] mintty 1652 find_exec: /bin/bash = find_exec (/bin/bash) > 121 302449 [main] mintty 1652 spawnve: spawnve ((null), bash, 6A80E0) > 136 302585 [main] mintty 1652 spawn_guts: prog_arg is NULL > 128 302713 [main] mintty 1652 __set_errno: int spawn_guts(const char*, const char* const*, const char* const*, int, int, int):281 val 22 ... causing this error; spawnve gets passed a NULL prog_arg which it doesn't like, and that's where the EINVAL comes from. Haven't studied the code in this area yet, but I will take a look. cheers, DaveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple