Re: Re: BUG #18471: Possible JIT memory leak resulting in signal 11:Segmentation fault on ARM

Поиск
Список
Период
Сортировка
От Clemens Eisserer
Тема Re: Re: BUG #18471: Possible JIT memory leak resulting in signal 11:Segmentation fault on ARM
Дата
Msg-id CAFvQSYQqx6e8NZOrdLSQ9D1rtwN74+b4kH_GHxA-KH9QAcC3tQ@mail.gmail.com
обсуждение исходный текст
Список pgsql-bugs
Hi Joachim,

> We have a reproducible way to force a postgres process to consume more and
> more RAM until it crashes on ARM.
> The same works on X86 without any issue.
> With jit=off it runs on ARM as well.

I ran into a similar problem a few months ago running postgresql on debian bookworm.
It was discussed here on the list and I've also filed a bug against debian's postgresql package: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059476

The issue is caused by a bug in the very old version of llvm (14), debian links postgresql against (despite newer versions 15/16 are also included in bookworm).
Despite being based on debian, ubuntu's postgresql links against llvm-15 and there at least my crashes were not reproduceable, despite same postgresql version + postgresql.conf.

It would be great if you could also leave a comment at the debian bug report, as they seem rather reluctant to change anything.

Best regards, Clemens

В списке pgsql-bugs по дате отправления:

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #18474: wal_writer_delay limited to arbitrary value of 10s
Следующее
От: Noah Misch
Дата:
Сообщение: Re: relfrozenxid may disagree with row XIDs after 1ccc1e05ae