System.Data.SQLite
Artifact Content
Not logged in

Artifact 9f37bd2d9e60d175decc57fa2caa60a700972ccc:

Ticket change [9f37bd2d9e] - New ticket [f10b131f8f] Attempted to read or write protected memory. by anonymous 2019-02-06 16:01:39.
D 2019-02-06T16:01:39.939
J foundin 1.0.109.0
J icomment I'm\strying\sto\senable\smulti-thread\smode\sso\sI've\sbuilt\sthe\sproject\sSQLite.Interop.2017\safter\ssetting\sSQLITE_THREADSAFE=2\sin\ssqlite3.props\sand\ssqlite3.vsprops.\s\r\n\r\nOs:\sWindows\s10.\r\nIDE\s:\sVS\s2017\r\n\r\nUsing\sthe\scompiled\sSystem.Data.SQLite.dll\sand\sSQLite.Interop.dll\sin\smy\scode\r\ncauses\san\sexception\seven\sthough\sI'm\snot\saccessing\sthe\sdb\sfrom\smultiple\sthreads.\r\n\r\nException:\sSystem.AccessViolationException:\s'Attempted\sto\sread\sor\swrite\sprotected\smemory.\sThis\sis\soften\san\sindication\sthat\sother\smemory\sis\scorrupt.'\r\n\r\n\r\nPlease\snote\sthat\sif\sI\sbuild\sthe\sproject\swith\sSQLITE_THREADSAFE=1\sthen\severything\sworks\sjust\sfine.
J login anonymous
J mimetype text/x-fossil-plain
J private_contact f020cafe06db85f35283145dd32f13744e357153
J severity Important
J status Open
J title Attempted\sto\sread\sor\swrite\sprotected\smemory
J type Build_Problem
K f10b131f8fd0f49c97390297be77ce92ae7919a1
U anonymous
Z bc0afa3a068b656a0bc57aad7d6a5cfa