From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9383 invoked by alias); 26 Jan 2014 09:28:17 -0000 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 Received: (qmail 9346 invoked by uid 48); 26 Jan 2014 09:28:16 -0000 From: "qiyao at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug python/16470] Crash when inspecting STL containers with GDB pretty print Date: Sun, 26 Jan 2014 09:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Version: 7.6 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: qiyao at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q1/txt/msg00125.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D16470 Yao Qi changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |qiyao at gcc dot gnu.org --- Comment #1 from Yao Qi --- (In reply to Axel M=C3=BCller from comment #0) >=20 > I installed the python pretty printers for STL from the GNU website and l= oad > them in my .gdbinit. Where can we get the python pretty printer? and how do you load them into G= DB? > GDB crashes when I inspect the STL list. >=20 > To reproduce from the command line: > gdb -i mi -nx >=20 > -enable-pretty-printing > -gdb-set print object on > source /home/amueller/.gdbinit We don't know what your ~/.gdbinit is, so could you please give us the step= s in your ~/.gdbinit? --=20 You are receiving this mail because: You are on the CC list for the bug. >>From gdb-prs-return-15118-listarch-gdb-prs=sources.redhat.com@sourceware.org Sun Jan 26 18:24:34 2014 Return-Path: Delivered-To: listarch-gdb-prs@sources.redhat.com Received: (qmail 16410 invoked by alias); 26 Jan 2014 18:24:34 -0000 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 Delivered-To: mailing list gdb-prs@sourceware.org Received: (qmail 16374 invoked by uid 48); 26 Jan 2014 18:24:33 -0000 From: "jan.kratochvil at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/16505] New: internal SIGFPE busy-CPU locks up GDB Date: Sun, 26 Jan 2014 18:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan.kratochvil at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cf_gcchost attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q1/txt/msg00126.txt.bz2 Content-length: 1239 https://sourceware.org/bugzilla/show_bug.cgi?id=16505 Bug ID: 16505 Summary: internal SIGFPE busy-CPU locks up GDB Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: jan.kratochvil at redhat dot com Host: x86_64-unknown-linux-gnu Created attachment 7372 --> https://sourceware.org/bugzilla/attachment.cgi?id=7372&action=edit trivial 1/0 reproducer When SIGFPE happens in GDB (for example due to corrupted DWARF file): Actual: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 22602 jkratoch 20 0 243188 90680 39960 R 97.3 1.5 0:12.50 gdb + GDB under GDB: Program received signal SIGFPE, Arithmetic exception. 0x00000000007d076e in process_die (die=0x2531c40, cu=0x23d1b80) at dwarf2read.c:8031 8031 volatile int i=a/b; (gdb) _ Expected: ../../gdb/dwarf2read.c:8031: internal-error: A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) _ -- You are receiving this mail because: You are on the CC list for the bug.