Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> SEG Fault at OCIBindArrayOfStruct with user defined struct

SEG Fault at OCIBindArrayOfStruct with user defined struct

From: Philip S Zhan <szhan_at_calum.csclub.uwaterloo.ca>
Date: 21 Jul 1999 15:32:11 GMT
Message-ID: <7n4p5r$bhe$1@watserv3.uwaterloo.ca>

I was trying to bind an array of user defined struct (object) in OCI. I got a SIGSEGV sigcode 11 MAPPER sigsender 40. Stop in: kpubsa

        kpubsa(0x8aeb8, 0x83430, 0x34, 0x8, 0x0, 0x0).

What I did was:

        I created the user defined type in the database (8.05) and create a stored procedure which takes an array of the user defined type objects as IN and OUT parameters.

I used the OTT to map the Oracle type to C struct and include it in my OCI code.

OCIBindArrayOfStruct works fine with simple types.

Philip Received on Wed Jul 21 1999 - 10:32:11 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US