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

Home -> Community -> Usenet -> c.d.o.server -> Re: Solved: OCI demos: SegFault on Linux

Re: Solved: OCI demos: SegFault on Linux

From: Rick Wessman <rwessman_at_us.oracle.com>
Date: 07 Feb 2000 08:28:45 -0500
Message-ID: <uvh41xhte.fsf@us.oracle.com>


Make sure the lengths of the username and password are zero. That might be causing the problem.

                                 Rick

"Lothar Armbüster" <lothar.armbruester_at_rheingau.netsurf.de> writes:

> Lothar Armbüster wrote at 03-Feb-00 14:37:48
> on the subject OCI demos: SegFault on Linux :
>
> >Hello out there,
>
> Here I have to reply to my own posting. :-)
>
> >I tried to run the OCI demo programs from Oracle 8.1.5 on Linux but they
> >all end up in segmentation faults when linked with shared libs.
> >When I link the programs statically, the run without problems but then the
> >executables are >4MB in size.
>
> I rewrote one of the demos (cdemo6.cc) to use the newer OCI calls (e.g.
> OCIStmtPrepare instead of oparse) and now it works.
>
> But the use of of the new calls leads me to another problem:
>
> How do I call OCILogon when my user is identified externally?
> With the old call olog I just gave NULL for username and password.
> Unfortunately this does not work with OCILogon. The documentation does not
> mention anything about this case.
>
> Any ideas?
>
> Lothar
>
> >--
> >Lothar Armbrüster | lothar.armbruester_at_rheingau.netsurf.de
> >Hauptstr. 26 | lothar.armbruester_at_t-online.de
> >D-65346 Eltville |
>
>
>
> --
> Lothar Armbrüster | lothar.armbruester_at_rheingau.netsurf.de
> Hauptstr. 26 | lothar.armbruester_at_t-online.de
> D-65346 Eltville |
>

--

                                        Rick
                                        Rick Wessman
                                        Security and Directory Technologies
                                        Server Technologies
                                        Oracle Corporation
                                        rwessman_at_us.oracle.com

       The statements and opinions expressed here are my own and do not
             necessarily represent those of  Oracle Corporation.
Received on Mon Feb 07 2000 - 07:28:45 CST

Original text of this message

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