Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Segmentation fault using some functions of tcl::clock

Closed / Fixedd19a30db57441eb1b522d9ff4ec5a59fbaf51972Created 13 years agoUpdated 13 years ago
Descriptionhtml2014-03-31 16:43:42

Segfault with abnormal program termination. Reason for this was the call of GetJulianDayFromEraYearMonthDay with unexpected argument. Hier is an example:

tcl::clock::GetJulianDayFromEraYearMonthDay {} 2361222

Referenced by6
sebres Ticket [d19a30db57]: 5 changes [History diff]2014-03-31 16:45:12
sebresplain2014-04-16 13:26:17
Fixed within [e336aa2db0]
Barely good solution regards to error message (one for all cases), but still much better as segfaulting with hard exit.
dgpplain2014-04-16 15:29:29
added test and merged both to trunk.
sebresplain2014-04-16 15:31:27
Another function was affected and has been fixed also:
tcl::clock::GetJulianDayFromEraYearWeekDay {} 2361222
dgpplain2014-04-16 15:39:04
Thanks for the additional test.
Repaired so it's actually effective.
Log in (anonymous is fine) to add a comment.