Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sfsup.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!mhuxm!sftig!sfsup!rbm From: rbm@sfsup.UUCP (R.B.Murray) Newsgroups: net.lang.c++ Subject: Re: core dump when using stream I/O Message-ID: <259@sfsup.UUCP> Date: Thu, 15-May-86 11:17:06 EDT Article-I.D.: sfsup.259 Posted: Thu May 15 11:17:06 1986 Date-Received: Sat, 17-May-86 02:19:53 EDT References: <2799@sdcrdcf.UUCP> Organization: AT&T Information Systems, Summit N.J. Lines: 17 > Hi, I am attempting to get C++ up and running on a VAX-780 running 4.2bsd. > The problem I am having is that whenever I attempt to use the stream output > mechanism of C++ I get a bus error. Has anybody else experienced this? I assume > it is a problem either in libC.a or in stream.h etc. Any help would > be most appreciated. > > Thanks, > Harry Reed Make sure your static constructors are working. The streams package uses static constructors to initialize things; if for some reason your static constructors aren't being called, you will get a core dump the first time you try to do any stream I/O. Rob Murray AT&T Summit, NJ