From: Donald Fraser <postgres@kiwi-fraser.net>
To: [ADMIN] <pgsql-admin@postgresql.org>
Subject: Strange message followed by server crash
Date: Fri, 25 Aug 2006 12:13:54 +0100
Message-ID: <003401c6c837$8dc6cb90$7d64a8c0@demolish1> (raw)
I'm trying to figure out what exactly caused PostgreSQL to crash.
PostgreSQL 8.0.7
OS: Red Hat Linux EL 4.0
Log messages:
<1Tmenteshvili 10709 2006-08-24 17:48:19 BST 0> ERROR: invalid message format
< 3670 2006-08-24 17:48:19 BST > LOG: server process (PID 10709) was terminated by signal 11
< 3670 2006-08-24 17:48:19 BST > LOG: terminating any other active server processes
Looking into PostgreSQL code I note that the message "invalid message format" is generated by function: pq_getmsgend which is called when processing incoming messages from clients.
So am I correct in assuming that there was an error in the front end/back end data sent to PostgreSQL?
I asked the client above what they were doing when this event occurred and the answer was logging out of the database.
At the same time, an engineer, who thought nobody was in the building, was working on the network and changing a network switch.
Therefore can I assume this crash was caused by some form of corrupt / incomplete data sent to PostgreSQL?
Thanks in advance
regards
Donald Fraser
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: postgres@kiwi-fraser.net
Subject: Re: Strange message followed by server crash
In-Reply-To: <003401c6c837$8dc6cb90$7d64a8c0@demolish1>
References: <003401c6c837$8dc6cb90$7d64a8c0@demolish1>
* 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