Re: question on gdb

2010-01-24 Thread Christopher Faylor
On Sun, Jan 24, 2010 at 07:42:32AM +, Marco Atzeri wrote: >Hi, >recently, after some change in the source, the octave >development branch started to SIGSEV on exit. >The strange issue is that this happen only >for cygwin and not on the other platforms. >I have not yet found a solution, only a

Re: question on gdb

2010-01-24 Thread Dave Korn
On 24/01/2010 07:42, Marco Atzeri wrote: > My question however is about the gdb backtrace, is the > "Cannot access memory at address 0x1a" at # 9 normal ? I wouldn't read too much into it. Could indicate that there's some kind of corruption at the top end of the stack, or it could just be gdb

question on gdb

2010-01-23 Thread Marco Atzeri
Hi, recently, after some change in the source, the octave development branch started to SIGSEV on exit. The strange issue is that this happen only for cygwin and not on the other platforms. I have not yet found a solution, only a possible workaround removing some specific C++ "free" actions, so t

Re: Question on gdb and ?? And also Frame did not save PC message

2008-04-08 Thread Brian Dessent
Brian Keener wrote: > 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? Most of those frames with ?? are totally bog

Re: Question on gdb and ?? And also Frame did not save PC message

2008-04-08 Thread Brian Keener
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

Re: Question on gdb and ?? And also Frame did not save PC message

2008-04-08 Thread Brian Dessent
Brian Keener wrote: > (gdb) set cygwin-exceptions on > (gdb) run > ... > Program received signal SIGSEGV, Segmentation fault. > 0x610d5de9 in pthread_mutexattr_init (attr=0x23cb50) > at /usr/develop/src/src/src/winsup/cygwin/thread.cc:123 > 123 if ((*object)->magic != magic) > (gdb) thre

Question on gdb and ?? And also Frame did not save PC message

2008-04-08 Thread Brian Keener
I should probably be asking this is a gdb group somewhere but thought I would try here first. If I should not be here my apologies. I am attempting to debug a an application that has a hang when the program ends. It seems to perform its objective but than hangs on exit. I have compiled and i