On Sat, 15 Jan 2005 13:15:36 -0500, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Would you attach to the process with a debugger and get a stack trace?
>
> $ gdb /usr/pkg/bin/postgres PID-of-process
> gdb> bt
> gdb> q
>
> Probably should repeat this a few times to get a clear sense of where
> it's looping.
I think it has a locking problem:
#0 0x483bbb2e in pthread__lock_ras_end () from /usr/lib/libpthread.so.0
Error accessing memory address 0x483bbb26: Operation not permitted.
And the other time:
#0 0x483bbb31 in pthread__lock_ras_end () from /usr/lib/libpthread.so.0
And again an accessing error.
Does this indicate an error in NetBSD's pthreading library?
Berteun