Opened 19 years ago
Closed 19 years ago
#476 closed defect (fixed)
Command involving Serie and TimeSet crashes TOL
| Reported by: | lmartiles | Owned by: | Víctor de Buen Remiro |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | TimeSetAlgebra | Version: | 1.1.5 |
| Severity: | blocker | Keywords: | |
| Cc: |
Description
The sequence of commands
Set pobDec = SetOfReal(18616630, 19990669, 21388551, 23677095, 26014278, 28117873, 30582936, 33956047, 37742561, 39433942);
Serie pobDecenalEspagna = MatSerSet(SetRow(pobDec),Periodic(y1900,10,Anual),y1900)[1];
produces a TOLBase crash.
It also occurs for older versions (1.1.4).
Change History (2)
comment:1 Changed 19 years ago by
| Owner: | changed from danirus to Víctor de Buen Remiro |
|---|
comment:2 Changed 19 years ago by
| bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000476 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Problem has been solved in HEAD and v1.1.5
It will be disposable at downloads area from next build v1.1.5 b.5
In BTimeSerie::PutDating condition to increment references of the dating_ member of a time serie was
if(dating_ && !dating_->System() && dating_->Level())
Now it has been replaced by
if(dating_ && !dating_->System() && (dating_->Level() !dating_->HasName()))
in order to consider this case.
A new test has been added at
http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000476

Thanks to report it