From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23663 invoked by alias); 12 May 2012 17:46:41 -0000 Received: (qmail 23646 invoked by uid 22791); 12 May 2012 17:46:41 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,SUBJ_OBFU_PUNCT_FEW,SUBJ_OBFU_PUNCT_MANY X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 12 May 2012 17:46:28 +0000 From: "ppluzhnikov at google dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/14100] New: internal-error: frame_cleanup_after_sniffer: Assertion `frame->prologue_cache == NULL' failed. Date: Sat, 12 May 2012 17:46: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ppluzhnikov at google 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-Changed-Fields: Message-ID: 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-q2/txt/msg00116.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14100 Bug #: 14100 Summary: internal-error: frame_cleanup_after_sniffer: Assertion `frame->prologue_cache == NULL' failed. Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: gdb AssignedTo: unassigned@sourceware.org ReportedBy: ppluzhnikov@google.com Classification: Unclassified Using current HEAD, interrupting a long backtrace results in: ... #25217 0x0000000000400574 in foo (i=9711) at t.c:1 #25218 0x0000000000400574 in foo (i=9710) at t.c:1 ^C../../src/gdb/frame.c:2396: internal-error: frame_cleanup_after_sniffer: Assertion `frame->prologue_cache == NULL' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Aborted (core dumped) Google ref: b/6486017 Repro steps: cat t.c int foo(int i) { char buf[200]; return foo(i + 1) + buf[199]; } main() { return foo(0); } gcc -g t.c && gdb ./a.out GNU gdb (GDB) 7.4.50.20120512-cvs ... (gdb) run Starting program: /tmp/a.out Program received signal SIGSEGV, Segmentation fault. 0x000000000040054f in foo (i=) at t.c:1 1 int foo(int i) { char buf[200]; return foo(i + 1) + buf[199]; } (gdb) bt # Hit ^C after a while ... #25218 0x0000000000400574 in foo (i=9710) at t.c:1 ^C../../src/gdb/frame.c:2396: internal-error: frame_cleanup_after_sniffer: Assertion `frame->prologue_cache == NULL' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Aborted (core dumped) Core was generated by `gdb64-cvs ./a.out'. Program terminated with signal 6, Aborted. #0 0x00007f06e115fa75 in *__GI_raise (sig=) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x00007f06e115fa75 in *__GI_raise (sig=) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x00007f06e11635c0 in *__GI_abort () at abort.c:92 #2 0x0000000000655126 in dump_core () at ../../src/gdb/utils.c:687 #3 0x0000000000656b7a in internal_vproblem (problem=0xc55350, file=, line=, fmt=, ap=) at ../../src/gdb/utils.c:855 #4 0x0000000000656d49 in internal_verror (file=, line=, fmt=, ap=0x7fff8b32b138) at ../../src/gdb/utils.c:870 #5 0x0000000000656de1 in internal_error (file=0x6896
, line=26774, string=0x6
) at ../../src/gdb/utils.c:880 #6 0x00000000006595ce in frame_cleanup_after_sniffer (arg=) at ../../src/gdb/frame.c:2396 #7 0x0000000000542966 in do_my_cleanups (pmy_chain=0xc50888, old_chain=0x8841e0) at ../../src/gdb/cleanups.c:155 #8 0x000000000059bd21 in throw_exception (exception=...) at ../../src/gdb/exceptions.c:227 #9 0x000000000059bced in exceptions_state_mc (action=) at ../../src/gdb/exceptions.c:197 #10 0x000000000065d855 in frame_unwind_find_by_frame (this_frame=, this_cache=) at ../../src/gdb/frame-unwind.c:110 #11 0x00000000006597c1 in get_frame_type (frame=0x92761b0) at ../../src/gdb/frame.c:2226 #12 0x0000000000597498 in print_frame_info (frame=0x92761b0, print_level=1, print_what=LOCATION, print_args=1) at ../../src/gdb/stack.c:767 #13 0x0000000000597b56 in backtrace_command_1 (count_exp=, show_locals=0, from_tty=1) at ../../src/gdb/stack.c:1728 #14 0x0000000000597e83 in backtrace_command (arg=0x0, from_tty=) at ../../src/gdb/stack.c:1804 #15 0x0000000000652a33 in execute_command (p=0x250e9a2 "", from_tty=1) at ../../src/gdb/top.c:484 #16 0x00000000005a4438 in command_handler (command=0x250e9a0 "bt") at ../../src/gdb/event-top.c:435 #17 0x00000000005a4eec in command_line_handler (rl=) at ../../src/gdb/event-top.c:636 #18 0x0000000000694d7b in rl_callback_read_char () at ../../src/readline/callback.c:220 #19 0x00000000005a44a9 in rl_callback_read_char_wrapper (client_data=0x6896) at ../../src/gdb/event-top.c:169 #20 0x00000000005a2dd8 in process_event () at ../../src/gdb/event-loop.c:401 #21 0x00000000005a417a in gdb_do_one_event () at ../../src/gdb/event-loop.c:465 #22 0x00000000005a41e5 in start_event_loop () at ../../src/gdb/event-loop.c:490 #23 0x000000000059d583 in captured_command_loop (data=0x6896) at ../../src/gdb/main.c:226 #24 0x000000000059c0eb in catch_errors (func=, func_args=, errstring=, mask=) at ../../src/gdb/exceptions.c:546 #25 0x000000000059e296 in captured_main (data=) at ../../src/gdb/main.c:1001 #26 0x000000000059c0eb in catch_errors (func=, func_args=, errstring=, mask=) at ../../src/gdb/exceptions.c:546 #27 0x000000000059d544 in gdb_main (args=0x6896) at ../../src/gdb/main.c:1010 #28 0x000000000046fd3e in main (argc=, argv=0x6896) at ../../src/gdb/gdb.c:34 -- 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.