[comp.sys.amiga.tech] Lattice CPR

rlcarr@athena.mit.edu (Rich Carreiro) (02/27/89)

Is anyone out there having problems with the Lattice 5.02 CPR?  I can't do
anything useful with it becouse it keeps crashing, sometimes back to
KickStart (I have 1.3).  I have come across two situations that
consistently cause GURUs.

1) an OpenScreen() call.  In three separate programs, CPR gurus when
OpenScreen() is called.  I am NOT stepping into functions or reslibs.
I even set breakpoints AFTER the call so I am in do danger of sttopping
in the call and it still crashes (usually with a Guru #3).  I have tried
prototypes and no prototypes, registerized params, and standard params,
and all 5 debugging levels.

2) any real from stdin.  Whether I step or 'go', I crash as soons as
I hit any read from stdin.  Again, I've tried everything.  This has 
happened in 5 different programs, including a simple program that
only has a scanf() in it.

3) CPR seems to randomly crash when starting up.  It will tell me how
many modules, functions, and symbols there are, the put up its screen,
showing only source.  Then it will die.  I can move the mouse, open
menus, activate different windows, but the program will ignore everything.
The rest of the machine keeps running, though a guru happens after a short 
time - this susually blows me back to KickStart.

Any enlightenment out there?

Also, how do you make and use precompiled header files with Lattice 5.02 ?

As usual, all comments appreciated.

ARPA:    rlcarr@athena.mit.edu
UUCP:    {wherever}!mit-eddie!mit-athena!rlcarr
BITNET:  rlcarr%athena.mit.edu@MITVMA.mit.edu


*******************************************************************************
* Rich Carreiro                 "Back off man, I'm a scientist."              *
* rlcarr@athena.mit.edu                - Dr. Peter Venkman                    *
*******************************************************************************

fgd3@jc3b21.UUCP (Fabbian G. Dufoe) (02/28/89)

From article <9470@bloom-beacon.MIT.EDU>, by rlcarr@athena.mit.edu (Rich Carreiro):
> 
> Is anyone out there having problems with the Lattice 5.02 CPR?
> 
> 1) an OpenScreen() call.
> 
> 2) any real from stdin.
> 
> 3) CPR seems to randomly crash when starting up.

     Did you have similar problems with version 5.00?  I haven't received
the upgrade to 5.02 yet.  I haven't had the problems you reported with
5.00.  I wonder if something broke in 5.02 or if you've been experiencing
these problems all along.

--Fabbian Dufoe
  350 Ling-A-Mor Terrace South
  St. Petersburg, Florida  33705
  813-823-2350

UUCP: ...uunet!pdn!jc3b21!fgd3

rlcarr@athena.mit.edu (Rich Carreiro) (03/01/89)

In article <587@jc3b21.UUCP> fgd3@jc3b21.UUCP (Fabbian G. Dufoe) writes:
>From article <9470@bloom-beacon.MIT.EDU>, by rlcarr@athena.mit.edu (Rich Carreiro):
>> Is anyone out there having problems with the Lattice 5.02 CPR?
>> 1) an OpenScreen() call.
>> 2) any read from stdin.
>> 3) CPR seems to randomly crash when starting up.
>     Did you have similar problems with version 5.00?  I haven't received
>the upgrade to 5.02 yet.  I haven't had the problems you reported with
>5.00.  I wonder if something broke in 5.02 or if you've been experiencing
>these problems all along.

Sure enough - when I went back to the unpatched CPR (CPR 1.0), all the
problems I had went away.  So, considering that Lattice forgot to
include lcmsr.lib in the patch, and I have found 3 errors in the header
files, and now this, the question arises:  when will Lattice
patch the patch?

ARPA:    rlcarr@athena.mit.edu
UUCP:    {wherever}!mit-eddie!mit-athena!rlcarr
BITNET:  rlcarr%athena.mit.edu@MITVMA.mit.edu

*******************************************************************************
* Rich Carreiro                 "Back off man, I'm a scientist."              *
* rlcarr@athena.mit.edu                - Dr. Peter Venkman                    *
*******************************************************************************

rlcarr@athena.mit.edu (Rich Carreiro) (03/04/89)

In article <9529@bloom-beacon.MIT.EDU> rlcarr@athena.mit.edu (Rich Carreiro) writes:
>In article <587@jc3b21.UUCP> fgd3@jc3b21.UUCP (Fabbian G. Dufoe) writes:
>>From article <9470@bloom-beacon.MIT.EDU>, by rlcarr@athena.mit.edu (Rich Carreiro):
>>> Is anyone out there having problems with the Lattice 5.02 CPR?

>>> 1) an OpenScreen() call.

>>> 2) any read from stdin.

>>> 3) CPR seems to randomly crash when starting up.

>>     Did you have similar problems with version 5.00?  I haven't received
>>the upgrade to 5.02 yet.  I haven't had the problems you reported with
>>5.00.  I wonder if something broke in 5.02 or if you've been experiencing
>>these problems all along.

>Sure enough - when I went back to the unpatched CPR (CPR 1.0), all the
>problems I had went away.  So, considering that Lattice forgot to
>include lcmsr.lib in the patch, and I have found 3 errors in the header
>files, and now this, the question arises:  when will Lattice
>patch the patch?

Since I started this chain, I may as well finish it.
After getting a friend to post this to BIX, I received the
suggestion, "increase stack space."  AHA!  I keep forgetting to
think about stack space when Bad Things happen.  I raised it to
20000 from 10000 and the problems went away.  I don't even want to
think of the hours I spent rebooting and rebooting and rebooting
[thank God for bootable RAD:, except when the guru took me to KS].

So, if you've been having trouble with CPR 1.02, try increasing the
stack.  If you still have problems, please tell me, so I don't beat my
brains out again when I run across them.

Thanks!

ARPA:    rlcarr@athena.mit.edu
UUCP:    {wherever}!mit-eddie!mit-athena!rlcarr
BITNET:  rlcarr%athena.mit.edu@MITVMA.mit.edu

*******************************************************************************
* Rich Carreiro                 "Back off man, I'm a scientist."              *
* rlcarr@athena.mit.edu                - Dr. Peter Venkman                    *
*******************************************************************************