You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Christian Gilmore <Ch...@tivoli.com> on 2000/06/28 00:49:16 UTC

IPC::ShareLite 0.07a test problems

Hey, I realize this problem isn't directly mod-perl related, but I'm trying
to build the most up-to-date version of perl/apache/etc to continue
debugging the problem I'm having with set_handlers() (see other recent
thread). I'm using IPC::Cache (which of course relies on IPC::ShareLite)
within an AuthzCache module.

I'm finding test errors in IPC::ShareLite-0.07a under solaris
2.5.1/perl-5.6.0. Below is the output of a gdb on the test. Has anyone
successfully compiled and tested ShareLite in a similar environment?

Regards,
Christian

cougar% gdb perl-5.60
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.5.1"...
(gdb) set args test.pl
(gdb) r
Starting program: /opt/gnu/bin/perl-5.60 test.pl
1..8
ok 1
ok 2
ok 3
not ok 4
ok 5
ok 6
not ok 7
Bad realloc() ignored at
/opt/gnu/depot/perl-5.6.0/lib/site_perl/sun4-solaris/IPC/ShareLite.pm line
106.

Program received signal SIGSEGV, Segmentation fault.
0x79568 in Perl_sv_usepvn ()
(gdb) share
Symbols already loaded for /usr/lib/libsocket.so.1
Symbols already loaded for /usr/lib/libnsl.so.1
Symbols already loaded for /usr/lib/libdl.so.1
Symbols already loaded for /usr/lib/libm.so.1
Symbols already loaded for /usr/lib/libc.so.1
Symbols already loaded for /usr/lib/libsec.so.1
Symbols already loaded for /usr/lib/libintl.so.1
Symbols already loaded for /usr/lib/libmp.so.1
Symbols already loaded for /usr/lib/libw.so.1
Symbols already loaded for
/opt/gnu/depot/perl-5.6.0/lib/site_perl/sun4-solaris/auto/IPC/ShareLite/Shar
eLite.so
(gdb) bt
#0  0x79568 in Perl_sv_usepvn ()
#1  0xef58327c in XS_IPC__ShareLite_read_share (cv=0x161f80)
    at ShareLite.xs:314
#2  0x73114 in Perl_pp_entersub ()
#3  0x6c0cc in Perl_runops_standard ()
#4  0x23eb0 in S_run_body ()
#5  0x23b18 in perl_run ()
#6  0x2115c in main ()

-----------------
Christian Gilmore
Infrastructure & Tools Team Lead
Web & Multimedia Development
Tivoli Systems, Inc.