android x86 (x86_64) rc2 wechat login webview crash

580 views
Skip to first unread message

Xuefer H

unread,
Oct 27, 2018, 12:58:21 AM10/27/18
to Android-x86
apk: https://www.coolapk.com/apk/com.tencent.mm (the big green button)
wait until houdini is insatlled
open the app click login  (the big green button), click "Unable to login?" in the bottom area
crash log attached
could it be the problem of bundled webview?
log.log

Xuefer H

unread,
Oct 29, 2018, 5:23:32 AM10/29/18
to Android-x86
upgraded webview to google play latest version still crash

Xuefer H

unread,
Oct 29, 2018, 5:55:49 AM10/29/18
to Android-x86
10-27 00:50:09.839 13018 13018 I zygote  : Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.TracingControllerAdapter>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/TracingController;
10-27 00:50:09.839 13018 13018 I zygote  :   at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)
10-27 00:50:09.839 13018 13018 I zygote  :   at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453)
10-27 00:50:09.839 13018 13018 I zygote  :   at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:128)
10-27 00:50:09.839 13018 13018 I zygote  :   at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:402)
10-27 00:50:09.839 13018 13018 I zygote  :   at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194)
10-27 00:50:09.839 13018 13018 I zygote  :   at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2530)
10-27 00:50:09.839 13018 13018 I zygote  :   at void android.webkit.WebView.ensureProviderCreated() (WebView.java:2525)
10-27 00:50:09.839 13018 13018 I zygote  :   at void android.webkit.WebView.setOverScrollMode(int) (WebView.java:2590)
10-27 00:50:09.839 13018 13018 I zygote  :   at void com.tencent.smtt.sdk.WebView$b.setOverScrollMode(int) ((null):-1)
10-27 00:50:09.839 13018 13018 I zygote  :   at void android.view.View.<init>(android.content.Context) (View.java:4574)
10-27 00:50:09.839 13018 13018 I zygote  :   at void android.view.View.<init>(android.content.Context, android.util.AttributeSet, int, int) (View.java:4706)
10-27 00:50:09.839 13018 13018 I zygote  :   at void android.view.ViewGroup.<init>(android.content.Context, android.util.AttributeSet, int, int) (ViewGroup.java:597)
10-27 00:50:09.839 13018 13018 I zygote  :   at void android.widget.AbsoluteLayout.<init>(android.content.Context, android.util.AttributeSet, int, int) (AbsoluteLayout.java:55)
10-27 00:50:09.839 13018 13018 I zygote  :   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:643)
10-27 00:50:09.839 13018 13018 I zygote  :   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:588)
10-27 00:50:09.839 13018 13018 I zygote  :   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:571)
10-27 00:50:09.839 13018 13018 I zygote  :   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:558)
10-27 00:50:09.839 13018 13018 I zygote  :   at void com.tencent.smtt.sdk.WebView$b.<init>(com.tencent.smtt.sdk.WebView, android.content.Context, android.util.AttributeSet) ((null):-1)
10-27 00:50:09.839 13018 13018 I zygote  :   at void com.tencent.smtt.sdk.WebView$b.<init>(com.tencent.smtt.sdk.WebView, android.content.Context) ((null):-1)
10-27 00:50:09.839 13018 13018 I zygote  :   at void com.tencent.smtt.sdk.WebView.<init>(android.content.Context, android.util.AttributeSet, int, java.util.Map, boolean) ((null):-1)
10-27 00:50:09.839 13018 13018 I zygote  :   at void com.tencent.smtt.sdk.WebView.<init>(android.content.Context, android.util.AttributeSet, int, boolean) ((null):-1)
10-27 00:50:09.839 13018 13018 I zygote  :   at void com.tencent.smtt.sdk.WebView.<init>(android.content.Context, android.util.AttributeSet, int) ((null):-1)
10-27 00:50:09.839 13018 13018 I zygote  :   at void com.tencent.smtt.sdk.WebView.<init>(android.content.Context, android.util.AttributeSet) ((null):-1)
10-27 00:50:09.839 13018 13018 I zygote  :   at void com.tencent.smtt.sdk.WebView.<init>(android.content.Context) ((null):-1)
10-27 00:50:09.839 13018 13018 I zygote  :   at void com.tencent.xweb.x5.j$a.<init>(com.tencent.xweb.x5.j, android.content.Context) (SourceFile:67)
10-27 00:50:09.839 13018 13018 I zygote  :   at void com.tencent.xweb.x5.j.<init>(com.tencent.xweb.WebView) (SourceFile:103)
10-27 00:50:09.839 13018 13018 I zygote  :   at com.tencent.xweb.c.h com.tencent.xweb.x5.X5WebFactory.createWebView(com.tencent.xweb.WebView) (SourceFile:73)
10-27 00:50:09.839 13018 13018 I zygote  :   at com.tencent.xweb.c.h com.tencent.xweb.c.j.a(com.tencent.xweb.WebView$d, com.tencent.xweb.WebView) (SourceFile:115)
10-27 00:50:09.839 13018 13018 I zygote  :   at void com.tencent.xweb.WebView.a(com.tencent.xweb.WebView$d) (SourceFile:319)
10-27 00:50:09.839 13018 13018 I zygote  :   at void com.tencent.xweb.WebView.<init>(android.content.Context, android.util.AttributeSet, int, com.tencent.xweb.WebView$d) (SourceFile:262)
10-27 00:50:09.839 13018 13018 I zygote  :   at void com.tencent.mm.ui.widget.MMWebView.<init>(android.content.Context, android.util.AttributeSet, int, com.tencent.xweb.WebView$d) (SourceFile:148)
10-27 00:50:09.839 13018 13018 I zygote  :   at void com.tencent.mm.ui.widget.MMWebView.<init>(android.content.Context, android.util.AttributeSet) (SourceFile:141)
10-27 00:50:09.839 13018 13018 I zygote  :   at void com.tencent.mm.ui.widget.MMWebView.<init>(android.content.Context) (SourceFile:137)
10-27 00:50:09.839 13018 13018 I zygote  :   at com.tencent.mm.ui.widget.MMWebView com.tencent.mm.ui.widget.MMWebView$a.cO(android.content.Context) (SourceFile:66)
10-27 00:50:09.839 13018 13018 I zygote  :   at com.tencent.mm.ui.widget.MMWebView com.tencent.mm.plugin.webview.ui.tools.WebViewUI.bZI() (SourceFile:3390)
10-27 00:50:09.839 13018 13018 I zygote  :   at void com.tencent.mm.plugin.webview.ui.tools.WebViewUI.onCreate(android.os.Bundle) (SourceFile:3002)
10-27 00:50:09.839 13018 13018 I zygote  :   at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7019)
10-27 00:50:09.839 13018 13018 I zygote  :   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7010)
10-27 00:50:09.839 13018 13018 I zygote  :   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1214)
10-27 00:50:09.839 13018 13018 I zygote  :   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2731)
10-27 00:50:09.839 13018 13018 I zygote  :   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2856)
10-27 00:50:09.839 13018 13018 I zygote  :   at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
10-27 00:50:09.839 13018 13018 I zygote  :   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1589)
10-27 00:50:09.839 13018 13018 I zygote  :   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
10-27 00:50:09.839 13018 13018 I zygote  :   at void android.os.Looper.loop() (Looper.java:164)
10-27 00:50:09.839 13018 13018 I zygote  :   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6494)
10-27 00:50:09.839 13018 13018 I zygote  :   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
10-27 00:50:09.839 13018 13018 I zygote  :   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:463)
10-27 00:50:09.839 13018 13018 I zygote  :   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:807)

i'm not sure if this is the cause (reference: https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/175 )
"it doesn't cause your application to crash. This log will hopefully be removed from WebKit in future releases."

but it do crash in vmware+android-x86-8.1-rc2, quite some log follows

10-27 00:50:09.871 13105 13105 E /system/bin/webview_zygote32: Failed to make and chown /acct/uid_99005: Permission denied
10-27 00:50:09.871 13105 13105 E Zygote  : createProcessGroup(99005, 0) failed: Permission denied
10-27 00:50:09.872 13105 13105 W /system/bin/webview_zygote32: Unexpected CPU variant for X86 using defaults: x86_64
10-27 00:50:09.876  2075  3516 I ActivityManager: Start proc 13105:com.google.android.webview:sandboxed_process0/u0i5 for webview_service com.tencent.mm/org.chromium.content.app.SandboxedProcessService0
10-27 00:50:09.884  1844  1844 I loop0   : type=1400 audit(0.0:4939): avc: denied { read } for path="/mnt/android-8.1-rc2/system.img" dev="sda1" ino=245860 scontext=u:r:kernel:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=1
10-27 00:50:09.889  1958  1958 E lowmemorykiller: Error opening /dev/memcg/apps/uid_99005/pid_13105/memory.soft_limit_in_bytes; errno=2
10-27 00:50:09.890 13018 13018 I chromium: [INFO:aw_field_trial_creator.cc(54)] First-WebView-Experiment not found
10-27 00:50:09.898 13124 13124 E asset   : setgid: Operation not permitted
10-27 00:50:09.912 13105 13105 I LoadedApk: No resource references to update in package com.google.android.webview
10-27 00:50:09.921 13105 13105 I cr_ChildProcessService: Creating new ChildProcessService pid=13105
10-27 00:50:09.927  1958  1958 E lowmemorykiller: Error opening /dev/memcg/apps/uid_99005/pid_13105/memory.soft_limit_in_bytes; errno=2
10-27 00:50:10.030 13018 13018 I encent.mm:tools: type=1400 audit(0.0:4940): avc: denied { map } for path="/dev/event-log-tags" dev="tmpfs" ino=7982 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:runtime_event_log_tags_file:s0 tclass=file permissive=1
10-27 00:50:10.035 13018 13143 D OpenGLRenderer: HWUI GL Pipeline
10-27 00:50:10.053 13018 13018 D ViewRootImpl[WebViewUI]: changeCanvasOpacity: opaque=true
10-27 00:50:10.077  9290  9302 E JavaBinder: *** Uncaught remote exception!  (Exceptions are not yet supported across processes.)
10-27 00:50:10.077  9290  9302 E JavaBinder: com.tencent.mm.model.b: NoResetUinStack
10-27 00:50:10.077  9290  9302 E JavaBinder: 	at com.tencent.mm.kernel.a.CX(SourceFile:426)
10-27 00:50:10.077  9290  9302 E JavaBinder: 	at com.tencent.mm.model.c.c.IX(SourceFile:58)
10-27 00:50:10.077  9290  9302 E JavaBinder: 	at com.tencent.mm.plugin.webview.stub.WebViewStubService$1.f(SourceFile:1901)
10-27 00:50:10.077  9290  9302 E JavaBinder: 	at com.tencent.mm.plugin.webview.stub.d$a.onTransact(SourceFile:818)
10-27 00:50:10.077  9290  9302 E JavaBinder: 	at android.os.Binder.execTransact(Binder.java:697)
10-27 00:50:10.088 13018 13145 I com.tencent.mm:tools: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
10-27 00:50:10.089 13105 13133 I cr_LibraryLoader: Time to load native libraries: 0 ms (timestamps 9320-9320)
10-27 00:50:10.089 13105 13133 I chromium: [INFO:library_loader_hooks.cc(36)] Chromium logging enabled: level = 0, default verbosity = 0


On Saturday, October 27, 2018 at 12:58:21 PM UTC+8, Xuefer H wrote:

Tareq AL NOUNOU

unread,
Oct 29, 2018, 8:29:36 AM10/29/18
to andro...@googlegroups.com
Hi there,

Try changing Webview implementation in the developers options from System Webview to Chrome or vice versa. It may work. I had a similar issue with another app and this solution worked when I switched to Chrome webview.

Regards,
Tareq A.N

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.

Xuefer H

unread,
Oct 29, 2018, 8:35:36 AM10/29/18
to Android-x86
i thought of this actually, but system webview is the only option i can find under developers options. 

Tareq AL NOUNOU

unread,
Oct 29, 2018, 8:42:48 AM10/29/18
to andro...@googlegroups.com
You need to install chrome first before you can use its webview implementation. Did you install chrome ?

Xuefer H

unread,
Oct 29, 2018, 8:59:01 AM10/29/18
to Android-x86


On Monday, October 29, 2018 at 8:42:48 PM UTC+8, Tareq AL NOUNOU wrote:
You need to install chrome first before you can use its webview implementation. Did you install chrome ?
i didn't but chrome is bundled by android-x86 already. ok now i have chrome updated and it's available as an option (but why system webview is disabled? and no way to enable? is this by design by google?)
with new chrome installed, its updated version 69.* is a little bit older than updated webview 70.*, yet problem persist

Chih-Wei Huang

unread,
Oct 31, 2018, 5:21:03 AM10/31/18
to Android-x86
No idea from the log.

My wechat just runs fine in 8.1-rc2:

http://i.imgur.com/K0WIbei.png

--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Xuefer H

unread,
Oct 31, 2018, 5:23:47 AM10/31/18
to Android-x86
thanks for giving it a shot. since it can't run with vmware-3d enabled i ran it without 3d. what device did you just try it on? can you please try to use nomodeset (no 3d)?

Chih-Wei Huang

unread,
Oct 31, 2018, 5:29:26 AM10/31/18
to Android-x86
Xuefer H <xue...@gmail.com> 於 2018年10月31日 週三 下午5:23寫道:
>
> thanks for giving it a shot. since it can't run with vmware-3d enabled i ran it without 3d. what device did you just try it on? can you please try to use nomodeset (no 3d)?

I'm testing on an Intel GPU device (Broxton).

Does it work in 8.1-rc1 (in which vmware 3d is OK)?

Xuefer H

unread,
Oct 31, 2018, 5:34:22 AM10/31/18
to Android-x86


On Wednesday, October 31, 2018 at 5:29:26 PM UTC+8, Chih-Wei Huang wrote:
Xuefer H <xue...@gmail.com> 於 2018年10月31日 週三 下午5:23寫道:
>
> thanks for giving it a shot. since it can't run with vmware-3d enabled i ran it without 3d. what device did you just try it on? can you please try to use nomodeset (no 3d)?

I'm testing on an Intel GPU device (Broxton).

Does it work in 8.1-rc1 (in which vmware 3d is OK)?

i can't find rc1 iso file online

and it may not reproduce after you login, you may have to logout and try the link below, the "unable to login" link

Chih-Wei Huang

unread,
Nov 1, 2018, 3:51:51 AM11/1/18
to Android-x86
Xuefer H <xue...@gmail.com> 於 2018年10月31日 週三 下午5:34寫道:
> On Wednesday, October 31, 2018 at 5:29:26 PM UTC+8, Chih-Wei Huang wrote:
>> Does it work in 8.1-rc1 (in which vmware 3d is OK)?
>>
> i can't find rc1 iso file online

OK. I re-added the link.
You may find them in the Deprecated section:

http://www.android-x86.org/download

> and it may not reproduce after you login, you may have to logout and try the link below, the "unable to login" link



Chih-Wei Huang

unread,
Nov 1, 2018, 3:53:29 AM11/1/18
to Android-x86
Chih-Wei Huang <cwh...@android-x86.org> 於 2018年11月1日 週四 下午3:51寫道:
>
> Xuefer H <xue...@gmail.com> 於 2018年10月31日 週三 下午5:34寫道:
> > On Wednesday, October 31, 2018 at 5:29:26 PM UTC+8, Chih-Wei Huang wrote:
> >> Does it work in 8.1-rc1 (in which vmware 3d is OK)?
> >>
> > i can't find rc1 iso file online
>
> OK. I re-added the link.
> You may find them in the Deprecated section:
>
> http://www.android-x86.org/download

Also available in Fosshub:

https://www.fosshub.com/Android-x86-old.html

mumu lu

unread,
Feb 4, 2019, 4:58:32 PM2/4/19
to Android-x86
Not sure if I should revive this thread.   Has anyone gotten wechat to work with android-x86_64-7.1-r2?

Xuefer H

unread,
Feb 14, 2019, 5:50:50 AM2/14/19
to Android-x86
On Tuesday, February 5, 2019 at 5:58:32 AM UTC+8, mumu lu wrote:
Not sure if I should revive this thread.   Has anyone gotten wechat to work with android-x86_64-7.1-r2?
nope, neither on 8.1-r1 final release

wangxiaodiao wang

unread,
Feb 17, 2019, 8:26:50 PM2/17/19
to Android-x86
I encountered the same problem, it is also 8.1r2, crash when the verification code

在 2018年10月31日星期三 UTC+8下午5:21:03,Chih-Wei Huang写道:
Reply all
Reply to author
Forward
0 new messages