Summary

file access test fails on windows (wine only? 64bit only?) with PLATFORM=mingw

Metadata

Description

On Mingw-64:

 Error: assertion failed: (file-exists? /)
 
         Call history:
 
         <syntax>          (##sys#error "assertion failed" (##core#quote (not (directory-exists? ""))))
         <syntax>          (##core#quote (not (directory-exists? "")))
         <syntax>          (not (directory-exists? ""))
         <syntax>          (directory-exists? "")
         <eval>    (not (directory-exists? ""))
         <eval>    (directory-exists? "")
         <syntax>          (assert (file-exists? /))
         <syntax>          (##core#let ((tmp293 (file-exists? /))) (##core#if (##core#check tmp293) tmp293 (##sys#error "assert...
         <syntax>          (##core#begin (##core#if (##core#check tmp293) tmp293 (##sys#error "assertion failed" (##core#quote ...
         <syntax>          (##core#if (##core#check tmp293) tmp293 (##sys#error "assertion failed" (##core#quote (file-exists? ...
         <syntax>          (##core#check tmp293)
         <syntax>          (##sys#error "assertion failed" (##core#quote (file-exists? /)))
         <syntax>          (##core#quote (file-exists? /))
         <syntax>          (file-exists? /)
         <eval>    (file-exists? /)
         <eval>    (##sys#error "assertion failed" (##core#quote (file-exists? /)))      <--

Changes and comments

[2018-05-26 19:20:19 UTC] sjamaan wrote:

I can't reproduce this with the standard MingW (with or without MSYS)

[2018-05-28 11:27:11 UTC] sjamaan changed description

[2018-05-28 11:27:11 UTC] sjamaan wrote:

According to Kooda, this happened on Mingw-64, not the "standard" Mingw.

[2018-06-11 11:12:20 UTC] sjamaan changed summary

[2018-06-11 11:12:20 UTC] sjamaan wrote:

According to `jjhoo` in `#chicken`, this fails in Wine. I have so far been unable to reproduce this in "real" Windows 7 in a VM, with Mingw-w64 and regular mingw (with and without msys) and msys2.

[2018-06-11 11:32:01 UTC] sjamaan changed summary

[2018-06-11 11:32:01 UTC] sjamaan wrote:

According to jjhoo in #chicken, this also fails in native Windows 10. I've only tested on 32-bit Windows 7 so far (The Windows 10 VM from modern.ie is too large to fit on any of my computers)

[2018-06-11 11:56:43 UTC] sjamaan wrote:

Correction: `jjhoo` says it goes OK on native Windows 10. So most likely this is an issue with the Wine DLLs.

[2018-06-12 12:54:17 UTC] kooda wrote:

Just checked with bare mingw-w64 on windows 10 64bits. It works fine.

It would be nice to check if it works on older windows versions as well, since we theoretically support every version since Vista.

[2018-06-12 12:54:17 UTC] kooda changed status from new to closed

[2018-06-12 12:54:17 UTC] kooda set resolution to fixed