GDB를 이용한 core 파일 내용 분석 [ 급 ]

apex187의 이미지

멀티 쓰레드 방식으로 서비스를 처리하는 프로세스 입니다.
아래와 같이 시그널(Bus error)을 받아 죽고 있는데 원인을 알기 힘드네요...

아래 GDB를 이용해서 본 core파일 내용인데요
고수님들의 의견을 듣고 싶어 답답한 마음에 올려봅니다.

CSyncThread : 30분 주기로 서비스 쓰레드가 참조하는 공유 메모리 영역의 데이터를 DB에서 읽어 갱신 해주는 쓰레드
loadMBillIPInfo : 오라클 DB에서 17 row를 읽어 Memory에 갱신.

서비스 처리 쓰레드는 200개/process, 위 SyncThread는 1개/process입니다. (합이 201개의 Thread가 떠 있음)
DB 쿼리 및 공유메모리 이용시 SyncThread에서 mutex 처리는 하고 있습니다.

도데체 무엇이 문제인지 ;;;;;;;

#0 0xc5dc861c in $$dyncall_external+0 () from /home/oracle9/product/920/lib32/libclntsh.sl.9.0
(gdb) where
#0 0xc5dc861c in $$dyncall_external+0 () from /home/oracle9/product/920/lib32/libclntsh.sl.9.0
#1 0xc62ec6bc in ttcdrv+0x102c () from /home/oracle9/product/920/lib32/libclntsh.sl.9.0
#2 0xc61aa1c8 in nioqwa+0x4c () from /home/oracle9/product/920/lib32/libclntsh.sl.9.0
#3 0xc5eeb0f8 in upirtrc+0x698 () from /home/oracle9/product/920/lib32/libclntsh.sl.9.0
#4 0xc5f5b858 in kpurcsc+0x78 () from /home/oracle9/product/920/lib32/libclntsh.sl.9.0
#5 0xc5f17688 in kpuexecv8+0x4e4 () from /home/oracle9/product/920/lib32/libclntsh.sl.9.0
#6 0xc5f190a4 in kpuexec+0x248 () from /home/oracle9/product/920/lib32/libclntsh.sl.9.0
#7 0xc5ec8130 in OCIStmtExecute+0x34 () from /home/oracle9/product/920/lib32/libclntsh.sl.9.0
#8 0xc5e76484 in sqlcucExecute+0x5c () from /home/oracle9/product/920/lib32/libclntsh.sl.9.0
#9 0xc5e69738 in sqlall+0x178c () from /home/oracle9/product/920/lib32/libclntsh.sl.9.0
#10 0xc5e6d020 in sqlatm+0x148 () from /home/oracle9/product/920/lib32/libclntsh.sl.9.0
#11 0xc5e57d6c in sqlnst+0x1784 () from /home/oracle9/product/920/lib32/libclntsh.sl.9.0
#12 0xc5e51360 in sqlcmex+0x290 () from /home/oracle9/product/920/lib32/libclntsh.sl.9.0
#13 0xc5e51a04 in sqlcxt+0x78 () from /home/oracle9/product/920/lib32/libclntsh.sl.9.0
#14 0x2a9bc in CMBillIP::loadMBillIPInfo (this=0x40037fe0) at CMBillIP.cxx:454
#15 0x1d2a0 in CSyncThread::run (this=0x0, arg=0x0) at CSyncThread.cxx:78
#16 0x4565c in ext_run+0x54 ()
#17 0xc004b00c in __pthread_body+0x44 () from /lib/libpthread.1
#18 0xc005529c in __pthread_start+0x14 () from /lib/libpthread.1