hi-
First off, thx. for very cool help earlier with tips to add flags or
switch to another version of gcc that is earlier. I got firebird source
to compile because my icu is under 59 for now.
I am trying to run a simple connect and disconnect to the firebird db
using cobol gpre.
It goes into fits around the lines where it tries to connect in my
output file from gpre.
I ran a back trace on it as per Brian Tiffin's suggestion at gnucobol. I
was able to use gdb.
I am posting the back trace. I can't make heads or tails of what it is
telling me other than there are memory problems in the code. If you know
what the back trace means can I have a hint please?
i got flamerobin and command-line isql to work.
thx in advance - jim
(gdb) bt
#0 0x00007ffff5dd5957 in memcpy@GLIBC_2.2.5 () from /lib64/libc.so.6
#1 0x00007ffff67cda94 in Firebird::Array<unsigned char,
Firebird::InlineStorage<unsigned char, 128ul> >::push (itemsSize=19,
items=0xf7ff24a0 <error: Cannot access memory at address 0xf7ff24a0>,
this=0x7fffffffcd28) at ../src/include/../common/classes/array.h:328
#2 Firebird::ClumpletWriter::ClumpletWriter (this=0x7fffffffccf0,
k=<optimized out>, limit=<optimized out>,
buffer=0xf7ff24a0 <error: Cannot access memory at address 0xf7ff24a0>,
buffLen=19, tag=<optimized out>)
at ../src/common/classes/ClumpletWriter.cpp:88
#3 0x00007ffff64fb754 in isc_attach_database (
user_status=<optimized out>, file_length=60,
file_name=<optimized out>, public_handle=0x602190 <b_9>,
dpb_length=<optimized out>,
dpb=0xf7ff24a0 <error: Cannot access memory at address 0xf7ff24a0>)
at ../src/jrd/why.cpp:1422
#4 0x0000000000400f77 in Moon_ (entry=0) at simple15.c:135
#5 0x0000000000400be5 in Moon () at simple15.c:48
#6 0x0000000000400bd0 in main (argc=1, argv=0x7fffffffdf98)
at simple15.c:36
(gdb)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel