Re: BUG #18225: chdb's s3 table function crashes postgresql with plpython3 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #18225: chdb's s3 table function crashes postgresql with plpython3
Date
Msg-id 755706.1701701602@sss.pgh.pa.us
Whole thread Raw
In response to BUG #18225: chdb's s3 table function crashes postgresql with plpython3  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> The following anonymous block causes a server termination:
> =======
> do language plpython3u $$
> import chdb
> chdb.query(sql='''select * from
> s3('https://datasets-documentation.s3.eu-west-3.amazonaws.com/aapl_stock.csv')
> limit 10''')
> $$
> =======

> The related logs:
> =======
> 2023-12-04 13:36:28.086 UTC [3202531] LOG:  server process (PID 3216826) was
> terminated by signal 6: Aborted

The useful details would have appeared *before* this message.
Look for TRAP: lines, or possibly python-generated messages.
(This could easily have been a python-internal abort, rather
than anything Postgres did.)  Also there might be a stack trace.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Ba Jinsheng
Date:
Subject: Re: BUG #18222: Unexpected Error--Cannot delete from scalar
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #17948: libpq seems to misbehave in a pipelining corner case