Closed
Bug 986941
Opened 10 years ago
Closed 10 years ago
[Camera] Hamachi camera crashes on launch with 'failed -12 (Out of memory)'
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: wilsonpage, Unassigned)
References
Details
I found that my Hamachi crashes just after the viewfinder size is updated. Hoping someone can help us pin down the possible things that could cause this to happen. LOGCAT: E/GeckoConsole( 748): Content JS LOG at app://camera.gaiamobile.org/js/main.js:110 in debug/<: [camera] loading stream into element +622ms E/GeckoConsole( 748): Content JS LOG at app://camera.gaiamobile.org/js/main.js:110 in debug/<: [camera] stream loaded into video +10ms E/GeckoConsole( 748): Content JS LOG at app://camera.gaiamobile.org/js/main.js:110 in debug/<: [camera] resolution w: 2048, h: 1536 +3ms E/GeckoConsole( 748): Content JS LOG at app://camera.gaiamobile.org/js/main.js:110 in debug/<: [camera] previewSize w: 384, h: 288 +1ms E/GeckoConsole( 748): Content JS LOG at app://camera.gaiamobile.org/js/main.js:110 in debug/<: [view:viewfinder] update preview scaleType: fill +0ms [object Object] E/GeckoConsole( 748): Content JS LOG at app://camera.gaiamobile.org/js/main.js:110 in debug/<: [view:viewfinder] updated preview size/position +15ms [object Object] E/memalloc( 144): /dev/pmem: No more pmem available E/msm7627a.gralloc( 144): gralloc failed err=Out of memory W/GraphicBufferAllocator( 144): alloc(320, 480, 1, 00000133, ...) failed -12 (Out of memory) E/memalloc( 144): /dev/pmem: No more pmem available E/msm7627a.gralloc( 144): gralloc failed err=Out of memory W/GraphicBufferAllocator( 144): alloc(320, 480, 1, 00000133, ...) failed -12 (Out of memory) E/mm-camera( 168): config_MSG_ID_START_ACK: ctrl->state=4 E/mm-camera( 168): config_MSG_ID_START_ACK: new ctrl->state is 5 E/QCameraHWI_Preview( 148): virtual android::status_t android::QCameraStream_preview::start(): X I/QCameraHWI( 148): startPreview: X E/QualcommCamera( 148): Qint android::start_preview(camera_device*): X
Comment 1•10 years ago
|
||
E/memalloc( 144): /dev/pmem: No more pmem available E/msm7627a.gralloc( 144): gralloc failed err=Out of memory W/GraphicBufferAllocator( 144): alloc(320, 480, 1, 00000133, ...) failed -12 (Out of memory) You're out of pmem, so not enough graphics buffer can be allocated. What size of preview are you selecting?
Reporter | ||
Comment 2•10 years ago
|
||
previewSize width: 384, height: 288 Since flashing latest Gecko I'm not getting crashes. But don't know if this is a sign that we close to a limit...?
Updated•10 years ago
|
Summary: [Camera] Hamachi crashes on launch with 'failed -12 (Out of memory)' → [Camera] Hamachi camera crashes on launch with 'failed -12 (Out of memory)'
Comment 3•10 years ago
|
||
(In reply to Wilson Page [:wilsonpage] from comment #2) > > previewSize width: 384, height: 288 That shouldn't be happening for such a low res setting. Can you try different nightly builds of Gecko to identify the regression window?
Updated•10 years ago
|
Severity: normal → blocker
Comment 4•10 years ago
|
||
I cannot reproduce this on the latest build. Wilson, can you verify?
Flags: needinfo?(wilsonpage)
Comment 5•10 years ago
|
||
mikeh or marcia, could you please verify (since it is too late for wilson now) -- this is one of the blockers for moving to master.
Flags: needinfo?(mozillamarcia.knous)
Flags: needinfo?(mhabicher)
Comment 6•10 years ago
|
||
Unable to reproduce on hamachi running: - gecko: b2g-inbound:7d1c71bfc76a - gaia: camera-new-features:29e180f9dd35c32dab153441b85e834c149be997 master:3ca14b15e945c8e94a6b80c3aff7ea814438e6bf
Flags: needinfo?(mhabicher)
Comment 7•10 years ago
|
||
I cannot reproduce either on Buri using the Gecko Larch build: Gaia 29e180f9dd35c32dab153441b85e834c149be997 (camera new features) SourceStamp cd99991b8d46 BuildID 20140321084205 Version 31.0a1
Flags: needinfo?(mozillamarcia.knous)
Comment 8•10 years ago
|
||
Reopen if you see issues (closing based on recent testing)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 9•10 years ago
|
||
Cool let's keep this closed and keep an eye on it.
Flags: needinfo?(wilsonpage)
You need to log in
before you can comment on or make changes to this bug.
Description
•