CVSup core dumping

Dan Nelson dnelson at allantgroup.com
Thu Jan 18 18:34:33 UTC 2007


In the last episode (Jan 18), Firas Kraiem said:
> The title says it all, when I try to run CVSup to update my ports
> collection (6.2-RELEASE), I get a core dump error :
> 
> [root at ana ~]# cvsup -L 2 /root/ports-supfile
> Parsing supfile "/root/ports-supfile"
> Connecting to cvsup.fr.FreeBSD.org
> Connected to cvsup.fr.FreeBSD.org
> Server software version: SNAP_16_1h
> Negotiating file attribute support
> Exchanging collection information
> Establishing multiplexed-mode data connection
> Running
> Fatal error '_longjmp()ing between thread contexts is undefined by POSIX 1003.1' at line 87 in file /usr/src/lib/libc_r/uthread/uthread_jmp.c (errno = 2)
> Abort trap: 6 (core dumped)
> [root at ana ~]#

I didn't think cvsup linked with any threads library, let alone libc_r
which hasn't been the default since 5.2.  Do you have an LD_PRELOAD
environment variable set, or maybe an /etc/libmap.conf file that maps
something to libc_r?

Since you're sunning cvsup in checkout mode, you might want to try
csup, which is a new command in 6.2 and takes the same supfile and
command line flags as cvsup does.

> If it can be of any help, I've put a copy of my supfile here : 
> http://fkraiem.free.fr/ports-supfile

Probably unrelated to the coredump, but if you're updating ports, you
probably want

 *default release=cvs tag=.

in your cvsup file.  What you have (tag=RELENG_6_2) will give you the
same ports tree that was burned onto the 6.2 CDs, which will never
change.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list