This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: setup hangs during postinstall


All,

OK, so I tried a lot of things already tried, and at least one thing that
hadn't been tried ;).  I must admit I haven't followed everything said in
the threads so didn't realise we already knew cygpath wasn't actually
starting.

So, getting this straight in my own head.

Setup runs normally.
Setup creates a new thread or process to run our bash script - Is this done
with sh, then sh runs bash because of the #/bin/bash, or does setup run bash
straight?
Bash starts up and does some parts of the script.
Bash then tries to run cygpath....  At this point does the cygwin DLL
emulates a fork & exec (as windows only has CreateProcess) ?
If cygpath isn't starting.... Does this mean it's still running
bash/cygwin1.dll code at the point of the hang?

Is it possible to put a nice big sleep into the bash script before the it
gets to the cygpath.
Attach gdb to bash during this sleep
Add a break point to the exec or whatever the function is
Continue until breakpoint is hit
Step through the whole operation of launching cygpath?

Is it possible?  Could it potentially be useful?  Would we hit Windows
internal code that stops us getting to anything useful?

Any comments?

Steve.

-- 
-- LONG DISCLAIMER --

******************************************************* 
This email has originated from Perwill plc (Registration No. 1906964) 
Office registered at: 13A Market Square, Alton, Hampshire, GU34 1UR, UK 
Tel: +44 (0)1420 545000 
Fax: +44 (0)1420 545001 
www.perwill.com 
******************************************************* 
Privileged, confidential and/or copyright information may be contained 
in this email, and is only for the use of the intended addressee. 
To copy, forward, disclose or otherwise use it in any way if you are not 
the intended recipient or responsible for delivering to him/her is
prohibited.
If you receive this email by mistake, please advise the sender immediately, 
by using the reply facility in your email software.

We may monitor the content of emails sent and received via our network 
for the purposes of ensuring compliance with policies and procedures. 
This message is subject to and does not create or vary any contractual 
relationships between Perwill plc and the recipient. 
******************************************************* 
Any opinions expressed in the email are those of the sender and not 
necessarily of Perwill plc.
******************************************************* 
This email has been scanned for known viruses using 
McAfee WebShield 4.5 MR1a 
******************************************************* 



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]