Oh yeah, I don’t think this is a SQLITE bug or anything. I think something in our code is writing to memory after freed. I'm just trying to track it down at the point that it happens. We've tried all Profiling tools on both OSX and Windows without luck, so my next step is trying to find the writing thread at the point of corruption.
Dan Kennedy's suggestion seems like that would we that way to do that. - Deon -----Original Message----- From: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] On Behalf Of Simon Slavin Sent: Wednesday, February 7, 2018 8:32 AM To: SQLite mailing list <email@example.com> Subject: Re: [sqlite] Header corruption On 7 Feb 2018, at 3:16pm, Deon Brewis <de...@outlook.com> wrote: > So this looks more like something is overwriting the memory of Page1 before > SQLITE writes it back to disk. That is almost always what people eventually admit to after reporting a problem like this. Some part of their code is stomping on memory or a file handle which SQLite thought it had exclusive rights to. Some of them discover it using a runtime profiler tool which looks for use of released memory or double-release of file handles, but I don't know enough about Windows to suggest anything. Simon. _______________________________________________ sqlite-users mailing list firstname.lastname@example.org https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmailinglists.sqlite.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsqlite-users&data=02%7C01%7C%7C883405b8374547bace6508d56e486bb8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636536179674888635&sdata=ZZtP6DzeVTBCnnWqxu0hWRMVLS6NWTFLrBI0%2Buu6G4I%3D&reserved=0 _______________________________________________ sqlite-users mailing list email@example.com http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users