Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927063 - dev-debug/gdb 14.1-r1 error internal-error find_inferior_pid: Assertion pid != 0 failed.
Summary: dev-debug/gdb 14.1-r1 error internal-error find_inferior_pid: Assertion pid !...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal critical
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-15 11:02 UTC by Aivan
Modified: 2024-03-16 01:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aivan 2024-03-15 11:02:37 UTC
dev-debug/gdb 14.1-r1 with flags "nls python3_11 server xml"
cpu: CPU: Intel i7-4770

i want to restore full record:
1) code (c): 
#include <stdio.h>
int num() {return 2;}
void bar(int i){printf("i = %d\n", i);}
int main(){bar(num());return 0;}

2) gcc -ggdb3 main.c -o main

3) gdb main
b main
b num
r
record full
c
record save
stop
record full restore gdb_record
c

4) error:
inferior.c:394: internal-error: find_inferior_pid: Assertion `pid != 0' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
This is a bug, please report it.
Comment 1 Christopher Fore 2024-03-16 01:22:12 UTC
could you post your emerge --info and which version of gcc you used to build gdb?