FYI: LLVM Runtime Crash

From: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: FYI: LLVM Runtime Crash
Date: 2024-06-17 15:52:10
Message-ID: FB327392-926F-4922-9292-BBBEB16383DB@justatheory.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hackers,

FYI, I wanted to try using PostgreSQL with LLVM on my Mac, but the backend repeatedly crashes during `make check`. I found the same issue in master and REL_16_STABLE. The crash message is:

FATAL: fatal llvm error: Unsupported stack probing method
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
connection to server was lost

Same thing appears in the log output. I poked around and found a similar bug[1] was fixed in LLVM in December, but as I’m getting it with the latest release from 2 weeks ago, something else might be going on. I’ve opened a new LLVM bug report[2] for the issue.

I don’t *think* it’s something that can be fixed in Postgres core. This is mostly in FYI in case anyone else runs into this issue or knows something more about it.

In the meantime I’ll be building without --with-llvm.

Best,

David

[1]: https://github.com/llvm/llvm-project/issues/57171
[2]: https://github.com/llvm/llvm-project/issues/95804

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sven Klemm 2024-06-17 15:55:37 [PATCH] Improve error message when trying to lock virtual tuple.
Previous Message Heikki Linnakangas 2024-06-17 15:23:54 Re: Direct SSL connection and ALPN loose ends