[Arsperl-users] arsperl 1.92 and ars 7.5 64bit
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): 0x018dbbe0 *** 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 0x7ff6222bd5b6 in malloc_printerr (action=3, str=0x7ff622390c70 double free or corruption (fasttop), ptr=value optimized out) at malloc.c:6266* *#17 0x7ff6222c3e83 in __libc_free (mem=value optimized out) at malloc.c:3738* *#18 0x7ff621c8e933 in slt_free () from /usr/local/lib/perl/5.10.1/auto/ARS/ARS.so* *#19 0x7ff621b7bf29 in ClientConnToPort () from /usr/local/lib/perl/5.10.1/auto/ARS/ARS.so* *#20 0x7ff621b5c573 in IssueRPCToARServer () from /usr/local/lib/perl/5.10.1/auto/ARS/ARS.so* *#21 0x7ff621b5c0c4 in ARRPCCallServer () from /usr/local/lib/perl/5.10.1/auto/ARS/ARS.so* *#22 0x7ff621b803d9 in ARGetEncryptInfo () from /usr/local/lib/perl/5.10.1/auto/ARS/ARS.so* *#23 0x7ff621b7e754 in ARKeyExchangeHandler () from /usr/local/lib/perl/5.10.1/auto/ARS/ARS.so* *#24 0x7ff621b7e591 in ARKeyExchange () from /usr/local/lib/perl/5.10.1/auto/ARS/ARS.so* *#25 0x7ff621b60881 in ARLoadRPCControlStruct1 () from /usr/local/lib/perl/5.10.1/auto/ARS/ARS.so* *#26 0x7ff621b6024d in ARLoadRPCControlStruct () from /usr/local/lib/perl/5.10.1/auto/ARS/ARS.so* *#27 0x7ff621b713ef in ARVerifyUser () from /usr/local/lib/perl/5.10.1/auto/ARS/ARS.so* *#28 0x7ff621b12a74 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 work with 64-bit perl and 64-bit 7.5 ar libs on Linux? Any pointers/suggestions will be highly appreciated! -- ~H http://www.harishkotha.com -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -- Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users
Re: [Arsperl-users] arsperl 1.91 ars_Login Unicode
Yes. That's correct. I'm utf8 encoding all data before I send it anywhere. I can use all the other ars_*Entry functions with utf8 data. cheers, ~H 2009/3/25 conny.mar...@t-systems.com You will have to call all functions with UTF8-encoded data. If you do not, your data will get corrupted. Kind Regards Conny -- *Von:* Michiel Beijen [mailto:mich...@beefreeit.nl] *Gesendet:* Mittwoch, 25. März 2009 08:53 *An:* ARSperl User Discussion *Betreff:* Re: [Arsperl-users] arsperl 1.91 ars_Login Unicode That's great, and it surprises me a little... But can you now only log in with a UTF8 string? Or can you also use ars_CreateEntry, ars_GetEntry and the like with UTF8 data? Regards, -- Michiel Beijen Software Consultant +31 6 - 457 42 418 Bee Free IT + http://beefreeit.nl 2009/3/25 _HK_ ciphersk...@gmail.com Thank you folks. LANG=en_US.utf8 alone seemed to fix it! cheers, ~H 2009/3/24 conny.mar...@t-systems.com setting the encoding via lang parameter doesn't work. Try setting env-Variable LANG=en_US.utf8 Or you can use the attached patch, which introduces a new parameter (charSet) to ars_Login where you can specify the encoding. Possible (tested) values are utf8 1252 1250 HTH Kind Regards Conny -- *Von:* _HK_ [mailto:ciphersk...@gmail.com] *Gesendet:* Dienstag, 24. März 2009 08:21 *An:* arsperl-users@arsperl.org *Betreff:* [Arsperl-users] arsperl 1.91 ars_Login Unicode Summary: I'm unable to send utf8 data using arsperl to my Remedy server which is unicode ready(and the remedy server works, as I can store utf8 data via other means). I tried setting the lang parameter in ars_Login function to UTF-8/utf8/en_US/en_US.utf8 and a few other combinations, but it doesn't seem to matter- when I look via gdb, the actual value for charset in the ARControlStruct-localeInfo is always WESTERN. The module was built against 7.01 api with all the unicode libs in place (libicuucbmc, libicudatabmc, etc..). Any pointers/suggestions are sincerely appreciated. thanks, ~H -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -- Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users -- ~H http://www.harishkotha.com -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -- Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -- Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users -- ~H http://www.harishkotha.com -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -- Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users
Re: [Arsperl-users] arsperl 1.91 ars_Login Unicode
Yes. That's correct. I'm utf8 encoding all data before I send it anywhere. I can use all the other ars_*Entry functions with utf8 data. cheers, ~H 2009/3/25 conny.mar...@t-systems.com You will have to call all functions with UTF8-encoded data. If you do not, your data will get corrupted. Kind Regards Conny -- *Von:* Michiel Beijen [mailto:mich...@beefreeit.nl] *Gesendet:* Mittwoch, 25. März 2009 08:53 *An:* ARSperl User Discussion *Betreff:* Re: [Arsperl-users] arsperl 1.91 ars_Login Unicode That's great, and it surprises me a little... But can you now only log in with a UTF8 string? Or can you also use ars_CreateEntry, ars_GetEntry and the like with UTF8 data? Regards, -- Michiel Beijen Software Consultant +31 6 - 457 42 418 Bee Free IT + http://beefreeit.nl 2009/3/25 _HK_ ciphersk...@gmail.com Thank you folks. LANG=en_US.utf8 alone seemed to fix it! cheers, ~H 2009/3/24 conny.mar...@t-systems.com setting the encoding via lang parameter doesn't work. Try setting env-Variable LANG=en_US.utf8 Or you can use the attached patch, which introduces a new parameter (charSet) to ars_Login where you can specify the encoding. Possible (tested) values are utf8 1252 1250 HTH Kind Regards Conny -- *Von:* _HK_ [mailto:ciphersk...@gmail.com] *Gesendet:* Dienstag, 24. März 2009 08:21 *An:* arsperl-users@arsperl.org *Betreff:* [Arsperl-users] arsperl 1.91 ars_Login Unicode Summary: I'm unable to send utf8 data using arsperl to my Remedy server which is unicode ready(and the remedy server works, as I can store utf8 data via other means). I tried setting the lang parameter in ars_Login function to UTF-8/utf8/en_US/en_US.utf8 and a few other combinations, but it doesn't seem to matter- when I look via gdb, the actual value for charset in the ARControlStruct-localeInfo is always WESTERN. The module was built against 7.01 api with all the unicode libs in place (libicuucbmc, libicudatabmc, etc..). Any pointers/suggestions are sincerely appreciated. thanks, ~H -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -- Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users -- ~H http://www.harishkotha.com -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -- Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -- Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -- Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users
[Arsperl-users] arsperl 1.91 ars_Login Unicode
Summary: I'm unable to send utf8 data using arsperl to my Remedy server which is unicode ready(and the remedy server works, as I can store utf8 data via other means). I tried setting the lang parameter in ars_Login function to UTF-8/utf8/en_US/en_US.utf8 and a few other combinations, but it doesn't seem to matter- when I look via gdb, the actual value for charset in the ARControlStruct-localeInfo is always WESTERN. The module was built against 7.01 api with all the unicode libs in place (libicuucbmc, libicudatabmc, etc..). Any pointers/suggestions are sincerely appreciated. thanks, ~H -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -- Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users
Re: [Arsperl-users] arsperl 1.91 ars_Login Unicode
Thank you folks. LANG=en_US.utf8 alone seemed to fix it! cheers, ~H 2009/3/24 conny.mar...@t-systems.com setting the encoding via lang parameter doesn't work. Try setting env-Variable LANG=en_US.utf8 Or you can use the attached patch, which introduces a new parameter (charSet) to ars_Login where you can specify the encoding. Possible (tested) values are utf8 1252 1250 HTH Kind Regards Conny -- *Von:* _HK_ [mailto:ciphersk...@gmail.com] *Gesendet:* Dienstag, 24. März 2009 08:21 *An:* arsperl-users@arsperl.org *Betreff:* [Arsperl-users] arsperl 1.91 ars_Login Unicode Summary: I'm unable to send utf8 data using arsperl to my Remedy server which is unicode ready(and the remedy server works, as I can store utf8 data via other means). I tried setting the lang parameter in ars_Login function to UTF-8/utf8/en_US/en_US.utf8 and a few other combinations, but it doesn't seem to matter- when I look via gdb, the actual value for charset in the ARControlStruct-localeInfo is always WESTERN. The module was built against 7.01 api with all the unicode libs in place (libicuucbmc, libicudatabmc, etc..). Any pointers/suggestions are sincerely appreciated. thanks, ~H -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -- Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users -- ~H http://www.harishkotha.com -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -- Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users