Bug 73543 - Unexpected errors in LD_DEBUG debug logs?
Summary: Unexpected errors in LD_DEBUG debug logs?
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: glibc
Version: 1.0
Hardware: i386
OS: Linux
low
low
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-09-05 22:30 UTC by Joe Orton
Modified: 2016-11-24 14:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-09-05 22:30:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Joe Orton 2002-09-05 22:30:34 UTC
Description of Problem:
Whilst using LD_DEBUG to track down an Apache bug, I noticed that the debug 
log produced using LD_DEBUG=files contains some curious errors along with the
normal output: a number of errors as follows:

31622:  /lib/libnss_nisplus.so.2: error: relocation error: undefined symbol:
_nss_nisplus_initgroups_dyn (fatal)

The processes operate correctly and the debug log contains all the expected
output along with these errors messages.

Version-Release number of selected component (if applicable):
glibc-2.2.93-3

How Reproducible:
Always

Steps to Reproduce:
From a recent "everything" install:

$ su -
# LD_DEBUG=files LD_DEBUG_OUTPUT=/tmp/ldebug /usr/sbin/httpd
# service httpd stop

Actual Results:
# grep error /tmp/ldebug.*
many errors in log like:
31622:
/lib/libnss_files.so.2: error: relocation error: undefined symbol:
_nss_files_initgroups_dyn (fatal)

Expected Results:
No errors

Comment 1 Jakub Jelinek 2002-09-09 11:08:38 UTC
That comes from dlsym() - only libnss_nis.so.2 contains a initgroups_dyn
handler and the generic code just attempts to look it up and if it has not
succeeded, falls back to a default handling.


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