Re: [sqlite] 1 Writer and 1 Reader in WAL mode in two different processes, but as soon reading is started writer crashes

2019-12-02 Thread Warren Young
On Dec 2, 2019, at 3:02 AM, avinash.jha2493 wrote: > > The issue appears similar to what was mentioned here: > https://github.com/tensorflow/tensorboard/issues/1467 Yes, and OP posted a reply to his own issue a few days later giving the correct answer: TensorFlow needs to pick one of the two

Re: [sqlite] 1 Writer and 1 Reader in WAL mode in two different processes, but as soon reading is started writer crashes

2019-12-02 Thread Richard Hipp
On 12/2/19, avinash.jha2493 wrote: > > Could someone guide on the next steps, have been playing with pragmas for a > while now, but didn't succeed. > One thing you could do is tell us exactly what version of SQLite you are using so that the line-number information in your stack trace can be

[sqlite] 1 Writer and 1 Reader in WAL mode in two different processes, but as soon reading is started writer crashes

2019-12-02 Thread avinash.jha2493
The issue appears similar to what was mentioned here: https://github.com/tensorflow/tensorboard/issues/1467 Multiple traces are seen, one of which is as follows: (gdb) bt #0 walRestartLog (pWal=0x2001f78) at sqlite3.c:51561 #1 sqlite3WalFrames (sync_flags=2, isCommit=1, nTruncate=68381,