OGG 12.2 process abends with Segmentation fault when trying to login to the database

(Doc ID 2130087.1)

Last updated on AUGUST 23, 2017

Applies to:

Oracle GoldenGate - Version 12.2.0.1.0 and later
Information in this document applies to any platform.

Goal


OGG process core dump with the below stack when doing dblogin or when the starting the process fails at the userid param line.

Please generate the core file using ABORTONFATALERROR parameter and check the stack.


#where
#0 0x00000031e7307f2c in ?? ()
  from /u01/app/oracle/product/12.1.0/dbhome_1/lib/libgcc_s.so.1
#1 0x00000031e7308e37 in _Unwind_Backtrace ()
  from /u01/app/oracle/product/12.1.0/dbhome_1/lib/libgcc_s.so.1
#2 0x00000036f6ae7318 in backtrace () from /lib64/libc.so.6
#3 0x00002aaaabd03d80 in CThreadContext::CThreadContext (this=0x25c6b00)
  at /scratch/debassah/view_storage/debassah_bug_23025377/oggcore/OpenSys/src/gglib/gglog/msgContext.cpp:2567
#4 0x00002aaaabd023ab in CMessageContext::AddThreadContext (this=0x25c5160)
  at /scratch/debassah/view_storage/debassah_bug_23025377/oggcore/OpenSys/src/gglib/gglog/msgContext.cpp:2776
#5 0x00002aaaabcfc534 in CMessageFactory::CreateMessage (this=0x2258f10,
  sourceContext=0x258ab40, messageID=Unhandled dwarf expression opcode 0xf3
)
  at /scratch/debassah/view_storage/debassah_bug_23025377/oggcore/OpenSys/src/gglib/gglog/ggmsg.cpp:1233
#6 0x00002aaaabcb10f1 in _MSG_ERR_ORACLE_OCI_ERROR_SQL (
  sourceContext=0x258ab40, errorCode=100,
  dbErrorText=0x258a5f0 "retrieving bind info for query",
  sql=0x258aa70 "SELECT value$ FROM sys.props$ WHERE name = 'NLS_CHARACTERSET'", disposition=MessageCreate)
  at /scratch/debassah/view_storage/debassah_bug_23025377/oggcore/OpenSys/build/redhatAS50/64bit/Release-Oracle12/ggMsg/ggMessage.cpp:11151
#7 0x0000000000732c6f in OCISESS_context_def::oci_try(int, char const*, ...)
---Type to continue, or q to quit---
  ()
#8 0x0000000000735e39 in query_handle::get_param_count (this=0x7fffffffc000,
  pnNumInputParams=0x7fffffffbf4c, pnNumOutputParams=0x7fffffffbf30)
  at /scratch/debassah/view_storage/debassah_bug_23025377/oggcore/OpenSys/src/gglib/ggdbora/query_handle.cpp:489
#9 0x0000000000736523 in query_handle::select_start (this=0x7fffffffc000,
  bStaticQuery=false, sQuery=..., nNumColumns=0)
  at /scratch/debassah/view_storage/debassah_bug_23025377/oggcore/OpenSys/src/gglib/ggdbora/query_handle.cpp:558
#10 0x00000000006ee459 in DBOCI_get_db_props (ctx=0x2395ca8, result=...,
  property=0xc13851 "NLS_CHARACTERSET", errtxt=...)
  at /scratch/debassah/view_storage/debassah_bug_23025377/oggcore/OpenSys/src/gglib/ggdbora/dboci8.c:9640
#11 0x000000000072e412 in OCISESS_context_def::getDBCharSet (this=0x2395ca8,
  charSet=@0x7fffffffc150, ncharSet=@0x7fffffffc160)
  at /scratch/debassah/view_storage/debassah_bug_23025377/oggcore/OpenSys/src/gglib/ggdbora/ocisess.c:1133
#12 0x000000000072fa4f in OCISESS_context_def::logon (this=0x2395ca8,
  loginName=..., pw=..., desc=..., startup_mode=3, isSys=false,
  global_transaction_thread=-1)
  at /scratch/debassah/view_storage/debassah_bug_23025377/oggcore/OpenSys/src/gglib/ggdbora/ocisess.c:1555
#13 0x00000000007670f8 in ggs::gglib::ggdbora::OraConnUtil::initConnectionLogon
---Type to continue, or q to quit---
  (this=0x7fffffffc470, dbAuthParams=Unhandled dwarf expression opcode 0xf3
)
  at /scratch/debassah/view_storage/debassah_bug_23025377/oggcore/OpenSys/src/gglib/ggdbora/OraConnUtil.cpp:144
#14 0x00000000007674b8 in ggs::gglib::ggdbora::OraConnUtil::openDataSource (
  this=0x7fffffffc470, oDBAuthParams=...)
  at /scratch/debassah/view_storage/debassah_bug_23025377/oggcore/OpenSys/src/gglib/ggdbora/OraConnUtil.cpp:58
#15 0x0000000000726c0c in gl_get_user_id (sInstr=Unhandled dwarf expression opcode 0xf3
)
  at /scratch/debassah/view_storage/debassah_bug_23025377/oggcore/OpenSys/src/gglib/ggdbora/dbxoci.c:1111
#16 0x00000000007271d0 in gl_odbc_param (arg=0x2410ce0 "userid",
  instr=0x24f3200 "userid gg_admin password gg_admin", errtxt=...)
  at /scratch/debassah/view_storage/debassah_bug_23025377/oggcore/OpenSys/src/gglib/ggdbora/dbxoci.c:1277
#17 0x00000000005d41be in get_infile_params (begin_tm=0x1cf0960,
  end_tm=0x1cf0950, com_prm=0x7fffffffdbe8, dataSourceParams=...,
  hbParams=...)
  at /scratch/debassah/view_storage/debassah_bug_23025377/oggcore/OpenSys/src/app/er/init.cpp:5531
#18 0x00000000006032aa in extract_main (argc=Unhandled dwarf expression opcode 0xf3
)
  at /scratch/debassah/view_storage/debassah_bug_23025377/oggcore/OpenSys/src/app/er/extract/extract.cpp:683
#19 0x00000000006e0380 in ggs::gglib::MultiThreading::MainThread::ExecMain (
---Type to continue, or q to quit---
  this=0x7fffffffe700)
  at /scratch/debassah/view_storage/debassah_bug_23025377/oggcore/OpenSys/src/gglib/ggstd/MultiThreading.cpp:1302
#20 0x00000000006e15fd in MainDispatcher (threadArgs=0x224e670)
  at /scratch/debassah/view_storage/debassah_bug_23025377/oggcore/OpenSys/src/gglib/ggstd/MultiThreading.cpp:1353
#21 ggs::gglib::MultiThreading::Thread::RunThread(class {...} *) (
  threadArgs=0x224e670)
  at /scratch/debassah/view_storage/debassah_bug_23025377/oggcore/OpenSys/src/gglib/ggstd/MultiThreading.cpp:496
#22 0x00000000006e16e1 in ggs::gglib::MultiThreading::MainThread::Run (
  this=0x7fffffffe700, argc=5, argv=0x7fffffffe8f8)
  at /scratch/debassah/view_storage/debassah_bug_23025377/oggcore/OpenSys/src/gglib/ggstd/MultiThreading.cpp:1293
#23 0x00000000006049cb in main ()
 

Solution

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