RE: segfault in Oracle libraries when SIGINT received

[email protected] (John Scoles)
Newsgroups perl.dbi.users
Message-ID <[email protected]>
Can you run the test suite of DBD::Oracle and see what you get?

 

If it passes that then it is some sort of Catalyst config problem.

 

Cheers

John Scoles
 
> Date: Fri, 10 Sep 2010 11:05:30 -0500
> Subject: segfault in Oracle libraries when SIGINT received
> From: [email protected]
> To: [email protected]
> 
> If I hit Control-c after starting up the standalone catalyst server
> without the -r option, I'll get a segfault.
> 
> Here is the backtrace:
> 
> #0 0xb6240a07 in nsgetcinfo () from .../rnapps/oracle/libclntsh.so.10.1
> #1 0xb62658c8 in nioqih () from .../rnapps/oracle/libclntsh.so.10.1
> #2 0xb626bb49 in nigsuiint () from .../rnapps/oracle/libclntsh.so.10.1
> #3 0xb626bbd4 in nigsuihdlr () from .../rnapps/oracle/libclntsh.so.10.1
> #4 0xb6939181 in sslsshdlr2 () from .../rnapps/oracle/libclntsh.so.10.1
> #5 0xb6939038 in sslsshandler () from .../rnapps/oracle/libclntsh.so.10.1
> #6 <signal handler called>
> #7 0xb775e42e in __kernel_vsyscall ()
> #8 0xb7646a91 in accept () from /lib/tls/i686/cmov/libc.so.6
> #9 0x080c4614 in Perl_pp_accept ()
> #10 0x0808db13 in Perl_runops_standard ()
> #11 0x0808bdcb in perl_run ()
> #12 0x08062a2d in main ()
> 
> Any ideas?
> 
> I am using DBI 1.609, DBD::Oracle 1.23 and Oracle instant client 10_2.
> 
> Here is my perl -V:
> 
> Summary of my perl5 (revision 5 version 8 subversion 9) configuration:
> Platform:
> osname=linux, osvers=2.6.32-24-generic-pae, archname=i686-linux
> uname='linux 2.6.32-24-generic-pae #38-ubuntu smp mon jul 5
> 10:54:21 utc 2010 i686 gnulinux '
> config_args='-des -Dprefix=.../rnapps/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=undef use64bitall=undef uselongdouble=undef
> usemymalloc=n, bincompat5005=undef
> Compiler:
> cc='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
> optimize='-O2',
> cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
> ccversion='', gccversion='4.4.3', gccosandvers=''
> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
> ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
> lseeksize=8
> alignbytes=4, prototype=define
> Linker and Libraries:
> ld='cc', ldflags =' -L/usr/local/lib'
> libpth=/usr/local/lib /lib /usr/lib /usr/lib64
> libs=-lnsl -ldl -lm -lcrypt -lutil -lc
> perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
> libc=/lib/libc-2.11.1.so, so=so, useshrplib=false, libperl=libperl.a
> gnulibc_version='2.11.1'
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
> cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib'
> 
> 
> Characteristics of this binary (from libperl):
> Compile-time options: PERL_MALLOC_WRAP USE_FAST_STDIO USE_LARGE_FILES
> USE_PERLIO
> Built under linux
> Compiled at Jul 27 2010 16:01:04
> @INC:
> .../rnapps/perl/lib/5.8.9/i686-linux
> .../rnapps/perl/lib/5.8.9
> .../rnapps/perl/lib/site_perl/5.8.9/i686-linux
> .../rnapps/perl/lib/site_perl/5.8.9
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.