From: Jens Miltner <[EMAIL PROTECTED]>
Reply-To: sqlite-users@sqlite.org
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] Infinite loop on sqlite3_close()
Date: Fri, 14 Oct 2005 17:38:04 +0200


Am 10.10.2005 um 16:53 schrieb Preston Zaugg:

While running some performance tests i ran into a condition where sqlite3_close got caught in an infinite loop.
The loop it gets caught in is on line main.c 194:
   while( pPrev && pPrev->pNext!=db ){
     pPrev = pPrev->pNext;
   }

This did not happen until i upgraded to 3.2.7, not the only change, but the most significant. This is repeatable, but does not happen in the same spot each time.

Is anybody else running into this?

I've once seen a similar problem and it was caused by missing thread synchronization. Are you using multiple threads? If so, did you configure sqlite as thread safe?

</jum>

Yes.. that was my problem. Thank you very much!


Reply via email to