Re: BUG #18903: TRAP: failed Assert("false") in file: "tuplesortvariants.c"

From: Никита Калинин <n(dot)kalinin(at)postgrespro(dot)ru>
To: Dilip Kumar <dilipbalaut(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18903: TRAP: failed Assert("false") in file: "tuplesortvariants.c"
Date: 2025-04-25 07:00:41
Message-ID: 3CA6EEEA-D7E8-4BEB-87BB-32A0F6E7BA12@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Strange. I rechecked my reproduction on several machines and got the same result.
It seems this issue was already raised in BUG #18490, but the reproduction itself differs from mine.

> On 25 Apr 2025, at 13:51, Dilip Kumar <dilipbalaut(at)gmail(dot)com> wrote:
>
> On Fri, Apr 25, 2025 at 11:54 AM PG Bug reporting form
> <noreply(at)postgresql(dot)org> wrote:
>>
>> The following bug has been logged on the website:
>>
>> Bug reference: 18903
>> Logged by: Nikita Kalinin
>> Email address: n(dot)kalinin(at)postgrespro(dot)ru
>> PostgreSQL version: 17.4
>> Operating system: ubuntu 22.04
>> Description:
>>
>> Hello. I might be doing something strange, but I’d like to understand why
>> this all ends with a SIGABRT.
>> After building PostgreSQL like this:
>> ./configure --enable-tap-tests --enable-debug --with-openssl
>> --enable-cassert --prefix=/tmp/pg && make -j8
>> And running these two files:
>
>
> I tried using the steps you provided, but had no luck. While testing,
> I noticed that a lot of steps [1] in your test will fail because the
> vacuum can not be run within a transaction block. Is that part of
> reproducing the issue? I am looking through the call stack.
> Meanwhile, if you can recheck the steps you provided, then it would be
> helpful for analysis.
>
> [1]
> BEGIN;
> CLUSTER pg_class USING pg_class_oid_index;
> CLUSTER pg_class USING pg_class_oid_index;
> VACUUM FULL pg_class;
> VACUUM FULL pg_class;
> VACUUM FULL pg_class;
>
> --
> Regards,
> Dilip Kumar
> EnterpriseDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Dilip Kumar 2025-04-25 07:15:46 Re: BUG #18903: TRAP: failed Assert("false") in file: "tuplesortvariants.c"
Previous Message Dilip Kumar 2025-04-25 06:51:13 Re: BUG #18903: TRAP: failed Assert("false") in file: "tuplesortvariants.c"