Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2025-12-29
02:54 • Closed ticket [1819da1b50]: UBsan errors in clock plus 6 other changes artifact: 57a2f7b3f2 user: apnadkarni
00:18 • Ticket [1819da1b50]: 3 changes artifact: 01a5a9482d user: chrstphrchvz
2025-12-28
05:38 • New ticket [1819da1b50]. artifact: 17904ae22c user: apnadkarni

UBsan errors in clock

Closed / Duplicate1819da1b50f2f1fc0bc4edf89146efe5aab1eb18Created 340 days agoUpdated 339 days ago
Descriptionmarkdown2025-12-28 05:38:05
Test file error: /mnt/c/src/tcltk/wip/tcl/generic/tclClockFmt.c:194:10: runtime error: signed integer overflow: -9223372036854775800 - 9 cannot be represented in type 'long long int'
/mnt/c/src/tcltk/wip/tcl/generic/tclClockFmt.c:184:10: runtime error: signed integer overflow: 9223372036854775800 + 8 cannot be represented in type 'long long int'
/mnt/c/src/tcltk/wip/tcl/generic/tclClockFmt.c:184:16: runtime error: signed integer overflow: 2767011611056432742 * 10 cannot be represented in type 'long long int'
/mnt/c/src/tcltk/wip/tcl/generic/tclClockFmt.c:184:16: runtime error: signed integer overflow: 2767011611056432742 * 10 cannot be represented in type 'long long int'
/mnt/c/src/tcltk/wip/tcl/generic/tclClockFmt.c:184:10: runtime error: signed integer overflow: 9223372036854775804 + 4 cannot be represented in type 'long long int'
/mnt/c/src/tcltk/wip/tcl/generic/tclClockFmt.c:194:16: runtime error: signed integer overflow: -2767011611056432742 * 10 cannot be represented in type 'long long int'
chrstphrchvzwiki2025-12-29 00:18:59

I reported similar errors in [96e5c814].

apnadkarniplain2025-12-29 02:54:27
Oh, didn't realize. Closing as duplicate.
Log in (anonymous is fine) to add a comment.