[unixODBC-support] Segmentation fault (core dumped) when attempting to run isql to connect to configured odbc connection

Brown, Jason Jason.Brown at csaa.com
Thu Aug 7 19:45:46 BST 2014


[hostname]#  isql -v  oracletestdb1
Segmentation fault (core dumped)

>From the odbc.log  file:

ODBC][21251][1407435894.915792][__handles.c][459]
                Exit:[SQL_SUCCESS]
                        Environment = 0x60b750
[ODBC][21251][1407435894.915886][SQLAllocHandle.c][375]
                Entry:
                        Handle Type = 2
                        Input Handle = 0x60b750
[ODBC][21251][1407435894.916953][SQLAllocHandle.c][493]
                Exit:[SQL_SUCCESS]
                        Output Handle = 0x60c080
[ODBC][21251][1407435894.917066][SQLConnect.c][3654]
                Entry:
                        Connection = 0x60c080
                        Server Name = [oracletestdb1][length = 4 (SQL_NTS)]
                        User Name = [NULL]
                        Authentication = [NULL]
                UNICODE Using encoding ASCII 'UTF8' and UNICODE 'UTF16LE'

odbc.ini :

[oracletestdb1]
Application Attributes=T
Attribute=W
BatchAutocommitMode=IfAllSuccessful
CloseCursor=T
DisableDPM=F
DisableMTS=T
Driver=Oracle_ODBC_Driver
DSN=ora11r2
EXECSchemaOpt=
EXECSyntax=T
Failover=T
FailoverDelay=10
FailoverRetryCount=10
FetchBufferSize=64000
ForceWCHAR=F
Lobs=T
Longs=T
MetadataIdDefault=F
QueryTimeout=T
ResultSets=T
ServerName=//oracletestdb1/ora1
SQLGetData extensions=F
Translation DLL=
Translation Option=0
UserID=ORA_TEST
Password=OTREAST

[oracletestdb2]
Application Attributes=T
Attribute=W
BatchAutocommitMode=IfAllSuccessful
CloseCursor=T
DisableDPM=F
DisableMTS=T
Driver=Oracle_ODBC_Driver
DSN=ora11r2
EXECSchemaOpt=
EXECSyntax=T
Failover=T
FailoverDelay=10
FailoverRetryCount=10
FetchBufferSize=64000
ForceWCHAR=F
Lobs=T
Longs=T
MetadataIdDefault=F
QueryTimeout=T
ResultSets=T
ServerName=//oracletestdb2/ora2
SQLGetData extensions=F
Translation DLL=
Translation Option=0
UserID=ORA_TEST
Password=OTREAST

[oracletestdb3]
Application Attributes=T
Attribute=W
BatchAutocommitMode=IfAllSuccessful
CloseCursor=T
DisableDPM=F
DisableMTS=T
Driver=Oracle_ODBC_Driver
DSN=ora11r2
EXECSchemaOpt=
EXECSyntax=T
Failover=T
FailoverDelay=10
FailoverRetryCount=10
FetchBufferSize=64000
ForceWCHAR=F
Lobs=T
Longs=T
MetadataIdDefault=F
QueryTimeout=T
ResultSets=T
ServerName=//oracletestdb3/ora3
SQLGetData extensions=F
Translation DLL=
Translation Option=0
UserID=ORA_TEST
Password=OTREAST


[mssqltest1]
Description = msql test connection
Driver = ODBC Driver 11 for SQL Server
Servername = mssqltest1
Database = sqltest1.0


odbcinst.ini:

[ODBC]
Trace=Yes
TraceFile=/tmp/odbc.log
ForceTrace=No
Pooling=No
UsageCount=1

[ODBC Driver 11 for SQL Server]
Description=Microsoft ODBC Driver 11 for SQL Server
Driver=/opt/microsoft/msodbcsql/lib64/libmsodbcsql-11.0.so.2270.0
Threading=1
UsageCount=1

[Oracle_ODBC_Driver]
Description=Oracle ODBC driver
Driver=/app/oracle/product/11.2.0/client1/lib/libsqora.so.11.1
Setup=
FileUsage=
OPTimeout=
CPReuse=
UsageCount=1


I have a trace of the execution as well, if required

Jason.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20140807/3791aa9e/attachment.html>


More information about the unixODBC-support mailing list