delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/08/19:32:33

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 08 Apr 2008 19:32:01 -0400
To: cygwin AT cygwin DOT com
Subject: Re: Question on gdb and ?? And also Frame did not save PC message
X-Mailer: Virtual Access Open Source http://www.virtual-access.org/
Message-Id: <VA.000017ac.01c2b2b9@thesoftwaresource.com>
Mime-Version: 1.0
From: Brian Keener <bkeener AT thesoftwaresource DOT com>
In-Reply-To: <47FBE273.F390E790@dessent.net>
References: <VA DOT 000017a9 DOT 0052f369 AT thesoftwaresource DOT com> <47FBE273 DOT F390E790 AT dessent DOT net>
Reply-To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Brian Dessent wrote:
> thinking that somehow there's a segmentation fault in pthreads code when
> there isn't.  If you're going to enable the option then you need to
> "continue" past those non-faults.
Brian,
 
Thanks for clarifying that.  I was doing that for two reasons - the first 
is because I misunderstood the post I originally found that in.  Somehow I 
got the idea that the exceptions I needed to see were not getting through 
and this would help me debug the program and then I discovered earlier 
today exactly what you said - I can continue and keep going around the 
SIGSEGV at which point the program appears to be terminated by gdb when it 
completes.  I see now that as you say - setting cygwin-exceptions was not 
needed.  Without it I get the below which helps me some I think - in that 
it confirms the application is waiting on something to complete which 
doesn't and gdb terminates it. But now there is no stack because of 
termination - got to go to breakpoints now.  

As to the second part of my question - is there a way to determine what 
sources/debug info I still need to get around the ?? Or is that just a 
matter of tracing from the sources I can see to find what it is bing 
called next?

Also when using the new gdb is the message about 
"Frame did not save PC message" expected or is that an indication of some 
limit exceeded or something else.

Thanks again

bk

BrianK AT atl-lt-5783 /usr/local/bin/osgPlugins-2.3.7
$ gdb osgconvd
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you 
are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for 
details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) set args cow.osg brian.osg
(gdb) run
Starting program: /usr/local/bin/osgconvd.exe cow.osg brian.osg
Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/local/bin/cygosgDBd-2.3.7.dll
Loaded symbols for /usr/local/bin/cygOpenThreadsd-2.2.1.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/secur32.dll
Loaded symbols for /usr/local/bin/cygosgd-2.3.7.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/glu32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/msvcrt.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/opengl32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/gdi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/user32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/ddraw.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/dciman32.dll
Loaded symbols for /usr/local/bin/cygosgUtild-2.3.7.dll
Loaded symbols for /usr/local/bin/cygosgViewerd-2.3.7.dll
Loaded symbols for /usr/local/bin/cygosgGAd-2.3.7.dll
Loaded symbols for /usr/local/bin/cygosgTextd-2.3.7.dll
Data written to 'brian.osg'.
73718546 [main] osgconvd 5648 sig_send: wait for sig_complete event 
failed, sign
al 6, rc 258, Win32 error 0

Program exited with code 03000.
(gdb) thread apply all bt
(gdb) bt
No stack.
(gdb)




--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019