Closed Bug 950102 Opened 11 years ago Closed 7 years ago

[Camera][Driver][crash] Potential race condition in the Gonk camera API

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mikeh, Unassigned)

Details

It's possible to crash the mediaserver process if you call startPreview() too quickly after the CAMERA_MSG_COMPRESSED_IMAGE callback. The crash seems to involve dereferencing a stale SurfaceTexture handle.
Observed on Inari, but likely affects other devices.
Does not affect Hamachi.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.