Roger Binns <rog...@rogerbinns.com> writes: > On 05/13/2010 06:43 AM, Nikolaus Rath wrote: >> Yeah, I'm around. I don't know what an "exact disassembly" is or how to >> provide one, but if someone tells me what to do then I'm most likely >> willing to do it. > > We can test the hypothesis very easily. Find line 15472 in the > amalgamation. A few lines up there should be #ifdef SQLITE_MUTEX_PTHREADS. > Put "volatile" as a prefix for the nRef and owner declarations. > > volatile int nRef; /* Number of entrances */ > volatile pthread_t owner; /* Thread that is within this mutex */ > > Please let us know the results and I'll update the ticket.
If apsw is compiled with -g and without volatile, the crash happens. If it is compiled with -g and with volatile, the crash does not happen. Where can I find the corresponding ticket? The sqlite homepage seems to have lost all references to the bug tracker... I know that bug reporting is no longer open to the public, but I hope there is still at least read access? Best, -Nikolaus -- »Time flies like an arrow, fruit flies like a Banana.« PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users