View Issue Details

IDProjectCategoryView StatusLast Update
0013025MMAGeneralpublic2015-12-21 22:43
Reporterrusty Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.1.3 
Target Version1.1.3Fixed in Version1.1.3 
Summary0013025: MMA runs indefinitely if the app is minimized
DescriptionI noticed in build 522 that MMA doesn't terminate as soon as the notifications timer runs out. It only terminates if the screen is active--if the screen has gone to sleep then MMA continues to run indefiitely beyond the timer's expiry.

To replicate:
1 uninstall MMA
2 delete /MediaMonkey directories
3 reboot
4 install MMA 522 and run
5 back out of MMA
6 let device go into sleep mode
7 re-activate the device after 5 minutes
--> MMA is still running and will continue to run for some amount of time

I believe that this is a regression in 522, but haven't had a chance to confirm that.
TagsNo tags attached.
Fixed in build527

Activities

marek

2015-12-15 10:41

developer   ~0043667

I am not able to reproduce it. It is always destroyed after timeout that is set in options. Please provide logs, I will see when services are destroyed.

And please what service did you see running ?

rusty

2015-12-15 13:50

administrator   ~0043670

It's the 'StorageObserver service' that's running
Debug log: DFNZJ479CM

note: sometimes MMA will stop running shortly after the device comes out of sleep mode (though I would have expected it to terminate while the device is in sleep mode), though often it will continue running for a few minutes or on occasion, indefinitely, after coming out of sleep mode.

marek

2015-12-16 12:09

developer   ~0043682

Logs added to build 524

rusty

2015-12-17 22:39

administrator   ~0043710

Debug log generated with 525:
Log ID: 5YIZG0ATTY

marek

2015-12-18 14:24

developer   ~0043729

I don't know why but the log is not complete and it doesn't contain logs ... so it is useless. Could you please generate new one?

rusty

2015-12-18 15:50

administrator   ~0043731

New debug log JDLKW3Z4FM

marek

2015-12-20 19:23

developer   ~0043736

Could you please try build 526

The cause is in something else that I thought. I have changed it slightly and added new logs.

rusty

2015-12-21 01:13

administrator   ~0043737

New dubug log from build 526:
LK8SPDVTCC

marek

2015-12-21 11:19

developer   ~0043740

Fixed in build 527

rusty

2015-12-21 19:25

administrator   ~0043749

I think that this is fixed, but I want to confirm. In build 527, if the device is asleep, then MMA continues to appear as a running app and then as soon as the device becomes active, it's removed from the list of running apps.

I'm not sure if this is because of how the 'running apps' list works (i.e. it doesn't update while the device is sleeping), OR if it's because the fix is only partial (i.e. that now MMA doesn't continue running once the device becomes active).

Debug log: LE4WM0FCDF

Can you confirm?

marek

2015-12-21 22:43

developer   ~0043752

Last edited: 2015-12-21 22:44

Yes, I can see that it is destroyed correctly...The list is not refreshed immediately.