cancel
Showing results for 
Search instead for 
Did you mean: 

Access Violation in LibSQLDBC

Former Member
0 Kudos

With LIBSQLDBC 7.7.07.33

Hello

LibSQLDBC throw an access violation in this following case.

My process opens a recordset an for each record, it applies a function, this treatment can take more than 900 s. The default connection timeout.

When treatment take more than 900, LibSQLDBC throw an acces violation.

The reason is that next fonction calls dropGarbageLongDescriptors, and it close the connection. The calling sqlaexecute continue BUT the m_requestpacket connection member is NULL and the next call to getRequestPacket failed.

I workaround the issue by increasing connection timeout.

The call to next close the connection :

libSQLDBC!IFR_Connection::close

libSQLDBC!IFR_Connection::sqlaexecute+0x4ea

libSQLDBC!IFR_Connection::sqlaexecute+0x1b1

libSQLDBC!IFR_Connection::dropGarbageLongDescriptors+0x1da

libSQLDBC!IFR_Connection::sqlaexecute+0xd5

libSQLDBC!IFR_FetchInfo::executeFetchCommand+0x43c

libSQLDBC!IFR_FetchInfo::executeFetchRelative+0x1a1

libSQLDBC!IFR_ResultSet::fetchNextChunk+0xb3

libSQLDBC!IFR_ResultSet::mfNext+0x15c

libSQLDBC!IFR_ResultSet::next+0x2c5

libSQLDBC!SQLDBC::SQLDBC_ResultSet::next+0x3a

DBManage35!CMaxDBRowset::GetRows+0xc5

DBManage35!CMaxDBRowset::GetNextRows+0x1d

DBManage35!CStorageRecordset::MoveNext+0xab

DBManage35!virtualRecordset::MoveNext+0x40

DBManage35!CDBRecordset::MoveNext+0xa8

ArcTools!IDBRecordset::MoveNext+0xa

ArcTools!CArcCompress::CompressRecordsInternal+0x84f

ArcTools!CArcCompress::Compress+0x784

ArcTools!CEskerArchive::ExportMessagesInternal+0x16b

Access violation call stack :

libSQLDBC!IFRPacket_RequestPacket::assign+0x17

libSQLDBC!IFR_Connection::getRequestPacket+0x3bd

libSQLDBC!IFR_Connection::sqlaexecute+0x12a

libSQLDBC!IFR_FetchInfo::executeFetchCommand+0x43c

libSQLDBC!IFR_FetchInfo::executeFetchRelative+0x1a1

libSQLDBC!IFR_ResultSet::fetchNextChunk+0xb3

libSQLDBC!IFR_ResultSet::mfNext+0x15c

libSQLDBC!IFR_ResultSet::next+0x2c5

libSQLDBC!SQLDBC::SQLDBC_ResultSet::next+0x3a

DBManage35!CMaxDBRowset::GetRows+0xc5

DBManage35!CMaxDBRowset::GetNextRows+0x1d

DBManage35!CStorageRecordset::MoveNext+0xab

DBManage35!virtualRecordset::MoveNext+0x40

DBManage35!CDBRecordset::MoveNext+0xa8

ArcTools!IDBRecordset::MoveNext+0xa

ArcTools!CArcCompress::CompressRecordsInternal+0x84f

ArcTools!CArcCompress::Compress+0x784

ArcTools!CEskerArchive::ExportMessagesInternal+0x16b

ArcTools!CEskerArchive::ExportMessagesEx+0xb2

WARNING: Frame IP not in any known module. Following frames may be wrong.

0x451d7d3

mscorlib_ni+0x2c0bdc

0x451d057

System_Core_ni+0x1a8ab1

clr!PreStubWorker+0x15d

Yann.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Yann,

thanks for reporting this bug I have made an error entry in our bug tracking system.

After replication you can check the state by this link

http://sapdb.org/webpts?wptsdetail=yes&ErrorType=0&ErrorID=1240790

Regards,

Burkhard