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: [ANNOUNCEMENT] [1.7] Updated [security]: bash-3.2.49-23 and Windows 7 RC


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


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