View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010797 | MMA | Synchronization | public | 2013-04-30 00:05 | 2013-07-12 17:59 |
Reporter | rusty | Assigned To | |||
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.0.4 | ||||
Target Version | 1.0.4 | Fixed in Version | 1.0.4 | ||
Summary | 0010797: Cancelling sync operation triggers freeze | ||||
Description | Initiate a sync operation. Press 'cancel' during the 'Analyzing' phase. --> 'Synchronization terminated' dialog appears. But upon pressing 'OK' the dialog fails to close. At this point it's impossible to close MMA and after several minutes, the sync operation resumes on its own!! This is quite urgent because to the user, it appears as if MM has frozen (and in some cases it actually has frozen). | ||||
Tags | No tags attached. | ||||
Fixed in build | 149 | ||||
|
Fixed in build 128 |
|
Synchronization activity fails to update when screen is turned off and wifi sync stops. After screen is turned on, activity still displays previous state. |
|
Fixed in build 128 |
|
Tested 139 and this issue still occurs sometimes. 1 After a sync operation, StorageObserver service continued running for 10+ hours. 2 I had to manually terminate MM 3 Upon restarting MM, the sync complete dialog was shown. I pressed 'Cancel' --> 'Terminating' was displayed endlessly 4 Manually terminate MMA, and restart MMA. --> 'Terminating' was displayed endlessly There seems to be no way to get rid of this. note: may be related to comment 6 at: http://www.mediamonkey.com/forum/viewtopic.php?f=21&t=71841 |
|
Did you send the user log after this situation had occurred. Or is it possible to replicate it and send it now ? Thanks Btw. in build 136...we've tested one SDK bug workaround that occurred not to be functional. And it caused failure of application stop. It was reverted in build 138...so it possibly isn't related. |
|
I just sent a log from build 142 which exhibits a very similar situation: 1 Initiate wifi-sync 2 Walk out of range of the wifi network for 20 minutes 3 Come back in range to the wifi network and attempt to sync -->waiting for process to complete message that never goes away, and it appears that Wifi sync is hung. BUT... 4 Back out of MM --> Notification panel indicates that Synchronization is in progress 5 Click MMA sync indicator in notification panel --> MMA opens showing that sync is in progress So it seems that at step 2, MMA never completely terminated the sync operation and that it was probably running in the background all along, causing the 'sync failure' at step 3. |
|
Raised priority because I think that this may be a cause of some of the sync failures / anomalous behaviour. |
|
I don't see any 20 minutes break in the logs. And I don't see any issues there. What exactly is going on in 2)? Do you see only a title of storage and nothing else? You can click CANCEL but it hangs up? Is it possible that delete confirmation dialog should be displayed instead(is there something to delete/confirm)? It can be related to delete dialog issue. And it might be fixed in 142 (but note that we still have some issues on some devices with it). Could you please send logs right after the hangup (at point 2) ? Thanks |
|
Tested build 143, and I'm still able to replicate the situation described in 0010797:0036355 in which after several sync operations MM fails to terminate. This time I noticed that after I'd exited MMA, the Sync icon remained in the Notifications bar indicating that a track was being synced (even though no progress was actually being made). When I tried to 'Cancel' the operation --> 'Terminating...' was displayed endlessly. Note: - there's no way to generate a debug log, as MMA is completely unresponsive. - in addition to MMA, both the StorageObserverService and MediaProvider are running. |
|
I just performed a sync operation after which MMA presented the sync completion dialog, but a Sync progress indicator remained in the Notifications bar (it shows that 'La Valse Des Monstres' is still being synced). At this point, MMA is still responsive, so I sent a debug log--perhaps it'll show why the sync operation completed even though the notifications dialog still shows it to be in progress. Note that once I click the Sync icon in the notifications bar --> 'Synchronization' dialog opens with nothing displayed inside, and a 'Cancel' button in the bottom right. If I click 'cancel' --> 'Terminating...' dialog appears, and MMA becomes unresponsive. |
|
Note: I've previously replicated this problem on a Samsung S3, but today have managed to replicate it on a Nexus 7 as well. I believe that the problem is somehow related to a failed conversion operation, since in both cases the issue occurred with tracks from an album 'Amelie'. Tracks were synced to both devices via an autoplaylist for tracks rated >=4 stars. |
|
Well I wasn't able to reproduce it even with the tracks. I don't have Rusty's settings. I tried to hardcode the conversion failure, but it works fine for me. The main issue is that notification is displayed even after sync is finished. Everything after that are just consequences. I added some logs to monitor what happened. So please send logs again right after your sync finish and notification is displayed. I also slightly improved cancelling of the notification so it might be fixed. Fixed in build 144 |
|
Btw. what kind of notification dialog remains in notification bar ? The sync progress dialog or dialog for confirmation updates & deletions ? |
|
Please note that I implemented some notifications improvements in build 145 so please use this build for testing. |
|
Verified 145. |
|
This is occurring again in build 148. Performed a sync operation, during which the display turned off. Some time later (after the lock screen was active), pressed the power button to turn on the device, bypassed the lockscreenPlayer, and used a couple of other apps. Then Ran MMA --> Synchronization screen appears with noting in it, and a [Cancel] button at the bottom. Click the cancel button --> Terminating... appears endlessly |
|
Fixed in build 149 Sometimes fragment wasn't successfully restored when sync was done or was waiting for dialog |
|
Verified 149. |