OTL(Version 4.0.179) 出现段错误
本帖最后由 zzcmx2008 于 2012-06-06 14:43:11 编辑
最近在用otl的时候,出现了一个段错误引起出现core了(c++程序),问题出在otl_stream的时候:
下面是core的信息:
Program terminated with signal 11, Segmentation fault.
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xf7f71ef1 in raise () from /lib/libpthread.so.0
No symbol table info available.
#2 0xf728a503 in skgesigOSCrash () from /u01/app/oracle/product/11.2.0/client_1/lib/libclntsh.so.11.1
No symbol table info available.
#3 0xf74f6a01 in kpeDbgSignalHandler () from /u01/app/oracle/product/11.2.0/client_1/lib/libclntsh.so.11.1
No symbol table info available.
#4 0xf728a7c3 in skgesig_sigactionHandler () from /u01/app/oracle/product/11.2.0/client_1/lib/libclntsh.so.11.1
No symbol table info available.
#5 <signal handler called>
No symbol table info available.
#6 0x0806b93b in otl_tmpl_out_stream<otl_exc, otl_conn, otl_cur, otl_var, otl_oracle_date>::cleanup (this=0xfea09e18) at otlv4.h:7469
i = 0
#7 0x080765e3 in otl_tmpl_out_stream<otl_exc, otl_conn, otl_cur, otl_var, otl_oracle_date>::~otl_tmpl_out_stream (this=0xfea09e18, __in_chrg=<value optimized out>)
at otlv4.h:7601
No locals.
#8 0x080772ba in otl_tmpl_inout_stream<otl_exc, otl_conn, otl_cur, otl_var, otl_oracle_date>::otl_tmpl_inout_stream (this=0xfea09e18, arr_size=1,
sqlstm=0x8d39e14 "insert into location_log values(:f1<char[62]>, :f2<char[21]>,to_date(:f3<char(25)>,'YYYY-MM-DD HH24:MI:SS'), :f4<char[26]>, :f5<char[23]>,:f6<char[23]>, :f7<unsigned int>, :f8<unsigned int>, :f9<unsig"..., pdb=..., master_stream_ptr=0xf3318140, alob_stream_mode=false, sqlstm_label=0x0)
at otlv4.h:8797
No locals.
#9 0x0807731d in otl_inout_stream::otl_inout_stream (this=0xfea09e18, arr_size=1,
sqlstm=0x8d39e14 "insert into location_log values(:f1<char[62]>, :f2<char[21]>,to_date(:f3<char(25)>,'YYYY-MM-DD HH24:MI:SS'), :f4<char[26]>, :f5<char[23]>,:f6<char[23]>, :f7<unsigned int>, :f8<unsigned int>, :f9<unsig"..., db=..., master_stream_ptr=0xf3318140, alob_stream_mode=false, sqlstm_label=0x0)