Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

frequent IL2CPP Runtime error

Discussion in 'Android' started by VNL-Entertainment-Games, Oct 14, 2015.

  1. VNL-Entertainment-Games

    VNL-Entertainment-Games

    Joined:
    Feb 10, 2015
    Posts:
    78
    Anyone get this problem?

    java.lang.Error: FATAL EXCEPTION [UnityMain]
    Unity version : 5.2.1f1
    Device model : samsung SHW-M585D
    Device fingerprint: samsung/arubaslimssuh/arubaslimss:4.1.2/JZO54K/M585DKXU0AND5:user/release-keys

    Caused by: java.lang.Error: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 402420d4
    Build fingerprint: 'samsung/arubaslimssuh/arubaslimss:4.1.2/JZO54K/M585DKXU0AND5:user/release-keys'
    Revision: '0'
    pid: 1541, tid: 1627, name: UnityMain >>> com.vnlentertainment.mmoproject <<<
    r0 40242054 r1 402420d8 r2 00000418 r3 00000000
    r4 4dfb5000 r5 402420d0 r6 4dfb6fe0 r7 547f8858
    r8 00000000 r9 00000001 sl fffffbe0 fp 40241edc
    ip 00000000 sp 547f87a8 lr 56a68cb8 pc 56a690c8 cpsr 2f322e31

    at libil2cpp.GC_mark_from(GC_mark_from:1136)
    at libil2cpp.GC_mark_some(GC_mark_some:964)
    at libil2cpp.GC_stopped_mark(GC_stopped_mark:284)
    at libil2cpp.GC_try_to_collect_inner(GC_try_to_collect_inner:424)
    at libil2cpp.GC_try_to_collect_general(GC_try_to_collect_general:300)
    at libil2cpp.GC_gcollect(GC_gcollect:12)
    at libil2cpp.il2cpp::vm::GC::Collect(int)(vm:4)
    at libil2cpp.il2cpp_gc_collect(il2cpp_gc_collect:4)
    at libunity.002a8490(Native Method)
    at libunity.00310004(Native Method)
    at libunity.0030f554(Native Method)
    at libunity.0030f0f0(Native Method)
    at libunity.0030da14(Native Method)
    at libunity.0030cc50(Native Method)
    at libunity.0030bad8(Native Method)
    at libunity.00490df4(Native Method)
    at libunity.004957f8(Native Method)
    at libdvm.dvmPlatformInvoke(dvmPlatformInvoke:112)
    at libdvm.dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)(dvmCallJNIMethod:394)
    at libdvm.00028860(Native Method)
    at libdvm.dvmInterpret(Thread*, Method const*, JValue*)(dvmInterpret:180)
    at libdvm.dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)(dvmCallMethodV:272)
    at libdvm.dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)(dvmCallMethod:20)
    at libdvm.00055ebf(Native Method)
    at libc.__thread_entry(__thread_entry:48)
    at libc.pthread_create(pthread_create:172)
    at Unknown.00057ebc(Unknown Source)
     
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,775
    @VNL Entertainment Games

    We've not seen that error before. Can you submit a bug report with a project that reproduces it? We would love to take a look at it.
     
  3. pikkugergely

    pikkugergely

    Joined:
    Jun 15, 2015
    Posts:
    6
    We're also seeing the same thing, but so far it's been limited to devices with pre-4.2 OS versions. It seems to be most prevalent on 4.1.2.
     
  4. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,775
    @pikkugergely

    If you can submit a bug report with a project to reproduce this issue, please do so. That will allow us to track down the cause of the problem. Thanks!
     
  5. Prodigga

    Prodigga

    Joined:
    Apr 13, 2011
    Posts:
    1,121
    We are seeing the same thing, backtrace:

    Code (CSharp):
    1. 12-16 12:32:22.929: A/DEBUG(4064):     #00 pc 01880f14  /data/app/leagueofmonkeys.torqueburnout-1/lib/arm/libil2cpp.so (GC_mark_from+1952)
    2. 12-16 12:32:22.929: A/DEBUG(4064):     #01 pc 0187847c  /data/app/com.our.app-1/lib/arm/libil2cpp.so (GC_mark_some+980)
    3. 12-16 12:32:22.929: A/DEBUG(4064):     #02 pc 01877468  /data/app/com.our.app-1/lib/arm/libil2cpp.so (GC_stopped_mark+284)
    4. 12-16 12:32:22.929: A/DEBUG(4064):     #03 pc 01876dc4  /data/app/com.our.app-1/lib/arm/libil2cpp.so (GC_try_to_collect_inner+408)
    5. 12-16 12:32:22.929: A/DEBUG(4064):     #04 pc 01879f30  /data/app/com.our.app-1/lib/arm/libil2cpp.so (GC_try_to_collect_general+300)
    6. 12-16 12:32:22.930: A/DEBUG(4064):     #05 pc 0187a01c  /data/app/com.our.app-1/lib/arm/libil2cpp.so (GC_gcollect+12)
    7. 12-16 12:32:22.930: A/DEBUG(4064):     #06 pc 00389f70  /data/app/com.our.app-1/lib/arm/libunity.so
    8. 12-16 12:32:22.930: A/DEBUG(4064):     #07 pc 003da61c  /data/app/com.our.app-1/lib/arm/libunity.so
    9. 12-16 12:32:22.930: A/DEBUG(4064):     #08 pc 003da3fc  /data/app/com.our.app-1/lib/arm/libunity.so
    10. 12-16 12:32:22.930: A/DEBUG(4064):     #09 pc 003d7ffc  /data/app/com.our.app-1/lib/arm/libunity.so
    11. 12-16 12:32:22.930: A/DEBUG(4064):     #10 pc 003d856c  /data/app/com.our.app-1/lib/arm/libunity.so
    12. 12-16 12:32:22.930: A/DEBUG(4064):     #11 pc 00383284  /data/app/com.our.app-1/lib/arm/libunity.so
    13. 12-16 12:32:22.931: A/DEBUG(4064):     #12 pc 004c9914  /data/app/com.our.app-1/lib/arm/libunity.so
    14. 12-16 12:32:22.931: A/DEBUG(4064):     #13 pc 004ceb38  /data/app/com.our.app-1/lib/arm/libunity.so
    15. 12-16 12:32:22.931: A/DEBUG(4064):     #14 pc 006e8451  /data/app/com.our.app-1/oat/arm/base.odex (offset 0x3e4000)
     
  6. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,775
    @Prodigga

    Is is possible for you to submit a bug report for this issue? We've not yet been able to reproduce it here.
     
  7. Prodigga

    Prodigga

    Joined:
    Apr 13, 2011
    Posts:
    1,121
    Sure thing