Re: [HACKERS] HEAD crashes with assertion and LWLOCK_STATS enabled

2014-08-07 Thread Fujii Masao
On Fri, May 23, 2014 at 9:38 PM, Robert Haas wrote: > On Tue, May 20, 2014 at 4:02 AM, Yuto HAYAMIZU wrote: >> The failing assertion is for prohibiting memory allocation in a critical >> section, which is introduced by commit 4a170ee9 on 2014-04-04. This issue is still in open item list for 9.4

Re: [HACKERS] HEAD crashes with assertion and LWLOCK_STATS enabled

2014-05-23 Thread Robert Haas
On Tue, May 20, 2014 at 4:02 AM, Yuto HAYAMIZU wrote: > The failing assertion is for prohibiting memory allocation in a critical > section, which is introduced by commit 4a170ee9 on 2014-04-04. > > In my understanding, the root cause of the assertion failure is on-demand > allocation of lwlock_s

[HACKERS] HEAD crashes with assertion and LWLOCK_STATS enabled

2014-05-20 Thread Yuto HAYAMIZU
Hi hackers, I found a bug that causes a crash when assertion is enabled and LWLOCK_STATS is defined. I've tested with Debian 7.5 (3.2.0-4-amd64) on VMware fusion 6, but this bug seems to be platform-independent and should reproduce in other environments. A patch to fix the bug is also attached.