Re: Server hangs on multiple connections

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Server hangs on multiple connections
Дата
Msg-id 8516.1032474785@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Server hangs on multiple connections  (David Christian <davidc@comtechmobile.com>)
Ответы Re: Server hangs on multiple connections  (David Christian <davidc@comtechmobile.com>)
Список pgsql-bugs
David Christian <davidc@comtechmobile.com> writes:
> Happy to.  Interestingly, when I build with --enable-debug and
> --enable-cassert, the server doesn't lock up during 'make check', it
> just (very quickly) fails all of the tests and exits.  I tried several
> times.

Oh, that's interesting; that says that an Assert() check is failing.
We should investigate that first.

There should be a core file left in the database subdirectory after
the assert failure --- would you gdb it and get a stack trace from it?
Also, you will probably find some useful messages in the postmaster
log (which should be left in the log/ subdirectory of the regress tests).


> (gdb) bt
> #0  0x0fdc297c in __syscall_ipc () at soinit.c:76
> #1  0x0fdc38c0 in semop (semid=4, sops=0x7fffea18, nsops=1) at
> ../sysdeps/unix/sysv/linux/semop.c:36
> #2  0x100e4424 in IpcSemaphoreLock ()
> #3  0x100eb018 in LWLockAcquire ()
> #4  0x100e7f3c in LockAcquire ()
> #5  0x100e7434 in LockRelation ()

Sure enough, it would seem that everyone's stuck waiting for a lock.
But let's chase the Assert first; that might identify the problem.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: David Christian
Дата:
Сообщение: Re: Server hangs on multiple connections
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Bug #776: PGSQL 7.2.2 build broken on OS X 10.2