Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* X client debugging with Third Degree?
@ 1994-11-07 15:34 Marko Sirkia
  1994-11-07 17:47 ` Dirk Grunwald
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Marko Sirkia @ 1994-11-07 15:34 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1437 bytes --]



I recently tested 3rd to one small program, which already has been in use
for some time now. To my surprice it quickly reported me a bug, which
just haven't been discovered yet. Wonderful!

Now I'd like to give Third Degree to a bit more complicated programs,
namely those using Motif and X libraries. But instrumenting X programs
seems to be an unfeasible task for our equipment. The size of the
instrumenting process grows well beyond 80Mb finally exhausting all
virtual memory.

Can X programs be instrumented with 3rd, and if they can, how?
Has anyone done it?


/Marko Sirki�

===============================================================================
  _/_/_/     _/_/_/   _/     _/  Finnish Securities and   P.O.Box 926
_/     _/  _/     _/  _/_/ _/_/  Derivatives Exchange     FIN-00101 Helsinki
 _/_/      _/     _/  _/  /  _/  Clearing House           Finland
    _/_/   _/     _/  _/     _/
_/     _/  _/     _/  _/     _/  Marko Sirki{, msi@som.fi
 _/_/_/     _/_/_/    _/     _/  phone: +358-0-13121218  fax: +358-0-13121211




--
  _/_/_/     _/_/_/   _/     _/  Finnish Securities and   P.O.Box 926
_/     _/  _/     _/  _/_/ _/_/  Derivatives Exchange     FIN-00101 Helsinki
 _/_/      _/     _/  _/  /  _/  Clearing House           Finland
    _/_/   _/     _/  _/     _/
_/     _/  _/     _/  _/     _/  Marko Sirki{, msi@som.fi
 _/_/_/     _/_/_/    _/     _/  phone: +358-0-13121218  fax: +358-0-13121211



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: X client debugging with Third Degree?
  1994-11-07 15:34 X client debugging with Third Degree? Marko Sirkia
@ 1994-11-07 17:47 ` Dirk Grunwald
  1994-11-09 13:11 ` Greg Lueck Development Environment
  1994-11-11 10:07 `  Ian Ringrose
  2 siblings, 0 replies; 7+ messages in thread
From: Dirk Grunwald @ 1994-11-07 17:47 UTC (permalink / raw)



If you have access to a larger OSF/1 machine, copy your program there,
3rd it and copy it back.

For example, axposf.pa.dec.com is a large 'public' alpha. However, I
don't know if non-US residents can use it.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: X client debugging with Third Degree?
  1994-11-07 15:34 X client debugging with Third Degree? Marko Sirkia
  1994-11-07 17:47 ` Dirk Grunwald
@ 1994-11-09 13:11 ` Greg Lueck Development Environment
  1994-12-08 22:42   ` Douglas Jones
  1994-11-11 10:07 `  Ian Ringrose
  2 siblings, 1 reply; 7+ messages in thread
From: Greg Lueck Development Environment @ 1994-11-09 13:11 UTC (permalink / raw)



I'm glad you were able to use Third Degree and track down your problem so
quickly.  You are right, though, the Third Degree process can grow very
large for large applications.  This is an issue we are working on for the
next release.

For now, your only two options are to find a larger machine (as Dirk suggested)
or to add more swap space to your machine.

-- 
-------------------------------------------------------------------------------
Greg Lueck                              Opinions expressed herein are my own.
lueck@zk3.dec.com
-------------------------------------------------------------------------------
-- 
-------------------------------------------------------------------------------
Greg Lueck                              Opinions expressed herein are my own.
lueck@zk3.dec.com
-------------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: X client debugging with Third Degree?
  1994-11-07 15:34 X client debugging with Third Degree? Marko Sirkia
  1994-11-07 17:47 ` Dirk Grunwald
  1994-11-09 13:11 ` Greg Lueck Development Environment
@ 1994-11-11 10:07 `  Ian Ringrose
  1994-11-14  8:32   ` Jari Tavi
  2 siblings, 1 reply; 7+ messages in thread
From:  Ian Ringrose @ 1994-11-11 10:07 UTC (permalink / raw)


Marko Sirkia (msi@som.fi) wrote:
: I recently tested 3rd to one small program, which already has been in use
: for some time now. To my surprice it quickly reported me a bug, which
: just haven't been discovered yet. Wonderful!

: Now I'd like to give Third Degree to a bit more complicated programs,
: namely those using Motif and X libraries. But instrumenting X programs
: seems to be an unfeasible task for our equipment. The size of the
: instrumenting process grows well beyond 80Mb finally exhausting all
: virtual memory.

: Can X programs be instrumented with 3rd, and if they can, how?
: Has anyone done it?

We have had the some problem, our Motif based app, 1.5E6 lines of C,
needed more then 400M of swap for 3rd, we don't know how must more!

Purify on a sun, can cope with 150M most of the time.

Ian Ringrose
ianr@lsl.co.uk


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: X client debugging with Third Degree?
  1994-11-11 10:07 `  Ian Ringrose
@ 1994-11-14  8:32   ` Jari Tavi
  0 siblings, 0 replies; 7+ messages in thread
From: Jari Tavi @ 1994-11-14  8:32 UTC (permalink / raw)



	In many cases using lazy swap helps (aka removing /sbin/swapdefault
	and rebooting), as it's mostly VM which is needed and not necessarily
	real memory.

	Anyway, finding system with memory/swap enough is the major issue.
	I'll contact Marko by mail.

			-jari
--
-------------------------------------------------------------------------------
Full-Name:      Jari Tavi			
Organization:   Digital Finland                 Dept:           MKTG/Prod.Mgmt
Tel:            +358-0-434 5252	                Fax:            +358-0-452 1392 
E-mail:         jpt@rixrax.enet.dec.com
Address:        Digital Equipment Corporation Oy
                PL 16
                02201 Espoo
                FINLAND
-------------------------------------------------------------------------------
* All opinions are my personal, and do not necessarily represent opinions of
* my employer! 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: X client debugging with Third Degree?
  1994-11-09 13:11 ` Greg Lueck Development Environment
@ 1994-12-08 22:42   ` Douglas Jones
  1994-12-09 12:39     ` Jari Tavi
  0 siblings, 1 reply; 7+ messages in thread
From: Douglas Jones @ 1994-12-08 22:42 UTC (permalink / raw)


In article <39qhpb$i5i@jac.zko.dec.com>,
Greg Lueck Development Environment <lueck@zk3.dec.com> wrote:
>
>I'm glad you were able to use Third Degree and track down your problem so
>quickly.  You are right, though, the Third Degree process can grow very
>large for large applications.  This is an issue we are working on for the
>next release.
>
>For now, your only two options are to find a larger machine (as Dirk suggested)
>or to add more swap space to your machine.
>
>-- 
>-------------------------------------------------------------------------------
>Greg Lueck                              Opinions expressed herein are my own.
>lueck@zk3.dec.com
>-------------------------------------------------------------------------------

Hi,
	I just came in on this discussion line. I get the impression that
	Third Degree is some type of debuger. Could someone give some more
	information on this?

Thanks,
Douglas


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: X client debugging with Third Degree?
  1994-12-08 22:42   ` Douglas Jones
@ 1994-12-09 12:39     ` Jari Tavi
  0 siblings, 0 replies; 7+ messages in thread
From: Jari Tavi @ 1994-12-09 12:39 UTC (permalink / raw)



|> 
|> Hi,
|> 	I just came in on this discussion line. I get the impression that
|> 	Third Degree is some type of debuger. Could someone give some more
|> 	information on this?
|> 
|> Thanks,
|> Douglas
|>

From 3rd Degree User Guide:

"If you don't trust your software -- and you shouldn't -- give it The Third 
Degree.

Third Degree is a tool which performs memory access checks and memory leak
detection of C and C++ programs at run time. It accomplishes this by adding
code to executables at link time, using ATOM. The added code performs run-time
checks at all the interesting points: memory accesses, calls to memory 
allocators, procedure calls and returns, and program start and exit..."


From ATOM User Guide:

"ATOM provides a flexible code instrumentation interface that is capable
of building a wide variety of interesting tools."


These tools come with DEC OSF/1 AXP V3.0.

regards,

		-jari 
--
-------------------------------------------------------------------------------
Full-Name:      Jari Tavi			
Organization:   Digital Finland                 Dept:           MKTG/Prod.MGMT
Tel:            +358-0-434 5252	                Fax:            +358-0-452 4046
E-mail:         jpt@namix.enet.dec.com
Address:        Digital Equipment Corporation Oy
                Box 16
                FIN-02201 Espoo
                FINLAND
-------------------------------------------------------------------------------
* All opinions are my personal, and do not necessarily represent opinions of
* my employer! 


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1994-12-09 12:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-11-07 15:34 X client debugging with Third Degree? Marko Sirkia
1994-11-07 17:47 ` Dirk Grunwald
1994-11-09 13:11 ` Greg Lueck Development Environment
1994-12-08 22:42   ` Douglas Jones
1994-12-09 12:39     ` Jari Tavi
1994-11-11 10:07 `  Ian Ringrose
1994-11-14  8:32   ` Jari Tavi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox