winlator icon indicating copy to clipboard operation
winlator copied to clipboard

Winlator container crashes `Check failed: m->IsNative`

Open einhander opened this issue 3 months ago • 6 comments

Starting from 10.0 winlator container crashes with 99% chance. The reinstall has no result. Could it be related to Added native GLIBC for better I/O performance? The 9.0 work OK.

Build fingerprint: 'Xiaomi/beryllium/beryllium:10/QKQ1.190828.002/V12.0.3.0.QEJMIXM:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2025-09-12 16:06:48+0300
pid: 5259, tid: 5383, name: Thread-6  >>> com.winlator <<<
uid: 10822
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: 'Check failed: m->IsNative() '
    x0  0000000000000000  x1  0000000000001507  x2  0000000000000006  x3  00000070122f8180
    x4  fefeff6fa40a0f97  x5  fefeff6fa40a0f97  x6  fefeff6fa40a0f97  x7  7f7f7f7fff7f7fff
    x8  00000000000000f0  x9  f51fca4c87a1bdbb  x10 0000000000000001  x11 0000000000000000
    x12 fffffff0fffffbdf  x13 000000000000000d  x14 0000000000000004  x15 ffffffffffffffff
    x16 00000070a4dac738  x17 00000070a4d8b180  x18 0000006fb2fb2000  x19 000000000000148b
    x20 0000000000001507  x21 00000000ffffffff  x22 0000007015825dc0  x23 00000070214853ce
    x24 0000007021465467  x25 00000070219a2000  x26 000000702137b258  x27 00000070219a2000
    x28 0000000000000043  x29 00000070122f8220
    sp  00000070122f8160  lr  00000070a4d3c86c  pc  00000070a4d3c898

backtrace:
      #00 pc 0000000000073898  /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: f6cc5d2d702265511937b56460b37693)
      #01 pc 00000000004b9650  /apex/com.android.runtime/lib64/libart.so (art::Runtime::Abort(char const*)+2280) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #02 pc 000000000000b458  /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+580) (BuildId: e71ff76c9d3a6b93309ae5824b646459)
      #03 pc 000000000037dbf0  /apex/com.android.runtime/lib64/libart.so (art::JavaVMExt::FindCodeForNativeMethod(art::ArtMethod*)+3292) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #04 pc 00000000005736e8  /apex/com.android.runtime/lib64/libart.so (artFindNativeMethod+636) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #05 pc 00000000001364b8  /apex/com.android.runtime/lib64/libart.so (art_jni_dlsym_lookup_stub+40) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #06 pc 00000000000128b0  /data/app/com.winlator-Z01bOB-58r6pYXYKhOjz2g==/oat/arm64/base.odex (art_jni_trampoline+64)
      #07 pc 00000000001375b8  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #08 pc 000000000014600c  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #09 pc 00000000002e37d0  /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #10 pc 00000000002dea30  /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+892) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #11 pc 00000000005a3a78  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+372) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #12 pc 0000000000131994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #13 pc 000000000019b168  /data/app/com.winlator-Z01bOB-58r6pYXYKhOjz2g==/oat/arm64/base.vdex (com.winlator.xconnector.XInputStream.available+4)
      #14 pc 00000000005a1264  /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1352) (BuildId: 03574df7f7eb01baf6baa6348024974c)
#15 pc 0000000000131814  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #16 pc 00000000001a37b2  /data/app/com.winlator-Z01bOB-58r6pYXYKhOjz2g==/oat/arm64/base.vdex (com.winlator.xserver.XClientRequestHandler.handleAuthRequest)
      #17 pc 00000000005a3570  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1100) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #18 pc 0000000000131914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #19 pc 00000000001a4cb4  /data/app/com.winlator-Z01bOB-58r6pYXYKhOjz2g==/oat/arm64/base.vdex (com.winlator.xserver.XClientRequestHandler.handleRequest+50)
      #20 pc 00000000005a2a84  /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1788) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #21 pc 0000000000131a14  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #22 pc 000000000019b068  /data/app/com.winlator-Z01bOB-58r6pYXYKhOjz2g==/oat/arm64/base.vdex (com.winlator.xconnector.XConnectorEpoll.handleExistingConnection+40)
      #23 pc 00000000002b4ae4  /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.17460956533834400288+240) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #24 pc 000000000059250c  /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1032) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #25 pc 0000000000140468  /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #26 pc 0000000000137334  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #27 pc 0000000000145fec  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #28 pc 00000000004b0f10  /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #29 pc 00000000004b235c  /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+424) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #30 pc 00000000003981f0  /apex/com.android.runtime/lib64/libart.so (art::JNI::CallVoidMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+628) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #31 pc 000000000036cc88  /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::CheckJNI::CallMethodV(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, std::__va_list, art::Primitive::Type, art::InvokeType)+2368) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #32 pc 000000000035aef8  /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::CheckJNI::CallVoidMethod(_JNIEnv*, _jobject*, _jmethodID*, ...)+144) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #33 pc 0000000000005f40  /data/app/com.winlator-Z01bOB-58r6pYXYKhOjz2g==/lib/arm64/libwinlator.so (BuildId: fb0a34f5e9222eb38c45f8fdd14299e00cc46245)
      #34 pc 00000000000d7110  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: f6cc5d2d702265511937b56460b37693)
      #35 pc 0000000000075314  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: f6cc5d2d702265511937b56460b37693)

General Information

  • Winlator Version: 10.1
  • Smartphone Model: Poco f1

Container Settings

  • Graphics Driver: turnip (other not work on my device)
  • DX Wrapper: default
  • Audio Driver: default
  • Box64 Version: default

einhander avatar Sep 13 '25 09:09 einhander

I can confirm this issue on Android10, V2057A, FuntouchOS_10.5

flcwsf avatar Oct 04 '25 03:10 flcwsf

I can confirm this issue has been fixed in Winlator11.0 Beta Version on my device.

flcwsf avatar Oct 04 '25 03:10 flcwsf

@flcwsf, the first launch of container works on my device. The second launch crashes with the same error((((

einhander avatar Oct 04 '25 07:10 einhander

@flcwsf, the first launch of container works on my device. The second launch crashes with the same error((((

Yes, me too:)

flcwsf avatar Oct 07 '25 01:10 flcwsf

Yes, me too:)

So, its reproducible. @brunodev85, can you help us? I have the same problems with other forks from 10.0. No problem with Cmod, and 0.7 version forks.

einhander avatar Oct 07 '25 04:10 einhander

Same problem with me

simohjolp7450-hue avatar Nov 15 '25 16:11 simohjolp7450-hue

@brunodev85 , can you help us? #1357 reported 10.1, but 11.0 Version also has this exception.

flcwsf avatar Dec 07 '25 10:12 flcwsf