From owner-freebsd-stable@freebsd.org Sat Jul 22 05:51:12 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 711D5CFC4BB for ; Sat, 22 Jul 2017 05:51:12 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0CB2E6D4D6; Sat, 22 Jul 2017 05:51:11 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id v6M5p5cB026390 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 22 Jul 2017 07:51:06 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: truckman@FreeBSD.org Received: from [10.58.0.4] (dadv@[10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id v6M5p17Q058876 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 22 Jul 2017 12:51:01 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: stable/11 r321349 crashing immediately To: Don Lewis , pz-freebsd-stable@ziemba.us References: <201707220542.v6M5ggtP052112@gw.catspoiler.org> Cc: freebsd-stable@FreeBSD.org From: Eugene Grosbein Message-ID: <5972E7C5.6070102@grosbein.net> Date: Sat, 22 Jul 2017 12:51:01 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <201707220542.v6M5ggtP052112@gw.catspoiler.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=3.6 required=5.0 tests=BAYES_00, DATE_IN_FUTURE_96_Q, LOCAL_FROM autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * 3.3 DATE_IN_FUTURE_96_Q Date: is 4 days to 4 months after Received: date * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Level: *** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2017 05:51:12 -0000 22.07.2017 12:42, Don Lewis wrote: > The double fault is a pretty good indication that you overflowed the > kernel stack. Having ~40 frames on the stack when the fault happened is > consistent with that. > > It looks like you are trying to execute a program from an NFS file > system that is exported by the same host. This isn't exactly optimal > ... > > Your best bet for a quick workaround for the stack overflow would be to > rebuild the kernel with a larger value of KSTACK_PAGES. You can find > teh default in /usr/src/sys//conf/NOTES. > > It would probably be a good idea to compute the differences in the stack > pointer values between adjacent stack frames to see of any of them are > consuming an excessive amount of stack space. Also, there is https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219476 Eugene Grosbein