|
2020-11-17
| ||
| 09:14 | • Closed ticket [a76db17ebc]: Test "iortrans-11.1 origin interpreter of moved... artifact: d9e05e05c5 user: oehhar | |
|
2016-07-26
| ||
| 12:07 | • New ticket [a76db17ebc]. artifact: f09ffbd307 user: oehhar | |
Test "iortrans-11.1 origin interpreter of moved transform destroyed during access" failes for 8.6.6rc1 on win
Closed / Fixeda76db17ebc300b38744cbb1958f940ed29fd070cCreated 10 years agoUpdated 6 years ago
Descriptionwiki2016-07-26 12:07:40
Test fails with log:
==== 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
System:
- Win 10 64 bit GER
- tcl8.6.6rc1
- MS-VC++ + PSDK2003SP1 32 bit, Makefile.vc
oehharwiki2020-11-17 09:14:39
Fixed in tcl8.6.9: https://wiki.tcl-lang.org/page/Test+Suite+Log
Log in (anonymous is fine) to add a comment.