Closed Bug 803722 Opened 12 years ago Closed 12 years ago

[Camera] Crash when choosing a wallpaper using the Camera option

Categories

(Firefox OS Graveyard :: General, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-basecamp:+, firefox18 fixed, firefox19 fixed)

VERIFIED FIXED
blocking-basecamp +
Tracking Status
firefox18 --- fixed
firefox19 --- fixed

People

(Reporter: tchung, Unassigned)

References

Details

(Whiteboard: [dupeme])

Camera crashes when launching it from wallpaper > Camera web activity.   

Logcat: 
10-19 21:10:16.934: I/IdleService(3539): next timeout 1350681017941762 usec (1000 msec from now)
10-19 21:10:16.934: I/IdleService(3539): SetTimerExpiryIfBefore: next timeout 1350681017941762 usec
10-19 21:10:16.934: I/IdleService(3539): reset timer expiry from 5645648308926249 usec to 1350681017951762 usec
10-19 21:10:16.934: I/IdleService(3539): Reset idle timeout: tell observer 47dad270 user is back
10-19 21:10:16.934: I/IdleService(3539): Reset idle timeout: tell observer 47dad270 user is back
10-19 21:10:16.934: I/IdleService(3539): Reset idle timeout: tell observer 47dad270 user is back
10-19 21:10:16.934: I/IdleService(3539): Reset idle timeout: tell observer 47dad270 user is back
10-19 21:10:16.934: I/IdleService(3539): Reset idle timeout: tell observer 47dad270 user is back
10-19 21:10:16.934: I/IdleService(3539): Reset idle timeout: tell observer 47dad270 user is back
10-19 21:10:17.064: I/GeckoDump(3539): XXX FIXME : Got a mozContentEvent: activity-choice
10-19 21:10:17.244: E/GeckoConsole(3539): Content JS INFO at app://system.gaiamobile.org/js/window_manager.js:836 in createFrame: %%%%% Launching Camera as remote (OOP)
10-19 21:10:17.244: E/GeckoConsole(3539): Content JS INFO at app://system.gaiamobile.org/js/window_manager.js:836 in createFrame: %%%%% Launching Camera as remote (OOP)
10-19 21:10:17.294: D/memalloc(3539): /dev/pmem: Allocated buffer base:0x4be00000 size:327680 offset:3457024 fd:221
10-19 21:10:17.344: E/GeckoConsole(3539): Content JS LOG at app://system.gaiamobile.org/js/window_manager.js:396 in anonymous: Window Manager: No screenshot in database. This is expected from a fresh installed app.
10-19 21:10:17.344: E/GeckoConsole(3539): Content JS LOG at app://system.gaiamobile.org/js/window_manager.js:396 in anonymous: Window Manager: No screenshot in database. This is expected from a fresh installed app.
10-19 21:10:17.354: D/memalloc(3539): /dev/pmem: Allocated buffer base:0x4be00000 size:327680 offset:4296704 fd:239
10-19 21:10:17.565: D/memalloc(3539): /dev/pmem: Freeing buffer base:0x4c33b000 size:614400 offset:5484544 fd:200
10-19 21:10:17.565: D/memalloc(3539): /dev/pmem: Freeing buffer base:0x4c3d1000 size:614400 offset:6098944 fd:224
10-19 21:10:17.565: D/memalloc(3539): /dev/pmem: Freeing buffer base:0x4c219000 size:327680 offset:4296704 fd:239
10-19 21:10:17.565: D/memalloc(3539): /dev/pmem: Freeing buffer base:0x4c14c000 size:327680 offset:3457024 fd:221
10-19 21:10:17.665: E/profiler(4025): Registering start signal
10-19 21:10:17.935: I/IdleService(3539): Get idle time: time since reset 876 msec
10-19 21:10:17.935: I/IdleService(3539): Idle timer callback: current idle time 876 msec
10-19 21:10:17.935: I/IdleService(3539): next timeout 1350681018066090 usec (123 msec from now)
10-19 21:10:17.935: I/IdleService(3539): SetTimerExpiryIfBefore: next timeout 1350681018066090 usec
10-19 21:10:17.935: I/IdleService(3539): reset timer expiry from 0 usec to 1350681018076090 usec
10-19 21:10:18.065: E/GeckoConsole(4025): [JavaScript Warning: "Unknown property '-moz-align-self'.  Declaration dropped." {file: "resource://gre-resources/ua.css" line: 44}]
10-19 21:10:18.065: I/IdleService(3539): Get idle time: time since reset 1010 msec
10-19 21:10:18.065: I/IdleService(3539): Idle timer callback: current idle time 1010 msec
10-19 21:10:18.065: I/IdleService(3539): next timeout 5645648312066090 usec (4294967293989 msec from now)
10-19 21:10:18.065: I/IdleService(3539): SetTimerExpiryIfBefore: next timeout 5645648312066090 usec
10-19 21:10:18.065: I/IdleService(3539): reset timer expiry from 0 usec to 5645648312076090 usec
10-19 21:10:18.065: I/IdleService(3539): Idle timer callback: tell observer 47dad270 user is idle
10-19 21:10:18.065: I/IdleService(3539): Idle timer callback: tell observer 47dad270 user is idle
10-19 21:10:18.065: I/IdleService(3539): Idle timer callback: tell observer 47dad270 user is idle
10-19 21:10:18.065: I/IdleService(3539): Idle timer callback: tell observer 47dad270 user is idle
10-19 21:10:18.065: I/IdleService(3539): Idle timer callback: tell observer 47dad270 user is idle
10-19 21:10:18.065: I/IdleService(3539): Idle timer callback: tell observer 47dad270 user is idle
10-19 21:10:18.195: I/Gecko(3539): [Parent 3539] WARNING: pipe error (219): Connection reset by peer: file /data/jenkins/jobs/build-unagi/workspace/gecko/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 421
10-19 21:10:18.275: I/Gecko(3539): [Parent 3539] WARNING: waitpid failed pid:4025 errno:10: file /data/jenkins/jobs/build-unagi/workspace/gecko/ipc/chromium/src/base/process_util_posix.cc, line 260
10-19 21:10:18.295: D/memalloc(3539): /dev/pmem: Allocated buffer base:0x4be00000 size:122880 offset:2637824 fd:200
10-19 21:10:18.315: D/memalloc(3539): /dev/pmem: Allocated buffer base:0x4be00000 size:122880 offset:2760704 fd:219
10-19 21:10:20.277: I/Gecko(3539): [Parent 3539] WARNING: waitpid failed pid:4025 errno:10: file /data/jenkins/jobs/build-unagi/workspace/gecko/ipc/chromium/src/base/process_util_posix.cc, line 260
10-19 21:10:20.277: I/Gecko(3539): [Parent 3539] WARNING: Failed to deliver SIGKILL to 4025!(3).: file /data/jenkins/jobs/build-unagi/workspace/gecko/ipc/chromium/src/chrome/common/process_watcher_posix_sigchld.cc, line 118
10-19 21:10:22.259: D/memalloc(3539): /dev/pmem: Freeing buffer base:0x4c084000 size:122880 offset:2637824 fd:200
10-19 21:10:22.259: D/memalloc(3539): /dev/pmem: Freeing buffer base:0x4c0a2000 size:122880 offset:2760704 fd:219

Environment: 
- daily otoro 10-19-2012
gecko: f08661db7f19cf84e7ede83c360430f0b20bbbd2
gaia: 83ade3896454efca57cfabbb168873ab7709ab51


Repro:
1) launch settings > Display
2) click the wallpaper image
3) pick "Camera" from the web activities
4) Verify crash.

Expected:
- no crash, camera app launches

Actual:
- camera activity crashes, never launches
Severity: normal → critical
Priority: -- → P1
bug 796280 was marked a dup of the inline activities...
bug 800145 talks about it going black...
Bug 803691 seems similar as well, since it invokes the same method of picking the photo.
This is working now when Bug 796293 has been fixed as well.

Close this issue. Please feel free to reopen it if it's not fixed as expected.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
We wouldn't want this to regress so marking as a blocker.
blocking-basecamp: ? → +
Verifed fix on 10-23 unagi nightly build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.