public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Fernando Nasser <fnasser@redhat.com>
To: Keith Seitz <kseitz@firetalk.com>
Cc: Pavel Kudrna <kudrna@plasma.troja.mff.cuni.cz>,
	Insight Mail list <insight@sourceware.cygnus.com>
Subject: Re: Problems with Insigt and cygwin1.dll
Date: Tue, 21 Mar 2000 06:23:00 -0000	[thread overview]
Message-ID: <38D78581.98A6BC19@redhat.com> (raw)
In-Reply-To: <38D7767A.39D8B021@firetalk.com>

Keith Seitz wrote:
> 
> Pavel Kudrna wrote:
> >
> > I have also the unresolved problem with crash of another program in
> > _size_of_stack_reserve__ (). So I can help with the fact that this
> > function you can find in ld.exe. But also I have to repeat your
> > (maybe not expressed) question how to debug into the .dll? Can
> > anybody at least say that it's not possible?
> 
> I don't know about your specific problems, but as far as  debugging the
> cygwin DLL goes, that is certainly possible: I've done it many, many
> times. There are really no special techniques for doing this. Just make
> sure that the DLL and newlib were compiled with debug info and that you
> use the "dir" command to add the source paths for these modules to gdb's
> list. You should be able to step into newlib, which then gets you into
> the DLL.
> 

OK, folks.  This is a known problem.  You will find that the program
dies while in a call to select(), in the cygwin1.dll library.

I have a cygwin1.dll that I built with some changes that operates better
and only presents problems under some unusual circumstances.  I can put
it in our ftp site so you can download it.

But if you can spare some time and try to debug it I think everybody
would appreciate.  I won't be able to get to this for quite a while and
other people don't have the right hardware to reproduce it.  If you do,
building cygwin with debugger symbols is a must.  Please send me
questions if you need more information as you go.

Please note that this problem only happens with the select() simulation
under cygwin.  You can debug your programs through the serial port on
Linux and Solaris (which have a native select() in the OS) with no
problems at all. 


-- 
Fernando Nasser
Red Hat, Inc. - Toronto                 E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300           Tel:  416-482-2661 ext. 311
Toronto, Ontario   M4P 2C9              Fax:  416-482-6299

  reply	other threads:[~2000-03-21  6:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <B0000316921@mailsrv02.multitude.com>
2000-03-21  5:17 ` Keith Seitz
2000-03-21  6:23   ` Fernando Nasser [this message]
2000-03-21  9:33     ` Chris Faylor
2000-03-21 13:39       ` Andy Hare
2000-03-21 14:00         ` Fernando Nasser
2000-03-20 14:47 Andy Hare
2000-03-21  0:30 ` Pavel Kudrna
     [not found] ` <200003210830.AAA25416@cygnus.com>
2000-03-21  8:24   ` Chris Faylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=38D78581.98A6BC19@redhat.com \
    --to=fnasser@redhat.com \
    --cc=insight@sourceware.cygnus.com \
    --cc=kseitz@firetalk.com \
    --cc=kudrna@plasma.troja.mff.cuni.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).