Re: [sqlite] Tsan Bug in WAL mode

2018-05-23 Thread Ben Asher
Got it. I'll add that one to our blacklist as well then. Thanks again! Ben On Wed, May 23, 2018 at 11:29 AM, Dan Kennedy wrote: > On 05/24/2018 01:01 AM, Ben Asher wrote: > >> I see. I think that makes sense! I've gone ahead and added these 2 >> functions to our local Tsan blacklist then. In re

Re: [sqlite] Tsan Bug in WAL mode

2018-05-23 Thread Dan Kennedy
On 05/24/2018 01:01 AM, Ben Asher wrote: I see. I think that makes sense! I've gone ahead and added these 2 functions to our local Tsan blacklist then. In researching this further, I found one more Tsan issue here in walTryBeginRead: - One thread is here: http://www.sqlite.org/src/artifact/aa9cf

Re: [sqlite] Tsan Bug in WAL mode

2018-05-23 Thread Ben Asher
I see. I think that makes sense! I've gone ahead and added these 2 functions to our local Tsan blacklist then. In researching this further, I found one more Tsan issue here in walTryBeginRead: - One thread is here: http://www.sqlite.org/src/artifact/aa9cffc7a2bad?ln=2558 - One thread is here: http

Re: [sqlite] Tsan Bug in WAL mode

2018-05-23 Thread Dan Kennedy
On 05/23/2018 06:21 AM, Ben Asher wrote: Hi there! I believe I've found a SQLite bug that triggers TSAN. I'm hoping to either confirm this bug or learn what I'm doing wrong. Some background: in our code, we make sure to synchronize writes to our database such that only one write can happen at any

[sqlite] Tsan Bug in WAL mode

2018-05-22 Thread Ben Asher
Hi there! I believe I've found a SQLite bug that triggers TSAN. I'm hoping to either confirm this bug or learn what I'm doing wrong. Some background: in our code, we make sure to synchronize writes to our database such that only one write can happen at any given time for the same database in our ap