Hi all,
The problem of XWin crashing with cygwin1-20040221.dll in Windows95
is perhaps due to cygwin1.dll. In fact I have found a similar behavior
with the non-Xwindow program gnuchess. From the gdb log one can see that the
crash is produced in the same function of cygwin1.dll than the XWin crash.
Gnuchess did worked well with 1.5.5-1.
gnuchess:
Program received signal SIGSEGV, Segmentation fault.
[Switching to thread -841681.0xffc86a23]
0x61087b5e in cygwin1!aclcheck ()
XWin:
Program received signal SIGSEGV, Segmentation fault.
[Switching to thread -640415.0xfd84c13d]
0x61087b5e in cygwin1!aclcheck () from /usr/bin/cygwin1.dll
Unfortunately I have not the knowledge of thread, Win95 or cygwin1.dll
programming in order to make a simple program for testing the function.
I nevertheless, if it is needed, can run any such program in my Win95 box,
if it is supplied.
New relevant information is attached.
have fun
Starting program: /USR/LOCAL/BIN/gnuchess.exe
Program received signal SIGSEGV, Segmentation fault.
[Switching to thread -841681.0xffc86a23]
0x61087b5e in cygwin1!aclcheck ()
* 4 thread -841681.0xffc86a23 0x61087b5e in cygwin1!aclcheck ()
3 thread -841681.0xffc86eb7 0x6108d936 in sigfillset ()
2 thread -841681.0xffc8b8d3 0xbff969db in SetFileAttributesW ()
from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL
1 thread -841681.0xffc80133 0x6109eea8 in cygwin1!__getreent ()
Thread 4 (thread -841681.0xffc86a23):
#0 0x61087b5e in cygwin1!aclcheck ()
#1 0x610a2eff in cygwin1!__getreent ()
#2 0xffffffff in ?? ()
Thread 3 (thread -841681.0xffc86eb7):
#0 0x6108d936 in sigfillset ()
#1 0x610030a6 in getprogname ()
#2 0x00cfffc8 in ?? ()
#3 0xbff74277 in ReadFile () from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL
#4 0x815b15b4 in ?? ()
#5 0xbff855d1 in KERNEL32!EndUpdateResourceA ()
from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL
#6 0x816053cc in ?? ()
#7 0x00cfffc8 in ?? ()
#8 0xbff86831 in KERNEL32!BuildCommDCBA ()
from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL
#9 0x610f0774 in cygwin1!__ctype_ptr ()
#10 0x61003040 in getprogname ()
#11 0x816053cc in ?? ()
#12 0x815b1554 in ?? ()
#13 0x00cfffa0 in ?? ()
#14 0xbff93b6b in KERNEL32!DeviceIoControl ()
from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL
#15 0xffffffff in ?? ()
#16 0xbffb8cf8 in ?? () from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL
#17 0xbffb8e70 in ?? () from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL
Thread 2 (thread -841681.0xffc8b8d3):
#0 0xbff969db in SetFileAttributesW ()
from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL
Thread 1 (thread -841681.0xffc80133):
#0 0x6109eea8 in cygwin1!__getreent ()
#1 0x008aee10 in ?? ()
#0 0x61087b5e in cygwin1!aclcheck ()
The program is running. Exit anyway? (y or n)
Found: C:\cygwin\USR\LOCAL\BIN\gnuchess.exe
C:/cygwin/USR/LOCAL/BIN/gnuchess.exe
C:\cygwin\bin\cygwin1.dll
C:\WINDOWS\SYSTEM\ADVAPI32.DLL
C:\WINDOWS\SYSTEM\KERNEL32.dll
C:\cygwin\bin\cygreadline5.dll
C:\cygwin\bin\cygncurses7.dll
C:\WINDOWS\SYSTEM\USER32.dll
C:\WINDOWS\SYSTEM\GDI32.dll