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 -> Re: "Bus Error" while running OCI programs

Re: "Bus Error" while running OCI programs

From: Steve Haynes <steve_at_rwx777.demon.co.uk>
Date: 1997/11/19
Message-ID: <ou2y0JADAwc0EwOr@rwx777.demon.co.uk>#1/1

In article <EJuDK1.6qn.0.debian_at_sirena.rinet.ru>, Konstantin Kivi <konst_at_sirena.rinet.ru> writes
>Matthias Gresz <GreMa_at_t-online.de> wrote:
>> rohit_at_techapp.com wrote:
>> >
>> > Hi,
>> >
>> > I am facing a strange problem ..I'm trying to compile an OCI program using
>> > gcc. When I try to run it ..is executes all the calls (at least appears
>> > to ..) but exits with a 'Bus Error' message ..
>> >

bus errors are often caused by trying to dereference a null pointer. instead of (if *p) say if (p && *p) (for example). Steve



"The floggings will continue until morale improves."
Received on Wed Nov 19 1997 - 00:00:00 CST

Original text of this message

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