Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Subject: windows SIGTRAP MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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/