Tcl Source Code

View Ticket
Login
Ticket UUID: 93da2e42b954e38a7fdd05f9734036920d1b52de
Title: Test Failure - iortrans-11.1 + iortrans-11.2 - On MSYS builds of core-8-branch
Type: Bug Created on: 2017-11-07 17:30:33
Submitter: hypnotoad Assigned to: nobody
Subsystem: 20. [interp] Severity: Minor
Priority: 5 Medium Last modified: 2017-11-07 17:30:33
Status: Open Closed by: nobody
Resolution: None Closed on:
Version: 8.7
Description:
Building a fresh checkout of [84de05583b0631640bcb0f697345f4743c74da0b] within MSYS on Windows 7 and running "make test" produces the following failed tests:

==== 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 "O:/odie/irm-faceset/tcl/win/tempchanfile": permission denied
---- errorInfo(cleanup): error deleting "O:/odie/irm-faceset/tcl/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



==== iortrans-11.2 delete interp of reflected transform FAILED
==== Contents of test case:

    # Get base channel into the slave
    set c [tempchan]
    testchannel cut $c
    interp eval slave [list testchannel splice $c]
    interp eval slave [list set c $c]
    slave eval {
	proc no-op args {}
	proc driver {c sub args} {
	    return {initialize finalize read write}
	}
	set t [chan push $c [list driver $c]]
	chan event $c readable no-op
    }
    interp delete slave

---- Test cleanup failed:
error deleting "O:/odie/irm-faceset/tcl/win/tempchanfile": permission denied
---- errorInfo(cleanup): error deleting "O:/odie/irm-faceset/tcl/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.2 FAILED