[suspend] manta doesn't resume back if suspended with the camera app opened

Bug #1130992 reported by Ricardo Salveti
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
camera-app
Won't Fix
High
Ricardo Mendoza

Bug Description

Tested with build #94 (nexus 10).

Steps:
 * Open camera app
 * Hit power to suspend
 * Hit power to resume

Expected result:
 * The device will resume and working as before

Actual result:
 * Device hangs hard, need to reboot by pressing the power key >= 7 seconds (hard reboot)

Tags: iso-testing
Michał Sawicz (saviq)
Changed in manhattan:
status: New → Confirmed
Changed in manhattan:
importance: Undecided → High
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Confirmed on:
HARDWARE=manta
JENKINS_BUILD=125

information type: Proprietary → Public
no longer affects: manhattan
Changed in camera-app:
status: New → Confirmed
Changed in touch-preview-images:
status: New → Confirmed
Changed in camera-app:
importance: Undecided → High
Changed in touch-preview-images:
importance: Undecided → High
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1130992

tags: added: iso-testing
Changed in touch-preview-images:
milestone: none → ubuntu-13.05
Changed in camera-app:
milestone: none → ubuntu-13.05
no longer affects: touch-preview-images
Changed in camera-app:
assignee: nobody → Ugo Riboni (uriboni)
assignee: Ugo Riboni (uriboni) → Michael Frey (mfrey)
Changed in camera-app:
milestone: ubuntu-13.05 → ubuntu-13.06
Revision history for this message
Günter Schwann (schwann) wrote :

I am not able to reproduce that. Maybe fixed since the flipped image?

Revision history for this message
Günter Schwann (schwann) wrote :

I can now see that behavior on galaxy nexus.

Changed in camera-app:
assignee: Michael Frey (mfrey) → Günter Schwann (schwann)
status: Confirmed → In Progress
Revision history for this message
Günter Schwann (schwann) wrote :

Well - the device does not hang. But camera does not show the preview/viewfinder.

Revision history for this message
Bill Filler (bfiller) wrote :

Steps to reproduce on maguro:
- launch camera
- verify preview is shown
- go back to shell
- switch back to Camera

Expected results:
- camera preview still shown

Actual results:
- camera preview not shown

Revision history for this message
Günter Schwann (schwann) wrote :

Works on the N10 btw.

Revision history for this message
Günter Schwann (schwann) wrote :

Using image 20130726.1 on maguro, with the latest qtvideo-node and qtubuntu-camera works ok

Revision history for this message
Günter Schwann (schwann) wrote :

In image 20130726.1 the Qt.application.active property does not change, when the app is closed. In newer images it does. So as the property does not change, the camera-app does not disconnect on close, and then try to connect again when reopened.

Revision history for this message
Günter Schwann (schwann) wrote :

the problem is, that in android
frameworks/av/services/camera/libcameraservice/CameraClient.cpp the function
static int getCallingPid() {
    return IPCThreadState::self()->getCallingPid();
}
always returns 0. I guess that's because of the flipped container image,
getting the process ID is broken.

Because of that mClientPid is always 0, and that causes
CameraClient::disconnect() to abort in line 232

The reason that the N10 works, is that the N10 uses CameraClient2

Changed in camera-app:
assignee: Günter Schwann (schwann) → Ricardo Mendoza (ricmm)
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

I am closing this:
works on mako
maguro is eol
manta camera is currently not working at all

Changed in camera-app:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.