Skip to content
Tcl Source Code History Of Ticket a858d95f4bfddafb
Login

History Of Ticket a858d95f4bfddafb

Artifacts Associated With Ticket a858d95f4bfddafb

  1. Ticket change [df2a34a5da] (rid 225572) by anonymous on 2024-05-07 14:37:14:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. 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.
      
    5. foundin initialized to: "8.7"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Important"
    11. status initialized to: "Open"
    12. submitter initialized to: "anonymous"
    13. subsystem initialized to: "07. Variables"
    14. title initialized to: "segmenting error of v8.7 [clock]"
    15. type initialized to: "Bug"
  2. Ticket change [78ecd9f55c] (rid 225573) by jan.nijtmans on 2024-05-07 14:52:13:

    1. assignee changed to: "sebres"
    2. 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?
      
    3. login: "jan.nijtmans"
    4. mimetype: "text/x-fossil-wiki"
  3. Ticket change [005c5933e9] (rid 225584) by anonymous on 2024-05-07 15:35:49:

    1. icomment:
      Сергей, на тебя вся надежда:)
      
      I can not reproduce this error with wish9.0.
      
      So, another issue: why tclsh9.0 fails, while 
      wish9.0 not.
      
    2. login: "anonymous"
    3. mimetype: "text/x-markdown"
  4. Ticket change [023350857f] (rid 225586) by jan.nijtmans on 2024-05-07 16:42:35:

    1. icomment:
      I see exactly the same error in wish8.7 and wish9.0
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  5. Ticket change [eaa16dae6c] (rid 225587) by jan.nijtmans on 2024-05-07 16:48:00:

    1. 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>
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  6. Ticket change [2ae1fd8b85] (rid 225588) by jan.nijtmans on 2024-05-07 16:52:08:

    1. icomment:
      That's [https://core.tcl-lang.org/tcl/file?ln=3503&ci=ba61f74630229cdf&name=generic%2FtclClockFmt.c|here]
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  7. Ticket change [a8be472a1f] (rid 225592) by sebres on 2024-05-07 19:10:46:

    1. assignee changed to: "nobody"
    2. closedate changed to: "2460438.29914559"
    3. closer changed to: "sebres"
    4. 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.
      
    5. login: "sebres"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. subsystem changed to: "16. Commands A-H"
  8. Ticket change [a5d7328b0a] (rid 225601) by jan.nijtmans on 2024-05-07 21:39:48:

    1. closedate changed to: "2460438.40264081"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      Confirming the fix.
      
      Many thanks to anonymous for the bug-report! Many thanks to Sergey for the fixing this so quickly!
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"