Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Robert Norton" <rnorton@broadcom.com>
To: "Nick Roberts" <nickrob@snap.net.nz>
Cc: gdb@sourceware.org
Subject: RE: Segfault in varobj.c
Date: Fri, 27 Jul 2007 12:16:00 -0000	[thread overview]
Message-ID: <B0D822BFECD50F4991F2516EA50F273C01FEB539@NT-IRVA-0752.brcm.ad.broadcom.com> (raw)
In-Reply-To: <18089.56395.938853.868975@kahikatea.snap.net.nz>

 

> -----Original Message-----
> From: Nick Roberts [mailto:nickrob@snap.net.nz] 
> Sent: 27 July 2007 12:52
> To: Robert Norton
> Cc: gdb@sourceware.org
> Subject: Re: Segfault in varobj.c
> 
> Robert Norton writes:
>  > Hi,
>  > 
>  > I encountered a segfault whilst using our port of GDB with 
> Eclipse. It
>  > occurs when I add a number of global variables in the 
> variables view and
>  > expand them. Occasionally I observe something like the 
> following in the
>  > MI console:
>  > 
>  > (gdb) 
>  > 2247-var-list-children
>  > 
> var2.tx_ready_next.tx_ready_next.tx_ready_next.tx_suspended_ne
> xt.tx_thre
>  > ad_name
>  > warning: Child of parent whose type does not allow children
>  > &"warning: Child of parent whose type does not allow children\n"
>  > 
>  > Followed by gdb segfaulting. On loading the core file I observe:
> 
> It might be more useful to set the breakpoint on the line 
> where the initial
> warning was issued.

Yes. After submitting the post I found where the warning was coming from
and am investigating. I can now reproduce reliably so am distilling down
to a minimal recipe for generating the bug, which hopefully will shed
some light.
 
> This is your port of GDB and it's based on an old version of 
> FSF GDB.  Does
> it happen with FSF GDB or, at least, your port based on 
> up-to-date FSF GDB?

The port is based on GDB 6.6.

Robert

> 
> 
> -- 
> Nick                                           
> http://www.inet.net.nz/~nickrob
> 
> 


  reply	other threads:[~2007-07-27 12:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-27 11:51 Robert Norton
2007-07-27 12:03 ` Nick Roberts
2007-07-27 12:16   ` Robert Norton [this message]
2007-07-27 12:52     ` Nick Roberts
2007-07-27 13:07       ` Robert Norton
2007-07-27 14:30         ` Daniel Jacobowitz

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=B0D822BFECD50F4991F2516EA50F273C01FEB539@NT-IRVA-0752.brcm.ad.broadcom.com \
    --to=rnorton@broadcom.com \
    --cc=gdb@sourceware.org \
    --cc=nickrob@snap.net.nz \
    /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