core dump in cvsup caused by _once()?
Gary Jennejohn
gary.jennejohn at freenet.de
Mon Dec 7 14:34:22 UTC 2009
"Sean C. Farley" <scf at FreeBSD.org> wrote:
> Also, cvsupd will core dump (SIGILL) when built on stable/8 amd64
> r199641 when a connection to it is made from csup. An i386-built
> cvsupd will run correctly on the same system. For cvsupd, it is dying
> at dladdr(), but I have not had time to debug it further.
>
I'm seeing this now also on 9-CURRENT AMD64 using a world installed today (but
compiled yesterday). I'd decided to recompile cvsup/cvsupd with debugging
in an effort to figure out why a newly installed zoneinfo/UTC causes cvsup to
dump core.
Some gdb output:
Core was generated by `cvsupd'.
Program terminated with signal 4, Illegal instruction.
Reading symbols from /lib/libz.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.5
Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x00000008005c0ae0 in symlook_default () from /libexec/ld-elf.so.1
(gdb) bt
#0 0x00000008005c0ae0 in symlook_default () from /libexec/ld-elf.so.1
#1 0x00000008005c132b in find_symdef () from /libexec/ld-elf.so.1
#2 0x00000008005c1403 in _rtld_bind () from /libexec/ld-elf.so.1
#3 0x00000008005be57d in _rtld_bind_start () from /libexec/ld-elf.so.1
If I run cvsupd under ktrace it does not fail. It also does not fail
if I don't specify the -C flag. In both these case cvsupd basically runs
in the foreground. It almost looks like the normal case, with -C and a fork
of cvsupd, results in the death of the child because the parent cvsupd keeps
running. Very weird.
Last week it still worked.
---
Gary Jennejohn
More information about the freebsd-current
mailing list