I got similar problem with 3.6.23.1 amalgamation, so I tried the separate source distribution.
It locks up in files
fts3_write.c and
pager.c from
sqlite-source-3_6_23_1.zip. Compiling
fts3_write.c it gives a warning:
fts3_write.c(1065): warning #2168: Operands of '=' have incompatible types 'int __cdecl function(const void *, const void *)' and 'int __stdcall function(const void *, const void *)'
and proceeds to loop forever. Here's function
sqlite3Fts3SegReaderPending(...):
1064: if( nElem>1 ){
1065: qsort(aElem, nElem, sizeof(Fts3HashElem *), fts3CompareElemByTerm);
1066: }
With
pager.c it runs straight to outer space without any warnings or errors
Task Manager invariably reported
pocc.exe using 50-51% CPU and 2,188K memory.