Failed assertion with jit enabled

From: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Cc: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>, Jeff Davis <pgsql(at)j-davis(dot)com>
Subject: Failed assertion with jit enabled
Date: 2025-02-05 14:04:54
Message-ID: Z6NwBo67GYC+8Z2x@ip-10-97-1-34.eu-west-3.compute.internal
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi hackers,

I was doing some tests and managed to trigger a failed assertion with jit
enabled.

The test can be simplified to:

postgres=# select count(*) from generate_series(1,10000000);
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
The connection to the server was lost. Attempting reset: Succeeded.

The failed assertion is:

TRAP: failed Assert("false"), File: "llvmjit_expr.c", Line: 2833, PID: 3060333

"git bisect" tells me it has been introduced with 80feb727c86.

I did not look at the exact details, just reporting the issue.

Regards,

--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bertrand Drouvot 2025-02-05 14:28:08 Re: per backend WAL statistics
Previous Message Alexandra Wang 2025-02-05 13:39:15 Re: SQL:2023 JSON simplified accessor support