Closed Bug 691377 Opened 13 years ago Closed 13 years ago

crash [@ mozilla::net::CameraStreamImpl::transmitFrame]

Categories

(Firefox for Android Graveyard :: General, defect)

Firefox 9
ARM
Android
defect
Not set
critical

Tracking

(firefox8 unaffected, firefox9 fixed, firefox10 fixed)

VERIFIED FIXED
Firefox 10
Tracking Status
firefox8 --- unaffected
firefox9 --- fixed
firefox10 --- fixed

People

(Reporter: steffen.wilberg, Assigned: fabrice)

References

()

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

https://crash-stats.mozilla.com/report/index/bp-81e1a4ca-d1a3-48bf-b516-4761a2111003

I tried the camera capture demo on http://people.mozilla.org/~fdesre/capture/ with my Samsung Galaxy S (running a leaked build of Android 2.3.4), running the latest Nightly.

Clicking the "capture" button on that site works, it displays a black "Media Upload" box with the live camera preview. But clicking "OK" there crashes Fennec every time.
From Socorro : 
https://crash-stats.mozilla.com/report/index/dd022b3d-10de-438b-9ec1-89c182111003

Crashing Thread:
Frame 	Module 	Signature [Expand] 	Source
0 	libxul.so 	mozilla::net::CameraStreamImpl::transmitFrame 	netwerk/protocol/device/CameraStreamImpl.cpp:75
1 	libxul.so 	Java_org_mozilla_gecko_GeckoAppShell_cameraCallbackBridge 	netwerk/protocol/device/CameraStreamImpl.cpp:56
2 	libmozutils.so 	Java_org_mozilla_gecko_GeckoAppShell_cameraCallbackBridge 	other-licenses/android/APKOpen.cpp:243
3 	libdvm.so 	dvmPlatformInvoke 	
4 	libdvm.so 	dvmCallJNIMethod_general 	
5 	dalvik-jit-code-cache (deleted) 	dalvik-jit-code-cache @0x23f 	
6 	libdvm.so 	dexDataMapAlloc 	
7 	libdvm.so 	dvmMterpStd 	
8 	libdvm.so 	dvmInterpret 	
9 	libdvm.so 	dvmInvokeMethod 	
10 	libdvm.so 	dvmFreeDexOrJar 	
11 	libdvm.so 	dvmAsmSisterStart 	
12 	libdvm.so 	dvmMterpStd 	
13 	libdvm.so 	dvmInterpret 	
14 	libdvm.so 	dvmCallMethodV 	
15 	libdvm.so 	JNI_CreateJavaVM 	
16 	libandroid_runtime.so 	libandroid_runtime.so@0x38b28 	
17 	libandroid_runtime.so 	libandroid_runtime.so@0x3a516 	
18 	dalvik-LinearAlloc (deleted) 	dalvik-LinearAlloc @0x72007 	
19 	dalvik-heap (deleted) 	dalvik-heap @0x404ff 	
20 	libcutils.so 	property_get 	
21 	libcutils.so 	set_process_name 	
22 	app_process 	app_process@0xccc 	
23 	app_process 	app_process@0x1027 	
24 	libandroid_runtime.so 	libandroid_runtime.so@0xb8767 	
25 	app_process 	app_process@0xb33 	
26 	app_process 	app_process@0xb33 	
27 	libc.so 	__libc_init 	
28 		@0xffffffe3 	
29 	app_process 	app_process@0x33 	
30 	app_process 	app_process@0xb1f
Summary: crash mozilla::net::CameraStreamImpl::transmitFrame → crash [@ mozilla::net::CameraStreamImpl::transmitFrame]
Assignee: nobody → fabrice
Attached patch fixSplinter Review
On some devices, the frame callback gets called one more time asynchronously just after we close the camera.
Attachment #564610 - Flags: review?(blassey.bugs)
Attachment #564610 - Flags: review?(blassey.bugs) → review+
Comment on attachment 564610 [details] [diff] [review]
fix

Asking approval for Aurora, since it fixes a crash with no risk.
Attachment #564610 - Flags: approval-mozilla-aurora?
tracking-fennec: --- → ?
Target Milestone: --- → Firefox 10
Version: Trunk → Firefox 9
https://hg.mozilla.org/mozilla-central/rev/cab7a4a4f669
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Attachment #564610 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Verified fixed on:
Mozilla/5.0 (Android;Linux armv7l;rv:10.0)Gecko/20111228
Firefox/10.0 Fennec/10.0
Devices: Samsung Galaxy S
OS: Android 2.2
Status: RESOLVED → VERIFIED
tracking-fennec: ? → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: