MTA Applications Fail To Run After Compiling With Segmentation Fault Error (Doc ID 604182.1)

Last updated on SEPTEMBER 21, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.3.1.0.0 to 7.3.1.0.0 [Release 7.3.1]
Red Hat Enterprise Linux Advanced Server x86-64 (AMD Opteron Architecture)
Linux x86-64
checked for relevance on 14th Aug 2010
***Checked for relevance on 12-Jul-2012***
***Checked for relevance on 26th May 2014***

Symptoms

Problem is with running the sample MTA application.

Following error happens when try to run after making the file:-

[pin:/opt/portal/7.3/source/apps/mta_sample] ls
hot_list Makefile Makefile.orig pin.conf pin_mta_test pin_mta_test.c\

[pin:/opt/portal/7.3/source/apps/mta_sample] make
gcc -c -m32 -fPIC -I/opt/portal/7.3/include pin_mta_test.c*
gcc -o pin_mta_test -m32 -fPIC -I/opt/portal/7.3/include -L/opt/portal/7.3/lib -m32 -shared
pin_mta_test.o -lportal -lmta -lpinsys

[pin:/opt/portal/7.3/source/apps/mta_sample] ./pin_mta_test
Segmentation fault

[pin:/opt/portal/7.3/source/apps/mta_sample] strace ./pin_mta_test
execve("./pin_mta_test", ["./pin_mta_test"], [/* 39 vars */]) = 0
[ Process PID=5805 runs in 32 bit mode. ]
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi
--enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)

Steps To Reproduce:
1) goto PINHOME/source/apps/mta_sample
2) run make
3) run pin_mta_test

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms