Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rAAKB-0056OH-4Q for pgsql-bugs@arkaria.postgresql.org; Mon, 04 Dec 2023 14:53:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rAAK7-00HLE2-RE for pgsql-bugs@arkaria.postgresql.org; Mon, 04 Dec 2023 14:53:27 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rAAK7-00HLDu-Is for pgsql-bugs@lists.postgresql.org; Mon, 04 Dec 2023 14:53:27 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rAAK4-008lQL-K2 for pgsql-bugs@lists.postgresql.org; Mon, 04 Dec 2023 14:53:26 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 3B4ErM2T755707; Mon, 4 Dec 2023 09:53:23 -0500 From: Tom Lane To: subi.the.dream.walker@gmail.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18225: chdb's s3 table function crashes postgresql with plpython3 In-reply-to: <18225-9acc648b45a1a6a2@postgresql.org> References: <18225-9acc648b45a1a6a2@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Mon, 04 Dec 2023 13:47:24 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <755705.1701701602.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 04 Dec 2023 09:53:22 -0500 Message-ID: <755706.1701701602@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > The following anonymous block causes a server termination: > =3D=3D=3D=3D=3D=3D=3D = > do language plpython3u $$ > import chdb > chdb.query(sql=3D'''select * from > s3('https://datasets-documentation.s3.eu-west-3.amazonaws.com/aapl_stock= .csv') > limit 10''') > $$ > =3D=3D=3D=3D=3D=3D=3D > The related logs: > =3D=3D=3D=3D=3D=3D=3D > 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