From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Demarest, Jamie <Jamie.Demarest@saabsensis.com>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Cc: Tamayo, Cristofer <Cristofer.Tamayo@saabsensis.com>
Cc: Cornman, Melody <Melody.Cornman@saabsensis.com>
Subject: Re: Postgresql create a core while trying log a message to syslog
Date: Wed, 11 Mar 2020 19:14:57 -0300
Message-ID: <20200311221457.GA5127@alvherre.pgsql> (raw)
In-Reply-To: <3db74722-18cf-44dd-af9a-2575af201b66@CORPMAIL01.corp.sensis.com>
On 2020-Mar-11, Demarest, Jamie wrote:
> psql logging has been set up to log to syslog. When the syslog directory filled up psql trying to log to syslog cause psql to core.
>
> Reading symbols from /opt/rh/rh-postgresql95/root/usr/bin/postgres...Reading symbols from /opt/rh/rh-postgresql95/root/usr/bin/postgres...(no debugging symbols found)...done.
> (no debugging symbols found)...done.
> [New LWP 7949]
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib64/libthread_db.so.1".
> Core was generated by `postgres: startup process recovering 000000050000000000000017 '.
> Program terminated with signal 6, Aborted.
> #0 0x00007f385ebaf5f7 in raise () from /lib64/libc.so.6
> Missing separate debuginfos, use: debuginfo-install rh-postgresql95-postgresql-server-9.5.4-1.el7.x86_64
> (gdb) bt
> #0 0x00007f385ebaf5f7 in raise () from /lib64/libc.so.6
> #1 0x00007f385ebb0ce8 in abort () from /lib64/libc.so.6
> #2 0x0000000000797058 in errfinish ()
> #3 0x000000000079aa38 in elog_finish ()
> #4 0x0000000000495db4 in heap_xlog_update ()
> #5 0x000000000049d1af in heap_redo ()
> #6 0x00000000004d8117 in StartupXLOG ()
Hmm. Please install debuginfo and get the backtrace again, as
instructed:
debuginfo-install rh-postgresql95-postgresql-server-9.5.4-1.el7.x86_64
Thanks
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: alvherre@2ndquadrant.com, Jamie.Demarest@saabsensis.com, pgsql-bugs@lists.postgresql.org, Cristofer.Tamayo@saabsensis.com, Melody.Cornman@saabsensis.com
Subject: Re: Postgresql create a core while trying log a message to syslog
In-Reply-To: <20200311221457.GA5127@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox