Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvgmF-0001un-IQ for pgsql-bugs@arkaria.postgresql.org; Fri, 10 Dec 2021 14:21:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mvgmD-00056S-Bp for pgsql-bugs@arkaria.postgresql.org; Fri, 10 Dec 2021 14:21:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <9erthalion6@gmail.com>) id 1mvgmD-00056J-29 for pgsql-bugs@lists.postgresql.org; Fri, 10 Dec 2021 14:21:33 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <9erthalion6@gmail.com>) id 1mvgmA-0004n1-I0 for pgsql-bugs@lists.postgresql.org; Fri, 10 Dec 2021 14:21:32 +0000 Received: by mail-wm1-x333.google.com with SMTP id r9-20020a7bc089000000b00332f4abf43fso7279606wmh.0 for ; Fri, 10 Dec 2021 06:21:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=XlXMSyLIdB5JXximsQIlTrPyB7VQvFL6vmHF13ymBeU=; b=KGJdLq2KCTd5nhlst6lBZvlttskCE2yTBMZGEMk3Z59lhHrbJCRk4Hq80yTfrCx7DI vCRtn8lIhbavuKOFUX0DZC3Yyyc+qaefUlsozDsW1RXo0IN7WTTSpxmVYdcBgt/MWp+9 Oeni/E4F1AbVeCYgZS6jBet0HSPxBWyPYLS2jYCe6/0tJFVCtuiIIJrWLO4deyA9ucFI VpUJai+KfoQO1TH/VoU4U1Pw3+g9DgPVhxHul//xKjSGr34EBy+/p3vpEFR3xBQ79b8V tesm6H0qA5Rt2O9N4dR/3hcNXD2gi6cw90y5dxtY3RzqixbFATvD85NteYK3vJaqy5fB AYJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=XlXMSyLIdB5JXximsQIlTrPyB7VQvFL6vmHF13ymBeU=; b=CymE8uKkdRSGYMwAP54S8KnY3PB/LAY4WDNfnBkPG0FmG+V+Cpl0WdRu0HFN5Jh+JN WtyhXjYAwixj9TKsRoOAJMUptENuoeE8HTvCgYk4x0UKDooFTZFBauXgBbLxNRDemYzs HBTYw80eQYTvlZZ41P049ca0+J8L+ddNE+gCM+4mj7NtQuJsknFc5tKSL9GJ++H9dii0 BZRaCaZkscoRjYAoShc3WAlQzsNQX4bub+AIheOc73KgfPDeVUFYkQ/69RU6UWXD5mXd ZA4H6fwk5cTUwghoMlE+1gwj5rFEddN2b0Hkmvdp+S25jVY7kgAwxg4CxnNkWKG9Qtu6 HzKw== X-Gm-Message-State: AOAM531+f2mP9fqg3V4cjqLQw5Ex8rs89sw15070WF3ppBF7kv81rf7B ndy4gB7GwZ70KfDtsRtOg2U= X-Google-Smtp-Source: ABdhPJzwSf66JNKYdXYW8oK4WmBCKWFXcmf2SjV6QXXZH6tSZLHuSoM5LGTsrQMchw7wS//9+QVblA== X-Received: by 2002:a7b:c1d5:: with SMTP id a21mr16920185wmj.14.1639146089011; Fri, 10 Dec 2021 06:21:29 -0800 (PST) Received: from localhost (dslb-178-012-041-031.178.012.pools.vodafone-ip.de. [178.12.41.31]) by smtp.gmail.com with ESMTPSA id y12sm2664931wrn.73.2021.12.10.06.21.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Dec 2021 06:21:28 -0800 (PST) Date: Fri, 10 Dec 2021 15:22:31 +0100 From: Dmitry Dolgov <9erthalion6@gmail.com> To: "James Pang (chaolpan)" Cc: "pgsql-bugs@lists.postgresql.org" Subject: Re: BUG #17326: Postgres crashed when pg_reload_conf() with ssl certificate parameters Message-ID: <20211210142231.fvldmwwy4fr477h2@localhost> References: <17326-d40bbb1386b6c9c3@postgresql.org> <20211208134601.gauysdttc65aoeze@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Fri, Dec 10, 2021 at 09:05:19AM +0000, James Pang (chaolpan) wrote: > try to install debug_info and get stack, > 1. use coredump , > ]$ gdb -q -c /pgdata/core.1317550.sig11.1639122870s /usr/pgsql-13/bin/postgres > Reading symbols from /usr/pgsql-13/bin/postgres...Reading symbols from .gnu_debugdata for /usr/pgsql-13/bin/postgres...(no debugging symbols found)...done. > (no debugging symbols found)...done. > > warning: Can't open file (null) during file-backed mapping note processing > > warning: Can't open file (null) during file-backed mapping note processing > > warning: Can't open file (null) during file-backed mapping note processing > [New LWP 1317550] > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib64/libthread_db.so.1". > Core was generated by `/usr/pgsql-13/bin/postgres'. > Program terminated with signal SIGSEGV, Segmentation fault. > #0 0x00007f72e3290094 in asn1_string_embed_free () from /lib64/libcrypto.so.1.1 > > 2. when gdb log , > Program received signal SIGHUP, Hangup. > 0x00007f4fb438e25b in select () from /lib64/libc.so.6 > Continuing. > > Program received signal SIGHUP, Hangup. > 0x00007f4fb438e25b in select () from /lib64/libc.so.6 > Continuing. > > Program received signal SIGSEGV, Segmentation fault. > 0x00007f4fb5eef094 in asn1_string_embed_free () from /lib64/libcrypto.so.1.1 > Continuing. > > Program terminated with signal SIGSEGV, Segmentation fault. > The program no longer exists. > > Should I install debug info for set_user module too? Eventually yes, but judging from the logs you've posted ("/usr/pgsql-13/bin/postgres...(no debugging symbols found)") the debugging symbols for postgres itself are not there yet. Do you get a meaningful stack trace from the coredump with the `bt` command right now?