Segmentation fault (core dumped) when attempting to run isql to connect to configured odbc connection

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Segmentation fault (core dumped) when attempting to run isql to connect to configured odbc connection

Brown, Jason

[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.

 

 


_______________________________________________
unixODBC-support mailing list
[hidden email]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-support
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Segmentation fault (core dumped) when attempting to run isql to connect to configured odbc connection

Nick Gorham-2
On 07/08/14 19:45, Brown, Jason wrote:

[hostname]#  isql –v  oracletestdb1

Segmentation fault (core dumped)


A strace would give a clue what was going on, but other than that so real idea, what version of the driver manager are you using? Though its so early in the process that is not much going on.

--
Nick

_______________________________________________
unixODBC-support mailing list
[hidden email]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-support
Loading...