Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(781)

Issue 269443003: Safety check has been added before calling native JNI functions to prevent random crashes. (Closed)

Created:
6 years, 7 months ago by AKVT
Modified:
6 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, avi.nitk, Cyan, ankit
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Safety check has been added before calling native JNI functions to prevent random crashes. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268016

Patch Set 1 #

Total comments: 2

Patch Set 2 : Updated code based on review comments. #

Total comments: 3

Patch Set 3 : Updated code based on review comments. #

Total comments: 4

Patch Set 4 : Updated code based on review comments. #

Total comments: 2

Patch Set 5 : Updated code based on review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M AUTHORS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 3 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
AKVT
PTAL
6 years, 7 months ago (2014-04-30 16:36:12 UTC) #1
hush (inactive)
Hi! What are these random crashes? Are there any reproduce steps? It is possible that ...
6 years, 7 months ago (2014-04-30 17:05:26 UTC) #2
aurimas (slooooooooow)
+tedchoc
6 years, 7 months ago (2014-04-30 17:06:22 UTC) #3
AKVT
On 2014/04/30 17:05:26, hush wrote: > Hi! > What are these random crashes? Are there ...
6 years, 7 months ago (2014-04-30 17:06:57 UTC) #4
AKVT
The CQ bit was checked by ajith.v@samsung.com
6 years, 7 months ago (2014-04-30 17:17:36 UTC) #5
AKVT
The CQ bit was unchecked by ajith.v@samsung.com
6 years, 7 months ago (2014-04-30 17:17:38 UTC) #6
AKVT
The CQ bit was checked by ajith.v@samsung.com
6 years, 7 months ago (2014-04-30 17:17:49 UTC) #7
AKVT
The CQ bit was unchecked by ajith.v@samsung.com
6 years, 7 months ago (2014-04-30 17:17:50 UTC) #8
jdduke (slow)
https://codereview.chromium.org/269443003/diff/1/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java File content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java (right): https://codereview.chromium.org/269443003/diff/1/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode1642 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:1642: if (mNativeContentViewCore != 0) { We should probably just ...
6 years, 7 months ago (2014-05-01 16:33:38 UTC) #9
AKVT
@jdduke PTAL new patch set. https://codereview.chromium.org/269443003/diff/1/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java File content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java (right): https://codereview.chromium.org/269443003/diff/1/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode1642 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:1642: if (mNativeContentViewCore != 0) ...
6 years, 7 months ago (2014-05-02 08:40:58 UTC) #10
jdduke (slow)
https://codereview.chromium.org/269443003/diff/20001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java File content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java (right): https://codereview.chromium.org/269443003/diff/20001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode1649 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:1649: event.getEventTime(), I don't believe this is the standard argument ...
6 years, 7 months ago (2014-05-02 15:39:32 UTC) #11
AKVT
@jdduke PTAL a new patch set. https://codereview.chromium.org/269443003/diff/20001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java File content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java (right): https://codereview.chromium.org/269443003/diff/20001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode1649 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:1649: event.getEventTime(), On 2014/05/02 ...
6 years, 7 months ago (2014-05-02 16:28:12 UTC) #12
aurimas (slooooooooow)
https://codereview.chromium.org/269443003/diff/40001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java File content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java (right): https://codereview.chromium.org/269443003/diff/40001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode1462 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:1462: ImeAdapter.getTextInputTypeNone()); This line should be indented by 8 spaces ...
6 years, 7 months ago (2014-05-02 16:40:16 UTC) #13
AKVT
@jdduke and aurimas, PTAL new patch set. https://codereview.chromium.org/269443003/diff/40001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java File content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java (right): https://codereview.chromium.org/269443003/diff/40001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode1462 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:1462: ImeAdapter.getTextInputTypeNone()); On ...
6 years, 7 months ago (2014-05-02 16:50:33 UTC) #14
jdduke (slow)
https://codereview.chromium.org/269443003/diff/60001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java File content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java (right): https://codereview.chromium.org/269443003/diff/60001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode1341 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:1341: if (mNativeContentViewCore == 0) return 0; This is new. ...
6 years, 7 months ago (2014-05-02 17:00:47 UTC) #15
AKVT
@jdduke and aurimas PTAL this new patch set. https://codereview.chromium.org/269443003/diff/60001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java File content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java (right): https://codereview.chromium.org/269443003/diff/60001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode1341 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:1341: if ...
6 years, 7 months ago (2014-05-02 17:11:59 UTC) #16
jdduke (slow)
Thanks, lgtm (but please for sign-off from aurimas@).
6 years, 7 months ago (2014-05-02 17:45:26 UTC) #17
aurimas (slooooooooow)
lgtm
6 years, 7 months ago (2014-05-02 17:46:43 UTC) #18
AKVT
The CQ bit was checked by ajith.v@samsung.com
6 years, 7 months ago (2014-05-02 17:48:36 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajith.v@samsung.com/269443003/80001
6 years, 7 months ago (2014-05-02 17:48:44 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-02 18:05:03 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel on tryserver.chromium
6 years, 7 months ago (2014-05-02 18:05:04 UTC) #22
aurimas (slooooooooow)
The CQ bit was checked by aurimas@chromium.org
6 years, 7 months ago (2014-05-02 18:06:00 UTC) #23
AKVT
The CQ bit was checked by ajith.v@samsung.com
6 years, 7 months ago (2014-05-02 18:06:04 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajith.v@samsung.com/269443003/80001
6 years, 7 months ago (2014-05-02 18:06:58 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-02 18:13:39 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium
6 years, 7 months ago (2014-05-02 18:13:40 UTC) #27
AKVT
The CQ bit was checked by ajith.v@samsung.com
6 years, 7 months ago (2014-05-02 18:14:57 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajith.v@samsung.com/269443003/80001
6 years, 7 months ago (2014-05-02 18:15:58 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-02 18:17:28 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium
6 years, 7 months ago (2014-05-02 18:17:28 UTC) #31
AKVT
The CQ bit was checked by ajith.v@samsung.com
6 years, 7 months ago (2014-05-03 00:32:23 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajith.v@samsung.com/269443003/80001
6 years, 7 months ago (2014-05-03 00:32:41 UTC) #33
commit-bot: I haz the power
6 years, 7 months ago (2014-05-03 02:41:38 UTC) #34
Message was sent while issue was closed.
Change committed as 268016

Powered by Google App Engine
This is Rietveld 408576698