Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[IL2CPP][Arm64 Houdini] signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xdead0000

Discussion in 'Android' started by Nohohon64, Feb 19, 2019.

  1. Nohohon64

    Nohohon64

    Joined:
    Feb 19, 2019
    Posts:
    1
    Hello.
    I tested Unity sample Apks[IL2CPP "arm64"] running on x86_64 device(OS5.1)[houdini]
    and encountered the following crash.

    But they could run on arm64 devices(OS5, 6, 7, 8, 9) and x86_64 device(OS6)[houdini] without crashing.
    In the same Unity projects, Apks[IL2CPP "arm32"] didn't crash on x86_64 device(OS5.1)[houdini].

    *** Question: Does IL2CPP "arm64" support x86_64 devices(OS5)? ***

    Test Details:

    - build conditions :
    Unity : 2018.3.02f
    JDK : jdk1.8.0_171
    NDK : android-ndk-r16b[windows-x86_64]

    - Unity Projects :
    1. simple 3D scene[No Object. The Camera shows the blue sky.]
    2. asset store free sample[Survival Shooter Tutorial]
    3. asset store free sample[Adventure - Sample Game]

    - Test devices :
    Arm64 : Nexus5X, Nexus9, Pixel2, ... [about 30 devices] (OS5, 6, 7, 8, 9)

    x86_64 : Acer Predator GT-810(OS5.1), Xiaomi Mi Pad 2(OS5.1), Lenovo YOGA Tab3 Pro10(OS6.0.1)

    ---------------------------- crash logcat [Acer Predator GT-810(OS5.1)]---------------------------------------------------

    I/DEBUG ( 2527): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    I/DEBUG ( 2527): Build fingerprint: 'acer/gt810_ww_gen1/rolex:5.1/LMY47I/1449805684:user/release-keys'
    I/DEBUG ( 2527): Revision: '0'
    I/DEBUG ( 2527): ABI: 'x86_64'
    I/DEBUG ( 2527): pid: 28986, tid: 28986, name: ity.sample.test >>> unity.sample.test <<<
    I/DEBUG ( 2527): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xdead0000
    I/DEBUG ( 2527): rax 0000000000000061 rbx 00007f7b1d6e0060 rcx 00007f7b38b28ce0 rdx 00007ffde17c4790
    I/DEBUG ( 2527): rsi 00007ffde17c4770 rdi 000000000000000b
    I/DEBUG ( 2527): r8 00000000000000ba r9 0101010101010101 r10 0000000000000008 r11 00007f7b2ef6ec6e
    I/DEBUG ( 2527): r12 00000001040babf0 r13 0000000000000005 r14 0000000000000000 r15 000000000c300460
    I/DEBUG ( 2527): cs 0000000000000033 ss 000000000000002b
    I/DEBUG ( 2527): rip 00007f7b2ef710ad rbp 00007f7b2f5f1128 rsp 00007ffde17c47d0 eflags 0000000000010202
    I/DEBUG ( 2527):
    I/DEBUG ( 2527): backtrace:
    I/DEBUG ( 2527): #00 pc 00000000002bb0ad /system/lib64/libhoudini.so
    I/DEBUG ( 2527): #01 pc 00000000002d8f21 /system/lib64/libhoudini.so
    I/DEBUG ( 2527): #02 pc 00000000002becf4 /system/lib64/libhoudini.so
    I/DEBUG ( 2527): #03 pc 00000000002beda1 /system/lib64/libhoudini.so
    I/DEBUG ( 2527): #04 pc 00000000002df6bd /system/lib64/libhoudini.so
    I/DEBUG ( 2527): #05 pc 00000000002e02a4 /system/lib64/libhoudini.so
    I/DEBUG ( 2527): #06 pc 00000000002df378 /system/lib64/libhoudini.so
    I/DEBUG ( 2527): #07 pc 00000000002d5139 /system/lib64/libhoudini.so
    I/DEBUG ( 2527): #08 pc 00000000002becc4 /system/lib64/libhoudini.so
    I/DEBUG ( 2527): #09 pc 00000000002beda1 /system/lib64/libhoudini.so
    I/DEBUG ( 2527): #10 pc 00000000002f73b4 /system/lib64/libhoudini.so
    I/DEBUG ( 2527): #11 pc 00000000002f754b /system/lib64/libhoudini.so
    I/DEBUG ( 2527): #12 pc 0000000000000f2a <unknown>
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    No. rrm64 and x86_64 are different things.
    The crash you're seeing is in the houdini lib, not in Unity.
     
  3. Larusso

    Larusso

    Joined:
    Sep 28, 2015
    Posts:
    3
    Hello we have similar issues with arm64 running on intel x86_64 devices.
    Houdini in this context is Intels buildin arm emulator which should be able to run arm64 on a x86_64 CPU
     
  4. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    Unity does not officially support Android emulators.
     
  5. Larusso

    Larusso

    Joined:
    Sep 28, 2015
    Posts:
    3
    It's an emulator build into nearly every Intel Atom CPU. And one can’t opt out of using it because the playstore marks an arm abi apk compatible with the Intel device because of this emulator.