#451 closed defect (fixed)
Fall of the program executing the AIA function
Reported by: | Chakib Faghloumi | Owned by: | Víctor de Buen Remiro |
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | Kernel | Version: | 1.1.4 |
Severity: | blocker | Keywords: | |
Cc: |
Description
Hi
executing this code the tol fall,
Text CtC.D = "C-WD(7)";
Text Dating = CtC.D;
TimeSet Dating = Eval(Dating );
Serie Sr = Gaussian(0, 1 , Dating)*CalInd(C-Day(y2006m11d23),Dating)+ 20*Pulse(y2006m11d20, Dating) ;
Serie subSr = SubSer(Sr, y2004, y2007);
Serie AutoSr = AutoDating(subSr);
Set SetSr = SetOfSerie(AutoSr);
Polyn ARI = 1.0000000000-0.2676547219*B-B6+0.2676547219*B7;
Polyn MA = 1.0000000000-0.8630160567*B6;
Ration PiW = ARI/MA;
Set Outliers = SetOfRation
(
PulseOut
);
Set AIA(SetSr[1], PiW, Outliers)
/
Change History (5)
comment:1 Changed 18 years ago by
Owner: | changed from danirus to Víctor de Buen Remiro |
---|
comment:2 Changed 18 years ago by
Status: | new → assigned |
---|
comment:3 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Bug has been fixed in CVS
Problem is due to dating of AutoSr is local to AutoDating function and so unnaccessible for posterior callin of AIA. Afterwards an error in AIA caused TOL crashes but this has been fixed already.
If you writes
TimeSet autoDating = SerTms(subSr);
Serie AutoSr = DatCh(subSr,autoDating,FirstS);
instead of
Serie AutoSr = AutoDating(subSr);
you will avoid this problem.
Please, remeber: using local TimeSet's is a very dangerous use of TOL
Thanks to report.
comment:4 Changed 18 years ago by
A new test tol_tests/tol/Bugzilla/bug_000451 has been added to CVS to avoid this problem in future
comment:5 Changed 18 years ago by
bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000451 |
---|
We are working about this bug
Thanks to report it