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

History Of Ticket 3545367fffffffff

Artifacts Associated With Ticket 3545367fffffffff

  1. Ticket change [c3da87a42c] (rid 111741) by twylite on 2012-07-18 11:58:39:

    1. assignee initialized to: "patthoyts"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Hi,
      
      Some DDE tests fail on WIN32 in a trunk build from 2012/07/18 using MSVC10, 32-bit tclsh running on Windows 7 64-bit.
      
      Details:
      
      Build setup (32-bit): 'Setting environment for using Microsoft Visual Studio 2010 x86 tools'
      Testing platform: Windows 7 (64-bit), PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 30 Stepping 5, GenuineIntel
      
      C:\User\Tcl_BUILD\cmake-2012\tcl-trunk>fossil pull
      Server:    http://core.tcl.tk/tcl
      
      C:\User\Tcl_BUILD\cmake-2012\tcl-trunk>fossil update
      updated-to:   f0f8f508748b68a589768e9e7df3beea28279df9 2012-07-17 13:08:18 UTC
      tags:         trunk
      
      Build commands:
        set BUILDENV=VC10
        set VER=86b3
        set INSTALLDIR=%CD%\Release_%VER%_%BUILDENV%
        set OPTS=threads
        set TCLSH=%INSTALLDIR%\bin\tclsh86t.exe
        mkdir %INSTALLDIR%
        pushd win
        nmake /f makefile.vc release tcltest OPTS=%OPTS% CFG_ENCODING=\\\"utf-8\\\" INSTALLDIR=%INSTALLDIR%
        nmake /f makefile.vc install OPTS=%OPTS% CFG_ENCODING=\\\"utf-8\\\" INSTALLDIR=%INSTALLDIR%
        nmake /f makefile.vc test
      
      
      ==== winDde-3.3 DDE request locally FAILED
      ==== Contents of test case:
      
          set a ""
          dde execute TclEval self [list set a foo]
          dde request TclEval self a
      
      ---- Test generated error; Return code was: 1
      ---- Return code should have been one of: 0 2
      ---- errorInfo: remote server cannot handle this command
          while executing
      "dde request TclEval self a"
          ("uplevel" body line 4)
          invoked from within
      "uplevel 1 $script"
      ---- errorCode: TCL DDE NOCANDO
      ==== winDde-3.3 FAILED
      
      
      
      ==== winDde-3.5 DDE request locally FAILED
      ==== Contents of test case:
      
          set a ""
          dde execute TclEval self [list set a foo]
          dde request -binary TclEval self a
      
      ---- Test generated error; Return code was: 1
      ---- Return code should have been one of: 0 2
      ---- errorInfo: remote server cannot handle this command
          while executing
      "dde request -binary TclEval self a"
          ("uplevel" body line 4)
          invoked from within
      "uplevel 1 $script"
      ---- errorCode: TCL DDE NOCANDO
      ==== winDde-3.5 FAILED
      
      
      
      ==== winDde-4.3 DDE request remotely FAILED
      ==== Contents of test case:
      
          set a ""
          set name ch\xEDld-4.3
          set child [createChildProcess $name]
          dde execute TclEval $name [list set a foo]
          set a [dde request TclEval $name a]
          dde execute TclEval $name {set done 1}
          update
          set a
      
      ---- Test generated error; Return code was: 1
      ---- Return code should have been one of: 0 2
      ---- errorInfo: remote server cannot handle this command
          while executing
      "dde request TclEval $name a"
          ("uplevel" body line 6)
          invoked from within
      "uplevel 1 $script"
      ---- errorCode: TCL DDE NOCANDO
      ==== winDde-4.3 FAILED
      
      
    4. foundin initialized to: "obsolete: 8.6b3"
    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: "twylite"
    10. subsystem initialized to: "28. dde Package"
    11. title initialized to: "DDE test failures"
    12. type initialized to: "Bug"
  2. Ticket change [04ae3d587b] (rid 120041) by nijtmans on 2012-07-18 20:08:12:

    1. assignee changed to: "nijtmans"
    2. icomment:
      I cannot reproduce this with mingw. Will try with MSVC.
      
      $ make test TESTFLAGS="-file winDde.test"
      .....
      Only running test files that match:  winDde.test
      Tests began at Wed Jul 18 15:04:33 CEST 2012
      winDde.test
      
      Tests ended at Wed Jul 18 15:05:07 CEST 2012
      all.tcl:        Total   46      Passed  46      Skipped 0       Failed  0
      Sourced 1 Test Files.
      
      
      
    3. login: "nijtmans"
    4. mimetype: "text/plain"
    5. username: "nijtmans"
  3. Ticket change [a2e47d8d8d] (rid 109968) by nijtmans on 2012-07-27 03:52:41:

    1. assignee changed to: "patthoyts"
    2. icomment:
      Now I can reproduce it. But only when using win/makefile.vc
      for building Tcl, with the configure-based win/Makefile.in
      build all is OK. Somehow, makefile.vc is not setting
      up the right environment for doing the dde tests:
      
      Patrick, did you notice this before?
      
      
      
    3. login: "nijtmans"
    4. mimetype: "text/plain"
    5. username: "nijtmans"
  4. Ticket change [fb9eff9cba] (rid 92096) by nijtmans on 2012-07-27 03:54:45:

    1. subsystem changed to: "53. Configuration and Build Tools"
  5. Ticket change [d82fdd8dfd] (rid 107394) by nijtmans on 2012-07-27 05:39:00:

    1. icomment:
      Patrick, In makefile.vc, I see the lines:
      
      test-core: setup $(TCLTEST) dlls $(CAT32)
      set TCL_LIBRARY=$(ROOT:\=/)/../library
      introduced in:
         http://core.tcl.tk/tcl/info/a983ca9a1f
      There's a "../" too much in there.
      (that still doesn't help this issue.....)
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  6. Ticket change [c26213040a] (rid 111477) by twylite on 2012-07-27 18:38:31:

    1. icomment:
      Confirmed that this is unique to 'nmake test'.  If I install the build and run from the install path (with corrections for running outside the build tree - see 3549770) then these tests pass.
      
      
    2. login: "twylite"
    3. mimetype: "text/plain"
    4. username: "twylite"
  7. Ticket change [c2d536e825] (rid 111548) by twylite on 2012-07-30 22:31:01:

    1. icomment:
      I can reproduce this bug by invoking tcltest.exe directly (i.e. not using 'nmake test') in both build and install environments, if and only if I include a '-loadfile' option to tests/all.tcl.  Using -load with the appropriate 'package ifneeded' works fine.  The moment I use -loadfile the three tests fail.  
      
      I notice that makefile.vc uses -loadfile whereas Makefile.in uses -load, which would explain why the symptoms are specific to the nmake approach.
      
      
      
    2. login: "twylite"
    3. mimetype: "text/plain"
    4. subsystem changed to: "34. tcltest Package"
    5. username: "twylite"
  8. Ticket change [7820d8ed19] (rid 89900) by nijtmans on 2012-08-01 21:56:18:

    1. assignee changed to: "nijtmans"
    2. closedate changed to: "2012-08-01T14:56:18"
    3. closer changed to: "nijtmans"
    4. icomment:
      Found the problem, so assigning back to me.
      
      Fix committed to trunk. The problem was in line 1506
      of tclWinDde.c, where a UTF-8 string was handled
      as UNICODE. As long as the string is followed by at
      least 3 null-bytes (the test only uses a one-character
      variable name), no-one would see the difference.
      
      Please, confirm that it's fixed now.
      
      
    5. login: "nijtmans"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Pending"
    9. subsystem changed to: "28. dde Package"
    10. username: "nijtmans"
  9. Ticket change [a6ee5f16bb] (rid 98692) by nijtmans on 2012-08-02 16:57:22:

    1. icomment:
      Turns out that "dde poke" had the same bug, unfortunately we cannot write a test-case for that.
      
      Adapted more test-cases to use unicode variable names.
      
      Fixed now on trunk.
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  10. Ticket change [a95a8b8a35] (rid 99138) by twylite on 2012-08-03 16:15:15:

    1. closedate changed to: "2012-08-03T09:15:15"
    2. closer changed to: "twylite"
    3. icomment:
      Okay, now that I've pulled from the right place and built the right thing, it all appears to work.  Thanks :)
      
      Building [cc7f2bab] with bug-3545363 merged in; compiler MSVC10; OPTS=threads,symbols; 32-bit tclsh running on Windows 7 64-bit.
      
      nmake test: 
      all.tcl:        Total   47      Passed  47      Skipped 0       Failed  0
      
      tclsh86tg.exe ..\..\tcl\tests\all.tcl -file windde.test
      all.tcl:        Total   47      Passed  47      Skipped 0       Failed  0
      
      
      
    4. login: "twylite"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "twylite"