Closed Bug 1072185 Opened 11 years ago Closed 11 years ago

Unable to take photos in camera

Categories

(Firefox OS Graveyard :: Gaia::Camera, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: sb00349044, Unassigned)

Details

Attachments

(1 file)

Attached file camera-02.txt
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36 Steps to reproduce: I opened camera and try to take photo. Actual results: After clicking capture button B2G restarted. I unable to take photo. Expected results: I should take photos.
Component: General → Gaia::Camera
OS: All → Gonk (Firefox OS)
Hardware: All → ARM
No idea what platform/build this is on, but this looks suspicious... 09-23 02:30:52.676 I/Gecko ( 1046): xxxxx unknow android format 19 09-23 02:30:52.676 F/MOZ_Assert( 1046): Assertion failure: false (Unknown Android pixel format.), at /home/techm/Marvell_KK_Git/gecko/gfx/layers/opengl/GrallocTextureHost.cpp:54 09-23 02:30:52.676 E/GeckoConsole( 1500): Content JS LOG at app://camera.gaiamobile.org/js/main.js:7185 in App.prototype.onCriticalPathDone: critical-path took 2385ms 09-23 02:30:52.686 D/CameraMrvl( 1072): setFocusZoneMode: Set focus zone mode to 1 09-23 02:30:52.686 D/CameraMrvl( 1072): setMeterMode: Set meter mode to 0 09-23 02:30:52.696 I/v_gralloc( 1046): Self allocation 09-23 02:30:52.696 I/v_gralloc( 1046): Self allocation ... 09-23 02:30:53.417 I/ServiceManager( 98): service 'media.resource_manager' died 09-23 02:30:53.437 I/ServiceManager( 98): service 'SurfaceFlinger' died 09-23 02:30:53.437 I/dumpstate( 1543): begin 09-23 02:30:53.447 I/ServiceManager( 98): service 'permission' died 09-23 02:30:53.457 I/ServiceManager( 98): service 'android.security.keystore' died 09-23 02:30:54.598 I/Gecko ( 1167): [Child 1167] WARNING: shutting down early because of crash!: file /home/techm/Marvell_KK_Git/gecko/dom/ipc/ContentChild.cpp, line 1399 09-23 02:30:54.598 I/Gecko ( 1167): [Child 1167] WARNING: content process _exit()ing: file /home/techm/Marvell_KK_Git/gecko/dom/ipc/ContentChild.cpp, line 1455 09-23 02:30:54.598 I/Gecko ( 1500): 09-23 02:30:54.598 I/Gecko ( 1500): ###!!! [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv 09-23 02:30:54.598 I/Gecko ( 1500): 09-23 02:30:54.598 I/Gecko ( 1500): [Child 1500] WARNING: failed to forward Layers transaction: file /home/techm/Marvell_KK_Git/gecko/gfx/layers/client/ClientLayerManager.cpp, line 507 09-23 02:30:54.608 I/Gecko ( 1500): 09-23 02:30:54.608 I/Gecko ( 1500): ###!!! [Child][MessageChannel] Error: Channel error: cannot send/recv 09-23 02:30:54.608 I/Gecko ( 1500):
(In reply to Mike Habicher [:mikeh] from comment #1) > No idea what platform/build this is on, but this looks suspicious... > > 09-23 02:30:52.676 I/Gecko ( 1046): xxxxx unknow android format 19 > 09-23 02:30:52.676 F/MOZ_Assert( 1046): Assertion failure: false (Unknown > Android pixel format.), at > /home/techm/Marvell_KK_Git/gecko/gfx/layers/opengl/GrallocTextureHost.cpp:54 > 09-23 02:30:52.676 E/GeckoConsole( 1500): Content JS LOG at > app://camera.gaiamobile.org/js/main.js:7185 in > App.prototype.onCriticalPathDone: critical-path took 2385ms > 09-23 02:30:52.686 D/CameraMrvl( 1072): setFocusZoneMode: Set focus zone > mode to 1 > 09-23 02:30:52.686 D/CameraMrvl( 1072): setMeterMode: Set meter mode to 0 > 09-23 02:30:52.696 I/v_gralloc( 1046): Self allocation > 09-23 02:30:52.696 I/v_gralloc( 1046): Self allocation > ... > 09-23 02:30:53.417 I/ServiceManager( 98): service 'media.resource_manager' > died > 09-23 02:30:53.437 I/ServiceManager( 98): service 'SurfaceFlinger' died > 09-23 02:30:53.437 I/dumpstate( 1543): begin > 09-23 02:30:53.447 I/ServiceManager( 98): service 'permission' died > 09-23 02:30:53.457 I/ServiceManager( 98): service > 'android.security.keystore' died > 09-23 02:30:54.598 I/Gecko ( 1167): [Child 1167] WARNING: shutting down > early because of crash!: file > /home/techm/Marvell_KK_Git/gecko/dom/ipc/ContentChild.cpp, line 1399 > 09-23 02:30:54.598 I/Gecko ( 1167): [Child 1167] WARNING: content process > _exit()ing: file /home/techm/Marvell_KK_Git/gecko/dom/ipc/ContentChild.cpp, > line 1455 > 09-23 02:30:54.598 I/Gecko ( 1500): > 09-23 02:30:54.598 I/Gecko ( 1500): ###!!! > [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv > 09-23 02:30:54.598 I/Gecko ( 1500): > 09-23 02:30:54.598 I/Gecko ( 1500): [Child 1500] WARNING: failed to > forward Layers transaction: file > /home/techm/Marvell_KK_Git/gecko/gfx/layers/client/ClientLayerManager.cpp, > line 507 > 09-23 02:30:54.608 I/Gecko ( 1500): > 09-23 02:30:54.608 I/Gecko ( 1500): ###!!! [Child][MessageChannel] Error: > Channel error: cannot send/recv > 09-23 02:30:54.608 I/Gecko ( 1500): We used Android KK build. We ported firefox os over android build. 1: Gecko: gecko-dev-b2g32_v2_0 2: Gonk : gonk-misc-2.0 3: Gaia: Gaia 2.0 4: B2g: B2G-master(build scripts)
Maybe try figuring out why the camera is emitting unsupported pixel formats: > 09-23 02:30:52.676 I/Gecko ( 1046): xxxxx unknow android format 19 > 09-23 02:30:52.676 F/MOZ_Assert( 1046): Assertion failure: false (Unknown > Android pixel format.), at > /home/techm/Marvell_KK_Git/gecko/gfx/layers/opengl/GrallocTextureHost.cpp:54
>09-23 02:30:52.676 I/Gecko ( 1046): xxxxx unknow android format 19 color format = 19 is not defined in android. It seems proprietary color format. All color formats that are not defined in the following are proprietary color formats in android. http://androidxref.com/4.4.4_r1/xref/system/core/include/system/graphics.h
(In reply to Sotaro Ikeda [:sotaro] from comment #4) > >09-23 02:30:52.676 I/Gecko ( 1046): xxxxx unknow android format 19 > > color format = 19 is not defined in android. It seems proprietary color > format. All color formats that are not defined in the following are > proprietary color formats in android. If it is a valid color format, it need to be added to SurfaceFormatForAndroidPixelFormat().
(In reply to Sotaro Ikeda [:sotaro] from comment #5) > (In reply to Sotaro Ikeda [:sotaro] from comment #4) > > >09-23 02:30:52.676 I/Gecko ( 1046): xxxxx unknow android format 19 > > > > color format = 19 is not defined in android. It seems proprietary color > > format. All color formats that are not defined in the following are > > proprietary color formats in android. > > If it is a valid color format, it need to be added to > SurfaceFormatForAndroidPixelFormat(). Thank u sotaro, I fixed it. Now camera is work fine.
I Fixed this issue. You can close it.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: