Artifacts Associated With Ticket a858d95f4bfddafb
Ticket change [df2a34a5da] (rid 225572) by anonymous on 2024-05-07 14:37:14:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-plain"
- comment initialized to:
This code snippet results in the segmenting error of Tcl v8.7: puts [clock format [clock seconds] -format noarr(%d)] The error doesn't occur before and after v8.7, thus possibly needs a scrupulous attention. - foundin initialized to: "8.7"
- is_private initialized to: "0"
- login: "anonymous"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "anonymous"
- subsystem initialized to: "07. Variables"
- title initialized to: "segmenting error of v8.7 [clock]"
- type initialized to: "Bug"
Ticket change [78ecd9f55c] (rid 225573) by jan.nijtmans on 2024-05-07 14:52:13:
- assignee changed to: "sebres"
- icomment:
I can reproduce both in 8.7 and 9.0: <pre> $ tclsh9.0 % puts [clock format [clock seconds] -format noarr(%d)] Segmentation fault $ tclsh8.7 % puts [clock format [clock seconds] -format noarr(%d)] Segmentation fault </pre> Sergey, can you have a look, please?
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
Ticket change [005c5933e9] (rid 225584) by anonymous on 2024-05-07 15:35:49:
- icomment:
Сергей, на тебя вся надежда:) I can not reproduce this error with wish9.0. So, another issue: why tclsh9.0 fails, while wish9.0 not.
- login: "anonymous"
- mimetype: "text/x-markdown"
- icomment:
Ticket change [023350857f] (rid 225586) by jan.nijtmans on 2024-05-07 16:42:35:
- icomment:
I see exactly the same error in wish8.7 and wish9.0
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [eaa16dae6c] (rid 225587) by jan.nijtmans on 2024-05-07 16:48:00:
- icomment:
Stacktrace: <pre> 0 libsystem_platform.dylib 0x7ff815c8c350 _platform_memmove$VARIANT$Haswell + 496 1 tktest 0x102b3155d ClockFormat + 1645 (tclClockFmt.c:3503) 2 tktest 0x102b283a9 ClockFormatObjCmd + 249 (tclClock.c:3569) 3 tktest 0x102b13538 Dispatch + 120 (tclBasic.c:4608) 4 tktest 0x102b0f7c6 TclNRRunCallbacks + 118 (tclBasic.c:4624) </pre>
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [2ae1fd8b85] (rid 225588) by jan.nijtmans on 2024-05-07 16:52:08:
- icomment:
That's [https://core.tcl-lang.org/tcl/file?ln=3503&ci=ba61f74630229cdf&name=generic%2FtclClockFmt.c|here]
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [a8be472a1f] (rid 225592) by sebres on 2024-05-07 19:10:46:
- assignee changed to: "nobody"
- closedate changed to: "2460438.29914559"
- closer changed to: "sebres"
- icomment:
Fixed in [c432a8b50b3de8bb] for 8.7. Additionally I'll try to rewrite both routines a bit (to avoid unneeded realloc) and then merge it to 9.0.
- login: "sebres"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- subsystem changed to: "16. Commands A-H"
Ticket change [a5d7328b0a] (rid 225601) by jan.nijtmans on 2024-05-07 21:39:48:
- closedate changed to: "2460438.40264081"
- closer changed to: "jan.nijtmans"
- icomment:
Confirming the fix. Many thanks to anonymous for the bug-report! Many thanks to Sergey for the fixing this so quickly!
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"