delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/01/23:11:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
From: Larry Adams <larryjadams AT comcast DOT net>
Subject: Segfault in Cactid
Date: Fri, 2 Sep 2005 00:45:16 +0000 (UTC)
Lines: 28
Message-ID: <loom.20050902T024037-588@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Hello,

I have been working on an enhancement to the Cacti Groups snmp poller called 
Cactid and have been experiencing null pointer access violations in a system 
call with 1.5.18.1 that I am at my wit's end to trace down.  Here is the 
message that I get:

"Application popup: cactid.exe - Application Error : The instruction 
at "0x6108ed79" referenced memory at "0x00000000". The memory could not 
be "read"."

The address is always the same and is not in my application.  When I attach to 
the process and perform a backtrace, it shows a few calls inside of 
Cygwin1.dll, but I am not too sure how to determine what I am looking at, it's 
sad.

So my questions are: How do I trace the memory location above to a known system 
call using gdb?  When, I attach to my hung process, what should I be doing to 
determine the calling/offending function.

What I can tell you is that I do know enough to be able to determine problem 
functions in my program using gdb, but just not system calls.

Thanks in Advance,

Larry Adams
The Cacti Group
http://www.cacti.net


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