firebird2 API woes
Markus Hoenicka
markus.hoenicka at mhoenicka.de
Mon Dec 10 14:05:17 PST 2007
[apologies for cross-posting, but freebsd-database was not able to
help]
Hi,
I'm having a hard time connecting to a firebird 2.0.3 server installed
on FreeBSD 6.1 through the C API calls. The connection code is pretty
much copy+pasted from the API documentation. However, all calls to
isc_attach_database() cause the client library to segfault:
#1 0x2852ceb4 in return_success () from /usr/local/lib/libfbclient.so.2
#2 0x28525179 in REM_attach_database () from /usr/local/lib/libfbclient.so.2
#3 0x2851386a in isc_attach_database () from /usr/local/lib/libfbclient.so.2
#4 0x284ece8e in _dbd_real_connect ()
from /usr/local/lib/dbd/libdbdfirebird.so
#5 0x284eba19 in dbd_connect () from /usr/local/lib/dbd/libdbdfirebird.so
#6 0x2808011d in dbi_conn_connect () from /usr/local/lib/libdbi.so.0
#7 0x0804982a in main (argc=1, argv=0xbfbfea2c) at test_dbi.c:91
The database I'm trying to attach to does exist, and I can attach to
it using the isql command line utility. Is this a known issue?
I have to admit that I'm not too familiar with firebird. All I'm
trying to do is to upgrade the firebird driver of the libdbi-drivers
project (http://libdbi-drivers.sourceforge.net, also available as a
FreeBSD port). I'd greatly appreciate if someone more experienced in
programming for firebird could give me a hint. I'll be happy to
provide all sorts of debug information if needed.
regards,
Markus
--
Markus Hoenicka
markus.hoenicka at cats.de
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de
More information about the freebsd-questions
mailing list