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

From arjun shetty
Subject Re: BUG #17241: llvm::install_bad_alloc_error_handler error
Date
Msg-id CAMowxTuXZjJaUNKMYEyTD9knW4LoEoaKquMqYY4+TnWSTmyJpQ@mail.gmail.com
Whole thread Raw
In response to Re: BUG #17241: llvm::install_bad_alloc_error_handler error  (Andres Freund <andres@anarazel.de>)
List pgsql-bugs
Hi,
Even include lld library path of libjit.so still it shows the Same error and currently disabled jit for now. 

Best Regards 
Anil

On Friday, October 29, 2021, Andres Freund <andres@anarazel.de> wrote:
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: Masahiko Sawada
Date:
Subject: Re: BUG #17245: Index corruption involving deduplicated entries
Next
From: Marcus Gartner
Date:
Subject: Re: BUG #17261: FK ON UPDATE CASCADE can break referential integrity with columns of different types