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
[EMAIL PROTECTED]:/apollo/env/remedyWebsite/ar/apache/htdocs/tt]$ 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
[EMAIL PROTECTED]:/apollo/env/remedyWebsite/ar/apache/htdocs/tt]$
/apollo/env/remedyWebsite/perl/bin/perl5.8/perl -V
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
Platform:
osname=linux, osvers=2.4.21-31.ela1smp, archname=Linux-2.4c2.3-i686-64int
uname='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='-des -Dbin=/dev/null/bin/perl5.8 -Doptimize=-O3
-mcpu=pentiumpro -Dcc=/usr/bin/gcc -Uusemymalloc -Uusemultiplicity
-Duse64bitint -Uusethreads -Uuseithreads -Duselargefiles
-Darchname=Linux-2.4c2.3-i686-64int -Dcppflags=-fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-Accflags=-pthread -Aldflags=-pthread
-Dinstallbin=/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk20060503135724960-1146689904/build/Perl/Perl-2.0.1.98/X86_LINUX_GCC32_GLIBC23/DEV.STD.PTHREAD/build/perl/perl/bin/perl5.8
-Dinstallman1dir=/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk20060503135724960-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=/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk20060503135724960-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=/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk20060503135724960-1146689904/build/Perl/Perl-2.0.1.98/X86_LINUX_GCC32_GLIBC23/DEV.STD.PTHREAD/build/perl
-Dinstallprivlib=/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk20060503135724960-1146689904/build/Perl/Perl-2.0.1.98/X86_LINUX_GCC32_GLIBC23/DEV.STD.PTHREAD/build/perl/perl/lib/perl5.8-dist
-Dinstallscript=/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk20060503135724960-1146689904/build/Perl/Perl-2.0.1.98/X86_LINUX_GCC32_GLIBC23/DEV.STD.PTHREAD/build/perl/perl/bin/perl5.8
-Dinstallsitebin=/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk20060503135724960-1146689904/build/Perl/Perl-2.0.1.98/X86_LINUX_GCC32_GLIBC23/DEV.STD.PTHREAD/build/perl/perl/bin/perl5.8
-Dinstallsitelib=/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk20060503135724960-1146689904/build/Perl/Perl-2.0.1.98/X86_LINUX_GCC32_GLIBC23/DEV.STD.PTHREAD/build/perl/perl/lib/perl5.8-dist
-Dinstallsiteman1dir=/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk20060503135724960-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=/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk20060503135724960-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=/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk20060503135724960-1146689904/build/Perl/Perl-2.0.1.98/X86_LINUX_GCC32_GLIBC23/DEV.STD.PTHREAD/build/perl/perl/bin/perl5.8
-Dman1dir=/dev/null/lib/perl5.8-dist/man/man1
-Dman3dir=/dev/null/lib/perl5.8-dist/man/man3
-Dperlpath=/dev/null/bin/perl5.8/perl -Dprefix=/dev/null
-Dprivlib=/dev/null/lib/perl5.8-dist -Dscriptdir=/dev/null/bin/perl5.8
-Dsitebin=/dev/null/bin/perl5.8 -Dsitelib=/dev/null/lib/perl5.8-dist
-Dsitelib_stem=/dev/null/lib/perl5.8-dist
-Dsiteman1dir=/dev/null/lib/perl5.8-dist/man/man1
-Dsiteman3dir=/dev/null/lib/perl5.8-dist/man/man3 -Dsiteprefix=/dev/null
-Dsitescript=/dev/null/bin/perl5.8 -Dstartperl=#!/dev/null/bin/perl5.8/perl'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='/usr/bin/gcc', ccflags ='-pthread -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm',
optimize='-O3 -mcpu=pentiumpro',
cppflags='-fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -fno-strict-aliasing -pipe
-I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='3.2.3 20030502 (Red Hat Linux 3.2.3-20)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='/usr/bin/gcc', ldflags =' -pthread -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fpic', lddlflags='-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=":/apollo/env/remedyWebsite/perl/lib/perl5.8:/apollo/env/remedyWebsite/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
.
[EMAIL PROTECTED]:/apollo/env/remedyWebsite/ar/apache/htdocs/tt]$ 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 = &ars_Login( "remedy-test.integ.", "scbarr", "C4n0nBal", undef,
undef, 0, 0 );
if( $ctrl == undef )
{
die "Could not login\n";
}
print "Have logged in\n";
[EMAIL PROTECTED]:/apollo/env/remedyWebsite/ar/apache/htdocs/tt]$ ./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=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Arsperl-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/arsperl-users