Hi there,

I've started a (so far futile) attempt to revive the firebird
driver. I've installed the latest available version of the database
(2.0.3) engine on FreeBSD 6.1. After a good helping of PITA due to the
lack of usable documentation I managed to get to a point where I
managed to create databases, connect to them, and drop them again. The
libdbi driver would not even compile due to some minor issues which I
managed to fix. Nevertheless, the driver then just segfaulted when I
tried to connect to a database.

 I went through the API documentation (which must be utterly out of
date as it recommends a function which has been flagged as deprecated
7 years ago) and fixed a few minor differences between the code in the
existing driver and the recommended API usage. Regardless, the driver
still crashes with the following backtrace:

#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

I've checked all strings and pointers in _dbd_real_connect() but I
can't see why the driver should cause a segfault. Has anyone had
success with the firebird driver on any platform lately? Did anyone
succeed on FreeBSD?

regards,
Markus

-- 
Markus Hoenicka
[EMAIL PROTECTED]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Libdbi-drivers-devel mailing list
Libdbi-drivers-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel

Reply via email to