www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/12/11:33:37

From: "Tom Demmer" <DEMMER AT brain1 DOT lstm DOT ruhr-uni-bochum DOT de>
Organization: Lehrstuhl Stroemungsmechanik, RUB
To: john miller <jwvm AT umdsun2 DOT umd DOT umich DOT edu>, djgpp AT delorie DOT com
Date: Thu, 12 Dec 1996 17:27:43 GMT-1
MIME-Version: 1.0
Subject: Re^2: Rhide 1.0 & Exceptions
Reply-to: Demmer AT LStM DOT Ruhr-Uni-Bochum DOT De
Message-ID: <19F4D507432@brain1.lstm.ruhr-uni-bochum.de>

John Miller wrote:
> Got any pointers pointing where they shouldn't? The problem could be
> caused by critical data getting corrupted. 

Nope,
the simplest program that exhibits this behavior is:

#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main(int argc, char **argv){
 double f=-0.1,g=0.2;
 double foo;

 foo=sqrt(f/g);

 return 0;
}

Stepping over this caused a simple abort of the debugee. In fact, I 
couldn't reproduce the exit from RHIDE.
Moving the cursor to the return line and pressing F4 caused the
lock-up. No pointers at all.

Ciao

Tom

  ******************************************************************
  *  Thomas Demmer                     * Phone : +49 234 700 6434  *
  *  Universitaetsstr. 150             * Fax   : +49 234 709 4162  *
  *  Lehrstuhl fuer Stroemungsmechanik * Fax/Voice Box:            *
  *  D-44780 Bochum                    *   +49 2561 91371 2056     *
  ******************************************************************
  *  Email: demmer AT LStM DOT Ruhr-Uni-Bochum DOT De                         *
  *  WWW:   http://www.lstm.ruhr-uni-bochum.de/~demmer             *
  ******************************************************************

    You've got to stand for something
    Or you're gonna fall for anything
                                    --- John Mellencamp

- Raw text -


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