Tcl Source Code

View Ticket
Login
Ticket UUID: d19a30db57441eb1b522d9ff4ec5a59fbaf51972
Title: Segmentation fault using some functions of tcl::clock
Type: Bug Version: all
Submitter: sebres Created on: 2014-03-31 16:43:42
Subsystem: 16. Commands A-H Assigned To: dgp
Priority: 7 High Severity: Critical
Status: Closed Last Modified: 2014-04-16 15:39:04
Resolution: Fixed Closed By: dgp
    Closed on: 2014-04-16 15:39:04
Description:

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

tcl::clock::GetJulianDayFromEraYearMonthDay {} 2361222

User Comments: dgp added on 2014-04-16 15:39:04:
Thanks for the additional test.
Repaired so it's actually effective.

sebres added on 2014-04-16 15:31:27:
Another function was affected and has been fixed also:
tcl::clock::GetJulianDayFromEraYearWeekDay {} 2361222

dgp added on 2014-04-16 15:29:29:
added test and merged both to trunk.

sebres added on 2014-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.