Hi all,
I tried writing an .ec program connecting to informix database
from solaris platform Sun 5.7
informix version that i had to used when i compiled the program was 9.21.UC3
the binary when i ported solaris box with informix version 9.40.UC5 i am unable to run that
i am encountering segmentation fault error.
the logs from gdb looked as follows:
/*****************************?
0xff0c6c60 in ?? () from /usr/lib/libc.so.1
(gdb) where
#0 0xff0c6c60 in ?? () from /usr/lib/libc.so.1
#1 0xff0c6ca8 in ?? () from /usr/lib/libc.so.1
#2 0xff345450 in ?? () from /informix/distr/infx.9.40.UC5/lib/esql/libixsql.so
#3 0xff345ee0 in ?? () from /informix/distr/infx.9.40.UC5/lib/esql/libixsql.so
#4 0x157a4 in retrieveRecords ()
#5 0x15494 in generateFile ()
#6 0x150f8 in loadData()
#7 0x14c34 in main ()
(gdb) bt
#0 0xff0c6c60 in ?? () from /usr/lib/libc.so.1
#1 0xff0c6ca8 in ?? () from /usr/lib/libc.so.1
#2 0xff345450 in ?? () from /informix/distr/infx.9.40.UC5/lib/esql/libixsql.so
#3 0xff345ee0 in ?? () from /informix/distr/infx.9.40.UC5/lib/esql/libixsql.so
#4 0x157a4 in retrieveRecords ()
#5 0x15494 in generateFile ()
/******************************************/
The point where program is terminated with sig-11 is
in executing a prepared statement
i allocated enough memory.
Prior to where it is terminated in another function i am executing one more prepared statement and it works fine.
Pretty well i know that .ec program compiled with lower version should run well in higher version
Can u please help me out with this problem?
Please let me know if i have to provide any other information.
I just donnot know how to proceed with.
Any help would be greatly appreciated.
Thanking u all in Advance.