From ortmann@sparc.isl.net  Sat Apr 12 13:32:54 1997
Received: from watcher.isl.net (ppp-33.isl.net [199.3.25.82])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA20166
          for <FreeBSD-gnats-submit@freebsd.org>; Sat, 12 Apr 1997 13:32:51 -0700 (PDT)
Received: (from ortmann@localhost)
	by watcher.isl.net (8.8.5/8.8.5) id DAA09806;
	Sat, 12 Apr 1997 03:43:42 -0500 (CDT)
Message-Id: <199704120843.DAA09806@watcher.isl.net>
Date: Sat, 12 Apr 1997 03:43:42 -0500 (CDT)
From: Daniel Ortmann <ortmann@sparc.isl.net>
Reply-To: ortmann@sparc.isl.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: exec pppd -detach ... caused a kernel panic
X-Send-Pr-Version: 3.2

>Number:         3269
>Category:       bin
>Synopsis:       exec pppd -detach ... caused a kernel panic
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 12 13:40:01 PDT 1997
>Closed-Date:    Sat Aug 23 17:59:53 MEST 1997
>Last-Modified:  Sat Aug 23 18:01:09 MEST 1997
>Originator:     Daniel Ortmann
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
n/a
>Environment:

no special environment needed.  (I was running bash2.)

>Description:

As root I exec'ed the following command from the shell and
brought down the system instantly:

exec /usr/sbin/pppd -detach connect "/usr/bin/chat -v -f \
	/etc/ppp/chat.dial" /dev/cuaa2

This is non-critical since I probably should have run it without
the -detach option and then just logged out normally; i.e. the
normal "workaround" is in fact the better way to do this.

>How-To-Repeat:

Create a chat script to dialup and start a pppd session and then
run the above code fragment.

>Fix:

I should have run it without the "-detach" option (but the system
should not have gone through a panic.
>Release-Note:
>Audit-Trail:

From: David Nugent <davidn@unique.usn.blaze.net.au>
To: ortmann@sparc.isl.net
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: bin/3269: exec pppd -detach ... caused a kernel panic
Date: Sun, 13 Apr 1997 07:29:23 +1000

 On Sat Apr 12 03:43:42 EST 1997, Daniel Ortmann writes:
 > no special environment needed.  (I was running bash2.)
 
 I think a special environment *is* needed. Perhaps the trap info
 when your system crashed would be informative?
 
 
 > As root I exec'ed the following command from the shell and
 > brought down the system instantly:
 > 
 > exec /usr/sbin/pppd -detach connect "/usr/bin/chat -v -f \
 > 	/etc/ppp/chat.dial" /dev/cuaa2
 
 I execute almost exactly this commandline routinely on three
 3.0-current boxes, with and without the detach. Only the
 filenames are different. Two of them are even run from /etc/ttys
 where the -detach parameter is mandatory to stop init spawning
 bunches of them and then complaining about it being run too
 frequently.
 
 
 Regards,
 
 David Nugent - Unique Computing Pty Ltd - Melbourne, Australia
 Voice +61-3-9791-9547  Data/BBS +61-3-9792-3507  3:632/348@fidonet
 davidn@freebsd.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sat Aug 23 17:59:53 MEST 1997 
State-Changed-Why:  

Please tell us more datapoints.  As obvious from the audit-trail, you 
are the only person ever reported such a problem, so there _must_ be 
something special in your environment.  We hardly could fix anything 
we can't reproduce at all. 
>Unformatted:
