Help
Posted in 1995
Hi,
Let me describe the situation first-
The user interface is done using XMotif, where a user selects a specific file
The file contains a query (which could be multilevel). After the selection
is done by the user, the database is opened and some more procedures are
called.
All the files have been compiled fine with esql -c -local -D DEBUG filename
As for the Motif files, they were complied with cc -g -c -D DEBUG filename
-lXt -lXm -lX11.
I am getting segementation fault at the point where the database is opened.
I debugged using pdbx on the execution, and here is few lines from the
run of the executable file:
(pdbx) run
main-c.c entered
dbmain: WHENEVER SQLERROR
going into database eecs94
%2 Stopped by Segmentation fault in _sqinitdiag at 0xd1c23
000d1c23 mov1 $0x0,(%eax)
****************************************************************
The database does exist and I have used it from dbaccess.
If you have any idea or suggestions, please send me a mail.
Thanks in advance.
Shyama.