[Ecls-list] uninitialized ihs_frame object in call to ecl_cs_check

Waldek Hebisch hebisch at math.uni.wroc.pl
Thu Nov 6 10:54:49 UTC 2008


Gabriel Dos Reis wrote:
> On Thu, Nov 6, 2008 at 4:02 AM, Gabriel Dos Reis <gdr at cs.tamu.edu> wrote:
> > Hi Juanjo,
> >
> >  I was investigating some obscure `segmentation fault' (on MAC OS) or
> > `stack over flow' (on x86) bug in a ECL-based OpenAxiom build, when I
> > got prompted to look into src/c/interpreter.d:ecl_interpret().  It looks
> > to me that given:
> >
> >        struct ecl_stack_frame frame_aux;
> >        volatile struct ihs_frame ihs;
> >
> >        ecl_cs_check(ihs);
> >
> > the object `ihs' is never initialized before call to ecl_cs_check.
> > That looks to me like a serious bug.
> 
> Upon reading further the code, no, that is not a serious bug.
> 
> But, I'm still puzzled by this curious bug (which I think Waldek
> also alluded to at some point in the past).

I do not think that I meet this bug.  I had problems with FriCAS
crashing when it should quit -- this was due due segfault unloading
shared libraries.  It seems that problem with shared libraries
is fixed in newest ECL, at least I do not see it using CVS version.

-- 
                              Waldek Hebisch
hebisch at math.uni.wroc.pl 




More information about the ecl-devel mailing list