Re: Problem on AIX with current - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Problem on AIX with current
Date
Msg-id 16417.1002169519@sss.pgh.pa.us
Whole thread Raw
In response to Re: Problem on AIX with current  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-hackers
Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> When I recompiled with LOCK_DEBUG and trace_lwlocks = true, it *works*
> (and saw lots of lock debugging messages, of course). However if I
> turn trace_lwlocks to off, the backend stucks again.

Ugh ... ye classic Heisenbug ...

> Is there anything I can do?

Apparently the problem is timing-sensitive, which is hardly surprising
for a lock issue.  You might find that it occurs some of the time if
you repeat the test over and over.

> Note the machine has 4 processors. Is that related to?

Hard to tell at this point, but considering that no one else has
reported a problem so far, it does seem like multiple CPUs at least
help to make the failure more probable.  But it could just be a
portability problem.  Do you have another machine with identical OS
and fewer processors to try for comparison?

Andreas, have you tried CVS tip lately on AIX?  What's your results?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Unicode combining characters
Next
From: Bruce Momjian
Date:
Subject: Re: Unicode combining characters