This is the mail archive of the cygwin-developers@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: cygwin hang problem


Christopher Faylor wrote:

Why did you feel that you had to modify handle_exceptions to wait for
dumper?  Since dumper is invoked as a debugger, and your backtrace
showed that try_to_debug was invoked with waitloop == true, this code
should have been exercised:
That was my change -- to invoke with waitloop == true.  At least in
the snapshot I am using, the code goes like this:

if (try_to_debug(0)) {
	debugging = 1;
	return 0;
}

I observed that "debugging" got quite high in value before
dumper managed to attach, and I was concerned that who knows what
had been done to the stack in the meanwhile.

I am typing this via vnc and a cable modem, so will submit
the code change for this later if you want it -- it is an easy enough change.
--
Joe Buehler
Principal Software Engineer
Hekimian Division
SPIRENT COMMUNICATIONS
15200 Omega Drive
Rockville, MD 20850-3240 USA
Phone: +1 301.590.3600
Fax: +1 301.590.3692
www.spirentcom.com


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