Bug 28335 - Daily debugging breakpoint errors
Summary: Daily debugging breakpoint errors
Status: UNCONFIRMED
Alias: None
Product: gdb
Classification: Unclassified
Component: breakpoints (show other bugs)
Version: 8.1.1
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-13 11:18 UTC by fa1lr4in
Modified: 2021-11-05 14:53 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
Project(s) to access:
ssh public key:


Attachments
javascript code file (2.11 KB, text/javascript)
2021-09-13 11:31 UTC, fa1lr4in
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fa1lr4in 2021-09-13 11:18:34 UTC
When I use gdb to debug d8(https://v8.dev/), I get an error, the details are as follows:

root@ubuntu:~/v8/v8/v8/out/x64.release# gdb d8
pwndbg> set args --allow-natives-syntax 7.js
pwndbg> r
Starting program: /root/v8/v8/v8/out/x64.release/d8 --allow-natives-syntax 7.js
ERROR: Could not find ELF base!
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7f40a3509700 (LWP 114035)]
[New Thread 0x7f40a2d08700 (LWP 114036)]
[New Thread 0x7f40a2507700 (LWP 114037)]
[Thread 0x7f40a2507700 (LWP 114037) exited]
[Thread 0x7f40a2d08700 (LWP 114036) exited]
[Thread 0x7f40a3509700 (LWP 114035) exited]
process 114031 is executing new program: /bin/dash
/build/gdb-veKdC1/gdb-8.1.1/gdb/breakpoint.c:13230: internal-error: void delete_breakpoint(breakpoint*): Assertion `bpt != NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.

This is a bug, please report it.  For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>.
Comment 1 fa1lr4in 2021-09-13 11:22:43 UTC
I cannot upload the core file because its size is too large
Comment 2 fa1lr4in 2021-09-13 11:27:40 UTC
Because the program is too large, I can not import it in the attachment. The program is x64.release d8, and the commit is cc396d4473d2f7b6b15ee8474d594d2387167d30. My javascript file will be reflected in the attachment.
Comment 3 fa1lr4in 2021-09-13 11:31:21 UTC
Created attachment 13664 [details]
javascript code file
Comment 4 Simon Marchi 2021-11-05 14:53:03 UTC
Hi,

You filed it as GDB 8.1.1.  Can you try with the master branch, or the latest release (GDB 11.1)?