Re: cvs commit: src/sys/kern vfs_bio.c vfs_lock.c vfs_subr.c vfs

看板DFBSD_commit作者時間21年前 (2005/04/18 14:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/7 (看更多)
: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
文章代碼(AID): #12OrHj00 (DFBSD_commit)
討論串 (同標題文章)
文章代碼(AID): #12OrHj00 (DFBSD_commit)