View Issue Details

IDProjectCategoryView StatusLast Update
0011439MMW v4Otherpublic2014-02-13 17:10
Reporterpeke Assigned To 
PriorityurgentSeverityblockReproducibilitysometimes
Status resolvedResolutionnot fixable 
Product Version4.1 
Target Version4.1 
Summary0011439: DB Locked after initial Update
DescriptionAfter Upgrading from 1668, on first start and DB update MMW showed number of errors.

ELF is Uploaded to FTP.
TagsNo tags attached.
Attached Files
MediaMonkey.elf (235,792 bytes)
Fixed in build

Activities

Ludek

2013-11-01 16:59

developer   ~0038144

Last edited: 2013-11-01 17:38

There is SQLite error "database is locked (5, 5)" in the ELF.

As discussed with Peke, he run two MM instances at once (one as server and one as client) and the error was result of collision of the two MM instances writing to the same MM.DB on the same time (the one in the log was updating podcasts).

Ludek

2013-11-01 17:11

developer   ~0038147

As discussed over IM with Jiri, SQLite has never been fully ready for sharing between more MM instances. If one instance locks the DB for writing and another wants to write then this error can happen.

Leaving open to see if there can be improved something

peke

2013-11-02 17:37

developer   ~0038153

NOTE: as pointed on IM Two instances OF MMW were started with eachother after Lunch MMW from Setup dialog. Eg. one instance was parent of second one. First one was doing DB update I guess.

Check if there is possibility that elevation triggered second MMW start?