From nobody@FreeBSD.org  Fri Mar 14 09:31:34 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D08971065677
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 14 Mar 2008 09:31:34 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id E31448FC35
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 14 Mar 2008 09:31:34 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m2E9SE4B005062
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 14 Mar 2008 09:28:14 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m2E9SEvW005061;
	Fri, 14 Mar 2008 09:28:14 GMT
	(envelope-from nobody)
Message-Id: <200803140928.m2E9SEvW005061@www.freebsd.org>
Date: Fri, 14 Mar 2008 09:28:14 GMT
From: Gael Roualland <gael.roualland@dial.oleane.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: in kernel alias_irc nat double panic
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         121693
>Category:       kern
>Synopsis:       [nat] [panic] in kernel alias_irc nat double panic
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    piso
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 14 09:40:00 UTC 2008
>Closed-Date:    Mon Mar 17 22:36:13 UTC 2008
>Last-Modified:  Tue Mar 18 14:10:04 UTC 2008
>Originator:     Gael Roualland
>Release:        7.0-STABLE
>Organization:
>Environment:
FreeBSD jerry.priv 7.0-STABLE FreeBSD 7.0-STABLE #0: Thu Mar 13 21:12:57 CET 2008     gael@jerry:/home/cvsup/obj/home/cvsup/src/sys/JERRY  i386

>Description:
Loading alias_irc in a kernel with nat activated leads to a kernel crash
with a  double panic a few seconds later when at least one irc connection
is active to the outside (locally originated).

Unfortunately I do not have a backtrace available, core dump was lost.
I will reproduce if needed to get it.
>How-To-Repeat:
# kldload alias_irc

then let pass some irc traffic...
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Mar 14 11:18:51 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121693 

From: Vadim Goncharov <vadim_nuclight@mail.ru>
To: Gael Roualland <gael.roualland@dial.oleane.com>
Cc: bug-followup@FreeBSD.org, eugen@kuzbass.ru
Subject: Re: kern/121693: in kernel alias_irc nat double panic
Date: Fri, 14 Mar 2008 17:06:39 +0600

 Hi Gael Roualland! 
 
 On Fri, 14 Mar 2008 09:28:14 GMT; Gael Roualland <gael.roualland@dial.oleane.com> wrote:
 
 >>Number:         121693
 >>Category:       kern
 >>Synopsis:       in kernel alias_irc nat double panic
 >>Confidential:   no
 >>Severity:       serious
 >>Priority:       low
 >>Responsible:    freebsd-bugs
 >>State:          open
 >>Quarter:        
 >>Keywords:       
 >>Date-Required:
 >>Class:          sw-bug
 >>Submitter-Id:   current-users
 >>Arrival-Date:   Fri Mar 14 09:40:00 UTC 2008
 >>Closed-Date:
 >>Last-Modified:
 >>Originator:     Gael Roualland
 >>Release:        7.0-STABLE
 >>Organization:
 >>Environment:
 > FreeBSD jerry.priv 7.0-STABLE FreeBSD 7.0-STABLE #0: Thu Mar 13 21:12:57 CET 2008     gael@jerry:/home/cvsup/obj/home/cvsup/src/sys/JERRY  i386
 
 >>Description:
 > Loading alias_irc in a kernel with nat activated leads to a kernel crash with a  double panic a few seconds later when at least one irc connection is active to the outside (locally originated).
 
 > Unfortunately I do not have a backtrace available, core dump was lost. I will reproduce if needed to get it.
 
 Oops, sent letter with wrong PR number.
 This looks like the same bug as in kern/118432 on 6.3 - which has backtrace
 included.
 
 -- 
 WBR, Vadim Goncharov. ICQ#166852181       mailto:vadim_nuclight@mail.ru
 [Moderator of RU.ANTI-ECOLOGY][FreeBSD][http://antigreen.org][LJ:/nuclight]

From: Vadim Goncharov <vadim_nuclight@mail.ru>
To: Gael Roualland <gael.roualland@dial.oleane.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/121693: in kernel alias_irc nat double panic
Date: Fri, 14 Mar 2008 17:02:47 +0600

 Hi Gael Roualland! 
 
 On Fri, 14 Mar 2008 09:28:14 GMT; Gael Roualland <gael.roualland@dial.oleane.com> wrote:
 
 >>Number:         121693
 >>Category:       kern
 >>Synopsis:       in kernel alias_irc nat double panic
 >>Confidential:   no
 >>Severity:       serious
 >>Priority:       low
 >>Responsible:    freebsd-bugs
 >>State:          open
 >>Quarter:        
 >>Keywords:       
 >>Date-Required:
 >>Class:          sw-bug
 >>Submitter-Id:   current-users
 >>Arrival-Date:   Fri Mar 14 09:40:00 UTC 2008
 >>Closed-Date:
 >>Last-Modified:
 >>Originator:     Gael Roualland
 >>Release:        7.0-STABLE
 >>Organization:
 >>Environment:
 > FreeBSD jerry.priv 7.0-STABLE FreeBSD 7.0-STABLE #0: Thu Mar 13 21:12:57 CET 2008     gael@jerry:/home/cvsup/obj/home/cvsup/src/sys/JERRY  i386
 
 >>Description:
 > Loading alias_irc in a kernel with nat activated leads to a kernel crash with a  double panic a few seconds later when at least one irc connection is active to the outside (locally originated).
 
 > Unfortunately I do not have a backtrace available, core dump was lost. I will reproduce if needed to get it.
 
 
 This is looks much the same like kern/121693 on 6.3, which has backtrace
 included.
 
 
 -- 
 WBR, Vadim Goncharov. ICQ#166852181       mailto:vadim_nuclight@mail.ru
 [Moderator of RU.ANTI-ECOLOGY][FreeBSD][http://antigreen.org][LJ:/nuclight]
Responsible-Changed-From-To: freebsd-net->piso@FreeBSD.org 
Responsible-Changed-By: piso 
Responsible-Changed-When: Fri Mar 14 11:40:28 UTC 2008 
Responsible-Changed-Why:  
Assign it to me. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=121693 
Responsible-Changed-From-To: piso@FreeBSD.org->piso 
Responsible-Changed-By: piso 
Responsible-Changed-When: Fri Mar 14 13:51:39 UTC 2008 
Responsible-Changed-Why:  
Correct my email. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=121693 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/121693: commit references a PR
Date: Mon, 17 Mar 2008 22:16:26 +0000 (UTC)

 piso        2008-03-17 22:16:19 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_7)
     sys/netinet/libalias alias_irc.c 
   Log:
   MFC revision 1.25:
   Don't abuse stack space while in kernel land, use heap instead.
   
   PR:     kern/121693
   
   Revision  Changes    Path
   1.23.2.1  +10 -5     src/sys/netinet/libalias/alias_irc.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->		 closed  
State-Changed-By: piso 
State-Changed-When: Mon Mar 17 22:35:35 UTC 2008 
State-Changed-Why:  
Fix committed. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=121693 

From: Eugene Grosbein <eugen@kuzbass.ru>
To: bug-followup@freebsd.org
Cc: piso@freebsd.org
Subject: Re: kern/121693: [nat] [panic] in kernel alias_irc nat double panic
Date: Tue, 18 Mar 2008 20:57:20 +0700

 Thank you very much for paying attention to the problem.
 Are you sure the fix is complete and PR needed to be closed so quickly?
 
 You have changed type of newpacket variable from an array to the pointer
 and have not touched any line where sizeof(newpacket) is being compared
 with another variables. Is it right?
 
 Eugene Grosbein
>Unformatted:
