Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jul 2017 12:51:01 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Don Lewis <truckman@FreeBSD.org>, pz-freebsd-stable@ziemba.us
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: stable/11 r321349 crashing immediately
Message-ID:  <5972E7C5.6070102@grosbein.net>
In-Reply-To: <201707220542.v6M5ggtP052112@gw.catspoiler.org>
References:  <201707220542.v6M5ggtP052112@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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/<arch>/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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5972E7C5.6070102>