Date: Thu, 25 Feb 2010 08:58:47 -0800 (PST) From: Nate Eldredge <nate@thatsmathematics.com> To: Peter Steele <psteele@maxiscale.com> Cc: Kostik Belousov <kostikbel@gmail.com>, Alexandr Rybalko <ray@dlink.ua>, "hackers@freebsd.org" <hackers@freebsd.org> Subject: RE: ntpd hangs under FBSD 8 Message-ID: <Pine.GSO.4.64.1002250856180.5432@zeno.ucsd.edu> In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95703@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB385D5C73@MBX03.exg5.exghost.com> <20100220113349.GA22800@kiwi.sharlinx.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB385D60B7@MBX03.exg5.exghost.com> <bc2d971002220751i256f2329g3f29efdc763bca97@mail.gmail.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB385D60DD@MBX03.exg5.exghost.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95389@MBX03.exg5.exghost.com> <20100224190035.GA5026@wep4035.physik.uni-wuerzburg.de> <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95522@MBX03.exg5.exghost.com> <20100225125838.13cd6c0e.ray@dlink.ua> <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95689@MBX03.exg5.exghost.com> <20100225151828.GA2489@deviant.kiev.zoral.com.ua> <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95703@MBX03.exg5.exghost.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Feb 2010, Peter Steele wrote: >> Very wild guess, check the process signal mask of the child for both >> methods of spawning. > > I'm running ntpd through Python. How do I check the process signal mask? > I did some quick searches and it seems Python does not support > sigprocmask(). That wouldn't help, because you'd get the signal mask of python itself, not of the ntpd child process. truss and/or ktrace can help here, just look backward in the trace for the last call to sigprocmask. (Another possible culprit can be a signal that's handled and then a longjmp (not siglongjmp) out of the handler. You'd see this in the trace as a signal delivery not followed by sigprocmask or sigreturn.) -- Nate Eldredge nate@thatsmathematics.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.1002250856180.5432>