Re: fstream::open crashes if first file it ever opening is in /proc

2021-07-09 Thread Csaba Raduly via Cygwin
On Thu, 8 Jul 2021 at 16:42, Max Mikhanosha wrote: > > You have same versions of cygwin1.dll and libstdc++ dll? > Csaba@AMDAHL ~ $ uname -a CYGWIN_NT-10.0 AMDAHL 3.2.0(0.340/5/3) 2021-03-29 08:42 x86_64 Cygwin Csaba@AMDAHL ~ $ cygcheck -f /usr/bin/cyggcc_s-seh-1.dll /usr/bin/cygstdc++-6.dll /usr

Re: fstream::open crashes if first file it ever opening is in /proc

2021-07-08 Thread Max Mikhanosha via Cygwin
You have same versions of cygwin1.dll and libstdc++ dll? Wonder if it has something to do with machine, its 64 core amd threadripper box, (128 logical cpu's with hyperthreading Some other observations: 1) Compiling the test program on other box with older Cygwin, where problem does not happen,

Re: fstream::open crashes if first file it ever opening is in /proc

2021-07-08 Thread Csaba Raduly via Cygwin
On Thu, 8 Jul 2021 at 07:42, Max Mikhanosha via Cygwin wrote: > > Fully updated Windows 10, with freshly downloaded Cygwin. > > trying to compile google/benchmark does not work coz it can't read > /proc/cpuinfo > > Reduced test test program > > #include > #include > > int main (int argc, char *

fstream::open crashes if first file it ever opening is in /proc

2021-07-07 Thread Max Mikhanosha via Cygwin
Fully updated Windows 10, with freshly downloaded Cygwin. trying to compile google/benchmark does not work coz it can't read /proc/cpuinfo Reduced test test program #include #include int main (int argc, char **argv) { if (argc > 1) { std::fstream booya ("whatever"); } std::fstream