The problem is i want to use this SEGV handler in a separate script to identify the root cause of segment violation.
Attaching perl -V
perl -V
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
Platform:
osname=solaris, osvers=2.10, archname=i86pc-solaris
uname='sunos sx86qa2.com 5.10 generic i86pc i386 i86pc '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemulti
+plicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='/proj/lang/SunOS.5.i386/studio-10.0/SUNWspro/bin/cc', ccflags
+='-DPERL_USE_SAFE_PUTENV -DNO_PERL_PRESERVE_IVUV -D_REENTRANT -I/usr/
+local/include -I/usr/include -I/usr/local/gnu/include -D_LARGEFILE_SO
+URCE -D_FILE_OFFSET_BITS=64',
optimize='-fast',
cppflags='-DPERL_USE_SAFE_PUTENV -DNO_PERL_PRESERVE_IVUV -D_REENTR
+ANT -I/usr/local/include -I/usr/include -I/usr/local/gnu/include -D_L
+ARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
ccversion='Sun C 5.7 Patch 117837-03 2005/03/23', gccversion='', g
+ccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1
+2
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
+ lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='/proj/lang/SunOS.5.i386/studio-10.0/SUNWspro/bin/cc', ldflags
+='-L/usr/lib -L/lib -L/usr/local/lib -L/usr/local/gnu/lib -L/usr/loca
+l/lib/studio-10.0 '
libpth=/usr/lib /lib /usr/local/lib /usr/local/gnu/lib /usr/local/
+lib/studio-10.0
libs=-lsocket -lnsl -lgdbm -ldl -lm -lpthread -lc
perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-KPIC', lddlflags='-G -L/usr/lib -L/lib -L/usr/local/l
+ib -L/usr/local/gnu/lib -L/usr/local/lib/studio-10.0'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL
+_IMPLICIT_CONTEXT
Built under solaris
Compiled at Oct 9 2006 18:03:56
@INC:
/usr/local/lib/perl5/5.8.6/i86pc-solaris
/usr/local/lib/perl5/5.8.6
/usr/local/lib/perl5/site_perl/5.8.6/i86pc-solaris
/usr/local/lib/perl5/site_perl/5.8.6
/prod/tools/packages/lib/perl5/5.8.6/i86pc-solaris
/prod/tools/packages/lib/perl5/5.8.6
|