delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/18/12:40:47

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
Message-ID: <1082306435.4082af8343d24@webmail.mit.edu>
Date: Sun, 18 Apr 2004 12:40:35 -0400
From: Sophia C Yuditskaya <scyudits AT MIT DOT EDU>
To: cygwin AT cygwin DOT com
Cc: scyudits AT MIT DOT EDU
Subject: seg fault via cygwin1!aclcheck() ?
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) 3.2.2
X-Originating-IP: 146.115.72.177

Hi,

I am running ns on cygwin, and after my program executes for a while with no
problems, suddenly I get a seg fault with the following backtrace (in gdb):

Program received signal SIGSEGV, Segmetation fault.
0x610ab27b in random () from /usr/bin/cygwin1.dll
(gdb) backtrace
#0 0x610ab27b in random () from /usr/bin/cygwin1.dll
#1 0x610550c6 in localtime_r () from /usr/bin/cygwin1.dll
#2 0x61086751 in cygwin1!aclcheck () from /usr/bin/cygwin1.dll
...(the rest of the trace is from my ns code)

What is wrong? It seems like a permissions problem, but my code is not writing
to a file. Although my code reads from a file, this seg fault occurs after a
great many lines have been already read from this file. Based on the back
trace, the seg fault does not occur at a point where the file is read anyway. 

How can I fix this?

Thanks,

Sophia

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