Re: cvs commit: src/sys/kern vfs_bio.c vfs_lock.c vfs_subr.c vfs
:Even after using an older kernel I still got this behaviour, so hence I
:started suspecting a subtle fs corruption.
:
:This is not the case once I got to do some more testing.
:
:cvs repeatedly failed in cvs-1.12.11/src/lock.c:
:
:readlock = xmalloc (strlen (hostname) + sizeof (CVSRFL) + 40);
:
:Funny part was that it failed on local filesystems, checking out from a
:pserver worked as it should.
:
:Tested it with a:
:
:cd /tmp
:mkdir test test2
:cvs -d /tmp/test init
:cd test2
:cvs -d /tmp/test checkout .
:
:and got the same problem (backtrace in lock.c, same line).
:
:So that confirmed for me that it is not the filesystem reworking.
:
:I now jumped back to CVS 1.12.9. My SIGSEGV 11's are gone and I can
:checkout from my local cvsupped repositories.
:...
Well, throw the core file from the sigsegv onto leaf and I'll take
a look at it.
It seems likely related to the machine's hostname. Is there a hostname
set for your machine? It kinda sounds like the code that sets the
'hostname' variable in the cvs program is broken.
-Matt
討論串 (同標題文章)
完整討論串 (本文為第 4 之 7 篇):