Opened 10 years ago

#891 new defect

Sqlite Provider: Access Violation exception in method BuildMetaData()

Reported by: zhanga Owned by: traianstanev
Priority: major Milestone: 3.9.0
Component: SQLite Provider Version: 3.9.0
Severity: 3 Keywords:
Cc: External ID:

Description

Many CERs show that there is an access violation exception in method BuildMetaData(). But unfortunately, we cannot reproduce the crash in our environment. From the call stack, we can find that the error is in line 199 of method:

SltMetadata::BuildMetadataInfo(SltConnection* conn, SltStringList* lst)
{
    ...
    sqlite3* db = conn->GetDbConnection();
    sqlite3_mutex_enter(db->mutex);   //Access violation exception here
        …
}


The variable db cannot be null and should not be null. Maybe is a threading issue.

Change History (0)

Note: See TracTickets for help on using tickets.