public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug remote/17700] New: failed assertion in findvar.c -- frame_id_p ( get_frame_id (frame) )
@ 2014-12-11 19:47 schulte.eric at gmail dot com
  2021-10-28 17:26 ` [Bug remote/17700] " christophe.leroy at csgroup dot eu
  0 siblings, 1 reply; 2+ messages in thread
From: schulte.eric at gmail dot com @ 2014-12-11 19:47 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17700

            Bug ID: 17700
           Summary: failed assertion in findvar.c -- frame_id_p (
                    get_frame_id (frame) )
           Product: gdb
           Version: 7.8
            Status: NEW
          Severity: normal
          Priority: P2
         Component: remote
          Assignee: unassigned at sourceware dot org
          Reporter: schulte.eric at gmail dot com

Created attachment 8005
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8005&action=edit
ARM binary executable, tinyhttpd web server

The following text is printed by GDB when executing stepi in a while loop using
a gdb script.

    0xf67e3020 in ?? ()
    1: x/i $pc
    findvar.c:292: internal-error: value_of_register_lazy: Assertion
`frame_id_p (get_frame_id (frame))' failed.
    A problem internal to GDB has been detected,
    further debugging may prove unreliable.
    Quit this debugging session? (y or n) [answered Y; input not from terminal]

    This is a bug, please report it.  For instructions, see:
    <http://www.gnu.org/software/gdb/bugs/>.

    findvar.c:292: internal-error: value_of_register_lazy: Assertion
`frame_id_p (get_frame_id (frame))' failed.
    A problem internal to GDB has been detected,
    further debugging may prove unreliable.
    Create a core file of GDB? (y or n) [answered Y; input not from terminal]

The setup is an ARM binary run using qemu-arm-static user emulation.

    qemu-arm-static -g 1234 ./httpd 8888

The -g option to qemu starts a gdb stub which is first connected to, before
setting a breakpoint, continuing, and then executing a long series of stepi
instructions before the bug is exercised.  I'll attach the binary in case it is
of any use.  Note: if you try to run this and get as far as actually running
the executable, you'll have to actually submit a request to the server (e.g.,
with curl) to exercise the bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug remote/17700] failed assertion in findvar.c -- frame_id_p ( get_frame_id (frame) )
  2014-12-11 19:47 [Bug remote/17700] New: failed assertion in findvar.c -- frame_id_p ( get_frame_id (frame) ) schulte.eric at gmail dot com
@ 2021-10-28 17:26 ` christophe.leroy at csgroup dot eu
  0 siblings, 0 replies; 2+ messages in thread
From: christophe.leroy at csgroup dot eu @ 2021-10-28 17:26 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17700

Christophe Leroy <christophe.leroy at csgroup dot eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |christophe.leroy at csgroup dot eu

--- Comment #1 from Christophe Leroy <christophe.leroy at csgroup dot eu> ---
Same problem observed with GCC 7.8.1 on powerpc/32:

Breakpoint 3, 0x00000300 in ?? ()
=> 0x00000300:  7d 50 43 a6     mtsprg  0,r10
(gdb) stepi
0x00000304 in ?? ()
=> 0x00000304:  7d 71 43 a6     mtsprg  1,r11
(gdb) print $r10
findvar.c:292: internal-error: value_of_register_lazy: Assertion `frame_id_p
(get_frame_id (frame))' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-28 17:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-11 19:47 [Bug remote/17700] New: failed assertion in findvar.c -- frame_id_p ( get_frame_id (frame) ) schulte.eric at gmail dot com
2021-10-28 17:26 ` [Bug remote/17700] " christophe.leroy at csgroup dot eu

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).