Re: Failure with fork() (Cygwin on Wine install now sort of works)

2013-07-05 Thread Alan W. Irwin
On 2013-07-04 13:39-0700 Alan W. Irwin wrote: So if the consensus here after looking at the setup_install.out results is that cygwin on Wine is more or less installed properly from these results (except for the rename issue above which I can fix by doing that rename manually as suggested by the

Re: Failure with fork() (Cygwin on Wine install now sort of works)

2013-07-05 Thread Christopher Faylor
On Fri, Jul 05, 2013 at 12:11:10PM -0700, Alan W. Irwin wrote: On 2013-07-04 13:39-0700 Alan W. Irwin wrote: So if the consensus here after looking at the setup_install.out results is that cygwin on Wine is more or less installed properly from these results (except for the rename issue above

Re: Failure with fork() (Cygwin on Wine install now sort of works)

2013-07-05 Thread Alan W. Irwin
On 2013-07-05 16:48-0400 Christopher Faylor wrote: On Fri, Jul 05, 2013 at 12:11:10PM -0700, Alan W. Irwin wrote: On 2013-07-04 13:39-0700 Alan W. Irwin wrote: So if the consensus here after looking at the setup_install.out results is that cygwin on Wine is more or less installed properly

Re: Failure with fork() (Cygwin on Wine install now sort of works)

2013-07-05 Thread Christopher Faylor
On Fri, Jul 05, 2013 at 07:27:04PM -0700, Alan W. Irwin wrote: On 2013-07-05 16:48-0400 Christopher Faylor wrote: On Fri, Jul 05, 2013 at 12:11:10PM -0700, Alan W. Irwin wrote: On 2013-07-04 13:39-0700 Alan W. Irwin wrote: So if the consensus here after looking at the setup_install.out results

Re: Failure with fork() (Cygwin on Wine install now sort of works)

2013-07-04 Thread Alan W. Irwin
Addendum. I just noticed the request for cygcheck results at http://cygwin.com/problems.html. Accordingly, I put /z/home/wine/newstart/cygwin/bin at the top of my MSYS (on Wine) PATH, then executed bash.exe-3.1$ cygcheck.exe -s -v -r cygcheck.out That generated a response to the terminal

Re: Failure with fork()

2013-06-28 Thread Alan W. Irwin
I am getting absolutely nowhere. A script run by setup.exe in the latter part of the install steps appears to hang now with or without updating cygwin1.dll to the fork-fixed version. I got this result for two versions of wine which I have heavily tested in other ways, wine-1.5.19, and a

Re: Failure with fork()

2013-06-28 Thread marco atzeri
Il 6/28/2013 8:42 AM, Alan W. Irwin ha scritto: I am getting absolutely nowhere. [cut] I didn't get these hangs a month ago when I tried all this before with wine-1.5.19. Instead, at that time I got the exact error message when running the above script concerning an unhandled page fault

Re: Failure with fork()

2013-06-28 Thread Alan W. Irwin
On 2013-06-27 23:42-0700 Alan W. Irwin wrote: I am getting absolutely nowhere. A script run by setup.exe in the latter part of the install steps appears to hang now with or without updating cygwin1.dll to the fork-fixed version. I got this result for two versions of wine which I have heavily

Re: Failure with fork()

2013-06-28 Thread Corinna Vinschen
On Jun 28 09:55, marco atzeri wrote: Il 6/28/2013 8:42 AM, Alan W. Irwin ha scritto: I am getting absolutely nowhere. [cut] I didn't get these hangs a month ago when I tried all this before with wine-1.5.19. Instead, at that time I got the exact error message when running the above

Re: Failure with fork()

2013-06-28 Thread Corinna Vinschen
On Jun 27 16:58, Yaakov (Cygwin/X) wrote: http://cygwin.com/acronyms/#PPIOSPE ! On 2013-06-27 16:52, Alan W. Irwin wrote: Once the relevant snapshot is released I will let you know how far I The 20130627 snapshot is now available. I just uploaded a matching 64 bit 1.7.21-6 version to the

RE: Failure with fork()

2013-06-28 Thread gmt
on Thu, 27 Jun 2013, at 23:42, Alan W. Irwin thusly quipped: I am getting absolutely nowhere. Nonsense, you've now found the next bug that will be stopping cygwin from working in wine until it's fixed. I thought that was the point of the exercise? :) A script run by setup.exe in the latter

RE: Failure with fork()

2013-06-28 Thread gmt
on Fri, 28 Jun 2013, at 01:41, Corinna Vinschen thusly quipped: I think it's a misconception that this very bug is the culprit of Cygwin not running under wine. Here's why: What this bug did was very simple. On each fork, the child process committed 4K more stack than its parent. The

Re: Failure with fork()

2013-06-28 Thread Corinna Vinschen
On Jun 28 02:49, g...@malth.us wrote: on Fri, 28 Jun 2013, at 01:41, Corinna Vinschen thusly quipped: I think it's a misconception that this very bug is the culprit of Cygwin not running under wine. Here's why: What this bug did was very simple. On each fork, the child process

Re: Failure with fork()

2013-06-28 Thread Alan W. Irwin
I will attempt to answer the further posts that have come in since my last post. My background is I help to develop, build, and test a number of free cross-platform software projects (e.g., PLplot). Those projects are mostly developed on Linux, but I want to make sure they work well on various

Failure with fork()

2013-06-27 Thread Arjen Markus
Hello, the bug I am reporting here on behalf of Alan Irwin surfaced in the combination wine and Cygwin (Alan summarised it here: http://www.winehq.org/pipermail/wine-devel/2013-June/100328.html). It has to do with the way Cygwin handles forks. The bug can be illustrated with this small program:

Re: Failure with fork()

2013-06-27 Thread Ryan Johnson
On 27/06/2013 5:35 AM, Arjen Markus wrote: Hello, the bug I am reporting here on behalf of Alan Irwin surfaced in the combination wine and Cygwin (Alan summarised it here: http://www.winehq.org/pipermail/wine-devel/2013-June/100328.html). It has to do with the way Cygwin handles forks. The bug

Re: Failure with fork()

2013-06-27 Thread Corinna Vinschen
On Jun 27 07:20, Ryan Johnson wrote: On 27/06/2013 5:35 AM, Arjen Markus wrote: Hello, the bug I am reporting here on behalf of Alan Irwin surfaced in the combination wine and Cygwin (Alan summarised it here: http://www.winehq.org/pipermail/wine-devel/2013-June/100328.html). It has to do

Re: Failure with fork()

2013-06-27 Thread Arjen Markus
According to the original thread it has to do with handling the stack. The small program is meant to show that there is a discrepancy between the way Cygwin handles this versus the way Linux does that - something to do with accessing more memory pages than expected, but this is not an area I am

Re: Failure with fork()

2013-06-27 Thread Corinna Vinschen
On Jun 27 13:34, Arjen Markus wrote: According to the original thread it has to do with handling the stack. The small program is meant to show that there is a discrepancy between the way Cygwin handles this versus the way Linux does that - something to do with accessing more memory pages

Re: Failure with fork()

2013-06-27 Thread Christopher Faylor
On Thu, Jun 27, 2013 at 01:34:04PM +0200, Arjen Markus wrote: According to the original thread it has to do with handling the stack. The original thread even pointed to the problem. I introduced a change back on 2013-06-18 which was supposed to fix this but Corinna found one more place where

Re: Failure with fork()

2013-06-27 Thread Alan W. Irwin
I have been following this thread with great interest via the archive, but now I have newly subscribed to this list to ask additional questions. Corinna said Should be fixed in CVS. Thanks (to Arjen) for the report. My thanks to Arjen for getting this thread started, and my thanks to Corinna

Re: Failure with fork()

2013-06-27 Thread marco atzeri
Il 6/27/2013 8:35 PM, Alan W. Irwin ha scritto: I have been following this thread with great interest via the archive, but now I have newly subscribed to this list to ask additional questions. Corinna said Should be fixed in CVS. Thanks (to Arjen) for the report. My thanks to Arjen for

Re: Failure with fork()

2013-06-27 Thread Alan W. Irwin
On 2013-06-27 11:35-0700 Alan W. Irwin wrote: The only Windows platform available to me is Wine. And I have no Cygwin on Wine experience at this stage because this fork bug shut me out. But now that it is fixed in CVS, how do I get access to the fixed version of setup.exe? Are there daily

Re: Failure with fork()

2013-06-27 Thread marco atzeri
Il 6/27/2013 9:01 PM, Alan W. Irwin ha scritto: On 2013-06-27 11:35-0700 Alan W. Irwin wrote: The only Windows platform available to me is Wine. And I have no Cygwin on Wine experience at this stage because this fork bug shut me out. But now that it is fixed in CVS, how do I get access to

Re: Failure with fork()

2013-06-27 Thread Alan W. Irwin
On 2013-06-27 21:00+0200 marco atzeri wrote: Il 6/27/2013 8:35 PM, Alan W. Irwin ha scritto: Are there daily snapshot builds of the CVS version I could access? daily not, but on reasonable schedule (aka when Corinna or Christopher release one) http://cygwin.com/snapshots/ just wait for the

Re: Failure with fork()

2013-06-27 Thread Achim Gratz
Alan W. Irwin writes: I haven't even gotten as far as an initial install because of this fork bug. If you've never installed Cygwin then this is going to be a bit more difficult, but here it is anyway... You'll need a cygwin package that has the snapshot files built in. To do this, unpack the

RE: Failure with fork()

2013-06-27 Thread gmt
on Thu, 27 Jun 2013, at 12:22, Alan W. Irwin thusly quipped: On 2013-06-27 21:00+0200 marco atzeri wrote: Il 6/27/2013 8:35 PM, Alan W. Irwin ha scritto: Are there daily snapshot builds of the CVS version I could access? daily not, but on reasonable schedule (aka when Corinna or

Re: Failure with fork()

2013-06-27 Thread Alan W. Irwin
On 2013-06-27 21:13+0200 marco atzeri wrote: Il 6/27/2013 9:01 PM, Alan W. Irwin ha scritto: I have now found the snapshots page, and the latest one contains 013-06-18 Christopher Faylor me.cygwin2...@cgf.cx * dcrt0.cc (child_info_fork::alloc_stack): Don't subtract 4096 from stack pointer

Re: Failure with fork()

2013-06-27 Thread Christopher Faylor
On Thu, Jun 27, 2013 at 01:33:53PM -0700, Alan W. Irwin wrote: On 2013-06-27 21:13+0200 marco atzeri wrote: Il 6/27/2013 9:01 PM, Alan W. Irwin ha scritto: I have now found the snapshots page, and the latest one contains 013-06-18 Christopher Faylor me.cygwin2...@cgf.cx * dcrt0.cc

Re: Failure with fork()

2013-06-27 Thread Larry Hall (Cygwin)
On 6/27/2013 4:33 PM, Alan W. Irwin wrote: snip I think you keep assuming I have some version of Cygwin already installed when that is not the case. It is the last stage of the initial attempt at installation using setup.exe that fails on Wine due to the fork bug. Furthermore, when I download

Re: Failure with fork()

2013-06-27 Thread Peter Rosin
On 2013-06-27 22:33, Alan W. Irwin wrote: I think you keep assuming I have some version of Cygwin already installed when that is not the case. It is the last stage of the initial attempt at installation using setup.exe that fails on Wine due to the fork bug. Furthermore, when I download

RE: Failure with fork()

2013-06-27 Thread Thrall, Bryan
Larry Hall (Cygwin) wrote on 2013-06-27: On 6/27/2013 4:33 PM, Alan W. Irwin wrote: So the question still remains how do I gain access to a version of setup.exe with the fork fix that will allow me to not only initialize my Cygwin distribution for Wine without the fork abort, but also

Re: Failure with fork()

2013-06-27 Thread Yaakov (Cygwin/X)
On 2013-06-27 15:33, Alan W. Irwin wrote: I think you keep assuming I have some version of Cygwin already installed when that is not the case. It is the last stage of the initial attempt at installation using setup.exe that fails on Wine due to the fork bug. Furthermore, when I download

Re: Failure with fork()

2013-06-27 Thread Alan W. Irwin
On 2013-06-27 15:56-0500 Yaakov (Cygwin/X) wrote: On 2013-06-27 15:33, Alan W. Irwin wrote: I think you keep assuming I have some version of Cygwin already installed when that is not the case. It is the last stage of the initial attempt at installation using setup.exe that fails on Wine due

Re: Failure with fork()

2013-06-27 Thread Yaakov (Cygwin/X)
http://cygwin.com/acronyms/#PPIOSPE ! On 2013-06-27 16:52, Alan W. Irwin wrote: Once the relevant snapshot is released I will let you know how far I The 20130627 snapshot is now available. get with a variant of the above I have thought of which is replacing cygwin1.dll on the fly when the

Re: Failure with fork()

2013-06-27 Thread Larry Hall (Cygwin)
On 6/27/2013 4:55 PM, Thrall, Bryan wrote: Larry Hall (Cygwin) wrote on 2013-06-27: On 6/27/2013 4:33 PM, Alan W. Irwin wrote: So the question still remains how do I gain access to a version of setup.exe with the fork fix that will allow me to not only initialize my Cygwin distribution for

Re: No PIDs left, failure to fork, child state waiting for longjmp AND ps FAILS

2003-03-20 Thread Mike W.
I notice another thing about when the errors begin to cascade; the ps command fails also momentarily, then works again! Here is what I could see in two terminal windows; the first was running the command ./configure --with-perl=/usr/bin/perl --enable-shared in

Re: No PIDs left, failure to fork, child state waiting for longjmp

2003-03-20 Thread Joshua Daniel Franklin
I see the behaviour when I try to compile Image Magick. This doesn't have to do with your PID issue, but why not use the precompiled Cygwin binaries on the ImageMagick site? I just downloaded it the other day. __ Do you Yahoo!? Yahoo! Platinum

No PIDs left, failure to fork, child state waiting for longjmp

2003-03-19 Thread Mike W.
I love cygwin. But... I think there is a bug in cygwin that has to do with an inability to reuse PID numbers. I think the following messages may show instances of it: http://sources.redhat.com/ml/cygwin/2002-02/msg01188.html http://sources.redhat.com/ml/cygwin/2002-07/msg01894.html