www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/05/10:47:40

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT tu-chemnitz DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Profiling problems
Date: Thu, 05 Dec 1996 15:09:15 +0100
Organization: TU Chemnitz-Zwickau
Lines: 39
Message-ID: <32A6D78B.7669@Mathematik.tu-chemnitz.de>
References: <584dc0$ogq$1 AT newnews DOT iafrica DOT com>
NNTP-Posting-Host: daemon.hrz.tu-chemnitz.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Fabian Nunez wrote:
> 
> did not have under V2.00.  Namely, whenever I compile anything with the -pg
> switch (to generate profiling info for gprof), the program generated reboots
> my system when run! This did not happen under V2.00, so I was wondering
> whether I've stumbled upon a bug or my system's not configured properly

As I see now, there are also an other person who has problems with "-pg"
programs. So I will describe here my situation (But I had this problems
also with V2.00)

I had the idea to profile RHIDE and so I compiled some files with "-pg"
and linked it also with that switch.

Now I run RHIDE on the project for RHIDE and did a 'Make' because I
wanted
to get the profiling information about the check of the dependencies.

After a few seconds (many disk accesses because of getting the timestamp
of a file and reading the contents of a directory)  the program
chrashed.
(Because I run under W95 only the DOS-box).
OK. now I started again and it worked a little bit longer (probably
because
of the disk cache of W95) and then the same crash.
If I repeated the above many times I came to an successfull end.

In my opinion there is somewhere (but please do not ask me where, I have 
search already for it, but no success) in the profiling functions code,
which is executed via an interrupt but not correct locked?

Robert
-- 
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019