From dinoex@net2.dinoex.sub.org  Sun May 10 09:20:17 1998
Received: from mail.dinoex.sub.org (root@mail.dinoex.sub.de [62.104.39.76])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA05861
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 10 May 1998 09:20:15 -0700 (PDT)
          (envelope-from dinoex@net2.dinoex.sub.org)
Received: (from uucp@localhost)
          by mail.dinoex.sub.org (8.8.7/8.8.7) with UUCP id SAA15479
          for FreeBSD-gnats-submit@freebsd.org; Sun, 10 May 1998 18:19:30 +0200 (CEST)
Received: (from dinoex@localhost)
          by net2.dinoex.sub.org (8.8.7/8.8.7) id JAA29388;
          Sun, 10 May 1998 09:41:31 +0200 (CEST)
Message-Id: <199805100741.JAA29388@net2.dinoex.sub.org>
Date: Sun, 10 May 1998 09:41:31 +0200 (CEST)
From: Dirk Meyer <dinoex@net2.dinoex.sub.org>
Reply-To: dirk.meyer@dinoex.sub.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: gdb stackframe in static library shows not the calling function
X-Send-Pr-Version: 3.2

>Number:         6574
>Category:       kern
>Synopsis:       ipfw crash with DIAGANOSTICS
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 10 09:20:01 PDT 1998
>Closed-Date:    Mon Jun 7 00:58:00 PDT 1999
>Last-Modified:  Mon Jun  7 00:58:49 PDT 1999
>Originator:     Dirk Meyer
>Release:        FreeBSD 2.2.5-RELEASE i386
>Organization:
privat
>Environment:

	

>Description:

	
	ipfw causes the kernel to panic, if its used the first time

>How-To-Repeat:

	
	compile your kernel with DIAGNOSTICS and IPFW
	set up standard rules eg firewall_type=open
	ping a first packet trough the kernel and it panics.

>Fix:

	
	none.

*** sys/netinet/ip_fw.c	Sat Aug 23 16:31:52 1997
--- sys/netinet/ip_fw.c.neu	Tue Nov 25 12:09:39 1997
***************
*** 553,562 ****
--- 553,564 ----
  		break;
  	}
  
+ #if 0	/* chain ist undef, for all rules without exlpicit direction */
  #ifdef DIAGNOSTIC
  	/* Rule 65535 should always be there and should always match */
  	if (!chain)
  		panic("ip_fw: chain");
+ #endif
  #endif
  
  	/*
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: ru 
State-Changed-When: Fri Jun 4 20:14:21 PDT 1999 
State-Changed-Why:  
Can't reproduce the problem on 3.2-STABLE. 
Do you still have this problem? 
State-Changed-From-To: feedback->closed 
State-Changed-By: ru 
State-Changed-When: Mon Jun 7 00:58:00 PDT 1999 
State-Changed-Why:  
Originator said: 
No, the 3.2-Release I installed yesterday 
did not sho this problem any more. 
>Unformatted:
