Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f09ffbd307406724b99f8afbb3c238da39ea2944
Ticket: a76db17ebc300b38744cbb1958f940ed29fd070c
Test "iortrans-11.1 origin interpreter of moved transform destroyed during access" failes for 8.6.6rc1 on win
User & Date: oehhar on 2016-07-26 12:07:40
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    Test fails with log:
    <verbatim>
    ==== iortrans-11.1 origin interpreter of moved transform destroyed during access FAILED
    ==== Contents of test case:
    
        # Set up channel in thread
        set chan [interp eval $ida $helperscript]
        interp eval $ida [list ::variable tempchan [tempchan]]
        interp transfer {} $::tempchan $ida
        set chan [interp eval $ida {
    	proc foo {args} {
    	    handle.initialize clear drain flush limit? read write
    	    handle.finalize
    	    lappend ::res $args
    	    # Destroy interpreter during channel access.
    	    suicide
    	}
    	set chan [chan push $tempchan foo]
    	fconfigure $chan -buffering none
    	set chan
        }]
        interp alias $ida suicide {} interp delete $ida
        # Move channel to 2nd thread, transform goes with it.
        interp eval $ida [list testchannel cut $chan]
        interp eval $idb [list testchannel splice $chan]
        # Run access from interpreter B, this will give us a synchronous response.
        interp eval $idb [list set chan $chan]
        interp eval $idb [list set mid $tcltest::mainThread]
        set res [interp eval $idb {
    	# Wait a bit, give the main thread the time to start its event loop to
    	# wait for the response from B
    	after 50
    	catch { puts $chan shoo } res
    	set res
        }]
    
    ---- Test cleanup failed:
    error deleting "C:/test/tcl8.6.6/win/tempchanfile": permission denied
    ---- errorInfo(cleanup): error deleting "C:/test/tcl8.6.6/win/tempchanfile": permission denied
        while executing
    "file delete -- $fullName"
        (procedure "removeFile" line 21)
        invoked from within
    "removeFile tempchanfile"
        (procedure "tempdone" line 4)
        invoked from within
    "tempdone"
        ("uplevel" body line 2)
        invoked from within
    "uplevel 1 $cleanup"
    ---- errorCode(cleanup): POSIX EACCES {permission denied}
    ==== iortrans-11.1 FAILED
    </verbatim>
    
    System:
       *   Win 10 64 bit GER
       *   tcl8.6.6rc1
       *   MS-VC++ + PSDK2003SP1 32 bit, Makefile.vc
    
  5. foundin changed to: "8.6.6rc1"
  6. is_private changed to: "0"
  7. login: "oehhar"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "oehhar"
  14. subsystem changed to: "24. Channel Commands"
  15. title changed to:
    Test "iortrans-11.1 origin interpreter of moved transform destroyed during access" failes for 8.6.6rc1 on win
    
  16. type changed to: "Bug"