Ticket Change Details
Not logged in

Artifact ID: 9f37bd2d9e60d175decc57fa2caa60a700972ccc
Ticket: f10b131f8fd0f49c97390297be77ce92ae7919a1
Attempted to read or write protected memory
User & Date: anonymous 2019-02-06 16:01:39

  1. foundin changed to: ""
  2. icomment:
    I'm trying to enable multi-thread mode so I've built the project SQLite.Interop.2017 after setting SQLITE_THREADSAFE=2 in sqlite3.props and sqlite3.vsprops. 
    Os: Windows 10.
    IDE : VS 2017
    Using the compiled System.Data.SQLite.dll and SQLite.Interop.dll in my code
    causes an exception even though I'm not accessing the db from multiple threads.
    Exception: System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'
    Please note that if I build the project with SQLITE_THREADSAFE=1 then everything works just fine.
  3. login: "anonymous"
  4. mimetype: "text/x-fossil-plain"
  5. private_contact changed to: "f020cafe06db85f35283145dd32f13744e357153"
  6. severity changed to: "Important"
  7. status changed to: "Open"
  8. title changed to: "Attempted to read or write protected memory"
  9. type changed to: "Build_Problem"