Re: BUG #17241: llvm::install_bad_alloc_error_handler error

From: Andres Freund <andres(at)anarazel(dot)de>
To: arjunshetty955(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17241: llvm::install_bad_alloc_error_handler error
Date: 2021-10-28 22:52:55
Message-ID: 20211028225255.yfo4o2ouhgt3bdey@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Geoghegan 2021-10-28 23:04:44 Re: BUG #17245: Index corruption involving deduplicated entries
Previous Message Andres Freund 2021-10-28 22:48:31 Re: BUG #17245: Index corruption involving deduplicated entries