delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/03/06:24:10

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 3 Jul 2009 12:23:35 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] [1.7] Updated [security]: bash-3.2.49-23 and Windows 7 RC
Message-ID: <20090703102335.GA12258@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 4A4C18B6 DOT 4000505 AT byu DOT net> <4A4D200E DOT 9050401 AT sidefx DOT com> <4A4D2342 DOT 6050400 AT sidefx DOT com> <4A4D4BA8 DOT 8090202 AT byu DOT net> <ac6f02c4727a17f29edd0c723e25a5c8 AT mail DOT smartmobili DOT com>
MIME-Version: 1.0
In-Reply-To: <ac6f02c4727a17f29edd0c723e25a5c8@mail.smartmobili.com>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Jul  3 10:11, Vincent R. wrote:
> >> Ok, so I can confirm a problem with bash 3.2.49-23 on Windows 7 RC build
> >> 7100 64-bit. Basically, bash just crashes on startup. I don't have
> >> access to a Vista machine right now but it's worthwhile confirming on
> it.
> > 
> > I don't have access to any of these (just XP, here), so I can't really
> > tell where things are crashing.  It works just fine for me.
> > 
> >> Frame     Function  Args
> >> 0028CCE8  04FF0000  (6120B808, 6120C41C, 0028CD50, 61020360)
> >> 0028CD78  61020293  (00000000, 0028CDB0, 610066C0, 7EFDE000)
> > 
> > 61020293 looks like an address in the dll range, probably cygwin1.dll. 
> It
> > would be nice to know what function is dying, but doing that may require
> > rebuilding a bash image with debugging symbols.  Did you by chance do any
> > rebasing?  Maybe this is a case where I didn't use the correct gcc-4
> flags
> > for compilation, at which point an updated binutils/gcc might fix things.
> > 
> Same problem here (I am attaching output from msvc debugger) :
> [...]

I can reproduce the problem on Vista 32 bit and W7 32 bit.  I can not
reproduce it on XP for some reason, same as Eric.

AFAICS from the stackdump, trying to call the ctors of cygreadline-9.dll
crashes.

Here's a commented stackdump from the W7 machine:

Exception: STATUS_ACCESS_VIOLATION at eip=075A0000
eax=075A0000 ebx=0022CE64 ecx=0000000B edx=0000000A esi=00000000 edi=00000000
ebp=0022CC78 esp=0022CC6C program=C:\cygwin\bin\bash.exe, pid 2436, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022CC78  075A0000  (6DB80000, 00000001, 0022FD24, 7257CAD0)

^^^^ cygreadline-9.dll ^^^^

vvvv cygwin1.dll ^^^^

0022CC98  610336E1  (6124F444, 00000000, 00000000, 61036BAF) per_module::run_ctors
0022CCC8  610337B4  (6124F43C, 0000002F, 00000003, 00000007) dll::init
0022CCE8  61033811  (611ED440, 00000000, 611812A0, 00000001) dll_list::init
0022CD68  61006EDD  (00000000, 0022CDA8, 61006A5F, 00000000) dll_crt0_1
0022CD98  610049A6  (0022CDA8, 00000000, 00000000, 00000000) _cygtls::call2
0022FF48  61004A0C  (61006A5F, 00000000, 0022FF68, 00459F03) _cygtls::call
0022FF58  61005E4C  (00402010, 611812A0, 0022FF88, 0040103D) _dll_crt0

^^^^ cygwin1.dll ^^^^

vvvv bash.exe vvvv

0022FF68  00459F03  (00402010, 00000000, 00000000, 00000000)
0022FF88  0040103D  (7FFD5000, 0022FFD4, 777FB495, 7FFD5000)
0022FF94  75C410F4  (7FFD5000, 77AD605C, 00000000, 00000000)
0022FFD4  777FB495  (00401000, 7FFD5000, 00000000, 00000000)
0022FFEC  777FB468  (00401000, 7FFD5000, 00000000, 78746341)
End of stack trace

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019