Skip to content
Tcl Source Code History Of Ticket e663138a06d98e48b5fbb42cc015cf1698f486cd
Login

History Of Ticket e663138a06d98e48b5fbb42cc015cf1698f486cd

Artifacts Associated With Ticket e663138a06d98e48b5fbb42cc015cf1698f486cd

  1. Ticket change [9b8d7edf0c] (rid 137550) by jan.nijtmans on 2014-04-09 12:40:22:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      When running the test-suite on Win32 or Win64, see test results below:
      I see those failures only on Windows, not on UNIX or Cygwin.
      
      Bisecting shows that this problem was introduced with commit [f74647ceeb7e1692]
      
      ==========================================================
      Tests began at Wed Apr 09 14:17:33 CEST 2014
      obj.test
      
      
      ==== obj-33.1 integer overflow on input FAILED
      ==== Contents of test case:
      
          set x 0x8000; append x 0000
          list [string is integer $x] [expr { wide($x) }]
      
      ---- Result was:
      0 2147483648
      ---- Result should have been (exact matching):
      1 2147483648
      ==== obj-33.1 FAILED
      
      
      
      ==== obj-33.2 integer overflow on input FAILED
      ==== Contents of test case:
      
          set x 0xffff; append x ffff
          list [string is integer $x] [expr { wide($x) }]
      
      ---- Result was:
      0 4294967295
      ---- Result should have been (exact matching):
      1 4294967295
      ==== obj-33.2 FAILED
      
      
      
      ==== obj-33.5 integer overflow on input FAILED
      ==== Contents of test case:
      
          set x -0x8000; append x 0001
          list [string is integer $x] [expr { wide($x) }]
      
      ---- Result was:
      0 -2147483649
      ---- Result should have been (exact matching):
      1 -2147483649
      ==== obj-33.5 FAILED
      
      
      
      ==== obj-33.6 integer overflow on input FAILED
      ==== Contents of test case:
      
          set x -0xffff; append x ffff
          list [string is integer $x] [expr { wide($x) }]
      
      ---- Result was:
      0 -4294967295
      ---- Result should have been (exact matching):
      1 -4294967295
      ==== obj-33.6 FAILED
      
      
      Tests ended at Wed Apr 09 14:17:33 CEST 2014
      all.tcl:        Total   90      Passed  86      Skipped 0       Failed  4
      Sourced 1 Test Files.
      Files with failing tests: obj.test
      
    5. foundin initialized to: "f74647ceeb7e1692"
    6. is_private initialized to: "0"
    7. login: "jan.nijtmans"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Critical"
    11. status initialized to: "Open"
    12. submitter initialized to: "jan.nijtmans"
    13. subsystem initialized to: "11. Conversions from String"
    14. title initialized to: "Test failures in "string is""
    15. type initialized to: "Bug"
  2. Ticket change [c34d785347] (rid 137551) by jan.nijtmans on 2014-04-09 12:40:52:

    1. assignee changed to: "dkf"
    2. login: "jan.nijtmans"
    3. mimetype: "text/plain"
  3. Ticket change [7e89dcfccb] (rid 137552) by jan.nijtmans on 2014-04-09 13:38:17:

    1. icomment:
      Just tried the same on Cygwin32, it gave exactly the same failures.
      The reason the failures do not occur on Cygwin64 (or any other 64-bit
      platform !- Win64) is that the constraint "wideBiggerThanInt" is
      not set, which disables those test-cases.
      
      The difference with Tcl 8.5 can be seen here:
      $ tclsh8.5
      % string is integer -4294967295
      1
      % string is integer -4294967296
      0
      % exit
      
      $ tclsh8.6
      % string is integer -2147483648
      1
      % string is integer -2147483649
      0
      % exit
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/plain"
  4. Ticket change [f97e8622b1] (rid 137555) by jan.nijtmans on 2014-04-10 07:55:17:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2456757.83006847"
    3. closer changed to: "jan.nijtmans"
    4. icomment: "Fixed in [772c763815]"
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
  5. Ticket change [616a727781] (rid 137581) by dgp on 2014-04-14 15:03:38:

    1. assignee changed to: "dgp"
    2. closer changed to: "nobody"
    3. icomment:
      The patch committed is effective for the set
      of symptoms reported, but doesn't address the
      deeper defect.
      
      The INST_NUM_TYPE instruction appears based on
      the premise that the type values returned by
      TclGetNumberFromObj() map onto the classifications
      sorted by [string is].  That premise is false.
      
      More bugs like this, I'm sure, can be demonstrated
      at the other boundaries between integer classifications.
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. status changed to: "Open"
  6. Ticket change [2d621fec29] (rid 137583) by dgp on 2014-04-14 16:44:09:

    1. icomment:
      Clearest bug on current trunk on typical 64-bit
      systems:
      
      % string is integer 0x100000000
      1
      
      We really don't cover this in the test suite?
      Really?
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  7. Ticket change [01fd33f2de] (rid 137584) by dgp on 2014-04-14 17:14:27:

    1. icomment:
      confirmed this bug also arrived with
      
      2014-02-02 16:01:21 f74647ceeb7e1692 BAD
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  8. Ticket change [1cfee298e0] (rid 137585) by dgp on 2014-04-14 17:23:27:

    1. icomment:
      Tests string-6.9[2-4] test this boundary, but
      they are non-compiled cases only, so didn't pick
      up on this incompat.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  9. Ticket change [b201ffc640] (rid 137588) by dgp on 2014-04-14 18:45:45:

    1. closedate changed to: "2456762.28177164"
    2. closer changed to: "dgp"
    3. icomment: "Fixed in trunk."
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
  10. Ticket change [ee7911a242] (rid 137600) by jan.nijtmans on 2014-04-15 10:46:58:

    1. closedate changed to: "2456762.94929019"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      > We really don't cover this in the test suite?
      > Really?
      Now we do. Thanks Don!!!! [f13e5bd0cf9c495ff876bda3b1dd8f125b9bd4f1|f13e5bd0cf]
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"