public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug breakpoints/14054] New: stale bp_location->section
Date: Wed, 02 May 2012 21:25:00 -0000	[thread overview]
Message-ID: <bug-14054-4717@http.sourceware.org/bugzilla/> (raw)

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.


                 reply	other threads:[~2012-05-02 21:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-14054-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).