This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/14054] New: stale bp_location->section
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 02 May 2012 21:24:50 +0000
- Subject: [Bug breakpoints/14054] New: stale bp_location->section
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=14054
Bug #: 14054
Summary: stale bp_location->section
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: breakpoints
AssignedTo: unassigned@sourceware.org
ReportedBy: jan.kratochvil@redhat.com
Classification: Unclassified
Target: x86_64-unknown-linux-gnu
./gdb -ex r --args ./gdb -ex 'set confirm no' -ex 'b main' -ex 'file' -ex 'info
break' ./gdb
Num Type Disp Enb Address What
Program received signal SIGSEGV, Segmentation fault.
0x0000000000759a5c in lookup_minimal_symbol_by_pc_section_1 (pc=4753415,
section=0x215a570, want_trampoline=0) at minsyms.c:514
514 if (objfile->minimal_symbol_count > 0)
Invalid read of size 8
at: lookup_minimal_symbol_by_pc_section_1 (minsyms.c:504)
by: lookup_minimal_symbol_by_pc_section (minsyms.c:712)
by: find_pc_sect_symtab (symtab.c:1986)
by: blockvector_for_pc_sect (block.c:122)
by: block_for_pc_sect (block.c:230)
by: find_pc_sect_function (blockframe.c:140)
by: print_breakpoint_location (breakpoint.c:5355)
by: print_one_breakpoint_location (breakpoint.c:5601)
by: print_one_breakpoint (breakpoint.c:5809)
by: breakpoint_1 (breakpoint.c:6040)
by: breakpoints_info (breakpoint.c:6096)
by: do_cfunc (cli-decode.c:67)
by: cmd_func (cli-decode.c:1810)
by: execute_command (top.c:483)
by: catch_command_errors (exceptions.c:573)
by: captured_main (main.c:977)
by: catch_errors (exceptions.c:546)
by: gdb_main (main.c:1010)
by: main (gdb.c:34)
Address 0xe0df528 is 392 bytes inside a block of size 4,064 free'd
at: free (vg_replace_malloc.c:427)
by: xfree (common-utils.c:107)
by: obstack_free (obstack.c:367)
by: free_objfile (objfiles.c:610)
by: free_all_objfiles (objfiles.c:644)
by: symbol_file_clear (symfile.c:1260)
by: symbol_file_command (symfile.c:1622)
by: file_command (exec.c:365)
by: do_cfunc (cli-decode.c:67)
by: cmd_func (cli-decode.c:1810)
by: execute_command (top.c:483)
by: catch_command_errors (exceptions.c:573)
by: captured_main (main.c:977)
by: catch_errors (exceptions.c:546)
by: gdb_main (main.c:1010)
by: main (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.