From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26905 invoked by alias); 19 Nov 2012 20:35:59 -0000 Received: (qmail 26817 invoked by uid 48); 19 Nov 2012 20:35:59 -0000 From: "tromey at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug c++/14834] Crash while trying to read field Date: Mon, 19 Nov 2012 20:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at redhat dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 7.6 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2012-q4/txt/msg00281.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14834 --- Comment #14 from Tom Tromey 2012-11-19 20:35:56 UTC --- Unfortunately I still can't make a test case. The immediate problem here is in cp_print_value_fields. We have i == vptr_fieldno && type == vptr_basetype -- but erroneously. So one question is the value of 'i' and also 'type' (here, "type.main_type.name" will tell you the type currently being printed). But I suspect that this is just the local problem and the real issue is that get_vptr_fieldno is returning the wrong results. And if that is so then it is likely that the issue is either in the debuginfo or the debuginfo reader. Any chance you can send me your executable? -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.