From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16798 invoked by alias); 7 Jan 2014 18:16:59 -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 16770 invoked by uid 48); 7 Jan 2014 18:16:58 -0000 From: "jan.kratochvil at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug symtab/16405] New: call-sites lock up backtrace on Fedora 20 Date: Tue, 07 Jan 2014 18:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab 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_gcctarget 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/msg00008.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=16405 Bug ID: 16405 Summary: call-sites lock up backtrace on Fedora 20 Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: symtab Assignee: unassigned at sourceware dot org Reporter: jan.kratochvil at redhat dot com Target: x86_64-unknown-linux-gnu Attempt to backtrace LibreOffice on Fedora 20 x86_64 locks up, each frame gets up to minutes to print, GDB RSS grows to 1GB and more. The queue in process_queue() in the backtrace below (randomly stopped GDB) had 166 symtab entries. It is probably a regression since call sites exist; unaware why it did not reproduce before. But expansion of a single symtab should not cause 166 symtabs to be expanded. FAIL: GNU gdb (GDB) 7.6.50.20140107-cvs FAIL: GNU gdb (GDB) 7.6.1.20131021-cvs FAIL: gdb-7.6.50.20130731-16.fc20.x86_64 N/A: GNU gdb (GDB) 7.5.1.20130125-cvs - it cannot parse Fedora 20 DWARF LibreOffice backtrace: (gdb) bt Python Exception No module named gdb.frames: #0 0x0000003eaaceaa8d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x0000003ead4495b4 in g_main_context_poll (priority=2147483647, n_fds=3, fds=0x14da140, timeout=9915, context=0xa4db60) at gmain.c:4007 #2 g_main_context_iterate (context=context@entry=0xa4db60, block=block@entry=1, dispatch=dispatch@entry=1, self=) at gmain.c:3708 GDB backtrace: #0 process_queue #1 in dw2_do_instantiate_symtab #2 in dw2_instantiate_symtab #3 in dw2_find_pc_sect_symtab #4 in find_pc_sect_symtab #5 in find_pc_symtab #6 in call_site_for_pc #7 in call_site_find_chain_1 #8 in call_site_find_chain #9 in dwarf2_tailcall_sniffer_first #10 in dwarf2_frame_prev_register #11 in frame_unwind_register_value #12 in frame_register_unwind #13 in frame_register_unwind_location #14 in get_prev_frame_1 #15 in get_prev_frame #16 in value_of_dwarf_reg_entry #17 in value_of_dwarf_block_entry #18 in loclist_read_variable_at_entry #19 in read_frame_arg #20 in print_frame_args #21 in print_frame #22 in print_frame_info #23 in backtrace_command_1 #24 in backtrace_command #25 in do_cfunc #26 in cmd_func #27 in execute_command #28 in command_handler #29 in command_line_handler #30 in rl_callback_read_char #31 in rl_callback_read_char_wrapper #32 in stdin_event_handler #33 in handle_file_event #34 in process_event #35 in gdb_do_one_event #36 in start_event_loop #37 in cli_command_loop #38 in current_interp_command_loop #39 in captured_command_loop #40 in catch_errors #41 in captured_main #42 in catch_errors #43 in gdb_main #44 in main -- You are receiving this mail because: You are on the CC list for the bug.