안녕하세요~
오라클 8.1.6을 설치하고 펄 DBI 를 사용하는데
자꾸 코어 덤프가 나네요.
DBI trace를 통해 살펴보니 정상종료될때와
아래처럼 차이가 나는군요.
정상일때
====================
.
.
.
dbd_st_fetch no-more-data, rc=1403, rpc=13
<- fetchrow= ( ) [0 items] at ora.pl line 20.
-> finish for DBD::Oracle::st (DBI::st=HASH(0x81c9f1c)~0x8116350)
<- finish= 1 at ora.pl line 25.
-> disconnect for DBD::Oracle::db (DBI::db=HASH(0x81c75f0)~0x81c9f40)
<- disconnect= 1 at ora.pl line 26.
-- DBI::END
-> disconnect_all for DBD::Oracle::dr (DBI::dr=HASH(0x8188e20)~0x81c9db4)
<- disconnect_all= '' at /usr/local/lib/perl5/site_perl/5.6.0/i86pc-solaris/DBI.pm line 450.
-> DESTROY for DBD::Oracle::db (DBI::db=HASH(0x81c9f40)~INNER)
<- DESTROY= undef during global destruction.
dbih_clearcom 0x81c75f0 (com 0x811a404, type 2) done.
-> DESTROY in DBD::_::common for DBD::Oracle::dr (DBI::dr=HASH(0x81c9db4)~INNER)
<- DESTROY= undef during global destruction.
dbih_clearcom 0x8188e20 (com 0x8116aac, type 1) done.
<> DESTROY for DBI::db=HASH(0x81c75f0) ignored (inner handle gone)
<> DESTROY ignored for outer handle DBI::st=HASH(0x81c9f1c) (inner DBI::st=HASH(0x8116350))
-> DESTROY for DBD::Oracle::st (DBI::st=HASH(0x8116350)~INNER)
<- DESTROY= undef during global destruction.
dbih_clearcom 0x81c9f1c (com 0x81b6704, type 3) done.
<> DESTROY for DBI::dr=HASH(0x8188e20) ignored (inner handle gone)
코어덤프일때
==================
.
.
.
dbd_st_fetch no-more-data
<- fetchrow= ( ) [0 items] at ora.pl line 23.
-> finish for DBD::Oracle::st (DBI::st=HASH(0x8108710)~0x817a7dc)
<- finish= 1 at ora.pl line 28.
-> disconnect for DBD::Oracle::db (DBI::db=HASH(0x81b65d8)~0x8108644)
<- disconnect= 1 at ora.pl line 29.
소스는 똑같은 걸로 테스트했구요.
OS는 코어덤프가 나는건
x86 Solaris 7이고 정상인건 x86 Solaris 8입니다.
둘다 오라클 8.1.6 이구요.
도대체 왜 그런지 알수가 없군요.
참, 펄 DBD::Oracle 설치할때부터 불안했습니다.
둘다요.
그런데 하나는 코어덤프까지는 안생기는군요.
혹시 원인을 아시는 분은 좀 알려주세요.
그럼 이만...총총...
|