Re: Failed assertion with jit enabled - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Failed assertion with jit enabled
Date
Msg-id 813592.1738770677@sss.pgh.pa.us
Whole thread Raw
Responses Re: Failed assertion with jit enabled
List pgsql-hackers
Bertrand Drouvot <bertranddrouvot.pg@gmail.com> writes:
> 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

Hmm, works for me on today's HEAD.

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

There are two Assert(false) in that file, neither of them particularly
close to line 2833 as of today, so I'm not sure what version you are
using or which one you're hitting.  Nonetheless, I'll go out on a
limb and guess that this will go away if you do "git clean -dfxq"
and a full rebuild.  It smells like different files getting out of
sync about the representation of ExprEvalOp or ExprEvalStep.

            regards, tom lane



pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: CREATE ROLE bug?
Next
From: Tom Lane
Date:
Subject: Re: Remove unnecessary static specifier