pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #17956: proj90-debuginfo (proj90-debuginfo-9.0.1) CRC does not match proj90.so (proj90-9.0.1) CRC
2+ messages / 2 participants
[nested] [flat]

* BUG #17956: proj90-debuginfo (proj90-debuginfo-9.0.1) CRC does not match proj90.so (proj90-9.0.1) CRC
@ 2023-06-01 16:04  PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Bug reporting form @ 2023-06-01 16:04 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: nmaludy@gmail.com

The following bug has been logged on the website:

Bug reference:      17956
Logged by:          Nick Maludy
Email address:      nmaludy@gmail.com
PostgreSQL version: 15.0
Operating system:   RHEL 8
Description:        

Hello,

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.

GDB returned the following error when loading my executable:

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).

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).


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

0+0x609ca0 4bd2427805b03ff1a73e491184f60a9e5d07eb12@0x248
/usr/lib/debug/usr/proj90/lib64/libproj.so.25.9.0.1-9.0.1-1.rhel8.x86_64.debug
. 

$ 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 - 

You can see the second field containing the CRC does not match

I downgraded to proj90-9.0.0 and the CRC's match each other.

$ eu-unstrip -n -e
/usr/lib/debug/usr/proj90/lib64/libproj.so.25.9.0.0-9.0.0-1.rhel8.x86_64.debug

0+0x603c80 f18f4e8a60f04874716f1afdebf919db18939bce@0x248
/usr/lib/debug/usr/proj90/lib64/libproj.so.25.9.0.0-9.0.0-1.rhel8.x86_64.debug
.

$ eu-unstrip -n -e libproj.so.25.9.0.0 
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


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.

Can you please check on this and look into a potential fix?

Thanks,
Nick



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #17956: proj90-debuginfo (proj90-debuginfo-9.0.1) CRC does not match proj90.so (proj90-9.0.1) CRC
@ 2023-06-05 14:29  Devrim Gündüz <devrim@gunduz.org>
  parent: PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Devrim Gündüz @ 2023-06-05 14:29 UTC (permalink / raw)
  To: nmaludy@gmail.com; pgsql-bugs@lists.postgresql.org

Hi,

On Thu, 2023-06-01 at 16:04 +0000, PG Bug reporting form wrote:
> 
> Bug reference:      17956
> Logged by:          Nick Maludy
> Email address:      nmaludy@gmail.com
> PostgreSQL version: 15.0
> Operating system:   RHEL 8
> Description:        
> 
> Hello,
> 
> 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.
> 
> GDB returned the following error when loading my executable:
> 
> 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).
> 
> 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).
> 
> 
> 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
> 
> 0+0x609ca0 4bd2427805b03ff1a73e491184f60a9e5d07eb12@0x248
> /usr/lib/debug/usr/proj90/lib64/libproj.so.25.9.0.1-9.0.1-
> 1.rhel8.x86_64.debug
> . 
> 
> $ 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 - 
> 
> You can see the second field containing the CRC does not match
> 
> I downgraded to proj90-9.0.0 and the CRC's match each other.
> 
> $ eu-unstrip -n -e
> /usr/lib/debug/usr/proj90/lib64/libproj.so.25.9.0.0-9.0.0-
> 1.rhel8.x86_64.debug
> 
> 0+0x603c80 f18f4e8a60f04874716f1afdebf919db18939bce@0x248
> /usr/lib/debug/usr/proj90/lib64/libproj.so.25.9.0.0-9.0.0-
> 1.rhel8.x86_64.debug
> .
> 
> $ eu-unstrip -n -e libproj.so.25.9.0.0 
> 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
> 
> 
> 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.
> 
> Can you please check on this and look into a potential fix?
> 

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 
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 

# eu-unstrip -n -e /usr/lib/debug/usr/proj90/lib64/libproj.so.25.9.0.1-9.0.1-2.rhel8.x86_64.debug 
0+0x609ca0 5eb27c936540bd4d5b9e43e9095ba8315580232f@0x248 /usr/lib/debug/usr/proj90/lib64/libproj.so.25.9.0.1-9.0.1-2.rhel8.x86_64.debug . 


Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, PostgreSQL Major Contributor
Twitter: @DevrimGunduz , @DevrimGunduzTR





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2023-06-05 14:29 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-06-01 16:04 BUG #17956: proj90-debuginfo (proj90-debuginfo-9.0.1) CRC does not match proj90.so (proj90-9.0.1) CRC PG Bug reporting form <noreply@postgresql.org>
2023-06-05 14:29 ` Devrim Gündüz <devrim@gunduz.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox