close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#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 Víctor de Buen Remiro

Owner: changed from danirus to Víctor de Buen Remiro

We are working about this bug
Thanks to report it

comment:2 Changed 18 years ago by Víctor de Buen Remiro

Status: newassigned

comment:3 Changed 18 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: assignedclosed

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 Víctor de Buen Remiro

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 Víctor de Buen Remiro

bug_file_loc: http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000451
Note: See TracTickets for help on using tickets.