From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Suraj Kharage <suraj(dot)kharage(at)enterprisedb(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Server crash on RHEL 9/s390x platform against PG16 |
Date: | 2023-10-16 15:06:27 |
Message-ID: | CA+TgmoajmzH6uQw2+WKJRfvC_S7myDVA6J1QD=v-oWWxeXD7kQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sun, Oct 8, 2023 at 10:55 PM Suraj Kharage <
suraj(dot)kharage(at)enterprisedb(dot)com> wrote:
> It looks like an issue with JIT. If I disable the JIT then the above query
> runs successfully.
>
> postgres=# set jit to off;
>
> SET
>
> postgres=# SELECT * FROM rm32044_t1 LEFT JOIN rm32044_t2 ON
> rm32044_t1.pkey = rm32044_t2.pkey, rm32044_t3 LEFT JOIN rm32044_t4 ON
> rm32044_t3.pkey = rm32044_t4.pkey order by rm32044_t1.pkey,label,hidden;
>
> pkey | val | pkey | label | hidden | pkey | val | pkey
>
> ------+------+------+---------+--------+------+-----+------
>
> 1 | row1 | 1 | hidden | t | 1 | 1 |
>
> 1 | row1 | 1 | hidden | t | 2 | 1 |
>
> 2 | row2 | 2 | visible | f | 1 | 1 |
>
> 2 | row2 | 2 | visible | f | 2 | 1 |
>
> (4 rows)
>
> Any idea on this?
>
No, but I found a few previous threads complaining about JIT not working on
s390x.
https://www.postgresql.org/message-id/4106722.1616177001@sss.pgh.pa.us
https://www.postgresql.org/message-id/3ba50664-56a2-bcf4-2b24-05a3e0a75829@enterprisedb.com
https://www.postgresql.org/message-id/20200715091509.GA3354074%40msg.df7cb.de
The most interesting email I found in those threads was this one:
http://postgr.es/m/3358505.1594912112@sss.pgh.pa.us
The backtrace there is different from the one you posted here in
significant ways, but it seems like both that case and this one involve a
null pointer showing up for a non-null pass-by-reference datum. That
doesn't seem like a whole lot to go on, but maybe somebody who understands
the JIT stuff better than I do will have an idea.
--
Robert Haas
EDB: http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Jonah H. Harris | 2023-10-16 15:07:37 | Re: Postgres Architecture |
Previous Message | vignesh C | 2023-10-16 14:58:28 | Re: [PoC] pg_upgrade: allow to upgrade publisher node |