Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gHIEb-0002Um-Db for pgsql-hackers@arkaria.postgresql.org; Tue, 30 Oct 2018 00:50:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gHIEZ-0007LH-8z for pgsql-hackers@arkaria.postgresql.org; Tue, 30 Oct 2018 00:50:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gHIEY-0007Ku-J0 for pgsql-hackers@lists.postgresql.org; Tue, 30 Oct 2018 00:50:15 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gHIEP-00005W-Tc for pgsql-hackers@postgresql.org; Tue, 30 Oct 2018 00:50:13 +0000 Received: by mail-wr1-x443.google.com with SMTP id l6-v6so10688617wrt.1 for ; Mon, 29 Oct 2018 17:50:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=iUcrLmFM4LpR8Y3U9vKbHX4QEUGyngvc1O5tuqtNhik=; b=MzGuqfdPoUB3ohumSjuzoV2KBfeOV1M8WC+dMEskDK6nYioIUfB7c8vpb/8idi9Fm5 QFBBApisIPC001p9JPJi1tWhEqlteK3YgvhO0Yj3gwIDM7JYayVknvjymVkbZE7O1Xni 1xqbzqfV/3rrMQY7EZqK7rYTwitK2P15kJplNev7ZJJUJw9N0Fz3PVW7apUgVukv0E3P r8FNChhy4fEfYYW+ntgdLTBmcOqOAg4wBTgpSF52b5ctcS38DIp7a0/MUycfqDp/FRSi LUFnTCxx9yKci2JnLFLvAhVMz9in+ovXxxlc3YxyDCDE8zPRYAs8W9rAxc7JdLkkyhmo 3IAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=iUcrLmFM4LpR8Y3U9vKbHX4QEUGyngvc1O5tuqtNhik=; b=PfuHLd5NyyjXV2FrajvENoJsSHecrICGZ3mMTOgrnetqTngnUhAygTF3cXtdaH5DF0 JHUqVWcVi/ktYBT6wtf3g+vYEMY812xnUBiDz24Pr76WtHdWhMn9wl85uMwkU0d4CQlb IjFaC2hktOjNvnCsmMzhFfuS1ClwQEXkQtqrI4EW2z6EhqPDl2mdk/NSaer18cbJxRzc 2w10KJiSZRY8exw4iqaVo3r/SMXfmywhTkxppifBKjDHeOFkVayvw9b5fctYnn5KJain WxQnHOTTSHg+WBuq7/aFxp/KZRKnmD2wJx/Ym0porjGSZ/tpzBMKNRBbY/aba5q/55cV c6JQ== X-Gm-Message-State: AGRZ1gIpvoH9s7JsVx88sugh/IrUrziSc1o1WiyWWS3Vxp39mi8Gsh2y 6e27nij0UbMmMqb/TqwWbCKJrVh8ZIgEAKJmuLaGFDqXjsUQWAebKf1WlV5D5Kh23ZPm/ooYxaC oyUmEevvuf2mPGHLoewMZCh8ItrSYhSQuQoH/xJGPJeCk+Fs67inQZ2Cr5Nvf15FIKpZ7Kb2OPr 51jubucdSZ8t0= X-Google-Smtp-Source: AJdET5fGRNgr1C1SejPd4UJV3wptamkWspDimQxrU2BRyD+9qZgnTW8NEzZLRg5CixroIMSb7spSbg== X-Received: by 2002:a5d:438e:: with SMTP id i14-v6mr17609946wrq.156.1540860602271; Mon, 29 Oct 2018 17:50:02 -0700 (PDT) Received: from [10.137.2.21] (ip-86-49-245-152.net.upcbroadband.cz. [86.49.245.152]) by smtp.gmail.com with ESMTPSA id f4-v6sm2067970wrw.10.2018.10.29.17.50.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 17:50:01 -0700 (PDT) Subject: Re: shared-memory based stats collector To: Kyotaro HORIGUCHI , andres@anarazel.de Cc: ah@cybertec.at, magnus@hagander.net, robertmhaas@gmail.com, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org References: <20180926.095509.182252925.horiguchi.kyotaro@lab.ntt.co.jp> <20180927.220049.168546206.horiguchi.kyotaro@lab.ntt.co.jp> <20181002.160651.117284090.horiguchi.kyotaro@lab.ntt.co.jp> <20181005.173017.151015949.horiguchi.kyotaro@lab.ntt.co.jp> From: Tomas Vondra Message-ID: <5253d750-890b-069b-031f-2a9b73e47832@2ndquadrant.com> Date: Tue, 30 Oct 2018 01:49:59 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20181005.173017.151015949.horiguchi.kyotaro@lab.ntt.co.jp> Content-Type: multipart/mixed; boundary="------------9974A6E647922E96A10F7FC9" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------9974A6E647922E96A10F7FC9 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Hi, I've started looking at the patch over the past few days. I don't have any deep insights at this point, but there seems to be some sort of issue in pgstat_update_stat. When building using gcc, I do get this warning: pgstat.c: In function ‘pgstat_update_stat’: pgstat.c:648:18: warning: ‘now’ may be used uninitialized in this function [-Wmaybe-uninitialized] oldest_pending = now; ~~~~~~~~~~~~~~~^~~~~ PostgreSQL installation complete. which kinda makes sense, because 'now' is set only in the (!force) branch. So if the very first call to pgstat_update_stat is with force=true, it's not set, and the code executes this: /* record oldest pending update time */ if (pgStatPendingTabHash == NULL) oldest_pending = 0; else if (oldest_pending == 0) oldest_pending = now; at which point we set "oldest_pending = now" with "now" containing some random garbage. When running this under valgrind, I get a couple of warnings in this area of code - see the attached log with a small sample. Judging by the locations I assume those are related to the same issue, but I have not looked into that. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services --------------9974A6E647922E96A10F7FC9 Content-Type: text/x-log; name="valgrind.log" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="valgrind.log" ==3703== Conditional jump or move depends on uninitialised value(s) ==3703== at 0x9C7171: TimestampDifference (timestamp.c:1649) ==3703== by 0x80C4B4: pgstat_update_stat (pgstat.c:562) ==3703== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3703== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3703== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3703== by 0x816154: ServerLoop (postmaster.c:1696) ==3703== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3703== by 0x73EF24: main (main.c:228) ==3703== Uninitialised value was created by a stack allocation ==3703== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3703== { Memcheck:Cond fun:TimestampDifference fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3703== Conditional jump or move depends on uninitialised value(s) ==3703== at 0x80C4E9: pgstat_update_stat (pgstat.c:565) ==3703== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3703== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3703== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3703== by 0x816154: ServerLoop (postmaster.c:1696) ==3703== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3703== by 0x73EF24: main (main.c:228) ==3703== Uninitialised value was created by a stack allocation ==3703== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3703== { Memcheck:Cond fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3709== Conditional jump or move depends on uninitialised value(s) ==3709== at 0x9C7171: TimestampDifference (timestamp.c:1649) ==3709== by 0x80C4B4: pgstat_update_stat (pgstat.c:562) ==3709== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3709== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3709== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3709== by 0x816154: ServerLoop (postmaster.c:1696) ==3709== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3709== by 0x73EF24: main (main.c:228) ==3709== Uninitialised value was created by a stack allocation ==3709== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3709== { Memcheck:Cond fun:TimestampDifference fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3709== Conditional jump or move depends on uninitialised value(s) ==3709== at 0x80C4E9: pgstat_update_stat (pgstat.c:565) ==3709== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3709== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3709== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3709== by 0x816154: ServerLoop (postmaster.c:1696) ==3709== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3709== by 0x73EF24: main (main.c:228) ==3709== Uninitialised value was created by a stack allocation ==3709== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3709== { Memcheck:Cond fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3718== Conditional jump or move depends on uninitialised value(s) ==3718== at 0x9C7171: TimestampDifference (timestamp.c:1649) ==3718== by 0x80C4B4: pgstat_update_stat (pgstat.c:562) ==3718== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3718== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3718== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3718== by 0x816154: ServerLoop (postmaster.c:1696) ==3718== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3718== by 0x73EF24: main (main.c:228) ==3718== Uninitialised value was created by a stack allocation ==3718== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3718== { Memcheck:Cond fun:TimestampDifference fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3718== Conditional jump or move depends on uninitialised value(s) ==3718== at 0x80C4E9: pgstat_update_stat (pgstat.c:565) ==3718== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3718== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3718== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3718== by 0x816154: ServerLoop (postmaster.c:1696) ==3718== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3718== by 0x73EF24: main (main.c:228) ==3718== Uninitialised value was created by a stack allocation ==3718== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3718== { Memcheck:Cond fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3722== Conditional jump or move depends on uninitialised value(s) ==3722== at 0x9C7171: TimestampDifference (timestamp.c:1649) ==3722== by 0x80C4B4: pgstat_update_stat (pgstat.c:562) ==3722== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3722== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3722== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3722== by 0x816154: ServerLoop (postmaster.c:1696) ==3722== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3722== by 0x73EF24: main (main.c:228) ==3722== Uninitialised value was created by a stack allocation ==3722== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3722== { Memcheck:Cond fun:TimestampDifference fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3722== Conditional jump or move depends on uninitialised value(s) ==3722== at 0x80C4E9: pgstat_update_stat (pgstat.c:565) ==3722== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3722== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3722== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3722== by 0x816154: ServerLoop (postmaster.c:1696) ==3722== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3722== by 0x73EF24: main (main.c:228) ==3722== Uninitialised value was created by a stack allocation ==3722== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3722== { Memcheck:Cond fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3719== Conditional jump or move depends on uninitialised value(s) ==3719== at 0x9C7171: TimestampDifference (timestamp.c:1649) ==3719== by 0x80C4B4: pgstat_update_stat (pgstat.c:562) ==3719== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3719== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3719== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3719== by 0x816154: ServerLoop (postmaster.c:1696) ==3719== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3719== by 0x73EF24: main (main.c:228) ==3719== Uninitialised value was created by a stack allocation ==3719== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3719== { Memcheck:Cond fun:TimestampDifference fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3719== Conditional jump or move depends on uninitialised value(s) ==3719== at 0x80C4E9: pgstat_update_stat (pgstat.c:565) ==3719== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3719== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3719== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3719== by 0x816154: ServerLoop (postmaster.c:1696) ==3719== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3719== by 0x73EF24: main (main.c:228) ==3719== Uninitialised value was created by a stack allocation ==3719== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3719== { Memcheck:Cond fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3720== Conditional jump or move depends on uninitialised value(s) ==3720== at 0x9C7171: TimestampDifference (timestamp.c:1649) ==3720== by 0x80C4B4: pgstat_update_stat (pgstat.c:562) ==3720== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3720== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3720== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3720== by 0x816154: ServerLoop (postmaster.c:1696) ==3720== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3720== by 0x73EF24: main (main.c:228) ==3720== Uninitialised value was created by a stack allocation ==3720== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3720== { Memcheck:Cond fun:TimestampDifference fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3720== Conditional jump or move depends on uninitialised value(s) ==3720== at 0x80C4E9: pgstat_update_stat (pgstat.c:565) ==3720== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3720== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3720== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3720== by 0x816154: ServerLoop (postmaster.c:1696) ==3720== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3720== by 0x73EF24: main (main.c:228) ==3720== Uninitialised value was created by a stack allocation ==3720== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3720== { Memcheck:Cond fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3900== Conditional jump or move depends on uninitialised value(s) ==3900== at 0x9C7171: TimestampDifference (timestamp.c:1649) ==3900== by 0x80C4B4: pgstat_update_stat (pgstat.c:562) ==3900== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3900== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3900== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3900== by 0x816154: ServerLoop (postmaster.c:1696) ==3900== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3900== by 0x73EF24: main (main.c:228) ==3900== Uninitialised value was created by a stack allocation ==3900== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3900== { Memcheck:Cond fun:TimestampDifference fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3900== Conditional jump or move depends on uninitialised value(s) ==3900== at 0x80C4E9: pgstat_update_stat (pgstat.c:565) ==3900== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3900== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3900== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3900== by 0x816154: ServerLoop (postmaster.c:1696) ==3900== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3900== by 0x73EF24: main (main.c:228) ==3900== Uninitialised value was created by a stack allocation ==3900== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3900== { Memcheck:Cond fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3896== Conditional jump or move depends on uninitialised value(s) ==3896== at 0x9C7171: TimestampDifference (timestamp.c:1649) ==3896== by 0x80C4B4: pgstat_update_stat (pgstat.c:562) ==3896== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3896== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3896== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3896== by 0x816154: ServerLoop (postmaster.c:1696) ==3896== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3896== by 0x73EF24: main (main.c:228) ==3896== Uninitialised value was created by a stack allocation ==3896== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3896== { Memcheck:Cond fun:TimestampDifference fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3896== Conditional jump or move depends on uninitialised value(s) ==3896== at 0x80C4E9: pgstat_update_stat (pgstat.c:565) ==3896== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3896== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3896== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3896== by 0x816154: ServerLoop (postmaster.c:1696) ==3896== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3896== by 0x73EF24: main (main.c:228) ==3896== Uninitialised value was created by a stack allocation ==3896== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3896== { Memcheck:Cond fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3899== Conditional jump or move depends on uninitialised value(s) ==3899== at 0x9C7171: TimestampDifference (timestamp.c:1649) ==3899== by 0x80C4B4: pgstat_update_stat (pgstat.c:562) ==3899== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3899== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3899== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3899== by 0x816154: ServerLoop (postmaster.c:1696) ==3899== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3899== by 0x73EF24: main (main.c:228) ==3899== Uninitialised value was created by a stack allocation ==3899== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3899== { Memcheck:Cond fun:TimestampDifference fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3899== Conditional jump or move depends on uninitialised value(s) ==3899== at 0x80C4E9: pgstat_update_stat (pgstat.c:565) ==3899== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3899== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3899== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3899== by 0x816154: ServerLoop (postmaster.c:1696) ==3899== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3899== by 0x73EF24: main (main.c:228) ==3899== Uninitialised value was created by a stack allocation ==3899== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3899== { Memcheck:Cond fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3903== Conditional jump or move depends on uninitialised value(s) ==3903== at 0x9C7171: TimestampDifference (timestamp.c:1649) ==3903== by 0x80C4B4: pgstat_update_stat (pgstat.c:562) ==3903== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3903== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3903== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3903== by 0x816154: ServerLoop (postmaster.c:1696) ==3903== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3903== by 0x73EF24: main (main.c:228) ==3903== Uninitialised value was created by a stack allocation ==3903== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3903== { Memcheck:Cond fun:TimestampDifference fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3903== Conditional jump or move depends on uninitialised value(s) ==3903== at 0x80C4E9: pgstat_update_stat (pgstat.c:565) ==3903== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3903== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3903== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3903== by 0x816154: ServerLoop (postmaster.c:1696) ==3903== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3903== by 0x73EF24: main (main.c:228) ==3903== Uninitialised value was created by a stack allocation ==3903== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3903== { Memcheck:Cond fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3907== Conditional jump or move depends on uninitialised value(s) ==3907== at 0x9C7171: TimestampDifference (timestamp.c:1649) ==3907== by 0x80C4B4: pgstat_update_stat (pgstat.c:562) ==3907== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3907== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3907== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3907== by 0x816154: ServerLoop (postmaster.c:1696) ==3907== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3907== by 0x73EF24: main (main.c:228) ==3907== Uninitialised value was created by a stack allocation ==3907== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3907== { Memcheck:Cond fun:TimestampDifference fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3907== Conditional jump or move depends on uninitialised value(s) ==3907== at 0x80C4E9: pgstat_update_stat (pgstat.c:565) ==3907== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3907== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3907== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3907== by 0x816154: ServerLoop (postmaster.c:1696) ==3907== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3907== by 0x73EF24: main (main.c:228) ==3907== Uninitialised value was created by a stack allocation ==3907== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3907== { Memcheck:Cond fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3905== Conditional jump or move depends on uninitialised value(s) ==3905== at 0x9C7171: TimestampDifference (timestamp.c:1649) ==3905== by 0x80C4B4: pgstat_update_stat (pgstat.c:562) ==3905== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3905== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3905== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3905== by 0x816154: ServerLoop (postmaster.c:1696) ==3905== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3905== by 0x73EF24: main (main.c:228) ==3905== Uninitialised value was created by a stack allocation ==3905== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3905== { Memcheck:Cond fun:TimestampDifference fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3905== Conditional jump or move depends on uninitialised value(s) ==3905== at 0x80C4E9: pgstat_update_stat (pgstat.c:565) ==3905== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3905== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3905== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3905== by 0x816154: ServerLoop (postmaster.c:1696) ==3905== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3905== by 0x73EF24: main (main.c:228) ==3905== Uninitialised value was created by a stack allocation ==3905== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3905== { Memcheck:Cond fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3909== Conditional jump or move depends on uninitialised value(s) ==3909== at 0x9C7171: TimestampDifference (timestamp.c:1649) ==3909== by 0x80C4B4: pgstat_update_stat (pgstat.c:562) ==3909== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3909== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3909== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3909== by 0x816154: ServerLoop (postmaster.c:1696) ==3909== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3909== by 0x73EF24: main (main.c:228) ==3909== Uninitialised value was created by a stack allocation ==3909== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3909== { Memcheck:Cond fun:TimestampDifference fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3909== Conditional jump or move depends on uninitialised value(s) ==3909== at 0x80C4E9: pgstat_update_stat (pgstat.c:565) ==3909== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3909== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3909== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3909== by 0x816154: ServerLoop (postmaster.c:1696) ==3909== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3909== by 0x73EF24: main (main.c:228) ==3909== Uninitialised value was created by a stack allocation ==3909== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3909== { Memcheck:Cond fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3910== Conditional jump or move depends on uninitialised value(s) ==3910== at 0x9C7171: TimestampDifference (timestamp.c:1649) ==3910== by 0x80C4B4: pgstat_update_stat (pgstat.c:562) ==3910== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3910== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3910== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3910== by 0x816154: ServerLoop (postmaster.c:1696) ==3910== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3910== by 0x73EF24: main (main.c:228) ==3910== Uninitialised value was created by a stack allocation ==3910== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3910== { Memcheck:Cond fun:TimestampDifference fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } ==3910== Conditional jump or move depends on uninitialised value(s) ==3910== at 0x80C4E9: pgstat_update_stat (pgstat.c:565) ==3910== by 0x8BD59C: PostgresMain (postgres.c:4174) ==3910== by 0x81A2E0: BackendRun (postmaster.c:4326) ==3910== by 0x819AAE: BackendStartup (postmaster.c:4017) ==3910== by 0x816154: ServerLoop (postmaster.c:1696) ==3910== by 0x815A00: PostmasterMain (postmaster.c:1369) ==3910== by 0x73EF24: main (main.c:228) ==3910== Uninitialised value was created by a stack allocation ==3910== at 0x80C3F1: pgstat_update_stat (pgstat.c:530) ==3910== { Memcheck:Cond fun:pgstat_update_stat fun:PostgresMain fun:BackendRun fun:BackendStartup fun:ServerLoop fun:PostmasterMain fun:main } --------------9974A6E647922E96A10F7FC9--