Closed
Bug 1001675
Opened 11 years ago
Closed 11 years ago
[Tarako] selecting pictures from camera (for contacts) causes OOM
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1000448
People
(Reporter: jhammink, Unassigned, NeedInfo)
Details
(Keywords: smoketest)
Build Information
Gaia 293b056683b506ec1b4787d0fbf6033cc30fa953
Gecko https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/d91121fbca90
BuildID 20140425014003
Version 28.1
Description
Selecting pictures from camera (for contacts) causes OOM
Steps to Reproduce
Found when trying to verify the fix for for https://bugzilla.mozilla.org/show_bug.cgi?id=989290
1. Select pick image from Camera, and capture a Portrait image
2. A Portrait preview is shown
3. Press select.
Expected Results
Picture actually gets selected and placed in Contracts image placeholder.
Actual Results
Camera app (and contacts app, for that matter) goes all OOM on you and crashes.
I/Gecko ( 84):
I/Gonk ( 84): Setting nice for pid 565 to 18
I/Gonk ( 84): Changed nice for pid 565 from 18 to 18.
I/Gecko ( 84): [Parent 84] WARNING: waitpid failed pid:565 errno:10: file ../../../gecko/ipc/chromium/src/base/process_util_posix.cc, line 254
I/Gonk ( 84): Setting nice for pid 565 to 1
I/Gonk ( 84): Changed nice for pid 565 from 18 to 1.
I/Gecko ( 84):
I/Gecko ( 84): ###!!! [Parent][MessageChannel] Error: Channel error: cannot send/recv
I/Gecko ( 84):
D/Sensors ( 84): activate handle=0; drv=0
D/Sensors ( 84): Lis3dhSensor: Control set 0
D/Sensors ( 84): Lis3dhSensor: mEnabled = 0
I/Gecko ( 84):
I/Gecko ( 84): ###!!! [Parent][MessageChannel] Error: Channel error: cannot send/recv
I/Gecko ( 84):
I/Gecko ( 84): [Parent 84] WARNING: waitpid failed pid:463 errno:10: file ../../../gecko/ipc/chromium/src/base/process_util_posix.cc, line 254
I/Gecko ( 84): [Parent 84] WARNING: waitpid failed pid:463 errno:10: file ../../../gecko/ipc/chromium/src/base/process_util_posix.cc, line 254
I/Gecko ( 84): [Parent 84] WARNING: Failed to deliver SIGKILL to 463!(3).: file ../../../gecko/ipc/chromium/src/chrome/common/process_watcher_posix_sigchld.cc, line 118
Reproduction Frequency:
Reporter | ||
Comment 1•11 years ago
|
||
repro frequency: 3/3
Nomming, as this makes the feature unusable.
blocking-b2g: --- → 1.3T?
Comment 2•11 years ago
|
||
The reason this isn't working for you is that bug 989290 will not be fully enabled in nightly builds into bug 1000448 has been fixed.
In the meanwhile you can enable the fix like this:
$ GAIA_MEMORY_PROFILE=low make profile # update config.js files for camera and gallery
$ APP=camera make install-gaia # push the camera to the phone
$ APP=gallery make install-gaia # push the gallery to the phone
Updated•11 years ago
|
Status: NEW → RESOLVED
blocking-b2g: 1.3T? → ---
Closed: 11 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 4•11 years ago
|
||
note to self: follow up with these steps if I don't see a fix in next build
Flags: needinfo?(jhammink)
Reporter | ||
Comment 5•11 years ago
|
||
what I'm seeing is that on gecko/gaia builds only
GAIA_MEMORY_PROFILE=low is not set. When I flash only gecko/gaia I am getting, a camera preview freeze when trying to add a picture (from camera) to contacts.
Gaia 8895b180ed636069473703d0e7b73086989601ce
Gecko https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/7caf4b5abfce
BuildID 20140428014001
However, when I do a full flash, the problem goes away.
This suggest that full builds use the camera.json file from the spreadtrum tree, but gecko/gaia builds still need GAIA_MEMORY_PROFILE=low set. As djf suggested, let's reopen this.
You need to log in
before you can comment on or make changes to this bug.
Description
•