Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUf8A-0003jZ-0K for pgsql-bugs@arkaria.postgresql.org; Mon, 10 Jul 2017 20:18:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dUf89-0000rh-J7 for pgsql-bugs@arkaria.postgresql.org; Mon, 10 Jul 2017 20:18:05 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dUf7S-00082p-Bz for pgsql-bugs@postgresql.org; Mon, 10 Jul 2017 20:17:22 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dUf7O-0006Qx-Ve for pgsql-bugs@postgresql.org; Mon, 10 Jul 2017 20:17:21 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id A3358103A; Mon, 10 Jul 2017 22:17:15 +0200 (CEST) Date: Mon, 10 Jul 2017 22:17:15 +0200 From: "Peter J. Holzer" To: pgsql-bugs@postgresql.org Subject: Re: [HACKERS] Postgres process invoking exit resulting in sh-QUIT core Message-ID: <20170710201715.GB20216@hjp.at> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NDin8bjvE/0mNLFQ" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --NDin8bjvE/0mNLFQ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2017-07-07 15:25:07 +0800, Craig Ringer wrote: > Can't immediately explain the exit code, and SIGQUIT should _not_ generat= e a > core file. Yes, it should. The default action of SIGQUIT is to terminate the process with a core file.=20 =46rom signal(7): | First the signals described in the original POSIX.1-1990 standard. | | Signal Value Action Comment | =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80 | SIGHUP 1 Term Hangup detected on controlling terminal | or death of controlling process | | SIGINT 2 Term Interrupt from keyboard | SIGQUIT 3 Core Quit from keyboard | SIGILL 4 Core Illegal Instruction =2E.. You can also easily test this by pressing Ctrl-\ in the shell while a program is running: % sleep 10 ^\zsh: quit (core dumped) sleep 10 % hp --=20 _ | Peter J. Holzer | we build much bigger, better disasters now |_|_) | | because we have much more sophisticated | | | hjp@hjp.at | management tools. __/ | http://www.hjp.at/ | -- Ross Anderson --NDin8bjvE/0mNLFQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJZY+DLAAoJEPIOSFES/ihdcTsP/i1xTK+q0h9FvzoybxcOziDY jQGgegmk3qRKODCOvhz3iZRoTlvjmR+dT1A/znv0SSdDsMjBMv8vge+v9yssNedm WpSMtzLSOrufj4r9h5OaG49yd2ebqaU5zMwlC4Wuhrehbiu8EkLI/i3dPp+NFGBh Mp+uwOPrfvUKxKsEV6cwUtfjUlNI35kPdFNrqOQOd0EafwBTrxGap3wnlOb03WI1 9A90rLLNIF/Kn/uTQCiIi+dVBBu70827REAJ8njK5MPa7GDUWcqVcvpZicGB9BBA f7RVZrG5fknfRvIv/2lF3hAc62AWYTlRQuRGB0C5Y22AZHLRQfN4wIu8DX39GRNx SQgNLGlC4zHppU5DWbJmPi9B/drZydmY87jtCZWvBdhimrEb/wepLSCuMbGTCoiQ VW2/R/OWydAQOQg9chubUI+rpxqCGk9wUEIhbfDUiSRzCiPORRBlQEECcwDfS94j lIXPvPJybaukPJvfjciEM/KG1Y9g0HlfFyrhY/kw5//BgUJMbtSdmeRCQhyeLbNu tRCyYKHeLKC8wdzRymFBzsChuZuyfY9uXPgSM+QjQglTVKESvCNyA+0PuaK/0q7u XZbRxPNh7p8DxgZqMRgRKWntmvknQXxG/sGWVvJP69SIEv5XiSJ2tne+smNXyu2E /VoAmq6+i2G/E0EPrBDa =rWIf -----END PGP SIGNATURE----- --NDin8bjvE/0mNLFQ--