touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #24215
[Bug 1374397] Re: Camera app takes 1 minute to load
While location service or posclientd using a 100% CPU might worsen the situation, I do not think that it is the gist of this bug.
In addition, the syslog pasted in #2 clearly shows that the trust and location frameworks respond promptly:
Sep 26 13:35:37 ubuntu-phablet core::trust::Daemon::Skeleton[2926]:
CachedAgent::authenticate_request_with_parameters: Application pid:
12860 Application uid: 32011 Application id: com.ubuntu.camera_camera
Cached request: Request(from: com.ubuntu.camera_camera, feature: 0,
when: 1411031800823960984, answer: granted)
With:
Sep 26 13:35:34 ubuntu-phablet kernel: [55380.601359] (1)[12860:camera-
app]type=1400 audit(1411731334.140:206): apparmor="DENIED"
operation="chmod" profile="com.ubuntu.camera_camera_3.0.0.387"
name="/run/user/32011/" pid=12860 comm="camera-app" requested_mask="w"
denied_mask="w" fsuid=32011 ouid=32011
roughly indicating the start of the app. With that, I remove location-
service from the list of affected projects.
As Kevin pointed out: The entire GL pipeline stalling for a few seconds
hints towards a deeper underlying issue. The numerous ioctls logged by
the camera driver/camera service might give us a good idea of what is
going wrong.
If someone manages to reproduce reliably, please add the output of sudo
/system/bin/logcat to this bug report. Filing against
** No longer affects: location-service (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to location-service in
Ubuntu.
https://bugs.launchpad.net/bugs/1374397
Title:
Camera app takes 1 minute to load
Status in Camera App:
In Progress
Bug description:
current build number: 2
device name: krillin
channel: ubuntu-touch/ubuntu-rtm/14.09
last update: 2014-09-24 20:28:13
version version: 2
version ubuntu: 20140924
version device: 20140919-1b3e670
version custom: 1411084873
After a moment with the phone, the camera-app takes up to one minute
to load. Immediately after a reboot it just takes a few seconds.
When it happens the spinner is spinning for a few seconds, then
everything hangs (UI stops responding, launcher, panel and switcher
doesn't work) and after one minute or so the camera eventually starts
and shell is back to normal operations.
When it starts happening once, only a reboot makes the camera behave
properly again.
To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1374397/+subscriptions