Hi there,
I'm trying to get arsperl 1.92 work with ARS 7.5 64-bit(lx64) libraries, but
when I run make test, I am getting the following error:

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00connect.t ........... *** glibc detected *** /usr/bin/perl: double free
or corruption (fasttop): 0x00000000018dbbe0 ***

And the test just hangs there. I have to ctrl-c to come out.

Running it under gdb, it seems like there's a bug in the code(?) that does a
double free or something? Here's a partial backtrace from gdb:
#16 0x00007ff6222bd5b6 in malloc_printerr (action=3, str=0x7ff622390c70
"double free or corruption (fasttop)", ptr=<value optimized out>) at
malloc.c:6266
#17 0x00007ff6222c3e83 in __libc_free (mem=<value optimized out>) at
malloc.c:3738
#18 0x00007ff621c8e933 in slt_free () from
/usr/local/lib/perl/5.10.1/auto/ARS/ARS.so
#19 0x00007ff621b7bf29 in ClientConnToPort () from
/usr/local/lib/perl/5.10.1/auto/ARS/ARS.so
#20 0x00007ff621b5c573 in IssueRPCToARServer () from
/usr/local/lib/perl/5.10.1/auto/ARS/ARS.so
#21 0x00007ff621b5c0c4 in ARRPCCallServer () from
/usr/local/lib/perl/5.10.1/auto/ARS/ARS.so
#22 0x00007ff621b803d9 in ARGetEncryptInfo () from
/usr/local/lib/perl/5.10.1/auto/ARS/ARS.so
#23 0x00007ff621b7e754 in ARKeyExchangeHandler () from
/usr/local/lib/perl/5.10.1/auto/ARS/ARS.so
#24 0x00007ff621b7e591 in ARKeyExchange () from
/usr/local/lib/perl/5.10.1/auto/ARS/ARS.so
#25 0x00007ff621b60881 in ARLoadRPCControlStruct1 () from
/usr/local/lib/perl/5.10.1/auto/ARS/ARS.so
#26 0x00007ff621b6024d in ARLoadRPCControlStruct () from
/usr/local/lib/perl/5.10.1/auto/ARS/ARS.so
#27 0x00007ff621b713ef in ARVerifyUser () from
/usr/local/lib/perl/5.10.1/auto/ARS/ARS.so
#28 0x00007ff621b12a74 in XS_ARS_ars_Login (my_perl=<value optimized out>,
cv=<value optimized out>) at ARS.xs:426

It's the same result with or without -malign_double option. The architecture
is "lx64" and the linking was done as so:
LD_RUN_PATH="/usr/ar/7.5/api/lib" cc  -shared -O2 -g -L/usr/local/lib
-fstack-protector ARS.o support.o supportrev.o supportrev_generated.o   -o
blib/arch/auto/ARS/ARS.so /usr/ar/7.5/api/lib/libar_lx64.a      \
           -L/usr/ar/7.5/api/lib -lnsl -lpthread -licuucbmc_lx64 
-licui18nbmc_lx64
-licudatabmc_lx64

Has anyone got arsperl1.92 working with 64-bit perl and 64-bit 7.5 ar libs
on Linux? Any pointers/suggestions will be highly appreciated!

-- 
View this message in context: 
http://ars-action-request-system.1093659.n2.nabble.com/arsperl-1-92-and-ars-7-5-64bit-tp6063958p6063958.html
Sent from the ARS (Action Request System) mailing list archive at Nabble.com.

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"

Reply via email to