Message 21

Re: Help.compile

X-Added: With Flames (bblib $Revision: 1.4 $)
Return-path: <jiayu@andrew.cmu.edu>
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: from po0.andrew.cmu.edu via trymail for bb+academic.cs.15-721@andrew.cmu.edu
          ID </afs/andrew.cmu.edu/usr0/bb/Mailbox/svf=YJu00UdYQpRk5a>;
          Sat, 22 Sep 2001 12:15:17 -0400 (EDT)
Received: from smtp5.andrew.cmu.edu (SMTP5.ANDREW.CMU.EDU [128.2.10.85])
        by po0.andrew.cmu.edu (8.9.3/8.9.3) with ESMTP id MAA13683
        for <bb+academic.cs.15-721@ams.andrew.cmu.edu>; Sat, 22 Sep 2001 12:15:17 -0400 (EDT)
Received: from UNIX5.ANDREW.CMU.EDU (UNIX5.ANDREW.CMU.EDU [128.2.11.205])
        (user=jiayu mech=KERBEROS_V4 (0 bits))
        by smtp5.andrew.cmu.edu (8.12.0.Beta16/8.12.0.Beta16) with ESMTP id f8MGFG7l013263;
        Sat, 22 Sep 2001 12:15:16 -0400
Date: Sat, 22 Sep 2001 12:15:17 -0400 (EDT)
From: Jia-Yu Pan <jiayu@andrew.cmu.edu>
To: <bb+academic.cs.15-721@andrew.cmu.edu>
cc: <jiayu@andrew.cmu.edu>
Subject: Re: Help.compile
In-Reply-To: <wvf=OUi00UjLEC7qIP@andrew.cmu.edu>
Message-ID: <Pine.GSO.4.33L-022.0109221210030.2667-100000@unix5.andrew.cmu.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Well, I just started and only did little coding like:
1) adding dummy bufmgr member functions that simply return naive values in
buf.C,
2) add codes from ErrProc.sample to buf.h and buf.C.
3) add several printf to trace where the program goes,
4) and before running into the first test, at the line shown below
the program halts.

didn't call any  MINIBASE_FIRST_ERROR, MINIBASE_CHAIN_ERROR
 or MINIBASE_RESULTING_ERROR yet.

Thanks again.

> > I try to compile the file, and got a segmentation fault at:
> >
> > void TestDriver::runTest( Status& status, TestDriver::testFunction test )
> > {...
> > minibase_errors.clear_errors();   <=== segmentation fault
> > ...}
> >
> > What should I do for this? Thanks.
>
> Probably impossible to tell without at least a backtrace, but
> looking carefully at any MINIBASE_FIRST_ERROR, MINIBASE_CHAIN_ERROR
> or MINIBASE_RESULTING_ERROR invocations.