View Issue Details

IDProjectCategoryView StatusLast Update
0002844MMW v4Otherpublic2007-05-09 13:05
Reporterpetr Assigned To 
PriorityimmediateSeveritycrashReproducibilityrandom
Status resolvedResolutionfixed 
Product Version3.0 
Fixed in Version3.0 
Summary0002844: Many users reported freeze of MM
DescriptionMany users reported freeze of MM. I was investigated error logs from users and this happened when more that one SELECT is opened (it's known bug).
TagsNo tags attached.
Fixed in build1027

Activities

petr

2007-02-19 01:24

developer   ~0008611

For prevent this i will implement locking for SELECT SQL queries.

petr

2007-02-19 13:59

developer   ~0008612

Solved. I was added locking functionality into SQLite interface and this prevents freezing while more than one SELECT query was executed.
Simple way how to check it is :
1. backup old MM.db and delete it (MM will create new one)
2. start scanning with auto-level enabled

This is critical stage becouse scanning and auto-volume makes selections from DB.

petr

2007-04-01 00:27

developer   ~0008928

reopened. Many users reported this bug in latest alpha.

jiri

2007-04-02 15:22

administrator   ~0008932

Fixed in build 1027.
 - Fixed some issues based on several debug logs.
 - The main problems were caused by SQLite table/Db locking, which when occured in the main thread could have blocked the whole application. I added some general prevention of this state, but also code in MM should be written with this in mind, i.e. tables shouldn't be openned for any longer than really needed and particularly threads shouldn't use callbacks to the main thread while (i.e. Synchronize(), etc.) while a DB query is openned.
 - Assigning to Petr to fix one more place where it happens according to logs: in Normalization.pas, AutoCalcNormalization(), around line 164 there are several calls to TThreadedProgress.xxx() methods while a query is openned - this should be moved outside of the query.

petr

2007-04-05 10:55

developer   ~0008953

fixed

jiri

2007-05-09 12:59

administrator   ~0009122

One more problem was reported causing freeze of MM.

jiri

2007-05-09 13:05

administrator   ~0009123

Fixed in build 1035.
 - Fixed sources.
 - Included the latest SQLite.dll (3.3.17).