Subject Python with Pyodc - Segmentation Fault
Author Erhard Eiselen
Hi
 
I recently commissioned a new Ubuntu server (18.04 LTS 64bit).
 
Using Python 2.7.15rc1 and Pyodbc 4.0.24 for my applications.
 
Downloaded OdbcFb-LIB-2.0.5.156.amd64.gz and copied libOdbcFb.so  to
/usr/lib/x86_64-linux-gnu/odbc
 
My odbcinst.ini setup is as follows:
[FireBird]
Description     = InterBase/Firebird ODBC Driver
Driver          = /usr/lib/x86_64-linux-gnu/odbc/libOdbcFb.so
Setup           = /usr/lib/x86_64-linux-gnu/odbc/libOdbcFb.so
Threading       = 1
FileUsage       = 1
CPTimeout       =
CPReuse         =

Connection is to a FireBird database (V 1.5.6.5026) hosted on a MS Windows
machine.
 
When I use standard isql form the Linux commandline, I can connect to the
FireBird database and retrieve data.
 
As soon as I try to connect from Python using pyodbc, I get  “Segmentation
Fault” with a core dump.

Any help would be highly appreciated.

Kind regards

Erhard Eiselen