If you have some experience with gdb, try examining the db structure in
the last frame. It may very well be some null ptrs that should have been
initialized already. You should actually check everything in the db
struct, there should be a definition for that struct in one of the header
files.

Let me know if that helps,


Danish
--

> >     (gdb) run
> >     Starting program: /applic/mnogosearch/sbin/indexer
> >     [New Thread 1024 (LWP 5320)]
> >     Indexer[5320]: indexer from mnogosearch-3.1.19/Oracle8 started with 
>'/applic/mnogosearch/etc/indexer.conf'
> >
> >     Program received signal SIGSEGV, Segmentation fault.
> >     [Switching to Thread 1024 (LWP 5320)]
> >     0x08050a36 in InitDB (Indexer=0x807e388) at sql.c:1170
> >     1170            db->errcode=OCILogon(db->envhp, db->errhp, &(db->svchp),
> >
> >     (gdb) bt
> >     #0  0x08050a36 in InitDB (Indexer=0x807e388) at sql.c:1170
> >     #1  0x08051321 in sql_query (Indexer=0x807e388, qbuf=0xbfff4f80 "SELECT 
>word,lang FROM stopword")
> >         at sql.c:1418
> >     #2  0x080524a4 in UdmLoadStopList (Indexer=0x807e388, table=0xbfff5051 
>"stopword") at sql.c:2132
> >     #3  0x0804b1a3 in StartUp (Indexer=0x807e388, index_flags=132) at indexer.c:211
> >     #4  0x0804b44e in UdmIndexNextURL (Indexer=0x807e388, index_flags=132) at 
>indexer.c:310
> >     #5  0x0804a1ac in thread_main (arg=0x0) at main.c:233
> >     #6  0x0804ab00 in main (argc=1, argv=0xbffff9f4) at main.c:598
> >     #7  0x405d2507 in __libc_start_main (main=0x804a2f0 <main>, argc=1, 
>ubp_av=0xbffff9f4,
> >         init=0x80497e8 <_init>, fini=0x806c150 <_fini>, rtld_fini=0x4000dc14 
><_dl_fini>, stack_end=0xbffff9ec)
> >         at ../sysdeps/generic/libc-start.c:129
> >

-- 
Danish Qadri
Systems Programmer
Globix Corporation
[EMAIL PROTECTED]

___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to