pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marko Tiikkaja <marko@joh.to>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Backends stuck in LISTEN
Date: Wed, 08 Jan 2014 15:45:05 +0100
Message-ID: <52CD6471.5030503@joh.to> (raw)
In-Reply-To: <52CD5FB8.20000@joh.to>
References: <52CC830A.2050602@joh.to>
	<20140108140058.GH6840@eldon.alvh.no-ip.org>
	<52CD5FB8.20000@joh.to>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 1/8/14 3:24 PM, I wrote:
>
> libc6-dbg only changed it a bit:

Oops, looks like there was something wonky about that dump.  This should 
make more sense:

#0  0x00007f26dd17d5b7 in semop () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00000000005f6128 in PGSemaphoreLock (sema=0x7f26d79e5c80, 
interruptOK=0 '\000') at pg_sema.c:418
#2  0x00000000006359c5 in LWLockAcquire (lockid=87, mode=LW_SHARED) at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/storage/lmgr/lwlock.c:464
#3  0x000000000049fabb in SimpleLruWaitIO (slotno=6, ctl=<optimized 
out>) at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/access/transam/slru.c:306
#4  0x000000000049fe00 in SlruSelectLRUPage (ctl=<optimized out>, 
pageno=34331) at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/access/transam/slru.c:994
#5  0x00000000004a02ab in SimpleLruReadPage (ctl=0xb046a0, pageno=34331, 
write_ok=1 '\001', xid=1124964531) at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/access/transam/slru.c:366
#6  0x0000000000487fb3 in TransactionIdGetStatus (xid=1124964531, 
lsn=0x7fffe8503750) at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/access/transam/clog.c:400
#7  0x0000000000488460 in TransactionLogFetch (transactionId=1124964531) 
at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/access/transam/transam.c:83
#8  TransactionLogFetch (transactionId=1124964531) at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/access/transam/transam.c:56
#9  0x00000000004885b1 in TransactionIdDidCommit 
(transactionId=<optimized out>) at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/access/transam/transam.c:133
#10 0x00000000005159f4 in asyncQueueProcessPageEntries 
(page_buffer=0x7fffe85038b0 "$", stop=..., current=<synthetic pointer>)
     at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/commands/async.c:1998
#11 asyncQueueReadAllNotifications () at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/commands/async.c:1923
#12 0x0000000000516926 in Exec_ListenPreCommit () at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/commands/async.c:977
#13 PreCommit_Notify () at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/commands/async.c:801
#14 0x000000000048c863 in CommitTransaction () at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/access/transam/xact.c:1827
#15 0x000000000048ce8d in CommitTransactionCommand () at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/access/transam/xact.c:2563
#16 0x000000000063fafb in finish_xact_command () at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/tcop/postgres.c:2452
#17 finish_xact_command () at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/tcop/postgres.c:2441
#18 0x0000000000641e92 in PostgresMain (argc=<optimized out>, 
argv=<optimized out>, dbname=0xc5dee0 "gluepay", username=<optimized out>)
     at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/tcop/postgres.c:4153
#19 0x0000000000603f83 in BackendRun (port=0xca6f50) at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/postmaster/postmaster.c:3612
#20 BackendStartup (port=0xca6f50) at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/postmaster/postmaster.c:3302
#21 ServerLoop () at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/postmaster/postmaster.c:1466
#22 0x00000000006049f1 in PostmasterMain (argc=<optimized out>, 
argv=<optimized out>) at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/postmaster/postmaster.c:1127
#23 0x000000000045a600 in main (argc=5, argv=0xc5d180) at 
/build/buildd/postgresql-9.1-9.1.9/build/../src/backend/main/main.c:199


Regards,
Marko Tiikkaja


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (12+ messages)  latest in thread

Message-ID: <52CD6471.5030503@joh.to>
Permalink:  ../52CD6471.5030503@joh.to/
Also on:    postgresql.org/message-id/52CD6471.5030503@joh.to

 · 

reply

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-bugs@postgresql.org
  Cc: marko@joh.to, alvherre@2ndquadrant.com
  Subject: Re: Backends stuck in LISTEN
  In-Reply-To: <52CD6471.5030503@joh.to>
  References: <52CC830A.2050602@joh.to> <20140108140058.GH6840@eldon.alvh.no-ip.org> <52CD5FB8.20000@joh.to> <52CD6471.5030503@joh.to>

* 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