#351 closed defect (fixed)
Unknown crash in Serie function
Reported by: | César Pérez Álvarez | Owned by: | Víctor de Buen Remiro |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Various | Version: | head |
Severity: | major | Keywords: | |
Cc: |
Description
When we compile this:
Serie IntTrend(Serie ind)
{
Serie ten = DifEq(1/(1-B),SubSer(ind,y2002, y2020));
ten - (0*ind)<<Expand(B:(ind * ten)*Not(ind),0)
};
Serie IndNav = CalInd((Range(M(12)*D(1),0,36)),Diario);
Serie IntTNav2 = IntTrend(IndNav)2;
Tol breaks down. If we try to isolate the error with this code:
Serie ind = IndNav;
Serie ten = DifEq(1/(1-B),SubSer(ind,y2002, y2020));
Serie res = (ten - (0*ind)<<Expand(B:(ind * ten)*Not(ind),0))2;
It runs perfectly.
And the last one, if we compile this:
Serie IntTrend(Serie ind)
{
Serie ten = DifEq(1/(1-B),SubSer(ind,y2002, y2020));
ten - (0*ind)<<Expand(B:(ind * ten)*Not(ind),0)
};
Serie IndNav = CalInd((Range(M(12)*D(1),0,36)),Diario);
Serie IntTNav2 = IntTrend(IndNav);
It runs perfectly. I think that this bug is related with '2' when we use
the function IntTrend.
Change History (4)
comment:1 Changed 19 years ago by
Owner: | changed from danirus to Víctor de Buen Remiro |
---|
comment:2 Changed 19 years ago by
Status: | new → assigned |
---|
comment:3 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Well, this bug has been corrected in CVS.
In btol/bgrammar/tol_bgentmp.h there was a dangerous undefined initialiazation
of BSyntaxObject BTmpObject<Any>::array_. It must be NULL
comment:4 Changed 18 years ago by
bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000351 |
---|
Thanks for report this bug. We are working about it