delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/09/09:46:12

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
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Joe Buehler <jbuehler AT hekimian DOT com>
Newsgroups: gmane.os.cygwin
Subject: sporadic core dumps caused by atexit processing
Date: Tue, 09 Jul 2002 09:45:16 -0400
Lines: 12
Message-ID: <3D2AE8EC.8000708@hekimian.com>
NNTP-Posting-Host: hekimian.com
Mime-Version: 1.0
X-Trace: main.gmane.org 1026222272 15691 206.205.138.10 (9 Jul 2002 13:44:32 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Tue, 9 Jul 2002 13:44:32 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.0) Gecko/20020530
X-Accept-Language: en-us, en

I am seeing sporadic core dumps whose cause appears to be a call
to atexit(0).  Maybe not, but the atexit data structure has
a null function pointer in it when examined with gdb.  This
causes obvious problems when the process exits.  The null pointer
appears to always be at _fns[1], if that means anything to anyone.

For the moment, I am going to put in a patch to ignore null
function pointers instead of calling them, and see if my core
dumps problems (and maybe also sporadic process hangs) go away.

Joe Buehler




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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