[Bug 1398436] Re: Preview frozen after unlocking

2015-01-06 Thread Pat McGowan
*** This bug is a duplicate of bug 1309915 *** https://bugs.launchpad.net/bugs/1309915 ** This bug has been marked a duplicate of bug 1309915 foreground app should keep wakelock open until actual suspend happens -- You received this bug notification because you are a member of Ubuntu Bugs

[Bug 1398436] Re: Preview frozen after unlocking

2015-01-06 Thread Pat McGowan
** Changed in: canonical-devices-system-image Milestone: ww51-2014 => ww03-2015 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1398436 Title: Preview frozen after unlocking To manage notificatio

[Bug 1398436] Re: Preview frozen after unlocking

2014-12-17 Thread Bill Filler
** No longer affects: camera-app ** No longer affects: camera-app (Ubuntu) ** No longer affects: camera-app (Ubuntu RTM) ** Changed in: canonical-devices-system-image Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1398436] Re: Preview frozen after unlocking

2014-12-17 Thread Florian Boucault
Same cause triggers media player bug https://bugs.launchpad.net/ubuntu/+source/mediaplayer-app/+bug/1398564 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1398436 Title: Preview frozen after unlockin

[Bug 1398436] Re: Preview frozen after unlocking

2014-12-16 Thread Florian Boucault
It looks like an older bug would represent a possible solution to the deep suspend: https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1309915 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1398436

[Bug 1398436] Re: Preview frozen after unlocking

2014-12-16 Thread Bill Filler
After discussion, seems the issue is that powerd suspends the device as soon as the power button is pressed and the screen lock is released. The suspend happens before the app manager can tell the apps they are inactive, so the camera-app is not able to properly release the camera. When resume happ

[Bug 1398436] Re: Preview frozen after unlocking

2014-12-15 Thread Florian Boucault
Interestingly, the following video player bug is reminiscent of this one: https://bugs.launchpad.net/ubuntu/+source/mediaplayer- app/+bug/1398564 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1398436

[Bug 1398436] Re: Preview frozen after unlocking

2014-12-15 Thread Florian Boucault
Additional information: - Tagger is also affected by that bug - Previous note about rendering not happening was incorrect, rendering is happening as expected while the app is 'frozen' - A sample minimal app for which the bug happens is available at: https://code.launchpad.net/~fboucault/+junk/cam

[Bug 1398436] Re: Preview frozen after unlocking

2014-12-15 Thread Florian Boucault
Steps to reproduce 0) make sure that USB is unplugged 1) launch camera 2) lock phone and wait 5 seconds 3) resume phone and wait 5 seconds 4) unlock phone Expected result: Depending on how fast the phone was unlocked the camera is either fully functional with the camera viewfinder showing the ca

[Bug 1398436] Re: Preview frozen after unlocking

2014-12-10 Thread Bill Filler
I got freeze same way Pat said. The key seems to be to let it suspend for > 1 minute then on the second resume it freezes -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1398436 Title: Preview frozen

[Bug 1398436] Re: Preview frozen after unlocking

2014-12-10 Thread Pat McGowan
fwiw I have a passcode enabled -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1398436 Title: Preview frozen after unlocking To manage notifications about this bug go to: https://bugs.launchpad.net/c

[Bug 1398436] Re: Preview frozen after unlocking

2014-12-10 Thread Pat McGowan
** Attachment added: "application-click-com.ubuntu.camera_camera_3.0.0.latest.log" https://bugs.launchpad.net/ubuntu/+source/camera-app/+bug/1398436/+attachment/4277819/+files/application-click-com.ubuntu.camera_camera_3.0.0.latest.log -- You received this bug notification because you are a

[Bug 1398436] Re: Preview frozen after unlocking

2014-12-10 Thread Pat McGowan
I reproduced fairly quickly as follows: Phone is unplugged from USB Lock the phone and resume several times, all fine. Press power and this time allow at least 1 min for it to suspend Resume phone, first time is ok Lock - pause - resume second time phone screen locks up Try again and screen locks

[Bug 1398436] Re: Preview frozen after unlocking

2014-12-10 Thread Pat McGowan
** Attachment added: "unity8.log" https://bugs.launchpad.net/ubuntu/+source/camera-app/+bug/1398436/+attachment/4277818/+files/unity8.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1398436 Titl

[Bug 1398436] Re: Preview frozen after unlocking

2014-12-04 Thread Bill Filler
Here is syslog from Pat's krillin when he got 2) error from above: http://paste.ubuntu.com/9373379/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1398436 Title: Preview frozen after unlocking To ma

[Bug 1398436] Re: Preview frozen after unlocking

2014-12-04 Thread Bill Filler
Maybe it's only occurs if you lock/unlock very fast, where the camera is still in process of shutting down when it's asked to re-initialize? Lets look into the code to see what would happen in that case to make sure it's not causing the freeze symptom. -- You received this bug notification becaus

[Bug 1398436] Re: Preview frozen after unlocking

2014-12-04 Thread Jim Hodapp
I would think that's highly unlikely though since a process has 5 seconds from the point that it receives a signal that it's being suspended until the point that it actually is suspended. 5 seconds is a long time in computing. -- You received this bug notification because you are a member of Ubun

[Bug 1398436] Re: Preview frozen after unlocking

2014-12-04 Thread Florian Boucault
The only way I can see 2) happening is if the system is overloaded (possibly due to a memory leak or due to a rogue process using CPU when it shouldn't) then the camera app will not have enough time to release the lock on the camera and clear the viewfinder's preview before the process is suspended

[Bug 1398436] Re: Preview frozen after unlocking

2014-12-04 Thread Bill Filler
I did some testing. I am seeing two different behaviors: 1) "Normal" behavior: when the phone is locked/unlocked, the viewfinder shows black for ~1 second and then switches back to live viewfinder mode. This is expected, as the camera-app has to release the camera backend when it becomes inactiv

[Bug 1398436] Re: Preview frozen after unlocking

2014-12-03 Thread Bill Filler
** Also affects: camera-app Importance: Undecided Status: New ** Changed in: camera-app Importance: Undecided => Critical ** Changed in: camera-app Assignee: (unassigned) => Florian Boucault (fboucault) ** Tags added: ww51 -- You received this bug notification because you are

[Bug 1398436] Re: Preview frozen after unlocking

2014-12-03 Thread Bill Filler
** Changed in: camera-app (Ubuntu) Assignee: (unassigned) => Florian Boucault (fboucault) ** Also affects: camera-app (Ubuntu RTM) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https: