delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/30/12:04:35

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
Subject: 1.0:Question about Cygwin1.dll crashing with DEP/NX
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 HF85 November 04, 2005
Message-ID: <OF445A0069.CD0A5B41-ON8625717E.005837C7-8625717E.00584A76@us.ibm.com>
From: Carry Suryakusuma <carry AT us DOT ibm DOT com>
Date: Tue, 30 May 2006 11:08:20 -0500
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Hi,

I am new to this mailing list. If this is not the right mailing address, 
please let me know what will be the mailing list.

I have old Cygwin binaries, source codes and build environment for version 
1.0. These Cygwin binaries crashed badly on the newer Windows XP and later 
with Date Execution Protection (DEP) support running on DEP enabled 
processor.

I think the problem is around the Cygwin1.dll and I would like to fix it 
if I can. I rebuilt the Cygwin1.dll to try to debug it, but it was 
useless. The Cygwin program like tr.exe simply crashed when loading the 
Cygwin1.dll. It created a stackdump with the following content:
C:\temp\carry\DEP>cat tr.exe.stackdump
    0       0 [main] C:\Cygwin\bin\cat.exe 1000 handle_exceptions: 
Exception: STATUS_ACCESS_VIOLATION
    0    5900 [main] cat 1000 stackdump: Dumping stack trace to 
cat.exe.stackdump

I rebuilt the Cygwin1.dll using the following build environment:
1. bash version: GNU bash, version 2.03.0(2)-release (i686-pc-cygwin)
2. make version: GNU Make version 3.77, by Richard Stallman and Roland 
McGrath.
3. gcc version: 2.9-cygwin-990830
4. g++ version: 2.9-cygwin-990830
5. ld version: GNU ld 2.9-cygwin-990830

Is there anyway for me to fix this with the existing source codes and 
probably the build environment and tools that I have to support DEP on 
Windows XP and later?

Thank you and Regards,

Carry Suryakusuma
IBM Software Group/Tivoli software solutions
carry AT us DOT ibm DOT com
(512) 838-1695

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

- Raw text -


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