develooper Front page | perl.perl5.porters | Postings from November 2005

Core dump building libnet-1.19 on HP-UX (pa-risc) on Perl 5.6.0

Thread Previous | Thread Next
From:
demerphq
Date:
November 21, 2005 08:34
Subject:
Core dump building libnet-1.19 on HP-UX (pa-risc) on Perl 5.6.0
Message ID:
9b18b3110511210834p29e22ac1mf683f3343f674fec@mail.gmail.com
Hi,

Recently ive been trying to get libnet installed on an HP-UX box that
unfortunately has an ancient (to me :-) Perl on it. The install seems
odd to me as it doesnt seem to a functional perlbug installed, but
maybe thats normal on HP-UX.

Anyway, here is the result of trying the install, including a stack
backtrace of the error.

Ive been able to isolate the problem to Net::Config. The following one
liner cores every time:

   perl -Mblib -e'use Net::Config; 1'

Id really appreciate any recommendations, even if its just "upgrade to
a later/stable build".

Cheers,
yves

        PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/opt/perl5/lib/5.6.0/PA-RISC2.0 -I/opt/perl5/lib/5.6.0
-e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/config............dubious
        Test returned status 0 (wstat 138, 0x8a)
        test program seems to have generated a core
t/datasend..........ok
t/ftp...............dubious
        Test returned status 0 (wstat 138, 0x8a)
        test program seems to have generated a core
t/hostname..........dubious
        Test returned status 0 (wstat 138, 0x8a)
        test program seems to have generated a core
t/netrc.............ok
t/nntp..............dubious
        Test returned status 0 (wstat 138, 0x8a)
        test program seems to have generated a core
t/require...........dubious
        Test returned status 0 (wstat 138, 0x8a)
        test program seems to have generated a core
t/smtp..............dubious
        Test returned status 0 (wstat 138, 0x8a)
        test program seems to have generated a core
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/config.t        0   138    ??   ??       %  ??
t/ftp.t           0   138    ??   ??       %  ??
t/hostname.t      0   138    ??   ??       %  ??
t/nntp.t          0   138    ??   ??       %  ??
t/require.t       0   138    ??   ??       %  ??
t/smtp.t          0   138    ??   ??       %  ??
Failed 6/8 test scripts, 25.00% okay. 0/71 subtests failed, 100.00% okay.
*** Error exit code 2

Stop.
carp:/home/yorton/.cpan/build/libnet-1.19 # gdb perl
Wildebeest is free software and you are welcome to distribute copies of
it under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for Wildebeest; type "show warranty"
for details.

Hewlett-Packard Wildebeest 0.75 15-Oct-1997 17:34 (based on GDB 4.16)
(built for PA-RISC 1.1 or 2.0(narrow), HP-UX 11.00)
Copyright 1996, 1997 Free Software Foundation, Inc...(no debugging
symbols found)...
(gdb) run -Mblib -e'use Net::Config; 1'
Starting program: /usr/bin/perl -Mblib -e'use Net::Config; 1'
warning: Unable to find __d_pid symbol in object file.
warning: Suggest linking with /usr/lib/end.o.
warning: GDB will be unable to track shl_load/shl_unload calls
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...Using
/home/yorton/.cpan/build/libnet-1.19/blib

Program received signal SIGBUS, Bus error.
0x7f6a49d0 in  () from /usr/lib/libc.2
(gdb) bt
#0  0x7f6a49d0 in  () from /usr/lib/libc.2
#1  0x7f749c00 in __nss_src_state_destr () from /usr/lib/libc.2
#2  0x7f749e18 in __nss_src_state_destr () from /usr/lib/libc.2
#3  0x7f749f58 in nss_delete () from /usr/lib/libc.2
#4  0x7f74b480 in __nss_endent () from /usr/lib/libc.2
#5  0x7f74a72c in nss_getent () from /usr/lib/libc.2
#6  0x7f7e1fd8 in nss_getprpwent_r () from /usr/lib/libsec.2
#7  0x7f7db4d4 in nss_getprpwent () from /usr/lib/libsec.2
#8  0x7f7db3e4 in getprpwent () from /usr/lib/libsec.2
#9  0x7f7dd228 in getspent () from /usr/lib/libsec.2
#10 0xc8300 in Perl_pp_gpwent ()
#11 0xc8190 in Perl_pp_gpwuid ()
#12 0x8faa0 in Perl_runops_standard ()
#13 0x2c5f0 in S_call_body ()
#14 0x2c3e8 in perl_call_sv ()
#15 0x2fb10 in S_call_list_body ()
#16 0x2f780 in Perl_call_list ()
#17 0x3c6a0 in Perl_newATTRSUB ()
#18 0x387e0 in Perl_utilize ()
#19 0x7ca7c in $00000063 ()
#20 0x2b534 in $0000005B ()
#21 0x2a9ac in perl_parse ()
#22 0x28514 in main ()
(gdb) q
The program is running.  Quit anyway (and kill it)? (y or n) y



--
perl -Mre=debug -e "/just|another|perl|hacker/"

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About