Re: [Arsperl-users] Seg Fault issue
Brought to you by:
jeffmurphy
|
From: Barr, S. <sc...@am...> - 2006-06-30 16:42:42
|
I am trying to connect to an ARS 5.1.2p1389 box. I have also tried to =
connect to an ARS 6.3p16 box as well. Same issue.
-Scott
Remedy Team
Ph : (206) 266-0217
Remedy Team Office Hours:=20
Monday, Wednesday and Friday from 14:00 till 15:00 PST.
* Be sure to sign up to Remedy-News@ to keep up to date on changes to =
the Remedy service!
* SDE's should sign up to Remedy-Hackers@ for technical help and =
assistance.
-----Original Message-----
From: ars...@ar... =
[mailto:ars...@ar...] On Behalf Of Barr, Scott
Sent: Tuesday, June 27, 2006 11:56 AM
To: ARSperl User Discussion
Subject: [Arsperl-users] Seg Fault issue
Hey there everyone, I am having an issue where just simply by logging in =
I am getting a Seg Fault. :(
I have tried compiling against the 5.1.2p1389 and 6.3p16 ARS lib's to no =
avail.
I have included all the info I can think of to include.
Code base: ARSPerl v1.85
[scbarr@integ-node-4451.sea5:/apollo/env/remedyWebsite/ar/apache/htdocs/t=
t]$ uname -a
Linux integ-node-4451.sea5 2.6.12-0.2axenU #1 Sun Oct 23 10:18:27 PDT =
2005 i686 athlon i386 GNU/Linux
[scbarr@integ-node-4451.sea5:/apollo/env/remedyWebsite/ar/apache/htdocs/t=
t]$ /apollo/env/remedyWebsite/perl/bin/perl5.8/perl -V
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
Platform:
osname=3Dlinux, osvers=3D2.4.21-31.ela1smp, =
archname=3DLinux-2.4c2.3-i686-64int
uname=3D'linux pbp-node-0204.sea3. 2.4.21-31.ela1smp #1 smp tue apr =
26 16:57:01 pdt 2005 i686 i686 i386 gnulinux '
config_args=3D'-des -Dbin=3D/dev/null/bin/perl5.8 -Doptimize=3D-O3 =
-mcpu=3Dpentiumpro -Dcc=3D/usr/bin/gcc -Uusemymalloc -Uusemultiplicity =
-Duse64bitint -Uusethreads -Uuseithreads -Duselargefiles =
-Darchname=3DLinux-2.4c2.3-i686-64int -Dcppflags=3D-fno-strict-aliasing =
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 =
-Accflags=3D-pthread -Aldflags=3D-pthread =
-Dinstallbin=3D/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk2006050313572=
4960-1146689904/build/Perl/Perl-2.0.1.98/X86_LINUX_GCC32_GLIBC23/DEV.STD.=
PTHREAD/build/perl/perl/bin/perl5.8 =
-Dinstallman1dir=3D/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk200605031=
35724960-1146689904/build/Perl/Perl-2.0.1.98/X86_LINUX_GCC32_GLIBC23/DEV.=
STD.PTHREAD/build/perl/perl/lib/perl5.8-dist/man/man1 =
-Dinstallman3dir=3D/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk200605031=
35724960-1146689904/build/Perl/Perl-2.0.1.98/X86_LINUX_GCC32_GLIBC23/DEV.=
STD.PTHREAD/build/perl/perl/lib/perl5.8-dist/man/man3
-Dinstallprefix=3D/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk2006050313=
5724960-1146689904/build/Perl/Perl-2.0.1.98/X86_LINUX_GCC32_GLIBC23/DEV.S=
TD.PTHREAD/build/perl =
-Dinstallprivlib=3D/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk200605031=
35724960-1146689904/build/Perl/Perl-2.0.1.98/X86_LINUX_GCC32_GLIBC23/DEV.=
STD.PTHREAD/build/perl/perl/lib/perl5.8-dist =
-Dinstallscript=3D/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk2006050313=
5724960-1146689904/build/Perl/Perl-2.0.1.98/X86_LINUX_GCC32_GLIBC23/DEV.S=
TD.PTHREAD/build/perl/perl/bin/perl5.8 =
-Dinstallsitebin=3D/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk200605031=
35724960-1146689904/build/Perl/Perl-2.0.1.98/X86_LINUX_GCC32_GLIBC23/DEV.=
STD.PTHREAD/build/perl/perl/bin/perl5.8 =
-Dinstallsitelib=3D/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk200605031=
35724960-1146689904/build/Perl/Perl-2.0.1.98/X86_LINUX_GCC32_GLIBC23/DEV.=
STD.PTHREAD/build/perl/perl/lib/perl5.8-dist
-Dinstallsiteman1dir=3D/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk20060=
503135724960-1146689904/build/Perl/Perl-2.0.1.98/X86_LINUX_GCC32_GLIBC23/=
DEV.STD.PTHREAD/build/perl/perl/lib/perl5.8-dist/man/man1 =
-Dinstallsiteman3dir=3D/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk20060=
503135724960-1146689904/build/Perl/Perl-2.0.1.98/X86_LINUX_GCC32_GLIBC23/=
DEV.STD.PTHREAD/build/perl/perl/lib/perl5.8-dist/man/man3 =
-Dinstallsitescript=3D/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk200605=
03135724960-1146689904/build/Perl/Perl-2.0.1.98/X86_LINUX_GCC32_GLIBC23/D=
EV.STD.PTHREAD/build/perl/perl/bin/perl5.8 =
-Dman1dir=3D/dev/null/lib/perl5.8-dist/man/man1 =
-Dman3dir=3D/dev/null/lib/perl5.8-dist/man/man3 =
-Dperlpath=3D/dev/null/bin/perl5.8/perl -Dprefix=3D/dev/null =
-Dprivlib=3D/dev/null/lib/perl5.8-dist =
-Dscriptdir=3D/dev/null/bin/perl5.8 -Dsitebin=3D/dev/null/bin/perl5.8 =
-Dsitelib=3D/dev/null/lib/perl5.8-dist =
-Dsitelib_stem=3D/dev/null/lib/perl5.8-dist
-Dsiteman1dir=3D/dev/null/lib/perl5.8-dist/man/man1 =
-Dsiteman3dir=3D/dev/null/lib/perl5.8-dist/man/man3 =
-Dsiteprefix=3D/dev/null -Dsitescript=3D/dev/null/bin/perl5.8 =
-Dstartperl=3D#!/dev/null/bin/perl5.8/perl'
hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine
usethreads=3Dundef use5005threads=3Dundef useithreads=3Dundef =
usemultiplicity=3Dundef
useperlio=3Ddefine d_sfio=3Dundef uselargefiles=3Ddefine =
usesocks=3Dundef
use64bitint=3Ddefine use64bitall=3Dundef uselongdouble=3Dundef
usemymalloc=3Dn, bincompat5005=3Dundef
Compiler:
cc=3D'/usr/bin/gcc', ccflags =3D'-pthread -fno-strict-aliasing -pipe =
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 =
-I/usr/include/gdbm',
optimize=3D'-O3 -mcpu=3Dpentiumpro',
cppflags=3D'-fno-strict-aliasing -pipe -I/usr/local/include =
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -pthread =
-fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'
ccversion=3D'', gccversion=3D'3.2.3 20030502 (Red Hat Linux =
3.2.3-20)', gccosandvers=3D''
intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8, =
byteorder=3D12345678
d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, =
longdblsize=3D12
ivtype=3D'long long', ivsize=3D8, nvtype=3D'double', nvsize=3D8, =
Off_t=3D'off_t', lseeksize=3D8
alignbytes=3D4, prototype=3Ddefine
Linker and Libraries:
ld=3D'/usr/bin/gcc', ldflags =3D' -pthread -L/usr/local/lib'
libpth=3D/usr/local/lib /lib /usr/lib
libs=3D-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=3D-lnsl -ldl -lm -lcrypt -lutil -lc
libc=3D/lib/libc-2.3.2.so, so=3Dso, useshrplib=3Dfalse, =
libperl=3Dlibperl.a
gnulibc_version=3D'2.3.2'
Dynamic Linking:
dlsrc=3Ddl_dlopen.xs, dlext=3Dso, d_dlsymun=3Dundef, =
ccdlflags=3D'-Wl,-E'
cccdlflags=3D'-fpic', lddlflags=3D'-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
Built under linux
Compiled at May 3 2006 14:05:42
%ENV:
=
PERL5LIB=3D":/apollo/env/remedyWebsite/perl/lib/perl5.8:/apollo/env/remed=
yWebsite/perl/lib/perl5.8-dist:/apollo/env/remedyWebsite/perl:/apollo/env=
/remedyWebsite/perl/lib"
@INC:
/apollo/env/remedyWebsite/perl/lib/perl5.8/Linux-2.4c2.3-i686-64int
/apollo/env/remedyWebsite/perl/lib/perl5.8
=
/apollo/env/remedyWebsite/perl/lib/perl5.8-dist/Linux-2.4c2.3-i686-64int
/apollo/env/remedyWebsite/perl/lib/perl5.8-dist
/apollo/env/remedyWebsite/perl
/apollo/env/remedyWebsite/perl/lib
/dev/null/lib/perl5.8-dist/Linux-2.4c2.3-i686-64int
/dev/null/lib/perl5.8-dist
/dev/null/lib/perl5.8-dist/Linux-2.4c2.3-i686-64int
/dev/null/lib/perl5.8-dist
/dev/null/lib/perl5.8-dist
.
[scbarr@integ-node-4451.sea5:/apollo/env/remedyWebsite/ar/apache/htdocs/t=
t]$ cat ./apiTest.pl
#!/apollo/bin/env -e remedyWebsite perl/bin/perl5.8/perl
use lib "/apollo/lib";
use Amazon::Apollo::UseEnvironmentLib qw($EnvironmentRoot);
use lib "$EnvironmentRoot/ar/perl/pkg"; # /opt/ar/perl
#use lib "$EnvironmentRoot/ar/apache/htdocs"; # /opt/ar/apache/htdocs
use ARS;
my $ctrl =3D &ars_Login( "remedy-test.integ.", "xxxxxxx", "xxxxxxxxx", =
undef, undef, 0, 0 );
if( $ctrl =3D=3D undef )
{
die "Could not login\n";
}
print "Have logged in\n";
[scbarr@integ-node-4451.sea5:/apollo/env/remedyWebsite/ar/apache/htdocs/t=
t]$ ./apiTest.pl
Have logged in
Segmentation fault
Using Tomcat but need to do more? Need to support web services, =
security?
Get stuff done quickly with pre-integrated technology to make your job =
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache =
Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|