kern/111260: FreeBSD kernel dead lock and a solution

zhouyi zhou zhouzhouyi at
Wed Oct 24 22:40:03 PDT 2007

The following reply was made to PR kern/111260; it has been noted by GNATS.

From: zhouyi zhou <zhouzhouyi at>
To: kris at,linimon at
Cc: freebsd-gnats-submit at
Subject: Re: kern/111260: FreeBSD kernel dead lock and a solution
Date: Thu, 25 Oct 2007 13:35:52 +0800

 by usinggdb, I find the slow_copyout in lock1.jpg is caused by 
 do_execve's call to 
 	if (p->p_sysent->sv_copyout_strings)
 		stack_base = (*p->p_sysent->sv_copyout_strings)(imgp);
 		stack_base = exec_copyout_strings(imgp);
 the slow_copyout in lock2.jpg is caused by 
 exec_elf32_imgact's call to 
 			if ((error = __elfN(load_section)(imgp->proc, vmspace,
 			    imgp->vp, imgp->object, phdr[i].p_offset,
 			    (caddr_t)((uintptr_t)phdr[i].p_vaddr + base_addr),
 			    phdr[i].p_memsz, phdr[i].p_filesz, prot,
 			    sv->sv_pagesize)) != 0)
   				goto fail;
 On Thu, 25 Oct 2007 10:29:22 +0800
 zhouyi zhou <zhouzhouyi at> wrote:
 > Hi Kris,
 >   It appears again, see the photo I take, if you want more, I can paste more :-)
 > thanks
 > Best Regards
 > Zhouyi Zhou

More information about the freebsd-bugs mailing list