Hello, today I tried to upgrade our software from SQLite version 3.6.3 to version 3.6.13 and I am hitting a race condition that I believe is a bug in the library. The library is compiled as thread-safe (and it's reproducible even with the precompiled DLL). Sometimes sqlite3_step fails with SQLITE_CANTOPEN error. I traced it with Process Monitor and each time the error happened, this could be seen in the log:
(time / process / PID / function name / file name / result of the call / parameters / thread ID) 12:27:55.1443678 PM eM Client.vshost.exe 3308 LockFile folders.dat SUCCESS Exclusive: True, Offset: 1,073,741,825, Length: 1, Fail Immediately: True 5052 12:27:55.1443826 PM eM Client.vshost.exe 3308 UnlockFileSingle folders.dat SUCCESS Offset: 1,073,741,825, Length: 1 5052 12:27:55.1443944 PM eM Client.vshost.exe 3308 QueryStandardInformationFile folders.dat SUCCESS AllocationSize: 32,768, EndOfFile: 21,504, NumberOfLinks: 1, DeletePending: False, Directory: False 5052 12:27:55.1445976 PM eM Client.vshost.exe 3308 CreateFile folders.dat-journal SUCCESS Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: None, AllocationSize: n/a, OpenResult: Opened 5052 12:27:55.1447616 PM eM Client.vshost.exe 3308 CreateFile folders.dat-journal SHARING VIOLATION Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: None, AllocationSize: n/a 5804 12:27:55.1447930 PM eM Client.vshost.exe 3308 ReadFile folders.dat-journal SUCCESS Offset: 0, Length: 1, Priority: Normal 5052 12:27:55.1448185 PM eM Client.vshost.exe 3308 UnlockFileSingle folders.dat SUCCESS Offset: 1,073,741,826, Length: 510 5804 12:27:55.1448268 PM eM Client.vshost.exe 3308 CloseFile folders.dat-journal SUCCESS 5052 There are two threads accessing the folders.dat database at the same time, the first one (5052) succeeds, while the other one (5804) fails when checking for hot journal. Here are the stack traces of the two threads during the CreateFile calls (both against the sqlite3.c 3.6.13 amalgamation). Thread 5052: 14 sqlite3.dll winOpen + 0x139, sqlite3.c(27454) 0x100067d6 15 sqlite3.dll sqlite3OsOpen + 0x19, sqlite3.c(11655) 0x100095ed 16 sqlite3.dll hasHotJournal + 0xce, sqlite3.c(33360) 0x1000ac42 17 sqlite3.dll pagerSharedLock + 0x102, sqlite3.c(33499) 0x100093c0 18 sqlite3.dll sqlite3PagerAcquire + 0x41, sqlite3.c(33732) 0x10008c21 19 sqlite3.dll sqlite3BtreeGetPage + 0x19, sqlite3.c(37419) 0x1000c92a 20 sqlite3.dll lockBtree + 0x16, sqlite3.c(38097) 0x1000c6ee 21 sqlite3.dll sqlite3BtreeBeginTrans + 0xe5,sqlite3.c(38366) 0x1000c434 22 sqlite3.dll sqlite3VdbeExec + 0x2e59, sqlite3.c(52191) 0x10019223 23 sqlite3.dll sqlite3Step + 0x161,sqlite3.c(48601) 0x10014d9d 24 sqlite3.dll sqlite3_step + 0x3d, sqlite3.c(48675) 0x10014aaf Thread 5804: 14 sqlite3.dll winOpen + 0x139, sqlite3.c(27454) 0x100067d6 15 sqlite3.dll sqlite3OsOpen + 0x19, sqlite3.c(11655) 0x100095ed 16 sqlite3.dll hasHotJournal + 0xce, sqlite3.c(33360) 0x1000ac42 17 sqlite3.dll pagerSharedLock + 0x102, sqlite3.c(33499) 0x100093c0 18 sqlite3.dll sqlite3PagerAcquire + 0x41, sqlite3.c(33732) 0x10008c21 19 sqlite3.dll sqlite3BtreeGetMeta + 0x6e, sqlite3.c(42972) 0x1000ed7e 20 sqlite3.dll sqlite3VdbeExec + 0x2f05, sqlite3.c(52230) 0x100192cf 21 sqlite3.dll sqlite3Step + 0x161, sqlite3.c(48601) 0x10014d9d 22 sqlite3.dll sqlite3_step + 0x3d, sqlite3.c(48675) 0x10014aaf I believe it's incorrect behavior to return SQLITE_CANTOPEN to the application in that case. I'm not sure what would be the correct solution (setting sharing mode in winOpen?). Anyone can help or offer any insight? Thanks, Filip Navara
"Time of Day","Process Name","PID","Operation","Path","Result","Detail","TID" "12:27:55.1394789 PM","eM Client.vshost.exe","3308","LockFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Exclusive: True, Offset: 1,073,741,824, Length: 1, Fail Immediately: True","5052" "12:27:55.1395073 PM","eM Client.vshost.exe","3308","LockFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Exclusive: False, Offset: 1,073,741,826, Length: 510, Fail Immediately: True","5052" "12:27:55.1395216 PM","eM Client.vshost.exe","3308","UnlockFileSingle","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 1,073,741,824, Length: 1","5052" "12:27:55.1397821 PM","eM Client.vshost.exe","3308","QueryOpen","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","FAST IO DISALLOWED","","5052" "12:27:55.1399142 PM","eM Client.vshost.exe","3308","CreateFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened","5052" "12:27:55.1399563 PM","eM Client.vshost.exe","3308","QueryBasicInformationFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","CreationTime: 4/17/2009 11:55:03 AM, LastAccessTime: 4/17/2009 12:12:50 PM, LastWriteTime: 4/17/2009 12:27:54 PM, ChangeTime: 4/17/2009 12:27:54 PM, FileAttributes: A","5052" "12:27:55.1399687 PM","eM Client.vshost.exe","3308","CloseFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","","5052" "12:27:55.1400155 PM","eM Client.vshost.exe","3308","LockFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Exclusive: True, Offset: 1,073,741,825, Length: 1, Fail Immediately: True","5052" "12:27:55.1400285 PM","eM Client.vshost.exe","3308","UnlockFileSingle","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 1,073,741,825, Length: 1","5052" "12:27:55.1400415 PM","eM Client.vshost.exe","3308","QueryStandardInformationFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","AllocationSize: 32,768, EndOfFile: 21,504, NumberOfLinks: 1, DeletePending: False, Directory: False","5052" "12:27:55.1402014 PM","eM Client.vshost.exe","3308","CreateFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: None, AllocationSize: n/a, OpenResult: Opened","5052" "12:27:55.1403756 PM","eM Client.vshost.exe","3308","ReadFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 0, Length: 1, Priority: Normal","5052" "12:27:55.1404046 PM","eM Client.vshost.exe","3308","CloseFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","","5052" "12:27:55.1404448 PM","eM Client.vshost.exe","3308","ReadFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 24, Length: 16","5052" "12:27:55.1404709 PM","eM Client.vshost.exe","3308","LockFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Exclusive: True, Offset: 1,073,741,825, Length: 1, Fail Immediately: True","5052" "12:27:55.1406504 PM","eM Client.vshost.exe","3308","CreateFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Desired Access: Generic Read/Write, Disposition: OpenIf, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: None, AllocationSize: 0, OpenResult: Opened","5052" "12:27:55.1408209 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 0, Length: 512, Priority: Normal","5052" "12:27:55.1413308 PM","eM Client.vshost.exe","3308","ReadFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 2,048, Length: 1,024","5052" "12:27:55.1414001 PM","eM Client.vshost.exe","3308","ReadFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 6,144, Length: 1,024","5052" "12:27:55.1414244 PM","eM Client.vshost.exe","3308","ReadFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 12,288, Length: 1,024","5052" "12:27:55.1414670 PM","eM Client.vshost.exe","3308","ReadFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 3,072, Length: 1,024","5052" "12:27:55.1414937 PM","eM Client.vshost.exe","3308","ReadFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 7,168, Length: 1,024","5052" "12:27:55.1415168 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 512, Length: 4","5052" "12:27:55.1415351 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 516, Length: 1,024","5052" "12:27:55.1415500 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 1,540, Length: 4","5052" "12:27:55.1415665 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 1,544, Length: 4","5052" "12:27:55.1415861 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 1,548, Length: 1,024","5052" "12:27:55.1416003 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 2,572, Length: 4","5052" "12:27:55.1416252 PM","eM Client.vshost.exe","3308","ReadFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 8,192, Length: 1,024","5052" "12:27:55.1416453 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 2,576, Length: 4","5052" "12:27:55.1416595 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 2,580, Length: 1,024","5052" "12:27:55.1416737 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 3,604, Length: 4","5052" "12:27:55.1416903 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 3,608, Length: 4","5052" "12:27:55.1417039 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 3,612, Length: 1,024","5052" "12:27:55.1417193 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 4,636, Length: 4","5052" "12:27:55.1417827 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 4,640, Length: 4","5052" "12:27:55.1417969 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 4,644, Length: 1,024","5052" "12:27:55.1418105 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 5,668, Length: 4","5052" "12:27:55.1427184 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 5,672, Length: 4","5052" "12:27:55.1427439 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 5,676, Length: 1,024","5052" "12:27:55.1427587 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 6,700, Length: 4","5052" "12:27:55.1427818 PM","eM Client.vshost.exe","3308","LockFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Exclusive: True, Offset: 1,073,741,824, Length: 1, Fail Immediately: True","5052" "12:27:55.1427978 PM","eM Client.vshost.exe","3308","UnlockFileSingle","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 1,073,741,826, Length: 510","5052" "12:27:55.1428108 PM","eM Client.vshost.exe","3308","LockFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Exclusive: True, Offset: 1,073,741,826, Length: 510, Fail Immediately: True","5052" "12:27:55.1428238 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 0, Length: 1,024","5052" "12:27:55.1428404 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 3,072, Length: 1,024","5052" "12:27:55.1428552 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 6,144, Length: 1,024","5052" "12:27:55.1428700 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 7,168, Length: 1,024","5052" "12:27:55.1428843 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 8,192, Length: 1,024","5052" "12:27:55.1428991 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 12,288, Length: 1,024","5052" "12:27:55.1429168 PM","eM Client.vshost.exe","3308","WriteFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 0, Length: 28","5052" "12:27:55.1429364 PM","eM Client.vshost.exe","3308","UnlockFileSingle","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 1,073,741,826, Length: 510","5052" "12:27:55.1429494 PM","eM Client.vshost.exe","3308","LockFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Exclusive: False, Offset: 1,073,741,826, Length: 510, Fail Immediately: True","5052" "12:27:55.1429607 PM","eM Client.vshost.exe","3308","UnlockFileSingle","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 1,073,741,825, Length: 1","5052" "12:27:55.1429701 PM","eM Client.vshost.exe","3308","UnlockFileSingle","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 1,073,741,824, Length: 1","5052" "12:27:55.1429879 PM","eM Client.vshost.exe","3308","CloseFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","","5052" "12:27:55.1431863 PM","eM Client.vshost.exe","3308","UnlockFileSingle","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 1,073,741,826, Length: 510","5052" "12:27:55.1433432 PM","eM Client.vshost.exe","3308","LockFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Exclusive: True, Offset: 1,073,741,824, Length: 1, Fail Immediately: True","5804" "12:27:55.1433586 PM","eM Client.vshost.exe","3308","LockFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Exclusive: False, Offset: 1,073,741,826, Length: 510, Fail Immediately: True","5804" "12:27:55.1433699 PM","eM Client.vshost.exe","3308","UnlockFileSingle","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 1,073,741,824, Length: 1","5804" "12:27:55.1436536 PM","eM Client.vshost.exe","3308","QueryOpen","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","FAST IO DISALLOWED","","5804" "12:27:55.1436974 PM","eM Client.vshost.exe","3308","LockFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Exclusive: True, Offset: 1,073,741,824, Length: 1, Fail Immediately: True","5052" "12:27:55.1437157 PM","eM Client.vshost.exe","3308","LockFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Exclusive: False, Offset: 1,073,741,826, Length: 510, Fail Immediately: True","5052" "12:27:55.1437294 PM","eM Client.vshost.exe","3308","UnlockFileSingle","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 1,073,741,824, Length: 1","5052" "12:27:55.1438407 PM","eM Client.vshost.exe","3308","CreateFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened","5804" "12:27:55.1438970 PM","eM Client.vshost.exe","3308","QueryBasicInformationFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","CreationTime: 4/17/2009 11:55:03 AM, LastAccessTime: 4/17/2009 12:12:50 PM, LastWriteTime: 4/17/2009 12:27:55 PM, ChangeTime: 4/17/2009 12:27:55 PM, FileAttributes: A","5804" "12:27:55.1439100 PM","eM Client.vshost.exe","3308","CloseFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","","5804" "12:27:55.1439621 PM","eM Client.vshost.exe","3308","LockFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Exclusive: True, Offset: 1,073,741,825, Length: 1, Fail Immediately: True","5804" "12:27:55.1439751 PM","eM Client.vshost.exe","3308","UnlockFileSingle","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 1,073,741,825, Length: 1","5804" "12:27:55.1439905 PM","eM Client.vshost.exe","3308","QueryStandardInformationFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","AllocationSize: 32,768, EndOfFile: 21,504, NumberOfLinks: 1, DeletePending: False, Directory: False","5804" "12:27:55.1441274 PM","eM Client.vshost.exe","3308","QueryOpen","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","FAST IO DISALLOWED","","5052" "12:27:55.1442701 PM","eM Client.vshost.exe","3308","CreateFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened","5052" "12:27:55.1443098 PM","eM Client.vshost.exe","3308","QueryBasicInformationFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","CreationTime: 4/17/2009 11:55:03 AM, LastAccessTime: 4/17/2009 12:12:50 PM, LastWriteTime: 4/17/2009 12:27:55 PM, ChangeTime: 4/17/2009 12:27:55 PM, FileAttributes: A","5052" "12:27:55.1443216 PM","eM Client.vshost.exe","3308","CloseFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","","5052" "12:27:55.1443678 PM","eM Client.vshost.exe","3308","LockFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Exclusive: True, Offset: 1,073,741,825, Length: 1, Fail Immediately: True","5052" "12:27:55.1443826 PM","eM Client.vshost.exe","3308","UnlockFileSingle","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 1,073,741,825, Length: 1","5052" "12:27:55.1443944 PM","eM Client.vshost.exe","3308","QueryStandardInformationFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","AllocationSize: 32,768, EndOfFile: 21,504, NumberOfLinks: 1, DeletePending: False, Directory: False","5052" "12:27:55.1445976 PM","eM Client.vshost.exe","3308","CreateFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: None, AllocationSize: n/a, OpenResult: Opened","5052" "12:27:55.1447616 PM","eM Client.vshost.exe","3308","CreateFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SHARING VIOLATION","Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: None, AllocationSize: n/a","5804" "12:27:55.1447930 PM","eM Client.vshost.exe","3308","ReadFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","Offset: 0, Length: 1, Priority: Normal","5052" "12:27:55.1448185 PM","eM Client.vshost.exe","3308","UnlockFileSingle","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 1,073,741,826, Length: 510","5804" "12:27:55.1448268 PM","eM Client.vshost.exe","3308","CloseFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat-journal","SUCCESS","","5052" "12:27:55.1448718 PM","eM Client.vshost.exe","3308","ReadFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 24, Length: 16","5052" "12:27:55.1449198 PM","eM Client.vshost.exe","3308","ReadFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 0, Length: 1,024","5052" "12:27:55.1449529 PM","eM Client.vshost.exe","3308","ReadFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 3,072, Length: 1,024","5052" "12:27:55.1449748 PM","eM Client.vshost.exe","3308","ReadFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 7,168, Length: 1,024","5052" "12:27:55.1451294 PM","eM Client.vshost.exe","3308","ReadFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 8,192, Length: 1,024","5052" "12:27:55.1452105 PM","eM Client.vshost.exe","3308","ReadFile","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 17,408, Length: 1,024","5052" "12:27:55.1452952 PM","eM Client.vshost.exe","3308","UnlockFileSingle","C:\Users\Filip\AppData\Roaming\eM Client\folders.dat","SUCCESS","Offset: 1,073,741,826, Length: 510","5052"
"0","fltmgr.sys","fltmgr.sys + 0x2a8f","0x80f60a8f","C:\Windows\system32\drivers\fltmgr.sys" "1","fltmgr.sys","fltmgr.sys + 0x597a","0x80f6397a","C:\Windows\system32\drivers\fltmgr.sys" "2","fltmgr.sys","fltmgr.sys + 0x191ee","0x80f771ee","C:\Windows\system32\drivers\fltmgr.sys" "3","fltmgr.sys","fltmgr.sys + 0x198af","0x80f778af","C:\Windows\system32\drivers\fltmgr.sys" "4","ntoskrnl.exe","ntoskrnl.exe + 0x3d6eb","0x82c916eb","C:\Windows\system32\ntoskrnl.exe" "5","ntoskrnl.exe","ntoskrnl.exe + 0x247323","0x82e9b323","C:\Windows\system32\ntoskrnl.exe" "6","ntoskrnl.exe","ntoskrnl.exe + 0x22d34e","0x82e8134e","C:\Windows\system32\ntoskrnl.exe" "7","ntoskrnl.exe","ntoskrnl.exe + 0x22d966","0x82e81966","C:\Windows\system32\ntoskrnl.exe" "8","ntoskrnl.exe","ntoskrnl.exe + 0x246257","0x82e9a257","C:\Windows\system32\ntoskrnl.exe" "9","ntoskrnl.exe","ntoskrnl.exe + 0x24e82f","0x82ea282f","C:\Windows\system32\ntoskrnl.exe" "10","ntoskrnl.exe","ntoskrnl.exe + 0x4490a","0x82c9890a","C:\Windows\system32\ntoskrnl.exe" "11","ntdll.dll","ntdll.dll + 0x52e3c","0x77b72e3c","C:\Windows\System32\ntdll.dll" "12","KERNELBASE.dll","KERNELBASE.dll + 0x3679f","0x75df679f","C:\Windows\system32\KERNELBASE.dll" "13","KERNEL32.dll","KERNEL32.dll + 0x551b3","0x77d351b3","C:\Windows\system32\KERNEL32.dll" "14","sqlite3.dll","winOpen + 0x139, c:\users\filip\documents\downloads\sqlite3\sqlite3.c(27454)","0x100067d6","D:\Projects\eM Client\Working Copies\repo\trunk\bin\Debug\SQLite\x86\sqlite3.dll" "15","sqlite3.dll","sqlite3OsOpen + 0x19, c:\users\filip\documents\downloads\sqlite3\sqlite3.c(11655)","0x100095ed","D:\Projects\eM Client\Working Copies\repo\trunk\bin\Debug\SQLite\x86\sqlite3.dll" "16","sqlite3.dll","hasHotJournal + 0xce, c:\users\filip\documents\downloads\sqlite3\sqlite3.c(33360)","0x1000ac42","D:\Projects\eM Client\Working Copies\repo\trunk\bin\Debug\SQLite\x86\sqlite3.dll" "17","sqlite3.dll","pagerSharedLock + 0x102, c:\users\filip\documents\downloads\sqlite3\sqlite3.c(33499)","0x100093c0","D:\Projects\eM Client\Working Copies\repo\trunk\bin\Debug\SQLite\x86\sqlite3.dll" "18","sqlite3.dll","sqlite3PagerAcquire + 0x41, c:\users\filip\documents\downloads\sqlite3\sqlite3.c(33732)","0x10008c21","D:\Projects\eM Client\Working Copies\repo\trunk\bin\Debug\SQLite\x86\sqlite3.dll" "19","sqlite3.dll","sqlite3BtreeGetPage + 0x19, c:\users\filip\documents\downloads\sqlite3\sqlite3.c(37419)","0x1000c92a","D:\Projects\eM Client\Working Copies\repo\trunk\bin\Debug\SQLite\x86\sqlite3.dll" "20","sqlite3.dll","lockBtree + 0x16, c:\users\filip\documents\downloads\sqlite3\sqlite3.c(38097)","0x1000c6ee","D:\Projects\eM Client\Working Copies\repo\trunk\bin\Debug\SQLite\x86\sqlite3.dll" "21","sqlite3.dll","sqlite3BtreeBeginTrans + 0xe5, c:\users\filip\documents\downloads\sqlite3\sqlite3.c(38366)","0x1000c434","D:\Projects\eM Client\Working Copies\repo\trunk\bin\Debug\SQLite\x86\sqlite3.dll" "22","sqlite3.dll","sqlite3VdbeExec + 0x2e59, c:\users\filip\documents\downloads\sqlite3\sqlite3.c(52191)","0x10019223","D:\Projects\eM Client\Working Copies\repo\trunk\bin\Debug\SQLite\x86\sqlite3.dll" "23","sqlite3.dll","sqlite3Step + 0x161, c:\users\filip\documents\downloads\sqlite3\sqlite3.c(48601)","0x10014d9d","D:\Projects\eM Client\Working Copies\repo\trunk\bin\Debug\SQLite\x86\sqlite3.dll" "24","sqlite3.dll","sqlite3_step + 0x3d, c:\users\filip\documents\downloads\sqlite3\sqlite3.c(48675)","0x10014aaf","D:\Projects\eM Client\Working Copies\repo\trunk\bin\Debug\SQLite\x86\sqlite3.dll" "25","<unknown>","0x32a912","0x32a912","" "26","<unknown>","0x6eafed","0x6eafed","" "27","<unknown>","0x6e9ea5","0x6e9ea5","" "28","<unknown>","0x6e9cbb","0x6e9cbb","" "29","<unknown>","0x6e966a","0x6e966a","" "30","<unknown>","0x6ed915","0x6ed915","" "31","System.Data.ni.dll","System.Data.ni.dll + 0x43db5d","0x625adb5d","C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Data\5bd8fd9c85865b7df953a1994b683e85\System.Data.ni.dll" "32","<unknown>","0x3f7a485","0x3f7a485","" "33","<unknown>","0xa21691a","0xa21691a","" "34","<unknown>","0xa215635","0xa215635","" "35","<unknown>","0x8e9619e","0x8e9619e","" "36","<unknown>","0x3f7ea95","0x3f7ea95","" "37","mscorlib.ni.dll","mscorlib.ni.dll + 0x941af2","0x6c451af2","C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\3ff595610f8be0c50733e48087b7eebe\mscorlib.ni.dll" "38","mscorlib.ni.dll","mscorlib.ni.dll + 0x2202bf","0x6bd302bf","C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\3ff595610f8be0c50733e48087b7eebe\mscorlib.ni.dll" "39","mscorlib.ni.dll","mscorlib.ni.dll + 0x71b5ba","0x6c22b5ba","C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\3ff595610f8be0c50733e48087b7eebe\mscorlib.ni.dll" "40","mscorwks.dll","mscorwks.dll + 0x1b4c","0x6d341b4c","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "41","mscorwks.dll","mscorwks.dll + 0x121b9","0x6d3521b9","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "42","mscorwks.dll","mscorwks.dll + 0x26531","0x6d366531","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "43","mscorwks.dll","mscorwks.dll + 0x26564","0x6d366564","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "44","mscorwks.dll","mscorwks.dll + 0x26582","0x6d366582","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "45","mscorwks.dll","mscorwks.dll + 0xe59e3","0x6d4259e3","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "46","mscorwks.dll","mscorwks.dll + 0x2848f","0x6d36848f","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "47","mscorwks.dll","mscorwks.dll + 0x2842b","0x6d36842b","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "48","mscorwks.dll","mscorwks.dll + 0x28351","0x6d368351","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "49","mscorwks.dll","mscorwks.dll + 0x284dd","0x6d3684dd","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "50","mscorwks.dll","mscorwks.dll + 0xe57b4","0x6d4257b4","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "51","mscorwks.dll","mscorwks.dll + 0xe588e","0x6d42588e","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "52","mscorwks.dll","mscorwks.dll + 0x11d5bd","0x6d45d5bd","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "53","KERNEL32.dll","KERNEL32.dll + 0x536d6","0x77d336d6","C:\Windows\system32\KERNEL32.dll" "54","ntdll.dll","ntdll.dll + 0x4883c","0x77b6883c","C:\Windows\System32\ntdll.dll" "55","ntdll.dll","ntdll.dll + 0x4880f","0x77b6880f","C:\Windows\System32\ntdll.dll"
"0","fltmgr.sys","fltmgr.sys + 0x2a8f","0x80f60a8f","C:\Windows\system32\drivers\fltmgr.sys" "1","fltmgr.sys","fltmgr.sys + 0x597a","0x80f6397a","C:\Windows\system32\drivers\fltmgr.sys" "2","fltmgr.sys","fltmgr.sys + 0x191ee","0x80f771ee","C:\Windows\system32\drivers\fltmgr.sys" "3","fltmgr.sys","fltmgr.sys + 0x198af","0x80f778af","C:\Windows\system32\drivers\fltmgr.sys" "4","ntoskrnl.exe","ntoskrnl.exe + 0x3d6eb","0x82c916eb","C:\Windows\system32\ntoskrnl.exe" "5","ntoskrnl.exe","ntoskrnl.exe + 0x247323","0x82e9b323","C:\Windows\system32\ntoskrnl.exe" "6","ntoskrnl.exe","ntoskrnl.exe + 0x22d34e","0x82e8134e","C:\Windows\system32\ntoskrnl.exe" "7","ntoskrnl.exe","ntoskrnl.exe + 0x22d966","0x82e81966","C:\Windows\system32\ntoskrnl.exe" "8","ntoskrnl.exe","ntoskrnl.exe + 0x246257","0x82e9a257","C:\Windows\system32\ntoskrnl.exe" "9","ntoskrnl.exe","ntoskrnl.exe + 0x24e82f","0x82ea282f","C:\Windows\system32\ntoskrnl.exe" "10","ntoskrnl.exe","ntoskrnl.exe + 0x4490a","0x82c9890a","C:\Windows\system32\ntoskrnl.exe" "11","ntdll.dll","ntdll.dll + 0x52e3c","0x77b72e3c","C:\Windows\System32\ntdll.dll" "12","KERNELBASE.dll","KERNELBASE.dll + 0x3679f","0x75df679f","C:\Windows\system32\KERNELBASE.dll" "13","KERNEL32.dll","KERNEL32.dll + 0x551b3","0x77d351b3","C:\Windows\system32\KERNEL32.dll" "14","sqlite3.dll","winOpen + 0x139, c:\users\filip\documents\downloads\sqlite3\sqlite3.c(27454)","0x100067d6","D:\Projects\eM Client\Working Copies\repo\trunk\bin\Debug\SQLite\x86\sqlite3.dll" "15","sqlite3.dll","sqlite3OsOpen + 0x19, c:\users\filip\documents\downloads\sqlite3\sqlite3.c(11655)","0x100095ed","D:\Projects\eM Client\Working Copies\repo\trunk\bin\Debug\SQLite\x86\sqlite3.dll" "16","sqlite3.dll","hasHotJournal + 0xce, c:\users\filip\documents\downloads\sqlite3\sqlite3.c(33360)","0x1000ac42","D:\Projects\eM Client\Working Copies\repo\trunk\bin\Debug\SQLite\x86\sqlite3.dll" "17","sqlite3.dll","pagerSharedLock + 0x102, c:\users\filip\documents\downloads\sqlite3\sqlite3.c(33499)","0x100093c0","D:\Projects\eM Client\Working Copies\repo\trunk\bin\Debug\SQLite\x86\sqlite3.dll" "18","sqlite3.dll","sqlite3PagerAcquire + 0x41, c:\users\filip\documents\downloads\sqlite3\sqlite3.c(33732)","0x10008c21","D:\Projects\eM Client\Working Copies\repo\trunk\bin\Debug\SQLite\x86\sqlite3.dll" "19","sqlite3.dll","sqlite3BtreeGetMeta + 0x6e, c:\users\filip\documents\downloads\sqlite3\sqlite3.c(42972)","0x1000ed7e","D:\Projects\eM Client\Working Copies\repo\trunk\bin\Debug\SQLite\x86\sqlite3.dll" "20","sqlite3.dll","sqlite3VdbeExec + 0x2f05, c:\users\filip\documents\downloads\sqlite3\sqlite3.c(52230)","0x100192cf","D:\Projects\eM Client\Working Copies\repo\trunk\bin\Debug\SQLite\x86\sqlite3.dll" "21","sqlite3.dll","sqlite3Step + 0x161, c:\users\filip\documents\downloads\sqlite3\sqlite3.c(48601)","0x10014d9d","D:\Projects\eM Client\Working Copies\repo\trunk\bin\Debug\SQLite\x86\sqlite3.dll" "22","sqlite3.dll","sqlite3_step + 0x3d, c:\users\filip\documents\downloads\sqlite3\sqlite3.c(48675)","0x10014aaf","D:\Projects\eM Client\Working Copies\repo\trunk\bin\Debug\SQLite\x86\sqlite3.dll" "23","<unknown>","0x32a912","0x32a912","" "24","<unknown>","0x6eafed","0x6eafed","" "25","<unknown>","0x6e9ea5","0x6e9ea5","" "26","<unknown>","0x6e9cbb","0x6e9cbb","" "27","<unknown>","0x6e966a","0x6e966a","" "28","<unknown>","0x6ec1de","0x6ec1de","" "29","<unknown>","0x3f76a63","0x3f76a63","" "30","<unknown>","0x3f75cb3","0x3f75cb3","" "31","mscorlib.ni.dll","mscorlib.ni.dll + 0x941af2","0x6c451af2","C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\3ff595610f8be0c50733e48087b7eebe\mscorlib.ni.dll" "32","mscorlib.ni.dll","mscorlib.ni.dll + 0x2202bf","0x6bd302bf","C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\3ff595610f8be0c50733e48087b7eebe\mscorlib.ni.dll" "33","mscorlib.ni.dll","mscorlib.ni.dll + 0x71b5ba","0x6c22b5ba","C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\3ff595610f8be0c50733e48087b7eebe\mscorlib.ni.dll" "34","mscorwks.dll","mscorwks.dll + 0x1b4c","0x6d341b4c","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "35","mscorwks.dll","mscorwks.dll + 0x121b9","0x6d3521b9","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "36","mscorwks.dll","mscorwks.dll + 0x26531","0x6d366531","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "37","mscorwks.dll","mscorwks.dll + 0x26564","0x6d366564","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "38","mscorwks.dll","mscorwks.dll + 0x26582","0x6d366582","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "39","mscorwks.dll","mscorwks.dll + 0xe59e3","0x6d4259e3","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "40","mscorwks.dll","mscorwks.dll + 0x2848f","0x6d36848f","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "41","mscorwks.dll","mscorwks.dll + 0x2842b","0x6d36842b","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "42","mscorwks.dll","mscorwks.dll + 0x28351","0x6d368351","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "43","mscorwks.dll","mscorwks.dll + 0x284dd","0x6d3684dd","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "44","mscorwks.dll","mscorwks.dll + 0xe57b4","0x6d4257b4","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "45","mscorwks.dll","mscorwks.dll + 0xe588e","0x6d42588e","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "46","mscorwks.dll","mscorwks.dll + 0x11d5bd","0x6d45d5bd","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll" "47","KERNEL32.dll","KERNEL32.dll + 0x536d6","0x77d336d6","C:\Windows\system32\KERNEL32.dll" "48","ntdll.dll","ntdll.dll + 0x4883c","0x77b6883c","C:\Windows\System32\ntdll.dll" "49","ntdll.dll","ntdll.dll + 0x4880f","0x77b6880f","C:\Windows\System32\ntdll.dll"
_______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users