delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/07/06/04:21:05

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <199907060719.JAA20520@bi266.unive.it>
X-Sender: raistlin AT steam DOT italian DOT it
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0
Date: Tue, 06 Jul 1999 10:21:23 +0200
To: cygwin AT sourceware DOT cygnus DOT com
From: Gianluca <raistlin AT steam DOT italian DOT it>
Subject: after compiling and executing...
Mime-Version: 1.0

Hi!
After compiling and executing the program ( I'm trying to port a game from
linux to Windows), it gives me these messages:

[main] C:\TF\TFSERVER.EXE 1000 (0) handle_exceptions: Exception:
STATUS_ACCESS_V
IOLATION
[main] TFSERVER 1000 (0) handle_exceptions: Dumping stack trace to
TFSERVER.EXE.
core

In order to compile it, I changed these instructions:

         mask = sigmask(SIGUSR1) | sigmask(SIGUSR2) | sigmask(SIGINT) |
                     sigmask(SIGPIPE) | sigmask(SIGALRM) | sigmask(SIGTERM) |
                     sigmask(SIGURG) | sigmask(SIGXCPU) | sigmask(SIGHUP);

with these:

   mask = sigprocmask(SIG_BLOCK, SIGUSR1, 0) |
           sigprocmask(SIG_BLOCK, SIGUSR2, 0) |
           sigprocmask(SIG_BLOCK, SIGINT,  0) |
           sigprocmask(SIG_BLOCK, SIGPIPE, 0) |
           sigprocmask(SIG_BLOCK, SIGALRM, 0) |
           sigprocmask(SIG_BLOCK, SIGTERM, 0) |
           sigprocmask(SIG_BLOCK, SIGURG,  0) |
           sigprocmask(SIG_BLOCK, SIGXCPU, 0) |
           sigprocmask(SIG_BLOCK, SIGHUP,  0);

does it right?

second, I tried to use gdb but it writes me :"GDB can't read core files on
this machine".. why?

Bye everybody
Gianluca (Italy)


Gianluca Colucci
Programmatore e Consulente Informatico
Tel. 0347-7767029

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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