Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jz0Cc-0003fP-5E for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Jul 2020 16:05:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jz0CZ-00044u-Oe for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Jul 2020 16:05:39 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jz0CZ-00044m-GJ for pgsql-hackers@lists.postgresql.org; Fri, 24 Jul 2020 16:05:39 +0000 Received: from tamriel.snowman.net ([2001:470:e38f::11]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jz0CX-0001bQ-2c for pgsql-hackers@lists.postgresql.org; Fri, 24 Jul 2020 16:05:38 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 7ABCE5F7A0; Fri, 24 Jul 2020 12:05:35 -0400 (EDT) Date: Fri, 24 Jul 2020 12:05:35 -0400 From: Stephen Frost To: pgsql-hackers@lists.postgresql.org Subject: Missing CFI in hlCover()? Message-ID: <20200724160535.GW12375@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NzGUbf6j8lrSeJQO" Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --NzGUbf6j8lrSeJQO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Greetings, I'm looking into an issue that we're seeing on the PG archives server with runaway queries that don't seem to ever want to end- and ignore signals. This is PG11, 11.8-1.pgdg100+1 specifically on Debian/buster and what we're seeing is the loop in hlCover() (wparser_def.c:2071 to 2093) is lasting an awful long time without any CFI call. It's possible the CFI call should actually go elsewhere, but the complete lack of any CFI in wparser_def.c or tsvector_op.c seems a bit concerning. I'm suspicious there's something else going on here that's causing this to take a long time but I don't have any smoking gun as yet. Thanks, Stephen --NzGUbf6j8lrSeJQO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJfGwbPAAoJEO1sijiDR2RVxRsP/AuGaGIe3SgF9oCIhDB06t3A GwrKypfkxSGk5eOt75RJkzICE17JFZSidNaXet/hREfTo0UjzBn8hBPn63axahSV lmwySVFlEC42JpMwEAok+Dt0ior81NuRR2EQtFn614BA76MuVvqjYR2bUlyt3TDG EeKEKnU8HSptpYOPlMjgIfycagik+5D0olDH8k8rLd+npimXhK+rnI1FMD/4/OQz T5a6OoQCt6hPSNARW1fwSmddOHBmnj02NtRVMfj/qs8ORzbOpvxT0Hu1aonqpgiz 37QQ5NY0ug/oECtTnf8s0sVj1qpMDs9dN4cf8/YQS7YCiDLWnYibd1zmkS38dBOE rjQW+Z7746RYewaPdtsIX5PQDzJv5XJHHx6oCoQ0UT0/UK5/pNmsQ/ZBiBn4NA78 /Fxk4ndTc/CWZDe5pzLY0hVtKCqp3UNd9hNY/vsV+6NrYRccYtBwtSAR3nocq5OZ WwR5RcWw4Kj/d0wxxx1auMxmdYwCDl+UmwQZkCiza2d5PFJoDBwsT+eE0ZfMvJKx fuFOf6hxyW/ywpvatx/d3xH5GJHGJO+zA2NPcYSH2AKgbpALvNHyyGjUbFAw2hjj gss3tHmWPBj0eiWZscXc49O33BXLbuYa6kaVw8/6XvJSBDBn6u1NB808bYbGvjGU JJMkgbFkr5tSyLtmYIo/ =woAt -----END PGP SIGNATURE----- --NzGUbf6j8lrSeJQO--