This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Failure with fork()

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

013-06-18  Christopher Faylor  <>

* (child_info_fork::alloc_stack): Don't subtract 4096 from
stack pointer since getstack() already does that.

Could someone confirm that is the fork fix of interest here?

Of course not. Corinna solved the problem today
and cygwin1-20130619.dll.bz2 was built last 19th June
so you need to wait the next one.

Sorry about that.  Didn't check the date, and it looked promising
because of that reference to fork and the stack.

I am somewhat confused by the remark
that "You cannot use Cygwin Setup to install a snapshot."

So what exactly is installed by a snapshot?  Is it just the core part
of Cygwin?

It is just the core cygwin1.dll
The easy way is copy the new one on the current one.
Of course all cygwin processes must be shutdown before..

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 setup.exe from it contains the fork bug. That version is
self-contained, i.e., only setup.exe needs to be downloaded, not
cygwin1.dll in addition.  I presume that is because setup.exe uses a
static version of the cygwin library as a matter of convenience rather
than depending on an external cygwin1.dll that could be separately

I have looked at the table of contents of the latest
cygwin-inst-20130619.tar.bz2 since that appears to be the most
complete recent snapshot version.  Although it does contain a number
of *.exe files and other core components of cygwin as advertised it is
missing many components of Cygwin that I need.  Also, it is missing
the key setup.exe core component which precludes any chance of
installing the rest of what I need based on this snapshot version of

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
subsequently update it to install all components of Cygwin that I

Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (; the Time
Ephemerides project (; PLplot scientific plotting
software package (; the libLASi project
(; the Loads of Linux Links project (;
and the Linux Brochure Project (

Linux-powered Science

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]