Closed
Bug 1129921
Opened 9 years ago
Closed 9 years ago
crash in java.lang.NullPointerException: Attempt to invoke virtual method ''boolean android.os.Handler.post(java.lang.Runnable)'' on a null object reference at org.webrtc.videoengine.VideoCaptureAndroid.stopCapture(VideoCaptureAndroid.java)
Categories
(Core :: WebRTC, defect)
Tracking
()
VERIFIED
FIXED
mozilla38
People
(Reporter: TeoVermesan, Assigned: gcp)
References
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
1.49 KB,
patch
|
jesup
:
review+
|
Details | Diff | Splinter Review |
This bug was filed from the Socorro interface and is report bp-150b7001-e411-46c4-83eb-b4a112150205. ============================================================= Tested with: Device: Nexus 7 (Android 5.0.1); Build: Firefox for Android 38.0a1 (2015-02-05); Steps to reproduce: 1. Go to Menu -> Settings -> Privacy and from "Clear on exit" choose for example "Saved passwords" 2. Go to http://mozilla.github.com/webrtc-landing/gum_test.html 3. Tap "Audio & Video" 4. Choose "Share" from the doorhanger 5. Go to Menu -> Quit => Nightly crashes Java Stack Trace: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.Handler.post(java.lang.Runnable)' on a null object reference at org.webrtc.videoengine.VideoCaptureAndroid.stopCapture(VideoCaptureAndroid.java:347)
Updated•9 years ago
|
Component: General → WebRTC
Product: Firefox for Android → Core
Version: Firefox 38 → 38 Branch
Updated•9 years ago
|
tracking-fennec: --- → ?
Assignee | ||
Comment 1•9 years ago
|
||
This is probably because upstream assumes stopCaptures will only be called once, while we can call it from Suspend and then the native code calls it again for the application exiting.
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8559852 -
Flags: review?(rjesup)
Updated•9 years ago
|
Attachment #8559852 -
Flags: review?(rjesup) → review+
Assignee | ||
Comment 3•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ec32edc7fe6e
Assignee: nobody → gpascutto
tracking-fennec: ? → 38+
https://hg.mozilla.org/mozilla-central/rev/ec32edc7fe6e
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Reporter | ||
Comment 5•9 years ago
|
||
After quitting, Nightly does not crash, so verified as fixed using Nexus 7 (Android 5.0.1) on Firefox for Android 38.0a1 (2015-02-08).
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•