Re: BUG #18225: chdb's s3 table function crashes postgresql with plpython3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: subi(dot)the(dot)dream(dot)walker(at)gmail(dot)com
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18225: chdb's s3 table function crashes postgresql with plpython3
Date: 2023-12-04 14:53:22
Message-ID: 755706.1701701602@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2023-12-04 18:47:51 Re: BUG #17948: libpq seems to misbehave in a pipelining corner case
Previous Message Ba Jinsheng 2023-12-04 14:21:16 Re: BUG #18222: Unexpected Error--Cannot delete from scalar