public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* sh crashes on 95
@ 1997-08-13 11:50 Colman Curtin
  1997-08-14  8:07 ` Tony FITZPATRICK
  0 siblings, 1 reply; 2+ messages in thread
From: Colman Curtin @ 1997-08-13 11:50 UTC (permalink / raw)
  To: Sonic Junior, GNU Win 32

>
> Okay... when I'm doing make, sh has a habit of crashing. It's got bad
>recently. Where can I get da patch? Ack!
>
> SJ
>
Yip I've run into the same problem. Running configure scripts it seems to
choke at no particular point some times it get further than others. If I
reboot under NT4 configure completes to the end.
Looking at the processes while a configure is in progress I have seen up to
six instances of sh running, I haven't seen more as it normally dies and more
often than not needs the three fingered salute!

Anyone got any ideas??

running w95,16MB with Sergery's latest release.(the one with the borken wait
code on W95 removed)

thanx
Colman.
____________________________________________________________
Colman Curtin     mailto:ccurtin@trintech.ie
Software Engineer
------------------------------------------------------------
Trintech (Manufacturing) Ltd,  http://www.trintech.com/
South County Business Park,
Leopardstown,
Dublin 18.
Tel +353-1-2956766  Fax +353-1-2954735
------------------------------------------------------------

Q: How many IBM CPU's does it take to execute a job?
A: Four; three to hold it down, and one to rip its head off.






-
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] 2+ messages in thread

* Re: sh crashes on 95
  1997-08-13 11:50 sh crashes on 95 Colman Curtin
@ 1997-08-14  8:07 ` Tony FITZPATRICK
  0 siblings, 0 replies; 2+ messages in thread
From: Tony FITZPATRICK @ 1997-08-14  8:07 UTC (permalink / raw)
  To: Colman Curtin; +Cc: gnu-win32

Sonic Junior wrote:
>>
>> Okay... when I'm doing make, sh has a habit of crashing. It's got bad
>>recently. Where can I get da patch? Ack!
>>
>> SJ
>>

At 19:49 13/08/97 +0100, you replied

>Yip I've run into the same problem. Running configure scripts it seems to
>choke at no particular point some times it get further than others. If I
>reboot under NT4 configure completes to the end.
>Looking at the processes while a configure is in progress I have seen up to
>six instances of sh running, I haven't seen more as it normally dies and more
>often than not needs the three fingered salute!
>
>Anyone got any ideas??
>

I posted this problem to the list some time ago and having received no
replies thought it was specific to me, obviously it isn't. All of Sergeys
cygwin.dlls exhibit this problem with "configure" on  W95. By a process of
elimination I have traced it the modification of "fork.cc" in the very
first set of changes posted by Sergey (called "itimer.tar.gz" on his web
page). I can include all the other modifs. from this set and the
regenerated cygwin.dll executes "configure" faultlessly. If I then
regenerate with the new "fork.cc" I get the problem with "sh" crashing the
system. That's as far as I've got for the moment. The original patch to
fork (see below) is considerably updated in subsequent patches from Sergey
but none of them seem to solve this particular problem. Please feel free to
comment if you have any ideas but don't expect a rapid reply as I leave on
two weeks vacation tommorow :^)


			Tony (W95 SP1 P100 32Mb)


diff -crN winsup.orig/fork.cc winsup/fork.cc
*** winsup.orig/fork.cc	Fri Apr 25 03:45:37 1997
--- winsup/fork.cc	Thu May 15 18:49:29 1997
***************
*** 278,283 ****
--- 278,284 ----
        child->dwProcessId = pi.dwProcessId;
        child->uid = u->self->uid;
        child->gid = u->self->gid;
+       child->umask = u->self->umask;
        child->sigs = u->self->sigs;
        child->sig_mask = u->self->sig_mask;
        set_child_mmap_ptr (child);
***************
*** 395,400 ****
--- 396,405 ----
        debug_printf ("fork_helper: child is running\n");
  
        u->self = s->p[x];
+ 
+       /* Initialize hidden window */
+       window_init();
+ 
        reent_data = u->self->reent_save;
        debug_printf ("fork child: self %p, pid %d, ppid %d\n",
  		    u->self, x, u->self->ppid);  
-
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] 2+ messages in thread

end of thread, other threads:[~1997-08-14  8:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-08-13 11:50 sh crashes on 95 Colman Curtin
1997-08-14  8:07 ` Tony FITZPATRICK

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).