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 1sLPS7-00ElIF-RK for pgsql-general@arkaria.postgresql.org; Sun, 23 Jun 2024 15:48:27 +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 1sLPS3-00DDWR-Qa for pgsql-general@arkaria.postgresql.org; Sun, 23 Jun 2024 15:48:24 +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 1sLPS3-00DDWJ-FW for pgsql-general@lists.postgresql.org; Sun, 23 Jun 2024 15:48:23 +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 1sLPS0-002jzQ-O7 for pgsql-general@postgresql.org; Sun, 23 Jun 2024 15:48:22 +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 45NFmFZH959184; Sun, 23 Jun 2024 11:48:15 -0400 From: Tom Lane To: Xu Haorong cc: "pgsql-general@postgresql.org" Subject: Re: Stack Smashing Detected When Executing initdb In-reply-to: References: Comments: In-reply-to Xu Haorong message dated "Sun, 23 Jun 2024 07:19:01 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <959182.1719157695.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 23 Jun 2024 11:48:15 -0400 Message-ID: <959183.1719157695@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Xu Haorong writes: > Today I tried to build the latest devel version of PostgreSQL(commit 70a= 845c04a47645b58f8276a6b3ab201ea8ec426). The compilation was successful, bu= t when I ran initdb an error occured: > performing post-bootstrap initialization ... *** stack smashing detected= ***: terminated > Aborted (core dumped) > child process exited with exit code 134 No such problem is visible in our build farm [1], so what we have to figure out is how your machine is different from all of those. You've provided exactly zero context: * What platform is this on (be specific)? Is the system software up-to-date? * What C compiler are you using, and what version exactly? * What configure options did you use? regards, tom lane [1] https://buildfarm.postgresql.org/cgi-bin/show_status.pl