summaryrefslogtreecommitdiff
path: root/README.hpux
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-09-27 13:39:39 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-09-27 13:39:39 +0000
commit1081c3b9ad8b1dc348e105ae0173a124e71062d1 (patch)
tree07266a0553a594ad39ae4d50fb8c0ba5cb1eec42 /README.hpux
parent98c991d172ba25ca965007e58ce8e7c0f9910f56 (diff)
downloadperl-1081c3b9ad8b1dc348e105ae0173a124e71062d1.tar.gz
Document the nss_delete core dump workaround for HP-UX
and Solaris, bug IDs 20010805.018 and 20010629.004. p4raw-id: //depot/perl@12247
Diffstat (limited to 'README.hpux')
-rw-r--r--README.hpux27
1 files changed, 27 insertions, 0 deletions
diff --git a/README.hpux b/README.hpux
index fcc9d02f2f..37322a30c9 100644
--- a/README.hpux
+++ b/README.hpux
@@ -348,6 +348,33 @@ system.
In general, a value of 256MB (or "256*1024*1024") is sufficient for
Perl to compile at maximum optimization.
+=head1 nss_delete core dump from op/pwent or op/grent
+
+You may get a bus error core dump from the op/pwent or op/grent
+tests. If compiled with -g you will see a stack trace much like
+the following:
+
+ #0 0xc004216c in () from /usr/lib/libc.2
+ #1 0xc00d7550 in __nss_src_state_destr () from /usr/lib/libc.2
+ #2 0xc00d7768 in __nss_src_state_destr () from /usr/lib/libc.2
+ #3 0xc00d78a8 in nss_delete () from /usr/lib/libc.2
+ #4 0xc01126d8 in endpwent () from /usr/lib/libc.2
+ #5 0xd1950 in Perl_pp_epwent () from ./perl
+ #6 0x94d3c in Perl_runops_standard () from ./perl
+ #7 0x23728 in S_run_body () from ./perl
+ #8 0x23428 in perl_run () from ./perl
+ #9 0x2005c in main () from ./perl
+
+The key here is the C<nss_delete> call. One workaround for this
+bug seems to be to create add to the file F</etc/nsswitch.conf>
+(at least) the following lines
+
+ group: files
+ passwd: files
+
+Whether you are using NIS does not matter. Amazingly enough,
+the same bug affects also Solaris.
+
=head1 AUTHOR
Jeff Okamoto <okamoto@corp.hp.com>