Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2003 21:36:45 +0100
From:      Morten Rodal <morten@rodal.no>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: panic in fork() on SMP 5.0-RELEASE
Message-ID:  <20030127203644.GA58135@slurp.rodal.no>
In-Reply-To: <XFMail.20030127152700.jhb@FreeBSD.org>
References:  <20030125202206.GA590@slurp.rodal.no> <XFMail.20030127152700.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Mon, Jan 27, 2003 at 03:27:00PM -0500, John Baldwin wrote:
> Do you still have the kernel.debug from this kernel lying around?
> Can you pop gdb up on it and do 'l *0xc01bdb48' please?  That is
> the instruction pointer from the fault and will give the line that
> the actual panic occurred at.
> 

(kgdb) l *0xc01bdb48
0xc01bdb48 is in fork1 (/usr/src/sys/kern/kern_fork.c:388).
383                      */
384                     p2 = LIST_FIRST(&allproc);
385     again:
386                     for (; p2 != NULL; p2 = LIST_NEXT(p2, p_list)) {
387                             PROC_LOCK(p2);
388                             while (p2->p_pid == trypid ||
389                                 p2->p_pgrp->pg_id == trypid ||
390                                 p2->p_session->s_sid == trypid) {
391                                     trypid++;
392                                     if (trypid >= pidchecked) {

-- 
Morten Rodal


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+NZhcbWe1Cy11WVsRAr0tAKDjlJtxSx3HxliO6Now54Uqu2WPtwCg0E8p
as7F8IJBPI1CN8lWYRP8dP4=
=MmtK
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030127203644.GA58135>