Обсуждение: PG v12.2 - Setting jit_above_cost is causing the server to crash

Поиск
Список
Период
Сортировка

PG v12.2 - Setting jit_above_cost is causing the server to crash

От
Aditya Toshniwal
Дата:
Hi Team,

The PG 12.2 server is crashing on setting the jit_above_cost param. Below is the output.

postgres=# select version();

                                                          version                                                           

----------------------------------------------------------------------------------------------------------------------------

 PostgreSQL 12.2 on x86_64-apple-darwin, compiled by Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn), 64-bit

(1 row)


postgres=# SET jit_above_cost=10;

SET

postgres=# SELECT count(*) FROM pg_class;

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: Failed.

!> 


--
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"

Re: PG v12.2 - Setting jit_above_cost is causing the server to crash

От
Aditya Toshniwal
Дата:
++hackers.

On Mon, Feb 24, 2020 at 12:16 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Team,

The PG 12.2 server is crashing on setting the jit_above_cost param. Below is the output.

postgres=# select version();

                                                          version                                                           

----------------------------------------------------------------------------------------------------------------------------

 PostgreSQL 12.2 on x86_64-apple-darwin, compiled by Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn), 64-bit

(1 row)


postgres=# SET jit_above_cost=10;

SET

postgres=# SELECT count(*) FROM pg_class;

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: Failed.

!> 


--
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"


--
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"

Re: PG v12.2 - Setting jit_above_cost is causing the server to crash

От
Aditya Toshniwal
Дата:
++hackers.

On Mon, Feb 24, 2020 at 12:16 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Team,

The PG 12.2 server is crashing on setting the jit_above_cost param. Below is the output.

postgres=# select version();

                                                          version                                                           

----------------------------------------------------------------------------------------------------------------------------

 PostgreSQL 12.2 on x86_64-apple-darwin, compiled by Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn), 64-bit

(1 row)


postgres=# SET jit_above_cost=10;

SET

postgres=# SELECT count(*) FROM pg_class;

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: Failed.

!> 


--
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"


--
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"

Re: PG v12.2 - Setting jit_above_cost is causing the server to crash

От
Andres Freund
Дата:
Hi,

On 2020-02-24 12:16:08 +0530, Aditya Toshniwal wrote:
> The PG 12.2 server is crashing on setting the jit_above_cost param. Below
> is the output.

> postgres=# SELECT count(*) FROM pg_class;
> 
> 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: Failed.

This isn't reproducible here. Are you sure that you're running on a
clean installation?

If not, we'd at least need a backtrace to figure out what's going on.

Greetings,

Andres Freund



Re: PG v12.2 - Setting jit_above_cost is causing the server to crash

От
Andres Freund
Дата:
Hi,

On 2020-02-24 12:16:08 +0530, Aditya Toshniwal wrote:
> The PG 12.2 server is crashing on setting the jit_above_cost param. Below
> is the output.

> postgres=# SELECT count(*) FROM pg_class;
> 
> 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: Failed.

This isn't reproducible here. Are you sure that you're running on a
clean installation?

If not, we'd at least need a backtrace to figure out what's going on.

Greetings,

Andres Freund



Re: PG v12.2 - Setting jit_above_cost is causing the server to crash

От
Aditya Toshniwal
Дата:
Hi Andres,

On Mon, Feb 24, 2020 at 12:46 PM Andres Freund <andres@anarazel.de> wrote:

Hi,

On 2020-02-24 12:16:08 +0530, Aditya Toshniwal wrote:
> The PG 12.2 server is crashing on setting the jit_above_cost param. Below
> is the output.

> postgres=# SELECT count(*) FROM pg_class;
>
> 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: Failed.

This isn't reproducible here. Are you sure that you're running on a
clean installation?
Yes I did a fresh installation using installer provided here - https://www.enterprisedb.com/downloads/postgresql 

If not, we'd at least need a backtrace to figure out what's going on.
Please let me know how can I provide required info.

Greetings,

Andres Freund


--
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"

Re: PG v12.2 - Setting jit_above_cost is causing the server to crash

От
Aditya Toshniwal
Дата:
Hi Andres,

On Mon, Feb 24, 2020 at 12:46 PM Andres Freund <andres@anarazel.de> wrote:

Hi,

On 2020-02-24 12:16:08 +0530, Aditya Toshniwal wrote:
> The PG 12.2 server is crashing on setting the jit_above_cost param. Below
> is the output.

> postgres=# SELECT count(*) FROM pg_class;
>
> 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: Failed.

This isn't reproducible here. Are you sure that you're running on a
clean installation?
Yes I did a fresh installation using installer provided here - https://www.enterprisedb.com/downloads/postgresql 

If not, we'd at least need a backtrace to figure out what's going on.
Please let me know how can I provide required info.

Greetings,

Andres Freund


--
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"

Re: PG v12.2 - Setting jit_above_cost is causing the server to crash

От
Imre Samu
Дата:
>PostgreSQL 12.2  ...
>compiled by Apple LLVM version 6.0(clang-600.0.54) (based on LLVM 3.5svn)

this LLVM is >= 3.9 ? 

according to the docs : "Build with support for LLVM based JIT compilation  .... The minimum required version of LLVM is currently 3.9."
Regards,
Imre


Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> ezt írta (időpont: 2020. febr. 24., H, 7:46):
Hi Team,

The PG 12.2 server is crashing on setting the jit_above_cost param. Below is the output.

postgres=# select version();

                                                          version                                                           

----------------------------------------------------------------------------------------------------------------------------

 PostgreSQL 12.2 on x86_64-apple-darwin, compiled by Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn), 64-bit

(1 row)


postgres=# SET jit_above_cost=10;

SET

postgres=# SELECT count(*) FROM pg_class;

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: Failed.

!> 


--
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"