Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g214E-000192-Jy for pgsql-admin@arkaria.postgresql.org; Mon, 17 Sep 2018 21:28:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g214B-0005kk-Ut for pgsql-admin@arkaria.postgresql.org; Mon, 17 Sep 2018 21:28:23 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from <066ce286@free.fr>) id 1g214B-0005kd-Jd for pgsql-admin@lists.postgresql.org; Mon, 17 Sep 2018 21:28:23 +0000 Received: from smtp5-g21.free.fr ([2a01:e0c:1:1599::14]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from <066ce286@free.fr>) id 1g2144-0006CP-BR for pgsql-admin@lists.postgresql.org; Mon, 17 Sep 2018 21:28:22 +0000 Received: from zimbra82-e14.priv.proxad.net (unknown [172.20.243.235]) by smtp5-g21.free.fr (Postfix) with ESMTP id CBE395FF20; Mon, 17 Sep 2018 23:28:12 +0200 (CEST) Date: Mon, 17 Sep 2018 23:28:12 +0200 (CEST) From: 066ce286@free.fr To: Mariel Cherkassky Cc: pgsql-admin@lists.postgresql.org Message-ID: <267397260.583976168.1537219692795.JavaMail.root@zimbra82-e14.priv.proxad.net> In-Reply-To: Subject: Re: Segmentation fault postgres 9.6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [2a01:e35:2434:2250:38dc:19ac:2c40:5b1c] X-Mailer: Zimbra 7.2.0-GA2598 (ZimbraWebClient - GC69 (Linux)/7.2.0-GA2598) X-Authenticated-User: 066ce286@free.fr List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I do have the same problem with a simple select max() from foreign_table wh= ere... Syslog said the the mysql fdw lib segfaulted. I've tried to compile the mysql_fdw sources ; but still same problem. ----- Mail original ----- De: "Mariel Cherkassky" =C3=80: pgsql-admin@lists.postgresql.org Envoy=C3=A9: Lundi 17 Septembre 2018 14:15:44 Objet: Segmentation fault postgres 9.6 Hi,=20 I'm trying to insert a few values into a foreign table via sqllite_fdw and = my postgresql database crushes :=20 2018-09-17 12:09:54 UTC 43444 LOG: server process (PID 43831) was terminate= d by signal 11: Segmentation fault=20 2018-09-17 12:09:54 UTC 43444 DETAIL: Failed process was running: insert in= to vip_foreign values (2,2,2);=20 2018-09-17 12:09:54 UTC 43444 LOG: terminating any other active server proc= esses=20 2018-09-17 12:09:54 UTC 43451 WARNING: terminating connection because of cr= ash of another server process=20 2018-09-17 12:09:54 UTC 43451 DETAIL: The postmaster has commanded this ser= ver process to roll back the current transaction and exit, because another = server process exited abnormally and possibly corrupted shared memory.=20 2018-09-17 12:09:54 UTC 43451 HINT: In a moment you should be able to recon= nect to the database and repeat your command.=20 2018-09-17 12:09:54 UTC 43444 LOG: archiver process (PID 43452) exited with= exit code 1=20 2018-09-17 12:09:54 UTC 43444 LOG: all server processes terminated; reiniti= alizing=20 2018-09-17 12:09:54 UTC 43840 LOG: database system was interrupted; last kn= own up at 2018-09-17 12:08:35 UTC=20 2018-09-17 12:09:56 UTC 43840 LOG: database system was not properly shut do= wn; automatic recovery in progress=20 2018-09-17 12:09:56 UTC 43840 LOG: redo starts at 0/6000098=20 2018-09-17 12:09:56 UTC 43840 LOG: invalid record length at 0/60000D0: want= ed 24, got 0=20 2018-09-17 12:09:56 UTC 43840 LOG: redo done at 0/6000098=20 2018-09-17 12:09:56 UTC 43840 LOG: checkpoint starting: end-of-recovery imm= ediate=20 2018-09-17 12:09:56 UTC 43840 LOG: checkpoint complete: wrote 0 buffers (0.= 0%); 0 transaction log file(s) added, 0 removed, 0 recycled; write=3D0.006 = s, sync=3D0.000 s, total=3D0.030 s; sync files=3D0, longest=3D0.000 s, aver= age=3D0.000 s; distance=3D0 kB, estimate=3D0 kB=20 2018-09-17 12:09:56 UTC 43840 LOG: MultiXact member wraparound protections = are now enabled=20 2018-09-17 12:09:56 UTC 43444 LOG: database system is ready to accept conne= ctions=20 2018-09-17 12:09:56 UTC 43844 LOG: autovacuum launcher started=20 any idea how can I investigate if the problem in the wrapper or in the data= base ?