[camera-app] taking picture with the face cam quickly after switching the camera causes upside down image to be displayed with edge corruption

Bug #1125302 reported by Chris Gagnon
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
camera-app
Fix Released
Critical
Günter Schwann
camera-app (Ubuntu)
Fix Released
Undecided
Günter Schwann
qtubuntu-camera (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Version:
maguro on phablet build #81

Description:
Taking picture with the face cam quickly after switching the camera causes upside down image to be displayed with edge corruption

Steps:
1. open camera app
2. quickly take a picture after changing the camera to the face cam

expected results:
display of face cam is normal after taking picture

actual results:
display is upside down with edge corruption after taking picture

Tags: iso-testing

Related branches

Revision history for this message
Chris Gagnon (chris.gagnon) wrote :

this is a video so you can see the corruption around the edges

Changed in manhattan:
status: New → Confirmed
importance: Undecided → Critical
importance: Critical → High
milestone: none → update-1
Bill Filler (bfiller)
Changed in manhattan:
milestone: update-1 → none
importance: High → Medium
assignee: nobody → Günter Schwann (schwann)
information type: Proprietary → Public
affects: manhattan → camera-app
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

I repdoduced this bug on
HARDWARE=maguro
JENKINS_BUILD=125

adb logcat shows a continuous stream of
E/SurfaceTexture( 1968): [unnamed-1586-1] updateTexImage: error binding external texture image 0x1230108 (slot 5): 0x502
E/SurfaceTexture( 1968): [unnamed-1586-1] updateTexImage: error binding external texture image 0x1202a28 (slot 0): 0x502

My steps to reproduce just involve taking a photo with the back camera and then switching to the front camera

Changed in camera-app:
importance: Medium → 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/1125302

tags: added: iso-testing
Changed in camera-app:
milestone: none → ubuntu-13.05
Bill Filler (bfiller)
Changed in camera-app:
milestone: ubuntu-13.05 → ubuntu-13.06
Revision history for this message
Sergio Schvezov (sergiusens) wrote :
Download full text (17.9 KiB)

I have this issue without edge corrpution but a camera crash
I/Camera2 ( 2109): Camera 0: Closed
I/Camera2 ( 2109): Camera 1: Opened
D/ExynosCameraHAL2( 2109):
D/ExynosCameraHAL2( 2109):
D/ExynosCameraHAL2( 2109): >>> I'm Samsung's CameraHAL_2(ID:1) <<<
D/ExynosCameraHAL2( 2109):
D/ExynosCameraHAL2( 2109): g_cam2_device : 0x00000000
D/ExynosCameraHAL2( 2109): (ExynosCameraHWInterface2): ENTER
D/ExynosCameraHAL2( 2109): (ExynosCameraHWInterface2): EXIT
D/ExynosCameraHAL2( 2109): (allocateStream): stream width(1280) height(960) format(22)
D/ExynosCameraHAL2( 2109): (registerStreamBuffers): stream_id(0), num_buff(8), handle(40f955f0)
D/ExynosCameraHAL2( 2109): (allocateStream): stream width(1392) height(1392) format(ffffffff)
D/ExynosCameraHAL2( 2109): (registerStreamBuffers): stream_id(5), num_buff(10), handle(40f896c0)
D/ExynosCameraHAL2( 2109): (allocateReprocessStreamFromStream): output_stream_id(5)
D/ExynosCameraHAL2( 2109): ### Applying AF Mode change(Mode 10)
D/ExynosCameraHAL2( 2109): (allocateStream): stream width(1392) height(1040) format(21)
D/ExynosCameraHAL2( 2109): (registerStreamBuffers): stream_id(4), num_buff(5), handle(40f33e20)
W/AudioFlinger( 2109): Thread AudioOut_2 cannot connect to the power manager service
I/AudioMixer( 2109): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
D/ExynosCameraHAL2( 2109): DEBUG(m_mainThreadFunc)(0x10): No more service requests left in the queue
D/ExynosCameraHAL2( 2109): (m_jpegCreator): (1392 x 1040) jpegbuf size(10485760) encoded size(368961)
F/libc ( 2109): Fatal signal 11 (SIGSEGV) at 0x00000010 (code=1), thread 464 (Binder_3)
I/DEBUG ( 551): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 551): Build fingerprint: 'google/mantaray/manta:4.2.1/JOP40D/533553:user/release-keys'
I/DEBUG ( 551): Revision: '8'
I/DEBUG ( 551): pid: 444, tid: 464, name: Binder_3 >>> /system/bin/mediaserver <<<
I/DEBUG ( 551): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000010
I/DEBUG ( 551): r0 0000005c r1 ffffffe0 r2 40243405 r3 00000000
I/DEBUG ( 551): r4 40f31758 r5 4060d90f r6 0000005c r7 40612c14
I/DEBUG ( 551): r8 000001bc r9 40f32cd0 sl 00000000 fp 46c2f000
I/DEBUG ( 551): ip 40267e88 sp 46d2ecc8 lr 40600e45 pc 40600e48 cpsr 200e0030
I/DEBUG ( 551): d0 006100430049002e d1 006100720065006d
I/DEBUG ( 551): d2 0064007200610068 d3 0065007200610077
I/DEBUG ( 551): d4 00a0000000000001 d5 0000000000000001
I/DEBUG ( 551): d6 006c006c00410072 d7 0000000000000000
I/DEBUG ( 551): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 551): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 551): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 551): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 551): d16 0000000000000400 d17 0000000000000000
I/DEBUG ( 551): d18 40f86a0000000000 d19 4006f7a4488fc861
I/DEBUG ( 551): d20 400eda27cccccccd d21 3ff0000000000000
I/DEBUG ( 551): d22 3fd24a9bfed64412 d23 3fcc743d33033be2
I/DEBUG ( 551): d24 3fc748c763c17664 d25 3fc39a09d...

Changed in camera-app:
importance: High → Critical
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

The previous crash is on manta

Revision history for this message
Daniel (ichbrauchspeicher) wrote :

I got a very similar issue with the mediaplayer app on my maguro. If you open e.g. the "Tears of Steel" movie and if you jump very fast between different scences then the movie freezes and you also get a picture which is mirrored and which has corruped edges. So maybe this problem is not really related to the camera app.

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

I guess the camera is set to be ready too early. It's done before the first actual preview frame is available.

Changed in camera-app (Ubuntu):
status: New → Confirmed
assignee: nobody → Günter Schwann (schwann)
Revision history for this message
Günter Schwann (schwann) wrote :

The manta crash is another issue (releaseRecordinFrame() is called, but should not - fix in libhybris is on it's way)

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

@Daniel, that is another known issue. There is a bug report for that (sorry can't find it).

Changed in camera-app:
status: Confirmed → Fix Committed
Changed in camera-app (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtubuntu-camera - 0.3.3+13.10.20130719-0ubuntu1

---------------
qtubuntu-camera (0.3.3+13.10.20130719-0ubuntu1) saucy; urgency=low

  [ Guenter Schwann ]
  * The camera needs some frames to be ready for capture LP: #1125302.
    (LP: #1125302)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 64
 -- Ubuntu daily release <email address hidden> Fri, 19 Jul 2013 06:09:37 +0000

Changed in qtubuntu-camera (Ubuntu):
status: New → Fix Released
Changed in camera-app:
status: Fix Committed → Fix Released
Changed in camera-app (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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