[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#985645: hurd: Hurd creates buggy core files or gdb cannot read core files properly



Svante Signell, le dim. 21 mars 2021 11:47:14 +0100, a ecrit:
> Example session:
> host ftp.sunet.se
> ftp.sunet.se is an alias for sunet.ftp.acc.umu.se.
> sunet.ftp.acc.umu.se has address 194.71.11.173
> sunet.ftp.acc.umu.se has address 194.71.11.165
> socket.c:3175: REQUIRE(readable || writeable) failed, back trace
> #0 0x1337666 in ??
> #1 0x1337595 in ??
> #2 0x137e3d5 in ??
> #3 0x1372d1c in ??
> #4 0x13e782f in ??

So bind9 itself doesn't find its own symbols.  I'm then not surprised
that gdb can't either. Trying a trivial example:

int main(void) {  *(int*) 0 = 0; }

gives

€ gdb ./test core
[...]
Program terminated with signal SIGSEGV, Segmentation fault.

warning: Unexpected size of section `.reg2/903' in core file.
#0  main () at test.c:5
5               *(int*) 0 = 0;

So it seems to work at least basically.

Samuel


Reply to: