View Issue Details

IDProjectCategoryView StatusLast Update
0009915MMASynchronizationpublic2012-12-04 08:56
Reportermambo-simonAssigned To 
PriorityurgentSeveritycrashReproducibilityrandom
Status closedResolutionfixed 
Target Version1.0.1Fixed in Version1.0.1 
Summary0009915: Db corruption causes MMA to crash consistently
DescriptionAdding and removing files to the device seems to sometimes result in problem that results in Db Corruption. Only reproduced on a number of devices.
Steps To Reproduce1. Connect handset to PC (app is not open)
2. drag and drop folder with music files
**
From this point, different operations have triggered the problem
- we are not able to consistently reproduce it with the same steps but generally a combination of the following will trigger the crash within a few minutes of trying
- Dragging and dropping files onto the SD card - mix of mp3, m4a files
- Deleting some files

**
4. Disconnect
-> crashes every time app is restarted unless files on SdCard/MediaMonkey/ are manually deleted

1.
Additional InformationSome handset dependencies:
Consistently seen on NEC device running v2.2, but also on 2.3 handsets.
Attached log is the crash that is seen everytime the app is started after the above steps triggered the initial crash. Only when the db is cleared does the error disappear.
TagsNo tags attached.
Attached Files
db_corruption_error.txt (890 bytes)   
java.lang.RuntimeException: In datatase must be Unknown artist inserted!
	at com.ventismedia.android.mediamonkey.sync.SyncMediaHelper.addUnknownArtist(SyncMediaHelper.java:282)
	at com.ventismedia.android.mediamonkey.sync.SyncMediaHelper.checkOrAddUnknownArtist(SyncMediaHelper.java:121)
	at com.ventismedia.android.mediamonkey.sync.SyncMediaHelper.insertMedia(SyncMediaHelper.java:45)
	at com.ventismedia.android.mediamonkey.sync.SyncMediaHelper.insertMedia(SyncMediaHelper.java:326)
	at com.ventismedia.android.mediamonkey.sync.ms.MediaSync.remoteOnly(MediaSync.java:233)
	at com.ventismedia.android.mediamonkey.sync.ms.MediaSync.sync(MediaSync.java:109)
	at com.ventismedia.android.mediamonkey.sync.ms.MediaStoreSyncService.doSync(MediaStoreSyncService.java:135)
	at com.ventismedia.android.mediamonkey.sync.ms.MediaStoreSyncService$SyncThread.run(MediaStoreSyncService.java:108)
db_corruption_error.txt (890 bytes)   
Fixed in build52

Activities

jiri

2012-11-02 09:29

administrator   ~0032882

Seems to be clear from the log, assigning to Martin.

martin

2012-11-02 17:13

developer   ~0032891

Last edited: 2012-11-02 17:14

Fixed in build 52.

mambo-simon

2012-12-04 08:56

reporter   ~0033599

Not seen in recent builds so closing