首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > oracle >

OTL(Version 4.0.179) 出现段异常

2013-07-11 
OTL(Version 4.0.179) 出现段错误本帖最后由 zzcmx2008 于 2012-06-06 14:43:11 编辑最近在用otl的时候,出

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)


    at otlv4.h:26174
No locals.
#10 0x080778cb in otl_stream::open (this=0xf3318140, 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=..., ref_cur_placeholder=0x0, sqlstm_label=0x0) at otlv4.h:29378
        tmp = "INSERT"
        c = 0xf3317fcf ""
#11 0x08077b5e in otl_stream::otl_stream (this=0xf3318140, 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=..., ref_cur_placeholder=0x0, sqlstm_label=0x0) at otlv4.h:29103
No locals.
[解决办法]
提示的错误信息是段越位了

就这些信息,除非谁对OTL开发很熟,否则很难帮到你的。

本人没有用过OTL。

(1)建议从这里入手检查各输入参数是否符合预期
0x08077b5e in otl_stream::otl_stream (this=0xf3318140, 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=..., ref_cur_placeholder=0x0, sqlstm_label=0x0) at otlv4.h:29103
(2)重点怀疑变量越界产生的异常。
[解决办法]
不懂帮顶、太高深
[解决办法]
C++看不懂。。
[解决办法]

引用:
提示的错误信息是段越位了

就这些信息,除非谁对OTL开发很熟,否则很难帮到你的。


本人没有用过OTL。

(1)建议从这里入手检查各输入参数是否符合预期
0x08077b5e in otl_stream::otl_stream (this=0xf3318140, 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=..., ref_cur_placeholder=0x0, sqlstm_label=0x0) at otlv4.h:29103
(2)重点怀疑变量越界产生的异常。



重点检查SQL语句中各绑定变量是否超过表字段长度限制。。。

热点排行