Re: BUG #17241: llvm::install_bad_alloc_error_handler error - Mailing list pgsql-bugs

From Andres Freund
Subject Re: BUG #17241: llvm::install_bad_alloc_error_handler error
Date
Msg-id 20211028225255.yfo4o2ouhgt3bdey@alap3.anarazel.de
Whole thread Raw
In response to BUG #17241: llvm::install_bad_alloc_error_handler error  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #17241: llvm::install_bad_alloc_error_handler error  (arjun shetty <arjunshetty955@gmail.com>)
List pgsql-bugs
Hi,

On 2021-10-21 13:25:16 +0000, PG Bug reporting form wrote:
> postgreSQLv13.3 source code compiled(llvmv12.0.1) and configured with
> options "with-llvm and LLVM_CONFIG".
> On run SQL query with PostgreSQL bin's with HammerDB(TPC-H) and pgbench
> environment observed an error "1install_bad_alloc_error_handler"

Where is LLVM installed to? If you do ldd path-to/llvmjit.so, does it show the
.so from your own build of LLVM, or perhaps a different one?


> Are you planning to fix this issue in upcoming releases?

I don't think this is likely to be a postgres bug.


> Otherwise, please provide us a workaround/patch for this issue.

You could disable jit compilation for now.

Greetings,

Andres Freund



pgsql-bugs by date:

Previous
From: Andres Freund
Date:
Subject: Re: BUG #17245: Index corruption involving deduplicated entries
Next
From: Peter Geoghegan
Date:
Subject: Re: BUG #17245: Index corruption involving deduplicated entries