public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Are Sergey's precomiled binaries(cygwin.dll.....) compatible with Win95?
@ 1997-09-16  0:28 Sergey Okhapkin
  1997-10-01  9:56 ` bug of ln -s? Porcelin Wang
  0 siblings, 1 reply; 5+ messages in thread
From: Sergey Okhapkin @ 1997-09-16  0:28 UTC (permalink / raw)
  To: gnu-win32, 'porcelin@tpts5.seed.net.tw'

porcelin Wang wrote:
> Are Sergey's latest precomiled binaries(cygwin.dll.....) compatible with
> Win95?
> If no, where is a one, and how to get it or make it by myself.

The signal handling with window messages is incompatible with non-reentrant 
16-bit user.exe module in Windows95... Windows 95 crashes when signal 
handler modifies the context of main thread while in user.exe code. The 
state of user.exe is unpredictable in this case.

I've just modified the cygwin code - do not send SIGCHLD to parent on child 
exit. It's the default behavior on windows 95 (it's still possible to 
override it with CYGWIN_SIGCHLD=1 environment variable). On NT the SIGCHLD 
signal is always sent to parent. My W95 machine runs now configure of cdk 
in one console, and the make of cdk in another console. I'll post the patch 
when the both processes will finish successfully:-)

--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job.


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug of ln -s?
  1997-09-16  0:28 Are Sergey's precomiled binaries(cygwin.dll.....) compatible with Win95? Sergey Okhapkin
@ 1997-10-01  9:56 ` Porcelin Wang
  0 siblings, 0 replies; 5+ messages in thread
From: Porcelin Wang @ 1997-10-01  9:56 UTC (permalink / raw)
  To: gnu-win32

Sergey Okhapkin wrote:
> 
> The signal handling with window messages is incompatible with non-reentrant
> 16-bit user.exe module in Windows95... Windows 95 crashes when signal
> handler modifies the context of main thread while in user.exe code. The
> state of user.exe is unpredictable in this case.
> 
> I've just modified the cygwin code - do not send SIGCHLD to parent on child
> exit. It's the default behavior on windows 95 (it's still possible to
> override it with CYGWIN_SIGCHLD=1 environment variable). On NT the SIGCHLD
> signal is always sent to parent. My W95 machine runs now configure of cdk
> in one console, and the make of cdk in another console. I'll post the patch
> when the both processes will finish successfully:-)

  Thank for Sergey's explanation about signal handler problem.
  I meet another problem under Windows95. Maybe someone understand it:

  The below line can be executed successfully.
  
    bash:/bin$ ln -s //h/gnuwin32/b18/h-i386-cygwin32/bin/* .

  But when //h is a compressed disk, it crashes, unless I remove 
  some files in the directory //h/gnuwin32/b18/h-i386-cygwin32/bin.
  (error from too man files?)
  
  error messages:

  BASH caused a stack fault in module KERNEL32.DLL at 0137:bff725c5.
  Registers:
  EAX=002a0037 CS=0137 EIP=bff725c5 EFLGS=00000283
  EBX=fda79000 SS=013f ESP=0258bf92 EBP=0258bfa6
  ECX=815ce644 DS=013f ESI=0258bfb6 FS=334f
  EDX=815c3898 ES=013f EDI=815c3898 GS=0000
  Bytes at CS:EIP:
  6a ff e8 2d 87 01 00 eb e7 55 8b ec 56 57 53 8b 
  Stack dump:
  fda79000 815c38a8 0258bfb6 4759432d 334e4957 0258c00c bff7294f
815c3898 0258bfb6 170718ac        016f0028 00010000 b57d0000 0100fffb
c0070000 bfd80258 

  Why that? The problem is from 'ln -s' or 'const defined in srcs' or
stack or W95 limit?
  The running system is Windows95 OSR2, FAT16.
  Hope people understand my English. :-)

-
Porcelin
Taiwan, Republic Of China

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Are Sergey's precomiled binaries(cygwin.dll.....) compatible with Win95?
@ 1997-09-16 21:11 Sergey Okhapkin
  0 siblings, 0 replies; 5+ messages in thread
From: Sergey Okhapkin @ 1997-09-16 21:11 UTC (permalink / raw)
  To: 'Bartlee A. Anderson'; +Cc: 'gnu-win32'

Bartlee A. Anderson wrote:
> So Sergey,
> Do you need a faster 95 box, or do your fixes need fixes?
> Sergey Okhapkin wrote:
> 8< snip >8
> > when the both processes will finish successfully:-)
> >

:-) Windows 95 hanged after several hours of configure/make run :-) I think 
it's a very good result - try to start notepad 100 times without whole 
system hang :-) I'll post the fix today.

--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Are Sergey's precomiled binaries(cygwin.dll.....) compatible with        Win95?
@ 1997-09-16 15:53 dahms
  0 siblings, 0 replies; 5+ messages in thread
From: dahms @ 1997-09-16 15:53 UTC (permalink / raw)
  To: sos; +Cc: gnu-win32, dahms

Hi Sergey, you wrote:

: My W95 machine runs now configure of cdk
: in one console, and the make of cdk in another console. I'll post the patch
: when the both processes will finish successfully:-)

Concurrently? So far I've always used one window to configure and then make.
I doubt it will produce something more useful then stress testing otherwise.
I guess that's why there's a smiley...


Bye, Heribert (dahms@ifk20.mach.uni-karlsruhe.de)
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Are Sergey's precomiled binaries(cygwin.dll.....) compatible with Win95?
@ 1997-09-15 19:24 porcelin Wang
  0 siblings, 0 replies; 5+ messages in thread
From: porcelin Wang @ 1997-09-15 19:24 UTC (permalink / raw)
  To: gnu-win32

hello all,

Are Sergey's latest precomiled binaries(cygwin.dll.....) compatible with
Win95?
If no, where is a one, and how to get it or make it by myself.

Thank you.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1997-10-01  9:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-16  0:28 Are Sergey's precomiled binaries(cygwin.dll.....) compatible with Win95? Sergey Okhapkin
1997-10-01  9:56 ` bug of ln -s? Porcelin Wang
  -- strict thread matches above, loose matches on Subject: below --
1997-09-16 21:11 Are Sergey's precomiled binaries(cygwin.dll.....) compatible with Win95? Sergey Okhapkin
1997-09-16 15:53 dahms
1997-09-15 19:24 porcelin Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).