Date: Mon, 21 Oct 2013 21:10:06 +0300 From: Konstantin Belousov <kostikbel@gmail.com> To: Julio Merino <julio@meroh.net> Cc: ppc@freebsd.org Subject: Re: powerpc/183040: Nested signal handling is broken Message-ID: <20131021181006.GU3865@kib.kiev.ua> In-Reply-To: <CADyfeQXgJFKbUkXV27kUSxOVcwaA5zqEJtBZauw1dFbt-MGzug@mail.gmail.com> References: <201310162349.r9GNnDud012497@mastodon.meroh.net> <20131017073158.GB3865@kib.kiev.ua> <CADyfeQWCaS7SfOh%2B=1762pEUJhTarQHe2MMpFov_TCWdWQ43_A@mail.gmail.com> <20131019063801.GK3865@kib.kiev.ua> <CADyfeQXgJFKbUkXV27kUSxOVcwaA5zqEJtBZauw1dFbt-MGzug@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--dkgfGZfPp4OU3Le7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 19, 2013 at 04:53:23PM -0400, Julio Merino wrote: > On Sat, Oct 19, 2013 at 2:38 AM, Konstantin Belousov > <kostikbel@gmail.com> wrote: > > Please provide the modified test program and its exact output. >=20 > I'm not sure what you are looking for with this... but attached. I am trying to bisect the problem area. So the handler is always set correctly, but it seems that the signal is not delivered, only for some signals. This smells like blocked signal. Could you ktrace/kdump the program, and see if the signal was delivered to the process ? Also, you might start some long living process, like 'sleep 10000 &' using the same method as you run the test.c, i.e. from the same shell session, and than do 'procstat -i' and 'procstat -j' on the pid to see if SIGHUP and SIGINT are blocked. --dkgfGZfPp4OU3Le7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJSZW39AAoJEJDCuSvBvK1B1z4P/0KwXTLjHjPw0NC3/I7rLLkn PKX1unHwmJgB2qAR5xXwK4HPXQVMPsiT4r5FBagWWzbU/ktWpwsCoarBMw/NsNPG YxbE+6o5LL9Tj/9zZ9FaKQU1/gif+VI2Jn82R6Fq48zI3IX5BvnXeWEMckA406PS esR/8WCdr5LUMLyk0q+Y471iTvBcz0gvvA0Y3ZIZHxb48chsCh5dpsZZkIU0NX83 WYvKamf4QcxZ3i1MVaI8xwsdgB8bK7br+J5q3O6ibI4YoW+KSQ6ym3FkcBBLCaSC 0LdFqBq1v2L0LnL6GH4TuOPi4n3Z5mhSK3MT0Qo6RCEMYYMMM79SQCev7pjvdVki h2GvSah7WX1Ebt1+t/3O1BA3oeQb5ALDzhRupm2Xwmev11SN9TcFeziVtDau5/Tb fAdwKXhvyFE2fIgrwJLCIfAyvfBmfnlROaEOVU3Zl55wyVZOWzCH+NXDKrS9c6PI 2QlNSeZ2PyiLRCdk0HH1oyMTaQuOGwcxz6f1p2W460284yrLGiy3nyf0bhi0mhVo cHM2mcVBoiZtHbQ9lHDk/LD6LY4JqNku5nPt9HZVeLkjeiDqHu0JSgBGUvxGWdRo IhSMFhJgYtGt7abRlBYcMll0158962OSaFhZGcd4sdIRG1IivwOYvMBpmg5CuRJY snN0ln+CZo4CGd6GPEim =l6/l -----END PGP SIGNATURE----- --dkgfGZfPp4OU3Le7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131021181006.GU3865>