You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirmed with Mozc 2.17.2287.102 running on Android 6.0.1 MNB29K / Nexus 5 2013.
Possible affected versions are from Mozc 2.17.2264.102 to Mozc 2.17.2287.102.
Probably there is no device/OS version dependency.
Steps to reproduce:
Build Mozc 2.17.2287.102 for Android.
Install Mozc into Android 6.0.1 MMB29K on Nexus 5 2013.
Enable Mozc.
Switch to Mozc.
Expected behavior
Mozc starts working.
Actual behavior
Mozc starts crashing.
Here is the relevant crash log.
01-01 07:01:38.536 3870 3870 I Mozc : We use local Mozc engine.
01-01 07:01:38.555 3870 3901 E Mozc : loadLibrary failed
01-01 07:01:38.555 3870 3901 E Mozc : java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN4mozc3jni19JavaHttpClientProxy9SetJavaVMEP7_JavaVM" referenced by "/data/app/org.mozc.android.inputmethod.japanese-1/lib/arm/libmozc.so"...
01-01 07:01:38.555 3870 3901 E Mozc : at java.lang.Runtime.loadLibrary(Runtime.java:372)
01-01 07:01:38.555 3870 3901 E Mozc : at java.lang.System.loadLibrary(System.java:1076)
01-01 07:01:38.555 3870 3901 E Mozc : at org.mozc.android.inputmethod.japanese.session.MozcJNI.load(MozcJNI.java:71)
01-01 07:01:38.555 3870 3901 E Mozc : at org.mozc.android.inputmethod.japanese.session.LocalSessionHandler.initialize(LocalSessionHandler.java:97)
01-01 07:01:38.555 3870 3901 E Mozc : at org.mozc.android.inputmethod.japanese.session.SessionExecutor$ExecutorMainCallback.handleMessage(SessionExecutor.java:321)
01-01 07:01:38.555 3870 3901 E Mozc : at android.os.Handler.dispatchMessage(Handler.java:98)
01-01 07:01:38.555 3870 3901 E Mozc : at android.os.Looper.loop(Looper.java:148)
01-01 07:01:38.555 3870 3901 E Mozc : at android.os.HandlerThread.run(HandlerThread.java:61)
--------- beginning of crash
01-01 07:01:38.555 3870 3901 E AndroidRuntime: FATAL EXCEPTION: Session worker thread
01-01 07:01:38.555 3870 3901 E AndroidRuntime: Process: org.mozc.android.inputmethod.japanese, PID: 3870
01-01 07:01:38.555 3870 3901 E AndroidRuntime: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN4mozc3jni19JavaHttpClientProxy9SetJavaVMEP7_JavaVM" referenced by "/data/app/org.mozc.android.inputmethod.japanese-1/lib/arm/libmozc.so"...
01-01 07:01:38.555 3870 3901 E AndroidRuntime: at org.mozc.android.inputmethod.japanese.session.MozcJNI.load(MozcJNI.java:75)
01-01 07:01:38.555 3870 3901 E AndroidRuntime: at org.mozc.android.inputmethod.japanese.session.LocalSessionHandler.initialize(LocalSessionHandler.java:97)
01-01 07:01:38.555 3870 3901 E AndroidRuntime: at org.mozc.android.inputmethod.japanese.session.SessionExecutor$ExecutorMainCallback.handleMessage(SessionExecutor.java:321)
01-01 07:01:38.555 3870 3901 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:98)
01-01 07:01:38.555 3870 3901 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
01-01 07:01:38.555 3870 3901 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:61)
01-01 07:01:38.555 3870 3901 E AndroidRuntime: Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN4mozc3jni19JavaHttpClientProxy9SetJavaVMEP7_JavaVM" referenced by "/data/app/org.mozc.android.inputmethod.japanese-1/lib/arm/libmozc.so"...
01-01 07:01:38.555 3870 3901 E AndroidRuntime: at java.lang.Runtime.loadLibrary(Runtime.java:372)
01-01 07:01:38.555 3870 3901 E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1076)
01-01 07:01:38.555 3870 3901 E AndroidRuntime: at org.mozc.android.inputmethod.japanese.session.MozcJNI.load(MozcJNI.java:71)
01-01 07:01:38.555 3870 3901 E AndroidRuntime: ... 5 more
Additional Information:
This is a regression accidentally introduced by 9cd4d36. The root cause is that base/base.gyp:jni_proxy GYP target is not linked to libmozc.so unless branding=="GoogleJapaneseInput"
The text was updated successfully, but these errors were encountered:
This is a follow up CL for 9cd4d36.
The root cause of the runtime crash is that base/base.gyp:jni_proxy is
not linked to libmozc.so only in OSS build because the link dependency
on 'jni_proxy' target is specified in 'net/net.gyp' only when
branding=="GoogleJapaneseInput". There are two different problems.
1. There are direct function invocations of base/android_jni_proxy.cc
from android/jni/mozcjni.cc. Hence it's 'android/android.gyp:mozc'
that should have declared the dependency on 'base/base.gyp:jni_proxy'.
Declaring the dependency in 'net/net.gyp' does not make much sense.
2. With CL 96942303, 'base/base.gyp:jni_proxy' needs to be linked to
libmozc.so even in OSS build.
This CL addresses both of avobe issues.
Closes#345.
BUG=#345
TEST=compile
REF_BUG=26369443
REF_CL=111290167
Environment
Confirmed with Mozc 2.17.2287.102 running on Android 6.0.1 MNB29K / Nexus 5 2013.
Possible affected versions are from Mozc 2.17.2264.102 to Mozc 2.17.2287.102.
Probably there is no device/OS version dependency.
Steps to reproduce:
Expected behavior
Mozc starts working.
Actual behavior
Mozc starts crashing.
Here is the relevant crash log.
Additional Information:
This is a regression accidentally introduced by 9cd4d36. The root cause is that
base/base.gyp:jni_proxy
GYP target is not linked tolibmozc.so
unlessbranding=="GoogleJapaneseInput"
The text was updated successfully, but these errors were encountered: