*** ACTION NAME:(Main session) 2009-11-10 15:43:08.417
*** MODULE NAME:(PL/SQL Developer) 2009-11-10 15:43:08.417
*** SERVICE NAME:(SHWL) 2009-11-10 15:43:08.417
*** SESSION ID:(123.7) 2009-11-10 15:43:08.417
Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0xc, PC: [0xb5f6130, pdz9M08_Type_Kind()+6]
Registers:
%eax: 0x00000000 %ebx: 0xb7ebbff8 %ecx: 0x0c81b748
%edx: 0x00000000 %edi: 0x00000c58 %esi: 0x00000003
%esp: 0xbfbfc22c %ebp: 0xbfbfc22c %eip: 0x0b5f6130
%efl: 0x00210297
pdz9M08_Type_Kind()+0 (0xb5f612a) push %ebp
pdz9M08_Type_Kind()+1 (0xb5f612b) mov %esp,%ebp
pdz9M08_Type_Kind()+3 (0xb5f612d) mov 0x8(%ebp),%edx
> pdz9M08_Type_Kind()+6 (0xb5f6130) mov 0xc(%edx),%eax
pdz9M08_Type_Kind()+9 (0xb5f6133) mov %ebp,%esp
pdz9M08_Type_Kind()+11 (0xb5f6135) pop %ebp
pdz9M08_Type_Kind()+12 (0xb5f6136) ret
pdz9M08_Type_Kind()+13 (0xb5f6137) nop
*** 2009-11-10 15:43:08.420
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [pdz9M08_Type_Kind()+6] [SIGSEGV] [Address not mapped to object] [0xC] [] []
Current SQL statement for this session:
procedure Billing(p_OrderID IN Orders.Orderid%type,
p_BranchCompany IN Orders.Destinationbranch%type,-
p_CashierEmployeeNO IN Employee.Employeeno%type
)
IS
v_order ORDERS%ROWTYPE;
BEGIN
select * bulk collect into v_order from orders where rderid=p_OrderID;
end CustomerPickup;
下面是调用堆栈及进程信息太长了略
原来只有一条件记录时不能用bulk collect into
但oracle 也不应该这样,直接提示一条记录不能用bulk 得了。
~~~~~~~~~~~··
这还是我打开旧的代码文件编译时发现里面没有bulk 才发现是这个问题.
但不知为何?