RE: Re: cygpath hangings: A fix - bash patch enclosed -- bash mai ntainer please note!

2003-11-10 Thread Geoffrey Ruscoe
>> I am using the latest version of Cygwin (1.5.5-1) on a Windows XP box on a >> domain (tried several fixes pertaining to changing the rights of >> the cygwin >> dir and whole c drive - Everybody full control). >> >> The problem is no command substitution works (using `'s or $()'s). >> >> After a

RE: cygpath hangings: A fix - bash patch enclosed -- bash maintainer please note!

2003-11-10 Thread Hannu E K Nevalainen
> From: Geoffrey Ruscoe > Sent: Monday, November 10, 2003 8:05 PM > I am using the latest version of Cygwin (1.5.5-1) on a Windows XP box on a > domain (tried several fixes pertaining to changing the rights of > the cygwin > dir and whole c drive - Everybody full control). > > The problem is no co

Re: cygpath hangings: A fix - bash patch enclosed -- bash maintai ner please note!

2003-11-10 Thread Geoffrey Ruscoe
I'm not sure if this is the same problem, but after searching and searching this was the closest problem I've found (also other references to the setup post-install scripts problem). I am using the latest version of Cygwin (1.5.5-1) on a Windows XP box on a domain (tried several fixes pertaining t

Re: cygpath hangings: A fix - bash patch enclosed -- bash maintainer please note!

2003-10-21 Thread Christopher Faylor
On Tue, Oct 21, 2003 at 09:35:38AM -0500, Jason Dufair wrote: >Thanks a lot for this, Christopher. I sit in awe of the efforts of >everyone to fix this extremely tricky bug. As with most bugs, it turned out to be extremely simple to fix once all of the parameters were known. I appreciate all of

Re: cygpath hangings: A fix - bash patch enclosed -- bash maintainer please note!

2003-10-21 Thread Jason Dufair
Thanks a lot for this, Christopher. I sit in awe of the efforts of everyone to fix this extremely tricky bug. Christopher Faylor <[EMAIL PROTECTED]> writes: > On Wed, Oct 15, 2003 at 04:30:12PM -0400, Christopher Faylor wrote: >>I just managed to duplicate the problem on my system at work. >> >>

Re: cygpath hangings: A fix - bash patch enclosed -- bash maintainer please note!

2003-10-20 Thread Ronald Landheer-Cieslak
I've just checked the patch a wee bit closer - it looks OK to me. If you want to push it upstream, please go ahead :) I'm wrapping up release -16 now. I'll make it available for upload on -apps ASAP. Thanks, rlc On Sat, Oct 18, 2003 at 01:58:36AM -0400, Christopher Faylor wrote: > On Wed, Oct

Re: cygpath hangings: A fix - bash patch enclosed -- bash maintainer please note!

2003-10-20 Thread Ronald Landheer-Cieslak
I'll apply your patch and release a new Bash version shortly rlc On Sat, Oct 18, 2003 at 01:58:36AM -0400, Christopher Faylor wrote: > On Wed, Oct 15, 2003 at 04:30:12PM -0400, Christopher Faylor wrote: > >I just managed to duplicate the problem on my system at work. > > > >Stay tuned. > > I ma

RE: cygpath hangings: A fix - bash patch enclosed -- bash maintai ner please note!

2003-10-20 Thread Steve Fairbairn
> -Original Message- > From: Hannu E K Nevalainen > Sent: 18 October 2003 13:22 > Subject: RE: cygpath hangings: A fix - bash patch enclosed -- bash > maintainer please note! > > The simple test works flawlessly. > ditto > I've run my setup-b

Re: cygpath hangings: A fix - bash patch enclosed -- bash maintainer please note!

2003-10-18 Thread Peter J. Stieber
> if anyone wants to try this. It would be good to confirm or deny > that this fixes the problem for everyone. I tried the posted simple shell script with the old and new bash.exe. Worked exactly as you predicted... Hung with the old, didn't hang (i.e. worked) with the new. cygcheck output atta

RE: cygpath hangings: A fix - bash patch enclosed -- bash maintainer please note!

2003-10-18 Thread Hannu E K Nevalainen
> From: Christopher Faylor > Sent: Saturday, October 18, 2003 8:06 AM > I've put a patched version of bash up at: > > ftp://sourceware.org/pub/cygwin/tmp/bash.exe > > if anyone wants to try this. It would be good to confirm or deny > that this fixes the problem for everyone. > > Btw, maybe this h

RE: cygpath hangings: A fix - bash patch enclosed -- bash maintainer please note!

2003-10-18 Thread Norman Vine
Christopher Faylor writes: > > > I've put a patched version of bash up at: > > ftp://sourceware.org/pub/cygwin/tmp/bash.exe > > if anyone wants to try this. It would be good to confirm or deny > that this fixes the problem for everyone. > > Btw, maybe this has already been mentioned, but here

Re: cygpath hangings: A fix - bash patch enclosed -- bash maintainer please note!

2003-10-17 Thread Christopher Faylor
On Sat, Oct 18, 2003 at 01:58:36AM -0400, Christopher Faylor wrote: >On Wed, Oct 15, 2003 at 04:30:12PM -0400, Christopher Faylor wrote: >>I just managed to duplicate the problem on my system at work. >> >>Stay tuned. > >I managed to duplicate it at home by booting into W2K, too. That meant >I did

Re: cygpath hangings: A fix - bash patch enclosed -- bash maintainer please note!

2003-10-17 Thread Christopher Faylor
On Wed, Oct 15, 2003 at 04:30:12PM -0400, Christopher Faylor wrote: >I just managed to duplicate the problem on my system at work. > >Stay tuned. I managed to duplicate it at home by booting into W2K, too. That meant I didn't have to feel guilty about working on this at work. :-) This should fi

Re: cygpath hangings

2003-10-15 Thread Christopher Faylor
I must be going senile. I just managed to duplicate the problem on my system at work. I could have sworn that I tried this several times to no avail. Stay tuned. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Docume

Re: cygpath hangings

2003-10-15 Thread Brian Ford
On Wed, 15 Oct 2003, Christopher Faylor wrote: > I'd be more interested in "cygcheck cygpath" output in the two > different cases. That would tell us which DLLs were being loaded. > No difference. For the stripped down MINGW version of cygpath: Found: .\cyghan.exe cyghan.exe D:\WINNT\System32

Re: cygpath hangings

2003-10-15 Thread Christopher Faylor
On Wed, Oct 15, 2003 at 09:19:14AM +0100, Steve Fairbairn wrote: > >All, > >As a side note, I have 11 copies of that DLL (java dev and runtime, Visual >Studio/Source Safe, ...) on my system, but only the system32 one is in my >normal path. > >Someone mentioned something about possible issues to do

Re: cygpath hangings

2003-10-15 Thread Brian Ford
On Wed, 15 Oct 2003, Igor Pechtchanski wrote: > On Tue, 14 Oct 2003, Brian Ford wrote: > > On Tue, 14 Oct 2003, Igor Pechtchanski wrote: > > >Brian Ford wrote: > > > > There will be no ouput unless main calls foo, right? > > > > > > Actually, if the DLL was loaded, there should be output even if f

Re: cygpath hangings

2003-10-15 Thread Igor Pechtchanski
On Tue, 14 Oct 2003, Brian Ford wrote: > On Tue, 14 Oct 2003, Igor Pechtchanski wrote: > >Brian Ford wrote: > > > There will be no ouput unless main calls foo, right? > > > > Actually, if the DLL was loaded, there should be output even if foo isn't > > called... > > > Just linking to it causes a l

RE: cygpath hangings

2003-10-15 Thread Steve Fairbairn
> -Original Message- > From: Steve Fairbairn > Sent: 15 October 2003 09:19 > Subject: RE: cygpath hangings > > I ran this first with my normal bash shell, renamed the > output, and then ran > it again from within setup. > > I am attaching the 2 files as t

RE: cygpath hangings

2003-10-15 Thread Steve Fairbairn
All, As a side note, I have 11 copies of that DLL (java dev and runtime, Visual Studio/Source Safe, ...) on my system, but only the system32 one is in my normal path. Someone mentioned something about possible issues to do with the path being different, so I thought I'd run a quick test. --- $

Re: cygpath hangings

2003-10-14 Thread Brian Ford
On Tue, 14 Oct 2003, Brian Ford wrote: > On Tue, 14 Oct 2003, chris wrote: > > > If I comment out the call to SHGetPathFromIDList in this program, the > > program returns, else it hangs. > > > Confirmed. > > > Also, This program seems to be both valid c++ and c code. If it is > > compiled in gcc,

Re: cygpath hangings

2003-10-14 Thread Brian Ford
Chris, On Tue, 14 Oct 2003, chris wrote: > If I comment out the call to SHGetPathFromIDList in this program, the > program returns, else it hangs. > Confirmed. > Also, This program seems to be both valid c++ and c code. If it is > compiled in gcc, all is fine. In g++, it hangs. > Really? I see

Re: cygpath hangings

2003-10-14 Thread Brian Ford
On Tue, 14 Oct 2003, Igor Pechtchanski wrote: > Does "cygcheck yourprog.exe" show both test_dll.dll and SHLWAPI.DLL? > [EMAIL PROTECTED] ~ $ cygcheck cyghan.exe Found: .\cyghan.exe cyghan.exe G:\cygwin\bin\cygwin1.dll D:\WINNT\System32\KERNEL32.dll D:\WINNT\System32\ntdll.dll .\cygl.d

Re: cygpath hangings

2003-10-14 Thread Igor Pechtchanski
On Tue, 14 Oct 2003, Brian Ford wrote: > Igor, > > On Tue, 14 Oct 2003, Igor Pechtchanski wrote: > > > On Tue, 14 Oct 2003, chris wrote: > > > > > -- Code begins -- > > > > > > #include > > > > > > void fee (void) { > > > char *buf; > > > LPITEMIDLIST id; > > > SHGetPathFromIDList (id, buf)

Re: cygpath hangings

2003-10-14 Thread Brian Ford
Igor, On Tue, 14 Oct 2003, Igor Pechtchanski wrote: > On Tue, 14 Oct 2003, chris wrote: > > > -- Code begins -- > > > > #include > > > > void fee (void) { > > char *buf; > > LPITEMIDLIST id; > > SHGetPathFromIDList (id, buf); > > } > > > > int main (int argc, char **argv) > > { > > ret

RE: cygpath hangings

2003-10-14 Thread Hannu E K Nevalainen
> From: Igor Pechtchanski > Sent: Tuesday, October 14, 2003 3:38 PM > FWIW, I've posted instructions on how to run a program from setup recently > (but can't find the actual message at the moment). To summarize, simply > create a shell script named BLAH.sh that calls that program (you may need >

Re: cygpath hangings

2003-10-14 Thread Igor Pechtchanski
On Tue, 14 Oct 2003, chris wrote: > Chris, > > >I suspect that this hang might be happening while loading the DLL. Could > >you try to link your program with something like below and see if it still > >hangs, and what it outputs? If it doesn't hang, try renaming > >SHGetPathFromIDList below to s

Re: cygpath hangings

2003-10-14 Thread chris
Steve Fairbairn wrote: -Original Message- From: Cliff Hones Sent: 14 October 2003 15:03 Subject: Re: cygpath hangings Running cygcheck -vs (and/or some other such utility) from a hanging and non-hanging postinstall shell might come up with something. As in set up a script in /etc

Re: cygpath hangings

2003-10-14 Thread chris
Chris, I suspect that this hang might be happening while loading the DLL. Could you try to link your program with something like below and see if it still hangs, and what it outputs? If it doesn't hang, try renaming SHGetPathFromIDList below to something else (e.g., foo) that calls the real SHGe

Re: cygpath hangings

2003-10-14 Thread Cliff Hones
Steve Fairbairn wrote: > As in set up a script in /etc/postinstall that runs cygcheck -vs to a file, > and send that in? I would suggest setting up the script to send to a file, invoking it twice by running setup from explorer and from a command line, and if there is any difference send that in.

RE: cygpath hangings

2003-10-14 Thread Steve Fairbairn
> -Original Message- > From: Cliff Hones > Sent: 14 October 2003 15:03 > Subject: Re: cygpath hangings > > Running > cygcheck -vs (and/or some other such utility) from > a hanging and non-hanging postinstall shell might come > up with something. >

Re: cygpath hangings

2003-10-14 Thread Cliff Hones
I'm surprised that this problem seems so intractable. While careful debugging and analysis ought to get to the root of the problem eventually, there is clearly some difficulty in getting a suitable debug session without upsetting what is being examined. [Heisenberg at work.] So alternate approach

RE: cygpath hangings

2003-10-14 Thread Igor Pechtchanski
On Tue, 14 Oct 2003, Steve Fairbairn wrote: > [snip] > I have suffered from the hanging cygpath issue, I did a clean install (new > box) and have since not changed the installation. If you could supply me > with an exe for this code (private email) or the flags used when building > that code and

Re: cygpath hangings

2003-10-14 Thread Igor Pechtchanski
On Tue, 14 Oct 2003, chris wrote: > I decided to try to put some investigation into the cygpath crashings > that have been reported so much. Here are my findings.. I hope this > helps! I'd be happy to try further debuggings, except I couldn't figure > out how to attach a debugger to the program (b

RE: cygpath hangings

2003-10-14 Thread Steve Fairbairn
> From: chris > Sent: 14 October 2003 13:33 > Subject: Re: cygpath hangings > > Corinna Vinschen wrote: > > > > >Nope, not for me. Are you, by any chance, still using gcc2? > > > > > Nope, using gcc 3.3.1 (cygming special) > > Just ch

Re: cygpath hangings

2003-10-14 Thread Corinna Vinschen
On Tue, Oct 14, 2003 at 01:33:03PM +0100, chris wrote: > Corinna Vinschen wrote: > >Nope, not for me. Are you, by any chance, still using gcc2? > > > Nope, using gcc 3.3.1 (cygming special) > > Just checking... have you been suffering from the "cygpath" crashing > during setup? If not I imagine

Re: cygpath hangings

2003-10-14 Thread chris
Corinna Vinschen wrote: On Tue, Oct 14, 2003 at 12:44:57PM +0100, chris wrote: Also, This program seems to be both valid c++ and c code. If it is compiled in gcc, all is fine. In g++, it hangs. [...] If there is anything else anyone would like me to try (like taking a -E and picking out all t

Re: cygpath hangings

2003-10-14 Thread Corinna Vinschen
On Tue, Oct 14, 2003 at 12:44:57PM +0100, chris wrote: > Also, This program seems to be both valid c++ and c code. If it is > compiled in gcc, all is fine. In g++, it hangs. > [...] > If there is anything else anyone would like me to try (like taking a -E > and picking out all the useless bits of