6 Replies Latest reply on Feb 17, 2016 5:56 AM by Vijayasri

    Segmentation fault with Oracle 12.1.0.2 32-bit DB client on RHEL 7.2

    Vijayasri

      sqlplus (from Oracle 12.1.0.2 32-bit DB client) is crashing on RHEL 7.  I have provided the GDB stacktrace below.

      Could you please advise what could possibly be wrong?


      Also, I am able to run sqlplus frpm 12.1.0.1 32-bit DB client and 12.1.0.2 DB 64-bit installations perfectly fine on the same server without issues.

       

      # export ORACLE_HOME=/tools/oracle/12.1.0.2.client32

      # /tools/oracle/12.1.0.2.client32/bin/sqlplus

      Segmentation fault (core dumped)

       

      Additional Information

      $uname -a

      Linux <HOST> 3.10.0-229.el7.x86_64 #1 SMP Thu Jan 29 18:37:38 EST 2015 x86_64 x86_64 x86_64 GNU/Linux

      $rpm -qa | grep glibc

      glibc-debuginfo-2.17-106.el7_2.1.i686

      glibc-2.17-106.el7_2.1.i686

      glibc-devel-2.17-106.el7_2.1.x86_64

      glibc-common-2.17-106.el7_2.1.x86_64

      compat-glibc-2.12-4.el7.x86_64

      glibc-2.17-106.el7_2.1.x86_64

      compat-glibc-headers-2.12-4.el7.x86_64

      glibc-headers-2.17-106.el7_2.1.x86_64

      glibc-debuginfo-common-2.17-106.el7_2.1.x86_64

      glibc-devel-2.17-106.el7_2.1.i686

       

      $gcc -v

      Using built-in specs.

      COLLECT_GCC=gcc

      COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper

      Target: x86_64-redhat-linux

      Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux

      Thread model: posix

      gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC)

       

      Core Dump stack trace

      # gdb /tools/oracle/12.1.0.2.client32/bin/sqlplus core.1157

      GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-80.el7

      Copyright (C) 2013 Free Software Foundation, Inc.

      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

      This is free software: you are free to change and redistribute it.

      There is NO WARRANTY, to the extent permitted by law.  Type "show copying"

      and "show warranty" for details.

      This GDB was configured as "x86_64-redhat-linux-gnu".

      For bug reporting instructions, please see:

      <http://www.gnu.org/software/gdb/bugs/>...

      Reading symbols from /tools/oracle/12.1.0.2.client32/bin/sqlplus...(no debugging symbols found)...done.

      [New LWP 1157]

      [Thread debugging using libthread_db enabled]

      Using host libthread_db library "/lib64/libthread_db.so.1".

      Core was generated by `/tools/oracle/12.1.0.2.client32/bin/sqlplus'.

      Program terminated with signal 11, Segmentation fault.

      #0  0xf4ac38d1 in _mm_or_si128 (__B=..., __A=...) at /usr/lib/gcc/i686-redhat-linux/4.8.5/include/emmintrin.h:1260

      1260 /usr/lib/gcc/i686-redhat-linux/4.8.5/include/emmintrin.h: No such file or directory.

      (gdb) where

      #0  0xf4ac38d1 in _mm_or_si128 (__B=..., __A=...) at /usr/lib/gcc/i686-redhat-linux/4.8.5/include/emmintrin.h:1260

      #1 __m128i_strloadu_tolower (lcqword=..., uchigh=..., uclow=..., zero=..., p=0xffc755ec "/tools/oracle/12.1.0.2.client32") at ../sysdeps/x86_64/multiarch/strstr.c:121

      #2  __strcasestr_sse42 (s1=0xffc735ec "/tools/oracle/12.1.0.2.client32:/tools/oracle", s2=0xffc755ec "/tools/oracle/12.1.0.2.client32") at ../sysdeps/x86_64/multiarch/strstr.c:208

      #3  0xf6663c38 in slgetohobase_int () from /tools/oracle/12.1.0.2.client32/lib/libclntsh.so.12.1

      #4  0xffc735ec in ?? ()

      #5  0xf6663f61 in slgetohorabase () from /tools/oracle/12.1.0.2.client32/lib/libclntsh.so.12.1

      #6  0xffc76c90 in ?? ()

      #7  0xf6a2bf35 in dbgrcde_check_dir_env () from /tools/oracle/12.1.0.2.client32/lib/libclntsh.so.12.1

      #8  0xffc76c90 in ?? ()

      #9  0xf6a2ba0c in dbgrgad_get_adrbase_directory () from /tools/oracle/12.1.0.2.client32/lib/libclntsh.so.12.1

      #10 0xf728a8f1 in _intel_fast_memset.P () from /tools/oracle/12.1.0.2.client32/lib/libclntsh.so.12.1

      #11 0x00000000 in ?? ()

      (gdb)