pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #5977: Crash on delete
2+ messages / 2 participants
[nested] [flat]

* BUG #5977: Crash on delete
@ 2011-04-13 09:24 Anton Kuznetsov <antosha86@mail.ru>
  2011-04-13 14:42 ` Re: BUG #5977: Crash on delete Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Anton Kuznetsov @ 2011-04-13 09:24 UTC (permalink / raw)
  To: pgsql-bugs


The following bug has been logged online:

Bug reference:      5977
Logged by:          Anton Kuznetsov
Email address:      antosha86@mail.ru
PostgreSQL version: 8.3.1
Operating system:   Linux 2.4.32
Description:        Crash on delete
Details: 

Server crases on delete and than automatically restarts;
Log message was:

TRAP: FailesAssertion("!(outerstartsel <= outerendsel)",  File:
"costsize.c", String: 1540)
Log: Server process (PID 11785) was terminated by signal 6: Aborted;
Log: Shutting down other active server processes
Warning: Closing connection due to shutdown of other server process.
The postmaster has command this process to rollback the current transaction
and exit, because other server process exited abnormally and possibly
corrupted shared memory.
In a moment you should be able to reconnect to the database and repeat your
command.

...And so on for each process.

All server processes stoped... restarting;
Database system was interrupted; last known up at 2011-04-13 11:33:57 MSD;
Database system shutdown abnormally; automatic recovery;
REDO begin from 1/F168073C
record with zero length in 1/F27055AC
REDO end in 1/F2705580
last completed transaction transaction was at log time 2011-04-13
11:34:36.383714+04
autovacuum launcher started
database system is ready to accept connection

Delete query not appeared in log file (query log enabled)

Using hibernate 3.0 to work with database;
and Slony1-1.2.14-1.i486 to manage replication.
Delete is not working with only one table, but with all records (prevuously
added or new ones);
Things i allready try;
dump database;
create new one with same structure (and without replication);
restore only table data from dump to new database;
run "vacuum full analayze" and "reindex database";



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #5977: Crash on delete
  2011-04-13 09:24 BUG #5977: Crash on delete Anton Kuznetsov <antosha86@mail.ru>
@ 2011-04-13 14:42 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2011-04-13 14:42 UTC (permalink / raw)
  To: Anton Kuznetsov <antosha86@mail.ru>; +Cc: pgsql-bugs

"Anton Kuznetsov" <antosha86@mail.ru> writes:
> Server crases on delete and than automatically restarts;
> Log message was:

> TRAP: FailesAssertion("!(outerstartsel <= outerendsel)",  File:
> "costsize.c", String: 1540)

That's pretty interesting ... can you put together a self-contained test
case?  That might be a bit difficult because this is probably dependent
on data statistics.  But it should at least be possible to determine
which join clause is causing the problem, and then show us the pg_stats
entries for the columns used in the join.  This isn't going to be
dependent on whether the command is a DELETE or not, just the table join
conditions.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2011-04-13 14:42 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-04-13 09:24 BUG #5977: Crash on delete Anton Kuznetsov <antosha86@mail.ru>
2011-04-13 14:42 ` Tom Lane <tgl@sss.pgh.pa.us>

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