Extract abends: ERROR OGG-01112 Unexpected condition in QueueBuffer

(Doc ID 2032765.1)

Last updated on JULY 17, 2017

Applies to:

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

Symptoms

 Extract abended with:

2015-07-15 12:38:12 ERROR OGG-01112 Unexpected condition in QueueBuffer at line 798.

Tried to kill and restart but still gives the same error.

Before hiotting the error, the extract hang for a while, and following is the pstack output when it was hanging:

Thread 6 (Thread 0x7fc8d7fff700 (LWP 40841)):
#0  0x00000039dce0b7cb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000000068765d in ggs::gglib::MultiThreading::Event::Wait(unsigned int) ()
#2  0x00007fc8e333c5cf in ggs::gglib::gglog::DOMConfiguratorImpl::watchThread(void*) () from /mnt/dbfs/ogg/12.1.2/libgglog.so
#3  0x0000000000684ff4 in ggs::gglib::MultiThreading::Thread::RunThread(ggs::gglib::MultiThreading::Thread::ThreadArgs*) ()
#4  0x00000039dce077e1 in start_thread () from /lib64/libpthread.so.0
#5  0x00000039dc6e68ed in clone () from /lib64/libc.so.6
Thread 5 (Thread 0x7fc8d57fc700 (LWP 40842)):
#0  0x00000039dce0b7cb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000000068765d in ggs::gglib::MultiThreading::Event::Wait(unsigned int) ()
#2  0x00007fc8e3323cfa in CMessageFactoryImpl::RepetitionThread(void*) () from /mnt/dbfs/ogg/12.1.2/libgglog.so
#3  0x0000000000684ff4 in ggs::gglib::MultiThreading::Thread::RunThread(ggs::gglib::MultiThreading::Thread::ThreadArgs*) ()
#4  0x00000039dce077e1 in start_thread () from /lib64/libpthread.so.0
#5  0x00000039dc6e68ed in clone () from /lib64/libc.so.6
Thread 4 (Thread 0x7fc8cffff700 (LWP 40851)):
#0  0x00000039dce0b44c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000000641893 in THREADUTIL_cond_wait_posix(threadutil_cond_s*) ()
#2  0x00000000006390f2 in cm_filecaching_thread(void*) ()
#3  0x00000039dce077e1 in start_thread () from /lib64/libpthread.so.0
#4  0x00000039dc6e68ed in clone () from /lib64/libc.so.6
Thread 3 (Thread 0x7fc8ce5f3700 (LWP 40985)):
#0  0x00000039dce0b7cb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000000068f6c2 in THREADUTIL_cond_wait(threadutil_cond_s*, int, long) ()
#2  0x0000000000670021 in CQUEUE_read_wait_timeout(cqueue_t*, int*, unsigned long*, void**, long) ()
#3  0x00000000007d5383 in IXAsyncTrans::Flush() ()
#4  0x00000000007d5bc5 in IXAsyncTrans::~IXAsyncTrans() ()
#5  0x000000000071fd8c in REDO_cleanup() ()
#6  0x000000000059fe39 in exit_fn ()
#7  0x00000000006857dd in ggs::gglib::MultiThreading::MainThread::DispatchExitFunctions() ()
#8  0x0000000000685834 in ggs::gglib::MultiThreading::MainThread::Exit(int) ()
#9  0x00007fc8e33287e4 in processFatalError(unsigned int, char const*) () from /mnt/dbfs/ogg/12.1.2/libgglog.so
#10 0x00007fc8e33291fe in CAction::GGFatalErrorAbend(CMessage const*) const () from /mnt/dbfs/ogg/12.1.2/libgglog.so
#11 0x00007fc8e3328b82 in CAction::Execute(CMessage const*) const () from /mnt/dbfs/ogg/12.1.2/libgglog.so
#12 0x00007fc8e332393c in CMessage::Issue(CActionAttribute) const () from /mnt/dbfs/ogg/12.1.2/libgglog.so
#13 0x00007fc8e3323bbd in CMessageFactory::ProcessMessage(CMessage*, CMessageFactory::MessageDisposition) () from /mnt/dbfs/ogg/12.1.2/libgglog.so
#14 0x0000000000667a9f in ggs::gglib::AsyncReader::AsyncReader::QueueBuffer(void*) ()
#15 0x00000000006693c4 in ggs::gglib::AsyncReader::AsyncReader::ReaderThread(void*) ()
#16 0x0000000000684ff4 in ggs::gglib::MultiThreading::Thread::RunThread(ggs::gglib::MultiThreading::Thread::ThreadArgs*) ()
#17 0x00000039dce077e1 in start_thread () from /lib64/libpthread.so.0
#18 0x00000039dc6e68ed in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x7fc8cd1f1700 (LWP 40991)):
#0  0x00000039dce0b7cb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000000068f6c2 in THREADUTIL_cond_wait(threadutil_cond_s*, int, long) ()
#2  0x0000000000670021 in CQUEUE_read_wait_timeout(cqueue_t*, int*, unsigned long*, void**, long) ()
#3  0x0000000000667c14 in ggs::gglib::AsyncReader::AsyncReader::getResult(unsigned char**, unsigned long*) ()
#4  0x00000000007d86d2 in ltwtcapture_get_lcrbuffer(xout_context_t*, char (&) [2048]) ()
#5  0x00000000007dafc5 in ltwtcapture_process_rec(objectpool*, chkpt_context_t*, TransferLCRContext*, xout_com_header_t*, char (&) [2048], void**) ()
#6  0x00000000007b15a6 in REDOORAIX_get_rec(objectpool*, chkpt_context_t*, TransferLCRContext*, xout_com_header_t*, short*, char (&) [2048]) ()
#7  0x000000000070e428 in REDOORAIX_TransferLCRtoCOM(TransferLCRContext*, xout_com_header_t*, char (&) [2048]) ()
#8  0x00000000007d55dc in IXAsyncTrans::ReaderThread(void*) ()
#9  0x0000000000684ff4 in ggs::gglib::MultiThreading::Thread::RunThread(ggs::gglib::MultiThreading::Thread::ThreadArgs*) ()
#10 0x00000039dce077e1 in start_thread () from /lib64/libpthread.so.0
#11 0x00000039dc6e68ed in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7fc8df12da20 (LWP 40838)):
#0  0x00000039dce0e074 in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00000039dce09360 in _L_lock_908 () from /lib64/libpthread.so.0
#2  0x00000039dce09247 in pthread_mutex_lock () from /lib64/libpthread.so.0
#3  0x00000000006873d9 in ggs::gglib::MultiThreading::Mutex::Lock() ()
#4  0x00007fc8e3323b28 in CMessageFactory::ProcessMessage(CMessage*, CMessageFactory::MessageDisposition) () from /mnt/dbfs/ogg/12.1.2/libgglog.so
#5  0x000000000057996d in stop_routine(processExitType) ()
#6  0x00000000005ad1dd in extract_main(int, char**) ()
#7  0x0000000000684d9f in ggs::gglib::MultiThreading::MainThread::ExecMain() ()
#8  0x0000000000684ff4 in ggs::gglib::MultiThreading::Thread::RunThread(ggs::gglib::MultiThreading::Thread::ThreadArgs*) ()
#9  0x00000000006851bb in ggs::gglib::MultiThreading::MainThread::Run(int, char**) ()
#10 0x00000000005acb3f in main ()

 

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