From: colin@broca.med.Virginia.EDU (Colin Prepscius)
Subject: program compiled with g++ dumps core?
Date: 1998/03/30 [thread overview]
Message-ID: <6foip1$afd$1@murdoch.acc.Virginia.EDU> (raw)
Programs I compile with g++ dump core after just about any i/o:
#include <stdio.h>
int main (void) {
cout << "Hello";
return 1;
}
yields:
HelloSegmentation fault (core dumped)
But if I do no i/o (like incrementing an int or something), it doesn't
fault.
This is with RedHat linux on a 533Mhz Microway Alpha, gcc version 2.7.
Anybody have any ideas?
thanks,
-Colin Prepscius
Programmer, Neurosurgery, UVA
next reply other threads:[~1998-03-30 5:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-30 5:00 Colin Prepscius [this message]
1998-03-30 5:00 ` program compiled with g++ dumps core? Andreas Trottmann
1998-03-30 5:00 ` Greg Lindahl
1998-03-30 5:00 ` Colin Prepscius
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox