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 1rzk8v-006Ncz-6Q for pgsql-novice@arkaria.postgresql.org; Wed, 24 Apr 2024 21:27:05 +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 1rzk8s-000E2e-4r for pgsql-novice@arkaria.postgresql.org; Wed, 24 Apr 2024 21:27:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rzk8r-000E2W-No for pgsql-novice@lists.postgresql.org; Wed, 24 Apr 2024 21:27:01 +0000 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rzk8k-002m93-8l for pgsql-novice@lists.postgresql.org; Wed, 24 Apr 2024 21:27:00 +0000 Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-571bddddbc2so287099a12.1 for ; Wed, 24 Apr 2024 14:26:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildtrue-io.20230601.gappssmtp.com; s=20230601; t=1713994012; x=1714598812; darn=lists.postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=a3GKM1KNvwDPSfwf8UAYGw5+uwocG1wdrbHk6vWoMZA=; b=uGGPFbtVnxJ27ZbINUwiIqBQxC6L0tgDVjLJlZxMgTK7mOAvfcVcnAS9BHgO30eSGw Eo/7FewPOcQlQumUW4POJB3Z7BzePj7+sOveRxId9sBKjfbqUwR7g2vlwDnV+tEKYJdT LlQAhWVgI1+TFXhLJAiGP5gfjTK2zUz+el13apQglBq+qQma/s8mGV4RICqgt5Vzn0xj z5vhbKblkd0a3+Ui4EFmbr+9t8f7MCosF7nZqjT+csSVl5EirHpTQDeDQ4Bm0nU41MJG VS63wHRB/l74MBWr/mJuPgGbw7sqC02icTyBR7Mxmzs3g13N3Jk9/cttmEUTX2aqgYDV q1pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713994012; x=1714598812; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=a3GKM1KNvwDPSfwf8UAYGw5+uwocG1wdrbHk6vWoMZA=; b=jABNi7leUTKwaI9E/QA9XFIaqEExXP71/NSu2FKLs0b25OqeZmdghD7mRaYheqcDR7 IcC0GX2zJokyu07x0nsFBLjCmOUqRTpLIK85qz5IYIcDvM2lhCDpLz2sTzqgwYPQBrsl hd++/sv/gGS4qpb2UIgzBm7wAxGnik2gWD2Pc64ct1lDrU0uBtpLcK38EJw8IKgdd2iC VcgyFIhx3epH24v7zyWouFObRdDW1dCxBshC5Vv8zw56Z6WC2MKGUYrTuZvgto7DSNg0 oNFmP2ictBxcPYLRuZGYeHoVWp37id5sZ75hgKsPRN9FAn2WKldMFvFGSJd5qNsCi5rk be0g== X-Gm-Message-State: AOJu0YxKKRy8+qtdiTOBowxhDOeRoD6nfRkgewCPVgvy9W+QCm0zkfP6 WXoZpGiBRKty/jtqKZ/5YFkX+4LUybz2uH68pNuxVTilvt/a6MHiF6jFQnDW3sAQoWSziI6Izr3 f6x4pNDKsMmUugknTiUg6iVZATSHjx343ASjYOs58dn8Szwb1 X-Google-Smtp-Source: AGHT+IFhbpnZLjPAcPi+iSQ7EhPHBBNnSQ/kY9+NfSyJ4Jsk2j0HbvtF0IrNkgi27w9/86TnMVm15BgVzHV4qF1wDDU= X-Received: by 2002:a50:ab10:0:b0:56d:c942:c790 with SMTP id s16-20020a50ab10000000b0056dc942c790mr2477812edc.34.1713994011918; Wed, 24 Apr 2024 14:26:51 -0700 (PDT) MIME-Version: 1.0 From: James Creasy Date: Wed, 24 Apr 2024 14:26:41 -0700 Message-ID: Subject: Hello, novice Postgres user, seg fault investigation To: pgsql-novice@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000003a5a8a0616de5446" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000003a5a8a0616de5446 Content-Type: text/plain; charset="UTF-8" Hi, Trying to figure out which list to post which types of questions to. New to Postgres and the community so I thought I'd post an introduction. We're also using the PostGIS extension for 3D data, PostgREST for the API, socketio for push notifications. Deployed on AWS via Docker. We analyze 3D data with incremental changes over year+ long time periods. Now the interesting part, we're getting a seg fault which goes away when we run VACUUM on the table before writing to it, which is perplexing as the table can be newly created and contains a few hundred rows. How could the db get into a fatal state so quickly? We are setting up Postgres for debugging and see where we go from there. Looks like gdb and valgrind are still the tools of choice. Lots to learn, and that's where we are currently. James Bay Area, U.S.A --0000000000003a5a8a0616de5446 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Trying to figure out which list to = post which types of questions to. New to Postgres and the community so I th= ought I'd post an introduction.=C2=A0

We'r= e also using the PostGIS extension for 3D data, PostgREST for the API, sock= etio for push notifications. Deployed on AWS via Docker. We analyze 3D data= with incremental changes over year+ long time periods.=C2=A0=C2=A0

Now the interesting part, we're getting a seg fault w= hich goes away when we run VACUUM on the table before writing to it, which = is perplexing as the table can be newly created and contains a few hundred = rows. How could the db get into a fatal state so quickly?=C2=A0
<= br>
We are setting up Postgres for debugging and see where we go = from there. Looks like gdb and valgrind are still the tools of choice. Lots= to learn, and that's where we are currently.=C2=A0

James=C2=A0
Bay Area, U.S.A
--0000000000003a5a8a0616de5446--