Skip to content
Tcl Source Code History Of Ticket 3601260fffffffff
Login

History Of Ticket 3601260fffffffff

Artifacts Associated With Ticket 3601260fffffffff

  1. Ticket change [87560c4aa6] (rid 131678) by nijtmans on 2013-01-17 14:54:55:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Running env.test on Win32 (core-8-5-branch) gives following errors, see below.
      
      The strange thing is:
      - Although merged to "turnk" already, the problem doesn't appear on trunk, only on core-8-5-branch.
      - Only win32 shows the problem, on UNIX there is no problem.
      
      So, I suspect that the patch is OK, but it exposes another
      variable-related bug on Win32. What to do? The simplest
      is to revert the change on core-8-5-branch (place back
      the previous tclVar.c, and then
      merge-mark to trunk.
      
      Regards,
                Jan Nijtmans
      ======================================================
      Tests began at Thu Jan 17 15:45:51 CET 2013
      env.test
      
      
      ==== env-2.1 adding environment variables FAILED
      ==== Contents of test case:
      
          getenv
      
      ---- Result was:
      child killed: segmentation violation
      ---- Result should have been (exact matching):
      
      ==== env-2.1 FAILED
      
      
      
      ==== env-2.2 adding environment variables FAILED
      ==== Contents of test case:
      
          getenv
      
      ---- Result was:
      child killed: segmentation violation
      ---- Result should have been (exact matching):
      NAME1=test string
      ==== env-2.2 FAILED
      
      
      
      ==== env-2.3 adding environment variables FAILED
      ==== Contents of test case:
      
          getenv
      
      ---- Result was:
      child killed: segmentation violation
      ---- Result should have been (exact matching):
      NAME1=test string
      NAME2=more
      ==== env-2.3 FAILED
      
      
      
      ==== env-2.4 adding environment variables FAILED
      ==== Contents of test case:
      
          getenv
      
      ---- Result was:
      child killed: segmentation violation
      ---- Result should have been (exact matching):
      NAME1=test string
      NAME2=more
      XYZZY=garbage
      ==== env-2.4 FAILED
      
      
      
      ==== env-3.1 changing environment variables FAILED
      ==== Contents of test case:
      
          set result [getenv]
          unset env(NAME2)
          set result
      
      ---- Result was:
      child killed: segmentation violation
      ---- Result should have been (exact matching):
      NAME1=test string
      NAME2=new value
      XYZZY=garbage
      ==== env-3.1 FAILED
      
      
      
      ==== env-4.1 unsetting environment variables FAILED
      ==== Contents of test case:
      
          set result [getenv]
          unset env(NAME1)
          set result
      
      ---- Result was:
      child killed: segmentation violation
      ---- Result should have been (exact matching):
      NAME1=test string
      XYZZY=garbage
      ==== env-4.1 FAILED
      
      
      
      ==== env-4.2 unsetting environment variables FAILED
      ==== Contents of test case:
      
          set result [getenv]
          unset env(XYZZY)
          set result
      
      ---- Result was:
      child killed: segmentation violation
      ---- Result should have been (exact matching):
      XYZZY=garbage
      ==== env-4.2 FAILED
      
      
      
      ==== env-4.3 setting international environment variables FAILED
      ==== Contents of test case:
      
          set env(\ua7) \ub6
          getenv
      
      ---- Result was:
      child killed: segmentation violation
      ---- Result should have been (exact matching):
      \u00a7=\u00b6
      ==== env-4.3 FAILED
      
      
      
      ==== env-4.4 changing international environment variables FAILED
      ==== Contents of test case:
      
          set env(\ua7) \ua7
          getenv
      
      ---- Result was:
      child killed: segmentation violation
      ---- Result should have been (exact matching):
      \u00a7=\u00a7
      ==== env-4.4 FAILED
      
      
      
      ==== env-4.5 unsetting international environment variables FAILED
      ==== Contents of test case:
      
          set env(\ub6) \ua7
          unset env(\ua7)
          set result [getenv]
          unset env(\ub6)
          set result
      
      ---- Result was:
      child killed: segmentation violation
      ---- Result should have been (exact matching):
      \u00b6=\u00a7
      ==== env-4.5 FAILED
      
      Test file error: child killed: segmentation violation
      
      Tests ended at Thu Jan 17 15:45:52 CET 2013
      all.tcl:        Total   0       Passed  0       Skipped 0       Failed  0
      Sourced 1 Test Files.
      
      
    4. foundin initialized to: "obsolete: 8.5.13"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "nijtmans"
    10. subsystem initialized to: "07. Variables"
    11. title initialized to: "commit [8aca9a8e96] causes test failures"
    12. type initialized to: "Bug"
  2. Ticket change [f09bc23a6b] (rid 109217) by nijtmans on 2013-01-17 21:57:36:

    1. icomment:
      See branch "bug-3601260", this demonstrates that reverting [8aca9a8e96] fixes this.
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  3. Ticket change [6a6d756099] (rid 128145) by nijtmans on 2013-01-24 21:57:43:

    1. icomment:
      Problem still present in core-8-5-branch. Fix (by reverting
      most recent change in tclVar.c) in branch "bug-3601260".
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. priority changed to: "8"
    5. username: "nijtmans"
  4. Ticket change [f66948d356] (rid 130298) by dgp on 2013-01-24 22:34:25:

    1. icomment:
      can the segfault be caught to produce
      a stack trace?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [7a08f9abe6] (rid 90236) by dgp on 2013-01-24 22:37:24:

    1. icomment:
      Looks like running `tcltest.exe $printenvScript` ought 
      to  reliably do it.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [508d0e576e] (rid 125995) by nijtmans on 2013-01-24 23:14:56:

    1. icomment:
      When compiling with debug symbols, no crash
      occurs, but still the tests fail:
      ======================================
      Tests began at Thu Jan 24 17:09:32 CET 2013
      env.test
      
      
      ==== env-2.1 adding environment variables FAILED
      ==== Contents of test case:
      
          getenv
      
      ---- Result was:
      couldn't read file "0": no such file or directory
      ---- Result should have been (exact matching):
      
      ==== env-2.1 FAILED
      
      
      
      ==== env-2.2 adding environment variables FAILED
      ==== Contents of test case:
      
          getenv
      
      ---- Result was:
      couldn't read file "0": no such file or directory
      ---- Result should have been (exact matching):
      NAME1=test string
      ==== env-2.2 FAILED
      
      
      
      ==== env-2.3 adding environment variables FAILED
      ==== Contents of test case:
      
          getenv
      
      ---- Result was:
      couldn't read file "0": no such file or directory
      ---- Result should have been (exact matching):
      NAME1=test string
      NAME2=more
      ==== env-2.3 FAILED
      
      
      
      ==== env-2.4 adding environment variables FAILED
      ==== Contents of test case:
      
          getenv
      
      ---- Result was:
      couldn't read file "0": no such file or directory
      ---- Result should have been (exact matching):
      NAME1=test string
      NAME2=more
      XYZZY=garbage
      ==== env-2.4 FAILED
      
      
      
      ==== env-3.1 changing environment variables FAILED
      ==== Contents of test case:
      
          set result [getenv]
          unset env(NAME2)
          set result
      
      ---- Result was:
      couldn't read file "0": no such file or directory
      ---- Result should have been (exact matching):
      NAME1=test string
      NAME2=new value
      XYZZY=garbage
      ==== env-3.1 FAILED
      
      
      
      ==== env-4.1 unsetting environment variables FAILED
      ==== Contents of test case:
      
          set result [getenv]
          unset env(NAME1)
          set result
      
      ---- Result was:
      couldn't read file "0": no such file or directory
      ---- Result should have been (exact matching):
      NAME1=test string
      XYZZY=garbage
      ==== env-4.1 FAILED
      
      
      
      ==== env-4.2 unsetting environment variables FAILED
      ==== Contents of test case:
      
          set result [getenv]
          unset env(XYZZY)
          set result
      
      ---- Result was:
      couldn't read file "0": no such file or directory
      ---- Result should have been (exact matching):
      XYZZY=garbage
      ==== env-4.2 FAILED
      
      
      
      ==== env-4.3 setting international environment variables FAILED
      ==== Contents of test case:
      
          set env(\ua7) \ub6
          getenv
      
      ---- Result was:
      couldn't read file "0": no such file or directory
      ---- Result should have been (exact matching):
      \u00a7=\u00b6
      ==== env-4.3 FAILED
      
      
      
      ==== env-4.4 changing international environment variables FAILED
      ==== Contents of test case:
      
          set env(\ua7) \ua7
          getenv
      
      ---- Result was:
      couldn't read file "0": no such file or directory
      ---- Result should have been (exact matching):
      \u00a7=\u00a7
      ==== env-4.4 FAILED
      
      
      
      ==== env-4.5 unsetting international environment variables FAILED
      ==== Contents of test case:
      
          set env(\ub6) \ua7
          unset env(\ua7)
          set result [getenv]
          unset env(\ub6)
          set result
      
      ---- Result was:
      couldn't read file "0": no such file or directory
      ---- Result should have been (exact matching):
      \u00b6=\u00a7
      ==== env-4.5 FAILED
      
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  7. Ticket change [01327abdaa] (rid 119434) by dgp on 2013-01-30 20:33:00:

    1. icomment:
      dgpanyone on Windows can repro 3601260 ?
      dgpShould just appear with running env.test on 8.5 branch tip.
      ...
      jdcdgp: env.test result: env.test:       Total   20      Passed  20      Skipped 0       Failed  0
      dgpthanks, jdc!
      dgpNo repro then?  Mysterious.
      jdcnot in my setup with nmake build + vc10 32 bit
      dgphmmm... wonder if it needs the context of a full `make test` to express?
      jdci'm running a full tests, hold on ...
      jdcno problem, want me to try VC9 / VC10 64 bit/ VC11 ?
      dgpI'll copy your results to the ticket.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [c6f0681db5] (rid 121857) by dgp on 2013-01-30 20:45:26:

    1. icomment:
      dgpPerhaps a --enable-symbols=mem build might trigger more reliably?
      jdctrying ...
      jdcworking fine compiled with OPTS=symbols STATS=memdbg
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Ticket change [3c5b923d85] (rid 120905) by nijtmans on 2013-01-30 20:53:59:

    1. icomment:
      Tried it with 32-bit and 64-bit mingw-w64 compilers as provided by Cygwin:
      $ x86_64-w64-mingw32-gcc --version
      x86_64-w64-mingw32-gcc (GCC) 4.5.3
      $ i686-w64-mingw32-gcc --version
      i686-w64-mingw32-gcc (GCC) 4.5.3
      
      Both have the same problem. I will try it with later
      mingw(-64) compilers as well.
      
      Changing the line:
          CFLAGS_OPTIMIZE= -O2 -fomit-frame-pointer
      to
          CFLAGS_OPTIMIZE= -O0 -fomit-frame-pointer
      doesn't help, so it doesn't look like an optimizer bug.
      
      ;-(
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  10. Ticket change [04fa324de7] (rid 88967) by dgp on 2013-02-04 21:19:22:

    1. icomment:
      The mysteries have been resolved 
      over in 3602706.  Pursuing fixes there.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  11. Ticket change [87f0d1fa22] (rid 131787) by dgp on 2013-02-04 21:19:23:

    1. closedate changed to: "2013-02-04T14:19:23"
    2. closer changed to: "dgp"
    3. icomment:
      
      
      allow_comments - 1
      
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Duplicate"
    7. status changed to: "Closed"
    8. username: "dgp"