🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sgi.misc
Article #220

Re: casevision debugger and the kill signal (really bad page read)

#220
From: Mark Rosenstein
Date: Mon, 11 Jan 1993 18:48
44 lines
2466 bytes
In article <KITTU.93Jan11095743@shakti.shakti.wpd.sgi.com> kittu@shakti.wpd.sgi.com (Krishna Kolluri) writes:

   Newsgroups: comp.sys.sgi.misc
   From: kittu@shakti.wpd.sgi.com (Krishna Kolluri)
   Reply-To: kittu@sgi.com
   Organization: Silicon Graphics, Inc.
   References: <MBR.93Jan11085304@ponape.bellcore.com>

   >>>>> "Mark" == Mark Rosenstein <mbr@bellcore.com> writes:

	   Mark> I have an application that is killed (I assume by the
	   Mark> OS). I wanted to try and figure out what was going on
	   Mark> using the casevision debugger.  I was unable to figure
	   Mark> out a way to catch the kill, and when the program
	   Mark> mysteriously dies, all I get in the debugger is process
	   Mark> xxxx: terminated.
	   [stuff deleted ...]
	   Mark> Have I missed something?

   Sounds like your application is leaking memory, and is running out of
   swap space. Check your console window if this is what is happening.

   If so, you should link your application with libmalloc_cv.a and turn
   on malloc/free tracing in the Performance Panel. Then bring up Heap
   View and see where you are leaking memory. If you need help, let me
   know. 

   kittu..
Well, thank you mightily! I never thought of looking on the console. Your
diagnosis is incorrect (but I will add your advice to my bag of debugging
tricks) but now I at least know the right question to ask.
The error on the console is:

WARNING: Process [art-devo.r4000] pid 1227 killed due to bad page read (errno:134)

Is there a reasonable way using cvd to stop the process before it
terminates and figure out, how I might be managing to do this (like a
stack trace)? [My suspicion is that I am doing a Motif no-no, but I 
can't really begin to figure it out unless I have some clue as to where
I am running into this problem

Thanks.

Mark.
Technical Details
Message-ID: <MBR.93Jan11184839@ponape.bellcore.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!walter!mbr
References: <MBR.93Jan11085304@ponape.bellcore.com> <KITTU.93Jan11095743@shakti.shakti.wpd.sgi.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.sgi.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!walter!mbr
From: mbr@bellcore.com (Mark Rosenstein)
Subject: Re: casevision debugger and the kill signal (really bad page read)
In-Reply-To: kittu@shakti.wpd.sgi.com's message of 11 Jan 93 09:57:43
Message-ID: <MBR.93Jan11184839@ponape.bellcore.com>
Sender: news@walter.bellcore.com
Nntp-Posting-Host: ponape.bellcore.com
Reply-To: mbr@bellcore.com (Mark Rosenstein)
Organization: Bellcore, Morristown, NJ
References: <MBR.93Jan11085304@ponape.bellcore.com>
 <KITTU.93Jan11095743@shakti.shakti.wpd.sgi.com>
Date: 11 Jan 93 18:48:39
Lines: 44