Home » Developer & Programmer » Precompilers, OCI & OCCI » Memory corruption from malloc after calling db connection routine (UP UX)
Memory corruption from malloc after calling db connection routine [message #576017] Wed, 30 January 2013 11:31
ashishxsingh
Messages: 1
Registered: January 2013
Location: Dallas
Junior Member
Hi guys,

I am getting memory corruption from a Cobol/C program, while it tries to connect to Oracle.
The env is optimized using quick select runtime, I ran it in GDN and below is the stack trace,
it looks like the job failed in oracle libs, but I did not get any error messages or anything.
Any help is appreciated.


#0 0xffffe410 in __kernel_vsyscall ()
#1 0x005f3df0 in raise () from /lib/libc.so.6
#2 0x005f5701 in abort () from /lib/libc.so.6
#3 0x0062c18b in __libc_message () from /lib/libc.so.6
#4 0x00635b76 in _int_malloc () from /lib/libc.so.6
#5 0x00636d97 in malloc () from /lib/libc.so.6
#6 0xe58fb3a1 in _tmf11727 () from /opt/app/tuxedo/tux91/lib/libengine.so
#7 0xe588b46a in _tmf7936 () from /opt/app/tuxedo/tux91/lib/libengine.so
#8 0xe5886de5 in _tmf5532 () from /opt/app/tuxedo/tux91/lib/libengine.so
#9 0xe5902f34 in A_X931RandomInit () from /opt/app/tuxedo/tux91/lib/libengine.so
#10 0xe56a283c in X931RandomInit () from /opt/app/oracle/client/11.1.0/lib32/libnnz11.so
#11 0xe56923e2 in InitRandomAlga () from /opt/app/oracle/client/11.1.0/lib32/libnnz11.so
#12 0xe56a25f2 in AlgaChoiceChoose () from /opt/app/oracle/client/11.1.0/lib32/libnnz11.so
#13 0xe56922d7 in AHChooseRandomInit () from /opt/app/oracle/client/11.1.0/lib32/libnnz11.so
#14 0xe5695a81 in B_AlgorithmRandomInit () from /opt/app/oracle/client/11.1.0/lib32/libnnz11.so
#15 0xe56af57d in B_RandomInit () from /opt/app/oracle/client/11.1.0/lib32/libnnz11.so
#16 0xe55e994e in nztysi0_init () from /opt/app/oracle/client/11.1.0/lib32/libnnz11.so
#17 0xe55cae94 in nzdsi_init () from /opt/app/oracle/client/11.1.0/lib32/libnnz11.so
#18 0xe55cb142 in nzdsi_initialize () from /opt/app/oracle/client/11.1.0/lib32/libnnz11.so
#19 0xe6f925a3 in gsluinit () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#20 0xe6f93666 in gsluizgcGetContext () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#21 0xe6f800c0 in gslccx_Getgsluctx () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#22 0xe6f64731 in ora_create_discov_hdl () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#23 0xe67cb135 in nnfloiddisco () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#24 0xe67cac77 in nnflgcp () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#25 0xe67c8259 in nnflobc () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#26 0xe67c75aa in nnflcgc () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#27 0xe67c6d9c in nnflboot () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#28 0xe663852f in nnfgrne () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#29 0xe67a15db in nlolgobj () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#30 0xe6636b15 in nnfun2a () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#31 0xe66369c2 in nnfsn2a () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#32 0xe66e3e2b in niqname () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#33 0xe6612da2 in x10rcs () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#34 0xe65b7f96 in kpuatch () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#35 0xe65a5a59 in OCIServerAttach () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#36 0xe658b4be in sqlv8c () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#37 0xe658b06d in sqllam () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#38 0xe658ca0f in sqllo3t () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#39 0xe658c5cc in sqlcnt () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#40 0xe7b900a9 in sqlexp () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#41 0xe7b8f35e in sqlcmex () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#42 0xe7b8f167 in sqlcxt () from /opt/app/oracle/client/11.1.0/lib32/libclntsh.so.11.1
#43 0xe8fdb5bf in orastub_sqlcxt (mppv=0x0, mpliSqlctx=0x818feb4, mpsSqlstm=0xffff5e44, mpsSqlfpn=0x818feb8) at /cccsphome/csp/cccsp/mb_cccsp/qsel/src/1.9/00/main/orastub.c:358
#44 0xe8fd8131 in fvSqlcex_Call (mpcFirst_Qselbuf_Seg=0x0) at /cccsphome/csp/cccsp/mb_cccsp/qsel/src/1.9/00/main/qselcex.c:4871
#45 0xe8fd26ad in qselcex3 (mpsQSEL_Stmt=0x81f190c, mpsQSEL_Global=0x818fea4, mpliSqlctx=0x818feb4, mpsSqlstm=0xffff5e44, mpsSqlfpn=0x818feb8)
at /cccsphome/csp/cccsp/mb_cccsp/qsel/src/1.9/00/main/qselcex.c:853
#46 0xe8fb4831 in qselcex (mpsQSEL_Stmt=0x81f190c, mpsQSEL_Global=0x818fea4, mpliSqlctx=0x818feb4, mpsSqlstm=0xffff5e44, mpsSqlfpn=0x818feb8)
at /cccsphome/csp/cccsp/mb_cccsp/qsel/src/1.9/00/main/qselcex.c:712
#47 0x0809f305 in dgni_connect_n (
i_username=0x81f1760 "AANMASTERCONN", ' ' <repeats 17 times>, "AANMASTERCONN", ' ' <repeats 87 times>, "ATTAAN DHCCNV5 oltvtge2 AANOPERCONN", ' ' <repeats 19 times>, "AANOPERCON"...,
i_password=0x81f177e "AANMASTERCONN", ' ' <repeats 87 times>, "ATTAAN DHCCNV5 oltvtge2 AANOPERCONN", ' ' <repeats 19 times>, "AANOPERCONN", ' ' <repeats 29 times>...,
i_db_instance=0x81f17e2 "ATTAAN DHCCNV5 oltvtge2 AANOPERCONN", ' ' <repeats 19 times>, "AANOPERCONN", ' ' <repeats 89 times>, "ATTAAN BLPRESCRRUN SANF", ' ' <repeats 13 times>...)
at dgn_gen_con.c:12907
#48 0x080a273f in dgni_connect_prep_env () at dgn_gen_con.c:14588
#49 0x0809d0b1 in dgn_connect (i_dlinit=0x81a7b34) at dgn_gen_con.c:11201
#50 0x0805676a in blgn_getpr ()
Previous Topic: Pro*C file compilation error
Next Topic: Cannot execute SELECT MAX(ORA_ROWSCN) from Embedded SQL
Goto Forum:
  


Current Time: Fri Dec 26 21:12:04 CST 2014

Total time taken to generate the page: 0.10284 seconds