Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1361689 - glibc: pldd does not work
Summary: glibc: pldd does not work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Weimer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1702539
TreeView+ depends on / blocked
 
Reported: 2016-07-29 18:41 UTC by Yaakov Selkowitz
Modified: 2019-05-16 03:17 UTC (History)
9 users (show)

Fixed In Version: glibc-2.29.9000-17.fc31 glibc-2.28-29.fc29 glibc-2.27-40.fc28 glibc-2.29-11.fc30 glibc-2.29-12.fc30 glibc-2.28-30.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-06 00:45:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Sourceware 18035 0 P2 RESOLVED pldd does no longer work, enters infinite loop 2020-08-24 13:17:42 UTC

Description Yaakov Selkowitz 2016-07-29 18:41:56 UTC
Just ran into https://sourceware.org/bugzilla/show_bug.cgi?id=18035 :

$ pldd $$
4938:    /usr/bin/bash

then it hangs.  According to the upstream bug, this has been broken since 2.19.

Comment 1 Carlos O'Donell 2016-07-29 20:02:52 UTC
This bug is open upstream and we're not going to to fix this in Fedora unless upstream fixes it. Please continue the discussion upstream.

As a workaround you can use gdb:

cat >> pldd.sh <<EOF
#!/bin/sh
gdb -ex "set confirm off" -ex "set height 0" -ex "info shared" -ex "quit" -p $1 | grep '^0x.*0x'
EOF

This needs gdb and grep.

The purpose of pldd is to print the list of shared objects in use by the application in question. It's useful in some instances when gdb might not be stable, but that seems like a really small use case.

Comment 2 Carlos O'Donell 2016-07-29 20:06:55 UTC
For the record I've recommended upstream deprecate and remove pldd.

Comment 3 Yaakov Selkowitz 2019-04-23 22:23:52 UTC
A supposed fix was just committed upstream:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1a4c27355e146b6d8cc6487b998462c7fdd1048f

Comment 4 Fedora Update System 2019-05-03 12:47:25 UTC
glibc-2.29-12.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-f82f6f0c87

Comment 5 Fedora Update System 2019-05-03 12:47:32 UTC
glibc-2.28-30.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-73917d2c1c

Comment 6 Fedora Update System 2019-05-04 01:57:45 UTC
glibc-2.29-12.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-f82f6f0c87

Comment 7 Fedora Update System 2019-05-04 02:58:22 UTC
glibc-2.28-30.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-73917d2c1c

Comment 8 Fedora Update System 2019-05-06 00:45:39 UTC
glibc-2.29-12.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2019-05-16 03:17:51 UTC
glibc-2.28-30.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.