Closed
Bug 727950
Opened 12 years ago
Closed 12 years ago
Crash in GonkCaptureProvider with sgs2 UHKI2 firmware
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: cjones, Assigned: cjones)
References
Details
Attachments
(2 files, 1 obsolete file)
340.94 KB,
image/png
|
Details | |
6.21 KB,
patch
|
fabrice
:
review+
|
Details | Diff | Splinter Review |
STR (1) Open a page like <video id="preview" autoplay></video> <script> var uri = navigator.mozCamera.getCameraURI({ camera: 0, width: 640, height: 480}); document.getElementById("preview").src = uri; </script> Things go boom. I'll see if a different firmware makes this go away, and if so I'll RESOLVED->OHWELL this bug.
Comment 1•12 years ago
|
||
Works well on my S2 with a XXKI4 firmware...
Comment 2•12 years ago
|
||
on my XXKI3 it just crashed.. do I need to apply any patch first?
Assignee | ||
Comment 3•12 years ago
|
||
I tried with something close to fabrice's XXKI4 firmware, and also ZSKI3. Both crash in the same way.
Assignee | ||
Comment 4•12 years ago
|
||
Makes crashy go away on akami, but we're not getting a valid camera. Checking sgs2.
Updated•12 years ago
|
Assignee: nobody → jones.chris.g
Assignee | ||
Comment 5•12 years ago
|
||
Fixes camera on sgs2, fixes crashes on akami.
Attachment #598426 -
Attachment is obsolete: true
Attachment #598467 -
Flags: review?(fabrice)
Comment 6•12 years ago
|
||
Comment on attachment 598467 [details] [diff] [review] Don't close the camera dso, some of them don't like that Review of attachment 598467 [details] [diff] [review]: ----------------------------------------------------------------- r=me, feel free to keep your log or not. ::: netwerk/protocol/device/GonkCaptureProvider.cpp @@ +44,5 @@ > #define CameraHardwareInterface CameraHardwareInterface_DEFAULT > #include "camera/CameraHardwareInterface.h" > #undef CameraHardwareInterface > > +#define LOG(args...) __android_log_print(ANDROID_LOG_INFO, "Gonk" , ## args) Why do you redefine LOG here? It's very similar to printf_stderr (http://mxr.mozilla.org/mozilla-central/source/xpcom/glue/nsCRTGlue.cpp#290) with Gonk instead of Gecko
Attachment #598467 -
Flags: review?(fabrice) → review+
Assignee | ||
Comment 7•12 years ago
|
||
Pushed with printf_stderr change https://hg.mozilla.org/mozilla-central/rev/550779e6bab4
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•