From owner-freebsd-current@FreeBSD.ORG Sun Jun 13 17:15:45 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 699FD16A4CE for ; Sun, 13 Jun 2004 17:15:45 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7AB343D1F for ; Sun, 13 Jun 2004 17:15:44 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i5DHFOkW087401 for ; Sun, 13 Jun 2004 19:15:24 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 13 Jun 2004 18:39:45 +0200." <87190.1087144785@critter.freebsd.dk> Date: Sun, 13 Jun 2004 19:15:24 +0200 Message-ID: <87400.1087146924@critter.freebsd.dk> cc: current@freebsd.org Subject: Re: Netgraph malloc(9) trouble... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jun 2004 17:15:45 -0000 Ok, found it, looks like ancient damage. Poul-Henning In message <87190.1087144785@critter.freebsd.dk>, Poul-Henning Kamp writes: > >panic: malloc(9)/free(9) confusion. >Probably freeing with wrong type, but maybe not here. >Debugger("panic") >Stopped at Debugger+0x45: xchgl %ebx,in_Debugger.0 >db> trace >Debugger(c061e146) at Debugger+0x45 >panic(c061c849,c061c813,c0530c81,0,1) at panic+0xbb >free(c0bc9cc0,c06520c0,0,c0bc9cc0,0) at free+0x116 >ngmn_rcvmsg(c0aeea00,c0bc9d00,0,0,0) at ngmn_rcvmsg+0x2d1 >ng_generic_msg(c0aeea00,c0bc9d00,0,7d1,c0aeea58) at ng_generic_msg+0x11d8 >ng_apply_item(c0aeea00,c0bc9d00) at ng_apply_item+0x312 >ng_snd_item(c0bc9d00,0,0,c0b502e0,3d) at ng_snd_item+0x703 >ngc_send(c0e364f0,0,c0bab400,c0b6f120,0) at ngc_send+0x110 >sosend(c0e364f0,c0b6f120,c7fedc54,c0bab400,0) at sosend+0x4a1 >kern_sendit(c0be4000,3,c7fedccc,0,0) at kern_sendit+0x128 >sendit(c0be4000,3,c7fedccc,0,804f03d) at sendit+0x141 >sendto(c0be4000,c7fedd14,6,c,202) at sendto+0x4d >syscall(2f,2f,2f,bfbfe297,bfbfe292) at syscall+0x217 > >-- >Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 >phk@FreeBSD.ORG | TCP/IP since RFC 956 >FreeBSD committer | BSD since 4.3-tahoe >Never attribute to malice what can adequately be explained by incompetence. >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.