Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Reply-To: From: "Norman Vine" To: Subject: RE: 20011101 snapshot broken (also 20011103) Date: Sat, 3 Nov 2001 13:18:25 -0500 Message-ID: <000201c16493$ee7ca200$a300a8c0@nhv> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2232.26 Importance: Normal In-Reply-To: <20011103115738.B18219@redhat.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Christopher Faylor writes > >On Sat, Nov 03, 2001 at 11:48:44AM -0500, Norman Vine wrote: >>David Starks-Browning writes: >>> >>>FYI this has not improved in the 20011103 snapshot. >>> >>>Cheers, >>>David >>> >>>On Friday 2 Nov 01, David Starks-Browning writes: >>>> Greetings, >>>> >>>> Kris Huber has also reported this problem in the main list. >>>> >>>> On Win98, with the 20011101 snapshot, 'ssh' dumps core with the >>>> following stackdump: >>>> >>>> ... >> >>FYI same behaviour Win2k >> >>backing out the 2001-11-01 change from winsup / Makefile.commom >>seems to fix this > >Why? the addition of -mpreferred-stack-boundary=2 to the CFLAGS_COMMON variable seems to be the culprit here is the the result of 'bt' in the JIN gdb session that results from my trying ssh valid_user AT some DOT host #0 0x6102f300 in cygwin_getservbyname (name=0x404f52 "ssh", proto=0x404f4e "tcp") at /src/cygwin/src/winsup/cygwin/net.cc:980 #1 0x004050ad in _size_of_stack_reserve__ () #2 0x00403238 in _size_of_stack_reserve__ () #3 0x61003cf6 in dll_crt0_1 () at /src/cygwin/src/winsup/cygwin/dcrt0.cc:769 #4 0x61003ef1 in _dll_crt0 () at /src/cygwin/src/winsup/cygwin/dcrt0.cc:850 #5 0x61003f2d in dll_crt0 (uptr=0x0) at /src/cygwin/src/winsup/cygwin/dcrt0.cc:862 #6 0x004a6ea7 in _size_of_stack_reserve__ () #7 0x0040103d in _size_of_stack_reserve__ () #8 0x77e97d08 in _system_dlls__ () FWIW ssh seems to work fine with a DLL built with just the other new flags CFLAGS_COMMON:=-Wall -Wwrite-strings -fno-common -pipe -Winline -fbuiltin This is with the CVS files ~0800 EDT today Cheers Norman