Article View: gnu.gcc.bug
Article #1027Re: bug with iostream.h?
From: Mike Stump
Date: Sat, 29 Aug 1992 14:25
Date: Sat, 29 Aug 1992 14:25
37 lines
1630 bytes
1630 bytes
I suspect this is a problem with libg++. You need to report bugs or problems in libg++ to the bug-lib-g++@prep.ai.mit.edu list. libg++-2.2 I believe corrects these problems. > Date: Thu, 23 Jul 92 00:14:29 +0100 > From: jb145@eng.cam.ac.uk > Message-Id: <9207222314.AA27182@caxton> > To: bug-gcc@prep.ai.mit.edu > #I've been having a very frustrating problem with iostream.h in gcc > version 2.0(?). I am running g++ on a Decstation mips machine. > Is there any known bug in the compiler with respect to buffered input > int from; cin >> from; > then the program runs fine, looping forever without keyboard input. > But when the line is left in, then it works fine for about 100 or 200 > inputs cycles until suddenly crashing with a message like: > grow failed because stack limit exceeded, pid 26935, proc play > ts = 0x1c, ds = 0x1d, ss = 0x80 > Segmentation fault (core dumped) > I have been chasing this problem for over two weeks and am hoping, > begging that you will have a clue what might be causing it. By the > way, I've tried lots of hacks such as replacing > cin >> from; > with > char str[5]; cin >> str; from = atoi(str); > but the crash remains despite all my efforts.
Technical Details
Message-ID:
<9208291425.AA29141@cygnus.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!mrsShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!mrs From: mrs@cygnus.com (Mike Stump) Subject: Re: bug with iostream.h? Message-ID: <9208291425.AA29141@cygnus.com> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Sat, 29 Aug 1992 14:25:17 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 38