This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug mi/11788] New: varobj_create uses stale frame_info


There is a crash in
  varobj_create->select_frame->get_frame_address_in_block

It keeps `struct frame_info *old_fi' over gdb_evaluate_expression while
  expr = "curl_easy_getinfo(curl_handle, CURLINFO_SPEED_UPLOAD,
                            doc.SPEED_UPLOAD)"

and inferior calls invalidates any struct frame_info *.

It should keep only `struct frame_id'.

Backtrace:
https://bugzilla.redhat.com/show_bug.cgi?id=610986

-- 
           Summary: varobj_create uses stale frame_info
           Product: gdb
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: mi
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: jan dot kratochvil at redhat dot com
                CC: gdb-prs at sourceware dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=11788

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]