Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Yswf5-0007nQ-6D for pgsql-committers@arkaria.postgresql.org; Thu, 14 May 2015 17:11:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Yswf4-0001Ff-Jl for pgsql-committers@arkaria.postgresql.org; Thu, 14 May 2015 17:11:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Yswf3-0001FY-K9 for pgsql-committers@postgresql.org; Thu, 14 May 2015 17:11:05 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Yswf0-00033s-Ul for pgsql-committers@postgresql.org; Thu, 14 May 2015 17:11:05 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 19B025F7AA; Thu, 14 May 2015 13:11:02 -0400 (EDT) Date: Thu, 14 May 2015 13:11:02 -0400 From: Stephen Frost To: Tom Lane Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Add pg_audit, an auditing extension Message-ID: <20150514171101.GG30322@tamriel.snowman.net> References: <20150514150047.GX30322@tamriel.snowman.net> <20458.1431615970@sss.pgh.pa.us> <20150514154619.GY30322@tamriel.snowman.net> <21368.1431618712@sss.pgh.pa.us> <20150514161032.GA30322@tamriel.snowman.net> <4844.1431621244@sss.pgh.pa.us> <20150514163551.GB30322@tamriel.snowman.net> <5043.1431621669@sss.pgh.pa.us> <20150514164330.GD30322@tamriel.snowman.net> <5654.1431623278@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="JLshs5hGkI3yX545" Content-Disposition: inline In-Reply-To: <5654.1431623278@sss.pgh.pa.us> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-46-generic (x86_64) X-Uptime: 13:08:45 up 55 days, 22:57, 10 users, load average: 0.15, 0.18, 0.14 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org --JLshs5hGkI3yX545 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Tom Lane (tgl@sss.pgh.pa.us) wrote: > Stephen Frost writes: > > * Tom Lane (tgl@sss.pgh.pa.us) wrote: > >> There are several more crashes in the BF now. They're not at initial > >> library load AFAICS. Hard to tell if it's platform-specific or just > >> randomly fails sometimes. Have you tried valgrind to see if there's > >> uninitialized-memory touches? >=20 > > Will give that a shot and see what it says. >=20 > At least on dromedary, this seems to be the problem: >=20 > pg_audit.c: In function 'stack_pop': > pg_audit.c:387: warning: format '%ld' expects type 'long int', but argume= nt 3 has type 'int64' > pg_audit.c: In function 'stack_valid': > pg_audit.c:406: warning: format '%ld' expects type 'long int', but argume= nt 3 has type 'int64' > pg_audit.c:406: warning: format '%ld' expects type 'long int', but argume= nt 4 has type 'int64' > pg_audit.c: In function 'log_audit_event': > pg_audit.c:676: warning: format '%ld' expects type 'long int', but argume= nt 4 has type 'int64' > pg_audit.c:676: warning: format '%ld' expects type 'long int', but argume= nt 5 has type 'int64' >=20 > Will push a fix shortly and we'll see what happens. Ah, ok. Thanks! Stephen --JLshs5hGkI3yX545 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVVNclAAoJEO1sijiDR2RVkoQP/2WGH+dHEDXp53TXzd6vfWU8 S9BmjPtfOiVTrR4U4W01GE6k/jOF3IYlGqH3mAF0Wr4lJjb9Mj5VJojcuLRNBaWL ayZ/mWaINMvEAd/uupaysqY7czBrvedNn0la697mQiDJn31hDmGKmsMf3pNL4Ca2 FZ+XCxWrKSCYk7j6xzjgeM7zgZq6cesXmtgO+AzRlRM04xWyaXniMWqFSPMcgv+C bjmSa9KCcNqfGfySw+d5F4vpGwlxshacwZeAiUSDIhfoCKZ/FJQsBPyRaGKFRB2U OC9Tzhm18daoHmCBgFeKPFxzLXgJVpf1g4lkaiI6zFqkKQwato3nqzIyM3tX3yyq JVauYyzl9U1x3Q8+E9YO8Gz6n+5G4LBikYWKo4OhxwTP0yxzG5eGMCaNFHRS5eqv pwk3cy1kT1N7FD//lcPTMmujunnzwUYdsVkpQpkMsmMzRnLnbbydThAsMcZFz919 jXOsUYjghiycPeqzZXtV3JlMyJYrvpowFTPonhEfLvAh2DXSqGE/PnTazHMP20Al 7nvBpmehVl3YnEeTjFl4L0cKQgQa9qONkWuYmKdO8g/tX05xRGZDMpRbYZGAdDqv 8QCXgCn8XMmUbH6cYRg6XqlrCLflBIBzugXpM5zM+4E1YOQnF3pOotVr9NaRkWBK G3IpsUomd8t1eXF3b9Ls =z9Sp -----END PGP SIGNATURE----- --JLshs5hGkI3yX545--