Re: [sqlsmith] Failed assertion in _hash_kill_items/MarkBufferDirtyHint

From: Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>
To: Andreas Seltenreich <seltenreich(at)gmx(dot)de>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [sqlsmith] Failed assertion in _hash_kill_items/MarkBufferDirtyHint
Date: 2017-03-28 01:14:47
Message-ID: CAE9k0P=NeA9D4TQYE=KW-9tVb5jbK5AiZqsZ9UG+nm0ErXSkwQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mar 28, 2017 00:00, "Andreas Seltenreich" <seltenreich(at)gmx(dot)de> wrote:

Ashutosh Sharma writes:
>> TRAP: FailedAssertion("!(LWLockHeldByMe(((LWLock*)
(&(bufHdr)->content_lock))))", File: "bufmgr.c", Line: 3397)
> Thanks for reporting this problem. Could you please let me know on for
> how long did you run sqlsmith to get this crash.

I got about one TRAP per hour when testing on 20 nodes with one postgres
and 5 sqlsmithes on each. Nodes are tiny consumer machines with
low-power 4-core sandy bridges.

Okay. Thanks for sharing this information. I tried running running sqlsmith
on a single node. I ran it for an hour but didn't find any crash. Let me
also try running multiple sqlsmith at a time...May be 5 like you are doing
on a single node.

> [2. reacquire_lock_hashkillitems_if_required.patch]

I'll test with your patch applied as soon as time permits and report
back.

Sure, Thanks a lot.

With Regards,
Ashutosh Sharma

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2017-03-28 01:25:46 Re: logical decoding of two-phase transactions
Previous Message Stas Kelvich 2017-03-28 01:12:41 Re: logical decoding of two-phase transactions