www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/28/07:39:41

Date: Thu, 28 Nov 1996 12:44:09 -0200
Message-Id: <1.5.4.16.19961128102735.29bf1a1e@dmeasc.rc.ipt.br>
Mime-Version: 1.0
To: Robert DOT Hoehne AT Mathematik DOT tu-chemnitz DOT de
From: Cesar Scarpini Rabak <csrabak AT dce03 DOT ipt DOT br>
Subject: Progs using abort() in a RHIDE DOS shell under Win95 cause
fault/violation
Cc: BRA DOT EDBKMN AT memo DOT ericsson DOT se, djgpp AT delorie DOT com

Hi Robert,

The following minimum program shows the behaviour:

#include <stdlib.h>

int main(void)
{
        abort();
}

If you put the file w/this source in a project, and build it.

1) When run from the RHIDE, through Run (F9) command, it works as expected,
bringing the "Abort!" msg in the stderr window (all of it in a Win95 machine).

2) When run in a DOS box in Win95, works as expected.

3) When one shells to DOS in RHIDE and attempts to run the program,
the program causes an abrupt termination of RHIDE, and Win95 complains "the
application has caused a violation...".

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cesar Scarpini Rabak                      E-mail: csrabak AT ipt DOT br
DME/ASC                                   Phone: 55-11-268-35221Ext.350
IPT - Instituto de Pesquisas Tecnologicas Fax:   55-11-268-5996
Av. Prof. Almeida Prado, 532.  Sao Paulo - SP 05508-901 BRAZIL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Raw text -


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