From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,463c620718bdfbe1,start X-Google-Attributes: gid111c93,public From: colin@broca.med.Virginia.EDU (Colin Prepscius) Subject: program compiled with g++ dumps core? Date: 1998/03/30 Message-ID: <6foip1$afd$1@murdoch.acc.Virginia.EDU>#1/1 X-Deja-AN: 339171326 Organization: University of Virginia Reply-To: colin@broca.med.virginia.edu Newsgroups: comp.os.linux.alpha Programs I compile with g++ dump core after just about any i/o: #include 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