Re: Problem with STk 3.99.4 on Solaris 2.6

From: Paul Anderson <paul_at_grammatech.com>
Date: Thu, 09 Dec 1999 09:54:54 -0500

Erick:

> > I have a user with our STk application (based on 3.99.4) running
> > on Solaris 2.6. He sees runtime errors in the application
> > that I am finding impossible to reproduce with my machine, even
> > if I try to make it as similar as possible to his.
> >
> > The symptoms differ from run to run. But they seem to fall
> > into the following classes:
> >
> > 1. Messed-up stack or environment. The stack trace shows
> > a call to a function, but the arguments to that function
> > are wrong. That is, the stack trace shows that the function
> > was called with several arguments - a text widget and a few frame
> > widgets. However, in the text of the program there is only
> > one ocurrence of a call to that function, and its arguments
> > are a text widget, an instance of a class, and an integer.
> >
> > 2. Functions called mysteriously. A run of the program with
> > a set of arguments that ought to preclude it from ever
> > calling a certain function ends up calling that function
> > anyway.
> >
> > The problem does not appear to be related to either the
> > window manager or the X resources, as he can run it
> > using an X server on his laptop and it still exhibits
> > the same set of problems.
> >
> > Has anyone seen anything like this before?
> >
> Hopefully NO : :-)
>
> > Does anyone have any clue as to why this might be happening?
> >
>
> It seems to be something which is GC releated. even if I have never
> seen the behaviour you describe, my experience is that "when it weird,
> it's the GC". I really don't like what you have describe
> above. Perhaps to be sure that this is the GC, you could try to
> change the number of nitials cells to a very big number and to very
> little one and see if you have a difference. Tell me what it gives.

I'm on it!

New data: If I build the library libstk.a on Solaris 2.6 it
works perfectly. If I build it on Solaris 2.5.1 and run it
on Solaris 2.6 it fails.

I am working on narrowing this down. I expect to have the
answer very soon.

Paul.


 
______
Paul Anderson. GrammaTech, Inc. Tel: +1 607 273-7340
mailto:paul_at_grammatech.com http://www.grammatech.com
Received on Thu Dec 09 1999 - 17:07:38 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST