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 1q6BDK-0002jb-9V for pgsql-bugs@arkaria.postgresql.org; Mon, 05 Jun 2023 14:29:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q6BDJ-0001B7-43 for pgsql-bugs@arkaria.postgresql.org; Mon, 05 Jun 2023 14:29:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q6BDI-0001AW-Ri for pgsql-bugs@lists.postgresql.org; Mon, 05 Jun 2023 14:29:40 +0000 Received: from ns5.gunduz.org ([107.170.136.15] helo=ns1.gunduz.org) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q6BDD-000OF2-Nv for pgsql-bugs@lists.postgresql.org; Mon, 05 Jun 2023 14:29:40 +0000 Received: from asus-laptop05.gunduz.org (unknown [88.98.200.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ns1.gunduz.org (Postfix) with ESMTPSA id C48B33FF02; Mon, 5 Jun 2023 17:29:33 +0300 (+03) Message-ID: Subject: Re: BUG #17956: proj90-debuginfo (proj90-debuginfo-9.0.1) CRC does not match proj90.so (proj90-9.0.1) CRC From: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= To: nmaludy@gmail.com, pgsql-bugs@lists.postgresql.org Date: Mon, 05 Jun 2023 15:29:32 +0100 In-Reply-To: <17956-7e1dd82e5a849ee0@postgresql.org> References: <17956-7e1dd82e5a849ee0@postgresql.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.2 (3.48.2-1.fc38) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On Thu, 2023-06-01 at 16:04 +0000, PG Bug reporting form wrote: >=20 > Bug reference:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 17956 > Logged by:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Nick Mal= udy > Email address:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nmaludy@gmail.com > PostgreSQL version: 15.0 > Operating system:=C2=A0=C2=A0 RHEL 8 > Description:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 >=20 > Hello, >=20 > I was trying to debug some code today and noticed that the CRC > contained in > proj90-9.0.1-1.rhel8 does no match the CRC in the debuginfo package > proj90-debuginfo-9.0.1-1.rhel8. >=20 > GDB returned the following error when loading my executable: >=20 > warning: the debug information found in > "/usr/lib/debug//usr/proj90/lib64/libproj.so.25.9.0.1-9.0.1- > 1.rhel8.x86_64.debug" > does not match "/usr/proj90/lib64/libproj.so.25" (CRC mismatch). >=20 > warning: the debug information found in > "/usr/lib/debug//usr/proj90/lib64/libproj.so.25.9.0.1-9.0.1- > 1.rhel8.x86_64.debug" > does not match "/usr/proj90/lib64/libproj.so.25" (CRC mismatch). >=20 >=20 > To confirm, i ran the following: > $ eu-unstrip -n -e > /usr/lib/debug/usr/proj90/lib64/libproj.so.25.9.0.1-9.0.1- > 1.rhel8.x86_64.debug >=20 > 0+0x609ca0 4bd2427805b03ff1a73e491184f60a9e5d07eb12@0x248 > /usr/lib/debug/usr/proj90/lib64/libproj.so.25.9.0.1-9.0.1- > 1.rhel8.x86_64.debug > .=20 >=20 > $ eu-unstrip -n -e /usr/proj90/lib64/libproj.so.25.9.0.1 > 0+0x609ca0 5425059ada9e996f4bd0fcc87514249af65af370@0x248 > /usr/proj90/lib64/libproj.so.25.9.0.1 -=20 >=20 > You can see the second field containing the CRC does not match >=20 > I downgraded to proj90-9.0.0 and the CRC's match each other. >=20 > $ eu-unstrip -n -e > /usr/lib/debug/usr/proj90/lib64/libproj.so.25.9.0.0-9.0.0- > 1.rhel8.x86_64.debug >=20 > 0+0x603c80 f18f4e8a60f04874716f1afdebf919db18939bce@0x248 > /usr/lib/debug/usr/proj90/lib64/libproj.so.25.9.0.0-9.0.0- > 1.rhel8.x86_64.debug > . >=20 > $ eu-unstrip -n -e libproj.so.25.9.0.0=20 > 0+0x603c80 f18f4e8a60f04874716f1afdebf919db18939bce@0x248 > /usr/proj90/lib64/libproj.so.25.9.0.0 > /usr/lib/debug/usr/proj90/lib64/libproj.so.25.9.0.0-9.0.0- > 1.rhel8.x86_64.debug >=20 >=20 > You can also see that `eu-unstrip` finds the matching debug info in > this > case, it did not find it above for proj90-9.0.1. >=20 > Can you please check on this and look into a potential fix? >=20 Thanks for the report. Pushed 9.0.1-2 RPMS which fix this problem: # eu-unstrip -n -e /usr/proj90/lib64/libproj.so.25.9.0.1=20 0+0x609ca0 5eb27c936540bd4d5b9e43e9095ba8315580232f@0x248 /usr/proj90/lib64= /libproj.so.25.9.0.1 /usr/lib/debug/usr/proj90/lib64/libproj.so.25.9.0.1-9.= 0.1-2.rhel8.x86_64.debug=20 # eu-unstrip -n -e /usr/lib/debug/usr/proj90/lib64/libproj.so.25.9.0.1-9.0.= 1-2.rhel8.x86_64.debug=20 0+0x609ca0 5eb27c936540bd4d5b9e43e9095ba8315580232f@0x248 /usr/lib/debug/us= r/proj90/lib64/libproj.so.25.9.0.1-9.0.1-2.rhel8.x86_64.debug .=20 Regards, --=20 Devrim G=C3=BCnd=C3=BCz Open Source Solution Architect, PostgreSQL Major Contributor Twitter: @DevrimGunduz , @DevrimGunduzTR