[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-openjfx-dev
Subject: [openjfx11][RFR] 8196968: One time crash on exit in JNIEnv_::CallObjectMethod
From: Arunprasad Rajkumar <arunprasad.rajkumar () oracle ! com>
Date: 2018-07-24 11:32:59
Message-ID: 0332E1DC-94B5-44E2-B015-C843D3E5ACAD () oracle ! com
[Download RAW message or body]
Hi,
Please review the following fix,
JBS: https://bugs.openjdk.java.net/browse/JDK-8196968
webrev: http://cr.openjdk.java.net/~arajkumar/8196968/webrev
Root cause:
From the crash log, I could see that WebCore image decoder is trying to call the Java \
method(through JNI) after detaching from main thread. This leads to null JNIEnv \
pointer, which causes the crash.
Proposed Solution:
Add a null check before accessing the JNIEnv pointer.
(Note: I couldn't reproduce the crash in my dev machine)
Thanks,
Arun
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic