[Bug ada/24919] FAIL: gdb.ada/catch_ex.exp: insert catchpoint on Program_Error (GDB internal error)

vries at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Thu Aug 29 13:35:00 GMT 2019


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

--- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> ---
FTR, using the foo executable in attached catch_ex.tgz, I managed to reproduce
the problem on Fedora 30:
...
[vries@localhost gdb]$ ./build/gdb/gdb
tmp/build/gdb/testsuite/outputs/gdb.ada/catch_ex/foo -batch -ex "b main" -ex
run -ex "catch exception Program_Error"
Breakpoint 1 at 0x401f39: file
/data/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.ada/catch_ex/b~foo.adb,
line 132.

Breakpoint 1, main (argc=1, argv=0x7fffffffd6f8, envp=0x7fffffffd708) at
/data/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.ada/catch_ex/b~foo.adb:132
132    
/data/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.ada/catch_ex/b~foo.adb:
No such file or directory.
/home/vries/gdb/src/gdb/dwarf2loc.c:727: internal-error: virtual void
dwarf_evaluate_loc_desc::get_frame_base(const gdb_byte**, size_t*): Assertion
`framefunc != NULL' 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/>.

/home/vries/gdb/src/gdb/dwarf2loc.c:727: internal-error: virtual void
dwarf_evaluate_loc_desc::get_frame_base(const gdb_byte**, size_t*): Assertion
`framefunc != NULL' 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]
Aborted (core dumped)
...

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


More information about the Gdb-prs mailing list