delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/20/17:26:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: ecserv7.uwaterloo.ca: www set sender to y2bismil AT engmail DOT uwaterloo DOT ca using -f
Message-ID: <1069367180.3fbd3f8cf3334@www.nexusmail.uwaterloo.ca>
Date: Thu, 20 Nov 2003 17:26:20 -0500
From: y2bismil AT engmail DOT uwaterloo DOT ca
To: Cygwin mailing list <cygwin AT cygwin DOT com>
Subject: windows SIGTRAP
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) 3.1 / FreeBSD-4.6.2
X-Originating-IP: 207.245.22.25

Hi all,

I've ported an old dos application to compile in cygwin under mingw.  It does
its own context switching via traps.  I'm not about to say the port is correct
just yet, but I need a bit of guidance here.

Unfortunately, when I try and run the application now, it goes a bit, but then
crashes on the trap.  A dialog just pops up and says ( prog.exe has generated
errors...a log is being created...).

Now, running the program through the insight debugger, I can get it to run
normally.  It stops at the traps and I just continue.  To get it to run without
stopping(breaking), I just do a 'handle SIGTRAP nostop' and it seems to run
fine.  Just really really really slowly as it still receives all this SIGTRAPS,
it just ignores them.  

Any ideas here? I didn't think a windows app would have SIGTRAPS.

Thanks,

Yamin

----------------------------------------
This mail sent through www.mywaterloo.ca

--
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