Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in SQLGetData with bookmarks [ODBC106] #103

Closed
firebird-automations opened this issue Jan 28, 2011 · 4 comments
Closed

Crash in SQLGetData with bookmarks [ODBC106] #103

firebird-automations opened this issue Jan 28, 2011 · 4 comments

Comments

@firebird-automations
Copy link

Submitted by: @alexpotapchenko

Attachments:
OdbcFb.zip

While trying to fetch bookmarks I crash inside the newest ODBC version of Firebird.

KernelBase.dll!74edb727()
[Frames below may be incorrect and/or missing, no symbols loaded
for KernelBase.dll]
KernelBase.dll!74edb727()
OdbcFb.dll!_CxxThrowException(void * pExceptionObject=0x00cfbfe4,
const _s__ThrowInfo * pThrowInfo=0x0df9f060) Line 161 C++
OdbcFb.dll!IscDbcLibrary::Sqlda::getSqlTypeName() + 0x23b bytes
C++
OdbcFb.dll!IscDbcLibrary::Sqlda::getColumnTypeName() + 0x2b bytes
C++
OdbcFb.dll!IscDbcLibrary::IscStatementMetaData::getSqlTypeName()
+ 0x16 bytes C++
OdbcFb.dll!OdbcJdbcLibrary::OdbcDesc::defFromMetaDataOut() + 0xd5
bytes C++
OdbcFb.dll!OdbcJdbcLibrary::OdbcStatement::prepareGetData() +
0x3a bytes C++
OdbcFb.dll!OdbcJdbcLibrary::OdbcStatement::sqlGetData() + 0x1e3
bytes C++
OdbcFb.dll!_SQLGetData@24() + 0x60 bytes C++
odbc32.dll!5899b7bf()
>
odbcbasemi.dll!connectivity::odbc::OTools::getBytesValue(connectivity::odbc::OConnection
* _pConnection=0x09978674, void * _aStatementHandle=0x011125b0, long
columnIndex=0, short _fSqlType=-2, unsigned char & _bWasNull='', const
com::sun::star::uno::Referencecom::sun::star::uno::XInterface\ &
_xInterface={...}) Line 494 + 0x3a bytes C++

odbcbasemi.dll!connectivity::odbc::OResultSet::move(connectivity::IResultSetHelper::Movement
_eCursorPosition=FIRST, long _nOffset=0, unsigned char __formal='')
Line 1657 + 0x6e bytes C++

The SQL_ATTR_USE_BOOKMARKS is VARIABLE (2) and the type which I use for
SQLGetaData is -2(SQL_C_VARBOOKMARK)

Commits: 417749d 1613540

@firebird-automations
Copy link
Author

Commented by: @alexpotapchenko

Win 32 driver for testing.

@firebird-automations
Copy link
Author

Modified by: @alexpotapchenko

Attachment: OdbcFb.zip [ 11890 ]

@firebird-automations
Copy link
Author

Modified by: @alexpotapchenko

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.0 [ 10044 ]

@firebird-automations
Copy link
Author

Modified by: @alexpotapchenko

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants