[camera][aurora][unagi][inari] Camera service crashes after taking a picture

RESOLVED WORKSFORME

Status

Firefox OS
Gaia::Camera
RESOLVED WORKSFORME
4 years ago
4 years ago

People

(Reporter: mikeh, Unassigned)

Tracking

unspecified
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

(b2g-v1.2 affected)

Details

Attachments

(3 attachments)

I've seen this on inari, and most recently on unagi.
- gecko: aurora:ec442fac77c5
- gaia: v1.2:c57951d06f6c9fa5a762d151e4c75214b988679f

From the attached logcat:

10-23 14:57:31.982   115   496 V QualcommCameraHardware: deinitRaw E
10-23 14:57:31.982   115   496 V QualcommCameraHardware: deinitRaw , clearing raw memory and jpeg memory
10-23 14:57:31.982   115   496 E QualcommCameraHardware: Unregister MAIN_IMG
10-23 14:57:31.982   115   496 V QualcommCameraHardware: use_all_chnls = 0
10-23 14:57:31.982   115   496 E QualcommCameraHardware: register_buf: CbOff = 0x300000 CrOff = 0x0
10-23 14:57:31.982   115   496 V QualcommCameraHardware: register_buf:  reg = 1 buffer = 0x4299e000
10-23 14:57:31.982   115   496 E QualcommCameraHardware: deinitRaw , clearing/cancelling thumbnail buffers:
10-23 14:57:31.982   115   496 F libc    : Fatal signal 11 (SIGSEGV) at 0x00000034 (code=1)
Created attachment 821199 [details]
unagi logcat showing SIGSEGV in /system/bin/mediaserver

10-23 14:57:32.563   109   259 D memalloc: /dev/pmem_adsp: Freeing buffer base:0x4b38c000 size:376832 fd:117
10-23 14:57:32.723   112   112 I DEBUG   :          #00  pc 00014966  /system/lib/hw/camera.msm7627a.so (_ZN7android22QualcommCameraHardware9deinitRawEv)
10-23 14:57:32.723   112   112 I DEBUG   :          #01  pc 00014e06  /system/lib/hw/camera.msm7627a.so (_ZN7android22QualcommCameraHardware17runSnapshotThreadEPv)
10-23 14:57:32.723   112   112 I DEBUG   :          #02  pc 00016ab4  /system/lib/hw/camera.msm7627a.so (_ZN7android15snapshot_threadEPv)
10-23 14:57:32.733   112   112 I DEBUG   :          #03  pc 00012e14  /system/lib/libc.so (__thread_entry)
10-23 14:57:32.733   112   112 I DEBUG   :          #04  pc 00012968  /system/lib/libc.so (pthread_create)
Attachment #821199 - Attachment description: logcat showing SIGSEGV in /system/bin/mediaserver → unagi logcat showing SIGSEGV in /system/bin/mediaserver
Created attachment 821235 [details]
inari logcat showing SIGSEGV in /system/bin/mediaserver
Created attachment 821237 [details]
inari kmsg (nothing obvious in here)
inari shows the SIGSEGV at the same point as on unagi in comment 0:

10-23 15:45:11.400   118   550 V QualcommCameraHardware: runSnapshotThread: jpeg callback received.
10-23 15:45:11.400   118   550 V QualcommCameraHardware: deinitRaw E
10-23 15:45:11.400   118   550 V QualcommCameraHardware: deinitRaw , clearing raw memory and jpeg memory
10-23 15:45:11.400   118   550 E QualcommCameraHardware: Unregister MAIN_IMG
10-23 15:45:11.400   118   550 V QualcommCameraHardware: use_all_chnls = 0
10-23 15:45:11.400   118   550 E QualcommCameraHardware: register_buf: CbOff = 0x1d4c00 CrOff = 0x0
10-23 15:45:11.400   118   550 V QualcommCameraHardware: register_buf:  reg = 1 buffer = 0x4226b000
10-23 15:45:11.400   118   550 E QualcommCameraHardware: deinitRaw , clearing/cancelling thumbnail buffers:
10-23 15:45:11.400   118   550 F libc    : Fatal signal 11 (SIGSEGV) at 0x0000000e (code=1)
sotaro, is this a known issue?
Flags: needinfo?(sotaro.ikeda.g)

Comment 6

4 years ago
How often is this happening?
On unagi and inari, regularly. I haven't been able to reproduce on hamachi yet, though.

Comment 8

4 years ago
jsmith says it is not happening on buri either.
blocking-b2g: koi? → koi+

Updated

4 years ago
blocking-b2g: koi+ → koi?

Comment 9

4 years ago
It is not happening on a production device, so moving this out of koi? If you see this in a shipping device, please renom
blocking-b2g: koi? → ---
blocking-b2g: --- → koi?
Summary: [camera][aurora] Camera service crashes after taking a picture → [camera][aurora][unagi][inari] Camera service crashes after taking a picture
Removing accidental renom.
blocking-b2g: koi? → ---
(In reply to Mike Habicher [:mikeh] from comment #5)
> sotaro, is this a known issue?

I do not know about it. It might be ics_chocolate dependent bug. other b2g product phones uses ics_strawberry.
Flags: needinfo?(sotaro.ikeda.g)
I haven't seen this issue in a long time.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.