Fw: [Dock-fans] cygwin: aborted (core dumped)

Steven Finckbeiner sfinck187 at yahoo.com
Tue Mar 20 19:30:05 PST 2007

Scott's fix worked like a charm.  Once you get the kinks out this thing is really amazing.  Thanks to everyone who helped me get started.  

----- Forwarded Message ----
From: Philip Crawford <p.crawford at unsw.edu.au>
To: Scott Brozell <sbrozell at scripps.edu>; Steven Finckbeiner <sfinck187 at yahoo.com>
Cc: dock-fans at docking.org
Sent: Tuesday, March 20, 2007 11:17:57 PM
Subject: RE: [Dock-fans] cygwin: aborted (core dumped)

Scott, Steven,
The standard stacksize limit for Windows executables is 1 MB. It's built
into the executable, not the Cygwin environment. This applies to
Cygwin-compiled executables also.

The 0x2000000 is hex for 32 MB.



Philip Crawford B Comp Sc, MIEEE
Medicine Computer Support Unit
The University of NSW, Sydney, NSW, 2052
Phone: +61-2-9385 2564
Fax: +61-2-9385 1258
Email: p.crawford at unsw.edu.au

-----Original Message-----
From: dock-fans-bounces at docking.org [mailto:dock-fans-bounces at docking.org]
On Behalf Of Scott Brozell
Sent: Wednesday, 21 March 2007 5:05 AM
To: Steven Finckbeiner
Cc: dock-fans at docking.org
Subject: Re: [Dock-fans] cygwin: aborted (core dumped)


Here is a simple command sequence to apply the stacksize modification for

cd install
make DOCKBUILDFLAGS=' -Wl,--stack,0x2000000' dock

Note that the stacksize setting is done at link time; so make clean is not
necessary, and if sources get compiled then this can be ignored:
g++: --stack: linker input file unused because linking not done

According to

ulimit -s
should emit the current stacksize limit even though it cannot change that
limit.  Knowing the current limit might be useful in determining a new

For fun reading here are some stack related links:




On Sun, 18 Mar 2007, Steven Finckbeiner wrote:

> Phil: I am very hopeful that I will get this to work.
However, I am a complete noob when it comes to compiling anything.
Where would I change this, in the makefile?
Thanks for helping me with this.

----- Forwarded Message ----
From: Philip Crawford <p.crawford at unsw.edu.au>
To: Steven Finckbeiner <sfinck187 at yahoo.com>
Sent: Sunday, March 18, 2007 8:01:20 PM
Subject: RE: [Dock-fans] cygwin: aborted (core dumped)



When you compile Dock for Cygwin.

I didn't want to mention another docking program on the list but Autodock 3
had heavy stack requirements. We found that it required at least 32 MB of
available stack memory.

LINK option for that was:


that the character after W is a lower case L, not the digit 1.

might have to look through the gcc help file (and maybe the ld help file.)
to find other parameters.

never had problems with Dock in this area, though I haven't been doing much
with Dock recently.


Dock-fans mailing list
Dock-fans at docking.org

Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://blur.compbio.ucsf.edu/pipermail/dock-fans/attachments/20070320/cb4cf66d/attachment.html

More information about the Dock-fans mailing list