System.Data.SQLite

Login
This project makes use of Eagle, provided by Mistachkin Systems.
Eagle: Secure Software Automation

Artifact 02878a4f6c604c05fffbc6360e73eac1743cdd08:

Ticket change [02878a4f6c] - Closed ticket [98c70ac5a7]: SQLiteFactory raises CallbackOnCollectedDelegate plus 2 other changes by mistachkin 2011-10-20 07:23:26.
D 2011-10-20T07:23:26.057
J comment Every\stime\sI\saccess\san\sinstance\sof\sSystem.Data.SQLite.SQLiteFactory,\sI\sget\sthis\sexception\swhen\sin\sdebug-mode.\sCan\sI\ssafely\signore\sit?\sOr\swhat\scan\sI\sdo\sto\sprevent\sthis\serror?\n\n<hr\s/><i>mistachkin\sadded\son\s2011-10-17\s14:09:33\sUTC:</i><br\s/>\nI'm\snot\sable\sto\sreproduce\sthis\sissue.\s\sCould\syou\sprovide\ssome\smore\sdetails\sabout\sthe\skind\sof\sbehavior\syou\sare\sseeing\sand\swhat\scode\striggers\sthe\sissue?\r\n\n\n<hr\s/><i>anonymous\sadded\son\s2011-10-17\s17:34:16\sUTC:</i><br\s/>\nI\sonly\shave\sthis\sproblem\swith\sthe\sDLL\shere\son\sthis\ssite,\sI\snever\sencountered\susing\sthe\sdll\sfrom\sPhx\sSoftware\s(using\sthe\ssame\scode).\r\n\r\nI\sonly\ssee\sthe\serror\swhen\sI\sset\sthe\sIDE\sto\sbreak\son\sALL\sthrown\sexceptions.\s\r\n\r\nThe\scode\slooks\slike\sthis:\r\n\r\nPrivate\sClass\sSql\r\n\r\n\s\s\s\sPrivate\sFactory\sAs\sNew\sSystem.Data.SQLite.SQLiteFactory()\r\n\r\n\s\s\s\sPublic\sFunction\sConnect()\sAs\sBoolean\r\n\r\n\s\s\s\s\s\s\s\sDim\sConn\sas\sDbConnection\s=\sFact.CreateConnection()\r\n\r\n\s\s\s\sEnd\sFunction\r\n\r\nEnd\sClass\r\n\r\n-----\r\n\r\nIt\sseems\sto\sbe\srelated\sto\sthreads.\sThe\sfirst\sthread\shas\sno\sproblems\screating\sa\snew\sinstance\sof\sthe\sclass\sabove,\sbut\sthe\ssecond\sthread\swill\scomplain\swith:\r\n\r\nA\scallback\swas\smade\son\sa\sgarbage\scollected\sdelegate\sof\stype\s'System.Data.SQLite!System.Data.SQLite.SQLiteLogCallback::Invoke'.\sThis\smay\scause\sapplication\scrashes,\scorruption\sand\sdata\sloss.\sWhen\spassing\sdelegates\sto\sunmanaged\scode,\sthey\smust\sbe\skept\salive\sby\sthe\smanaged\sapplication\suntil\sit\sis\sguaranteed\sthat\sthey\swill\snever\sbe\scalled.\r\n\n\n<hr\s/><i>mistachkin\sadded\son\s2011-10-18\s03:08:39\sUTC:</i><br\s/>\nPossibly\sfixed\sby\schecked-in\s[3303a4f55b].\s\sI\sstill\sneed\sto\scome\sup\swith\sa\stest\scase\sfor\sthis.\s\sMeanwhile,\swould\syou\splease\stest\sthis\sfix\sin\syour\senvironment\sand\slet\sme\sknow\sif\sthe\sissue\sis\sstill\spresent?\r\n\n\n<hr\s/><i>anonymous\sadded\son\s2011-10-19\s16:58:20\sUTC:</i><br\s/>\nI'm\snot\sfamilar\swith\sbuilding\sthe\slibrary\smyself,\sso\sI'd\shave\sto\swait\sfor\s1.0.77.0\r\n\n\n<hr\s/><i>anonymous\sadded\son\s2011-10-19\s17:15:50\sUTC:</i><br\s/>\nOkay,\sI\smade\ssome\sprogress.\sTurns\sout\sI\swas\susing\sversion\s1.0.74.0\sof\sthe\slibrary.\sI\sjust\supgraded\sto\s1.0.76,\sand\sI\shave\snot\sencountered\sthe\sproblem\ssince\sthen.\sSo\sI\sguess\sthis\sbug\sis\salready\sfixed\sin\sthe\scommits\sbetween\s.74\sand\s.76.
J resolution Fixed
J status Closed
K 98c70ac5a764cb3e621fc1366cd265f38a17a89f
U mistachkin
Z 7009fb4c7ffbf6d78843f147aa940028