Svante Signell, le ven. 18 déc. 2020 14:30:27 +0100, a ecrit: > On Fri, 2020-12-18 at 14:02 +0100, Samuel Thibault wrote: > > Svante Signell, le ven. 18 déc. 2020 13:22:12 +0100, a ecrit: > > > > > > It is a crash: Without gdb: > > > 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:3173: REQUIRE(readable || writeable) failed, back trace > > > #0 0x132a806 in ?? > > > #1 0x132a735 in ?? > > > #2 0x13640d5 in ?? > > > #3 0x13c33ff in ?? > > > Aborted > > > > Yes, so enable cores with "ulimit -c unlimited", then open it with > > gdb. > > And as usual gdb on a core file is useless:
Do you have the -dbgsym package? core files do work for me, e.g. int main(void) { *(int*) 0 = 0; } compiled with -g, ran, and ran gdb over the core, I do get a proper backtrace. (and yes, the warning about the reg2 section is harmless). Samuel