facebook / facebook-sdk-for-unity

The facebook sdk for unity.
https://developers.facebook.com/docs/unity
Other
490 stars 257 forks source link

IL2CPP Android Crash #36

Closed bblpny closed 7 years ago

bblpny commented 8 years ago

Once facebook sdk runs on android builds from IL2CPP it causes a fatal crash. As mentioned earlier there is issues getting IL2CPP to run on android at all, However this is once you've got it running, and a different issue.


V/com.facebook.unity.FB(11440): SetUserAgentSuffix(Unity.7.8.0)

V/com.facebook.unity.FB(11440): Init({"appId":"CENSORED"})

E/CRASH   (11440): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000004

E/CRASH   (11440): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

E/CRASH   (11440): Build fingerprint: 'samsung/klteuc/klteatt:4.4.2/KOT49H/G900AUCU1ANCE:user/release-keys'

E/CRASH   (11440): Revision: '14'

E/CRASH   (11440): pid: 11440, tid: 11456, name: UnityMain  >>> com.BubblePony.Triplet <<<

E/CRASH   (11440):     r0 7b124e30  r1 7b24f948  r2 00000000  r3 00630069

E/CRASH   (11440):     r4 7a792b44  r5 7b24f948  r6 79c3a914  r7 7a78342c

E/CRASH   (11440):     r8 82790820  r9 00000000  sl 00000002  fp 78041610

E/CRASH   (11440):     ip 7a77a31c  sp 780415a8  lr 7a2dcaf8  pc 7a2dcb00  cpsr 30303947

E/CRASH   (11440): 

E/CRASH   (11440): backtrace:

D/com.facebook.unity.FB(11440): KeyHash: CENSORED

V/com.facebook.unity.FB(11440): sending to Unity OnInitComplete({"key_hash":"CENSORED","last_refresh":"1475111255","declined_permissions":"","permissions":"user_friends,contact_email,email,public_profile","user_id":"304889459848602","expiration_timestamp":"1480278771","access_token":"CENSORED","opened":true})

E/CRASH   (11440):  #00  pc 014a2b00  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so (il2cpp::icalls::mscorlib::System::Reflection::MonoMethod::GetGenericArguments(Il2CppReflectionMethod*)+184)

E/CRASH   (11440):  #01  pc 00860d10  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):  #02  pc 013b6144  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):  #03  pc 0085eae4  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):  #04  pc 00847938  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):  #05  pc 0085b878  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):  #06  pc 0085cfac  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):  #07  pc 0140477c  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):  #08  pc 014d3fd8  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so (il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**)+56)

E/CRASH   (11440): 

E/CRASH   (11440): stack:

E/CRASH   (11440):          78041568  875ce19c  

E/CRASH   (11440):          7804156c  87fd8d78  

E/CRASH   (11440):          78041570  fffffa5c  

E/CRASH   (11440):          78041574  4005041f  /system/lib/libc.so (dlfree+50)

E/CRASH   (11440):          78041578  40089000  /system/lib/libc.so

E/CRASH   (11440):          7804157c  875ce190  

E/CRASH   (11440):          78041580  875ce190  

E/CRASH   (11440):          78041584  87fd8d84  

E/CRASH   (11440):          78041588  875ce19c  

E/CRASH   (11440):          7804158c  4004cd35  /system/lib/libc.so (free+12)

E/CRASH   (11440):          78041590  ffffffff  

E/CRASH   (11440):          78041594  7a30f820  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so (il2cpp::vm::String::NewLen(char const*, unsigned int)+260)

E/CRASH   (11440):          78041598  7a7795a0  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):          7804159c  87fd8d84  

E/CRASH   (11440):          780415a0  e3a070ad  

E/CRASH   (11440):          780415a4  ef9000ad  

E/CRASH   (11440):     #00  780415a8  7b748580  

E/CRASH   (11440):          780415ac  875f4858  

E/CRASH   (11440):          780415b0  79c3a914  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):          780415b4  7a78342c  

E/CRASH   (11440):          780415b8  82790820  

E/CRASH   (11440):          780415bc  82790830  

E/CRASH   (11440):          780415c0  78041610  [stack:11456]

E/CRASH   (11440):          780415c4  7969ad14  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):     #01  780415c8  82790820  

E/CRASH   (11440):          780415cc  7a782c60  

E/CRASH   (11440):          780415d0  7a783470  

E/CRASH   (11440):          780415d4  82790830  

E/CRASH   (11440):          780415d8  7a782c38  

E/CRASH   (11440):          780415dc  7a783470  

E/CRASH   (11440):          780415e0  7a78342c  

E/CRASH   (11440):          780415e4  7a792920  

E/CRASH   (11440):          780415e8  7a788264  

E/CRASH   (11440):          780415ec  7a788260  

E/CRASH   (11440):          780415f0  7a790184  

E/CRASH   (11440):          780415f4  000093f0  

E/CRASH   (11440):          780415f8  7a7795a0  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):          780415fc  7a78360c  

E/CRASH   (11440):          78041600  79698a4c  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):          78041604  86fd7350  

E/CRASH   (11440):          ........  ........

E/CRASH   (11440):     #02  78041618  7a792920  

E/CRASH   (11440):          7804161c  875d3880  

E/CRASH   (11440):          78041620  87607f30  

E/CRASH   (11440):          78041624  7a7795a0  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):          78041628  79698a4c  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):          7804162c  875d7960  

E/CRASH   (11440):          78041630  0000007f  

E/CRASH   (11440):          78041634  82c3c9a0  

E/CRASH   (11440):          78041638  78041658  [stack:11456]

E/CRASH   (11440):          7804163c  79698ae8  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):     #03  78041640  7a1f00d8  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):          78041644  86fd7350  

E/CRASH   (11440):          78041648  875d5e60  

E/CRASH   (11440):          7804164c  875ce1b8  

E/CRASH   (11440):          78041650  87158480  

E/CRASH   (11440):          78041654  82c3c9a0  

E/CRASH   (11440):          78041658  78041670  [stack:11456]

E/CRASH   (11440):          7804165c  7968193c  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):     #04  78041660  877ba6e8  

E/CRASH   (11440):          78041664  875d5e60  

E/CRASH   (11440):          78041668  83715578  

E/CRASH   (11440):          7804166c  796818d4  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):          78041670  78041698  [stack:11456]

E/CRASH   (11440):          78041674  7969587c  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):     #05  78041678  7fb05c20  

E/CRASH   (11440):          7804167c  7fb05c20  

E/CRASH   (11440):          78041680  875d3890  

E/CRASH   (11440):          78041684  875d5e60  

E/CRASH   (11440):          78041688  fffe1b98  

E/CRASH   (11440):          7804168c  7fb05c20  

E/CRASH   (11440):          78041690  7fb05c20  

E/CRASH   (11440):          78041694  82c3c9a0  

E/CRASH   (11440):          78041698  780416b0  [stack:11456]

E/CRASH   (11440):          7804169c  79696fb0  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):     #06  780416a0  780418f4  [stack:11456]

E/CRASH   (11440):          780416a4  78041870  [stack:11456]

E/CRASH   (11440):          780416a8  875d3890  

E/CRASH   (11440):          780416ac  82c3c9a0  

E/CRASH   (11440):          780416b0  780416b8  [stack:11456]

E/CRASH   (11440):          780416b4  7a23e780  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so

E/CRASH   (11440):     #07  780416b8  00000002  

E/CRASH   (11440):          780416bc  7a30dfdc  /data/app-lib/com.BubblePony.Triplet-2/libil2cpp.so (il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**)+60)

E/CRASH   (11440):     #08  780416c0  875d3890  

E/CRASH   (11440):          780416c4  780418f4  [stack:11456]

E/CRASH   (11440):          780416c8  780417f8  [stack:11456]

E/CRASH   (11440):          780416cc  00000000  

E/CRASH   (11440):          780416d0  00000002  

E/CRASH   (11440):          780416d4  77120db8  /data/app-lib/com.BubblePony.Triplet-2/libunity.so

E/CRASH   (11440):          780416d8  780418f4  [stack:11456]

E/CRASH   (11440):          780416dc  00000000  

E/CRASH   (11440):          780416e0  00000000  

E/CRASH   (11440):          780416e4  780417f8  [stack:11456]

E/CRASH   (11440):          780416e8  0000007f  

E/CRASH   (11440):          780416ec  00000000  

E/CRASH   (11440):          780416f0  00000002  

E/CRASH   (11440):          780416f4  77092c5c  /data/app-lib/com.BubblePony.Triplet-2/libunity.so

E/CRASH   (11440):          780416f8  00000001  

E/CRASH   (11440):          780416fc  ffffeefc  

E/CRASH   (11440): 

E/CRASH   (11440): memory near r0:

E/CRASH   (11440):     7b124e10 00000001 00060000 00000000 00040002  ................

E/CRASH   (11440):     7b124e20 00000052 00000000 00000000 000000c3  R...............

E/CRASH   (11440):     7b124e30 7a8c3f98 00000000 7a91517d 7a91330b  .?.z....}Q.z.3.z

E/CRASH   (11440):     7b124e40 7a5ec4b8 7a5ec4c0 7b124e30 7b124e30  ..^z..^z0N.{0N.{

E/CRASH   (11440):     7b124e50 00000000 7b124ef0 00000000 7ae601d4  .....N.{.......z

E/CRASH   (11440):     7b124e60 7a84bc60 00000000 7fad9210 7fadc4c0  `..z............

E/CRASH   (11440):     7b124e70 00000000 7a84b8a8 7a84b970 7a84b950  .......zp..zP..z

E/CRASH   (11440):     7b124e80 7b0e2fc0 00000000 7a84b940 00000001  ./.{....@..z....

E/CRASH   (11440):     7b124e90 00000001 00000000 00000000 00000000  ................

E/CRASH   (11440):     7b124ea0 ffffffff 000000d2 0000000c 0000000c  ................

E/CRASH   (11440):     7b124eb0 00000000 ffffffff 00000018 00000000  ................

E/CRASH   (11440):     7b124ec0 ffffffff 00102081 02000034 00220071  ..... ..4...q.".

E/CRASH   (11440):     7b124ed0 00000008 005e0000 00040002 00040003  ......^.........

E/CRASH   (11440):     7b124ee0 00000142 00000000 00000000 000000c3  B...............

E/CRASH   (11440):     7b124ef0 7a8c3f98 00000000 7a9159ec 7a9159f7  .?.z.....Y.z.Y.z

E/CRASH   (11440):     7b124f00 7a5ec548 7a5ec550 7b124ef0 7b124ef0  H.^zP.^z.N.{.N.{

E/CRASH   (11440): 

E/CRASH   (11440): memory near r1:

E/CRASH   (11440):     7b24f928 7a5f4250 7b24ff38 7aadc100 00000000  PB_z8.${...z....

E/CRASH   (11440):     7b24f938 00000000 060004e1 00000086 0002ffff  ................

E/CRASH   (11440):     7b24f948 79fdb854 7a23e988 7a94e605 7b24f6d8  T..y..#z...z..${

E/CRASH   (11440):     7b24f958 7a5f4250 7b24ff68 7aadc138 00000000  PB_zh.${8..z....

E/CRASH   (11440):     7b24f968 00000000 060004e2 00000086 0002ffff  ................

E/CRASH   (11440):     7b24f978 00000000 00000000 7a91c855 7b24f6d8  ........U..z..${

E/CRASH   (11440):     7b24f988 7a5feee8 7b24ff98 7aadc170 7ae06808  .._z..${p..z.h.z

E/CRASH   (11440):     7b24f998 00000000 060004e3 00000086 0101ffff  ................

E/CRASH   (11440):     7b24f9a8 00000000 00000000 7a91e3c5 7b24f6d8  ...........z..${

E/CRASH   (11440):     7b24f9b8 7a5f4250 7b24ffb0 7aadc1a8 7ae06818  PB_z..${...z.h.z

E/CRASH   (11440):     7b24f9c8 00000000 060004e4 00000086 0102ffff  ................

E/CRASH   (11440):     7b24f9d8 00000000 00000000 7a94e610 7b24f6d8  ...........z..${

E/CRASH   (11440):     7b24f9e8 7a5feef8 7b24ffe0 7aadc1e0 7ae06828  .._z..${...z(h.z

E/CRASH   (11440):     7b24f9f8 00000000 060004e5 00000086 0101ffff  ................

E/CRASH   (11440):     7b24fa08 00000000 00000000 7a94e61a 7b24f6d8  ...........z..${

E/CRASH   (11440):     7b24fa18 7a5f4250 7b24fff8 7aadc218 7ae06838  PB_z..${...z8h.z

E/CRASH   (11440): 

E/CRASH   (11440): memory near r3:

E/CRASH   (11440):     00630048 ffffffff ffffffff ffffffff ffffffff  ................

E/CRASH   (11440):     00630058 ffffffff ffffffff ffffffff ffffffff  ................

E/CRASH   (11440):     00630068 ffffffff ffffffff ffffffff ffffffff  ................

E/CRASH   (11440):     00630078 ffffffff ffffffff ffffffff ffffffff  ................

E/CRASH   (11440):     00630088 ffffffff ffffffff ffffffff ffffffff  ................

E/CRASH   (11440):     00630098 ffffffff ffffffff ffffffff ffffffff  ................

E/CRASH   (11440):     006300a8 ffffffff ffffffff ffffffff ffffffff  ................

E/CRASH   (11440):     006300b8 ffffffff ffffffff ffffffff ffffffff  ................

E/CRASH   (11440):     006300c8 ffffffff ffffffff ffffffff ffffffff  ................

E/CRASH   (11440):     006300d8 ffffffff ffffffff ffffffff ffffffff  ................

E/CRASH   (11440):     006300e8 ffffffff ffffffff ffffffff ffffffff  ................

E/CRASH   (11440):     006300f8 ffffffff ffffffff ffffffff ffffffff  ................

E/CRASH   (11440):     00630108 ffffffff ffffffff ffffffff ffffffff  ................

E/CRASH   (11440):     00630118 ffffffff ffffffff ffffffff ffffffff  ................

E/CRASH   (11440):     00630128 ffffffff ffffffff ffffffff ffffffff  ................

E/CRASH   (11440):     00630138 ffffffff ffffffff ffffffff ffffffff  ................

E/CRASH   (11440): 

E/CRASH   (11440): memory near r4:

E/CRASH   (11440):     7a792b24 7a830604 7a7995e8 7a4f7650 00000000  ...z..yzPvOz....

E/CRASH   (11440):     7a792b34 00000000 78d2e158 00000000 00000000  ....X..x........

E/CRASH   (11440):     7a792b44 7a8c3f98 7b11fd58 7b123c30 7b11fe18  .?.zX..{0<.{...{

E/CRASH   (11440):     7a792b54 7b11ff98 7b123cf0 7b123db0 7b123e70  ...{.<.{.=.{p>.{

E/CRASH   (11440):     7a792b64 7b123f30 7b123ff0 7b124170 7b1240b0  0?.{.?.{pA.{.@.{

E/CRASH   (11440):     7a792b74 7b124230 7b1242f0 7b1243b0 7b124470  0B.{.B.{.C.{pD.{

E/CRASH   (11440):     7a792b84 7b124530 7b1245f0 7b1246b0 7b124770  0E.{.E.{.F.{pG.{

E/CRASH   (11440):     7a792b94 7b124830 7b1248f0 7b1249b0 7b124b30  0H.{.H.{.I.{0K.{

E/CRASH   (11440):     7a792ba4 00000000 00000000 00000000 7b124e30  ............0N.{

E/CRASH   (11440):     7a792bb4 7b124fb0 7b1267b0 00000000 7b125070  .O.{.g.{....pP.{

E/CRASH   (11440):     7a792bc4 7b1251f0 7b1252b0 7b125370 7b125430  .Q.{.R.{pS.{0T.{

E/CRASH   (11440):     7a792bd4 7b1255b0 7b125670 7b125730 7b1257f0  .U.{pV.{0W.{.W.{

E/CRASH   (11440):     7a792be4 7b1258b0 7b125970 7b126630 7b125a30  .X.{pY.{0f.{0Z.{

E/CRASH   (11440):     7a792bf4 7b124d70 7b125af0 7b125bb0 7b125c70  pM.{.Z.{.[.{p\.{

E/CRASH   (11440):     7a792c04 7b125d30 7b1269f0 7b126e70 7b125df0  0].{.i.{pn.{.].{

E/CRASH   (11440):     7a792c14 7b125eb0 7b124a70 7b125f70 7b126030  .^.{pJ.{p_.{0`.{

E/CRASH   (11440): 

E/CRASH   (11440): memory near r5:

E/CRASH   (11440):     7b24f928 7a5f4250 7b24ff38 7aadc100 00000000  PB_z8.${...z....

E/CRASH   (11440):     7b24f938 00000000 060004e1 00000086 0002ffff  ................

E/CRASH   (11440):     7b24f948 79fdb854 7a23e988 7a94e605 7b24f6d8  T..y..#z...z..${

E/CRASH   (11440):     7b24f958 7a5f4250 7b24ff68 7aadc138 00000000  PB_zh.${8..z....

E/CRASH   (11440):     7b24f968 00000000 060004e2 00000086 0002ffff  ................

E/CRASH   (11440):     7b24f978 00000000 00000000 7a91c855 7b24f6d8  ........U..z..${

E/CRASH   (11440):     7b24f988 7a5feee8 7b24ff98 7aadc170 7ae06808  .._z..${p..z.h.z

E/CRASH   (11440):     7b24f998 00000000 060004e3 00000086 0101ffff  ................

E/CRASH   (11440):     7b24f9a8 00000000 00000000 7a91e3c5 7b24f6d8  ...........z..${

E/CRASH   (11440):     7b24f9b8 7a5f4250 7b24ffb0 7aadc1a8 7ae06818  PB_z..${...z.h.z

E/CRASH   (11440):     7b24f9c8 00000000 060004e4 00000086 0102ffff  ................

E/CRASH   (11440):     7b24f9d8 00000000 00000000 7a94e610 7b24f6d8  ...........z..${

E/CRASH   (11440):     7b24f9e8 7a5feef8 7b24ffe0 7aadc1e0 7ae06828  .._z..${...z(h.z

E/CRASH   (11440):     7b24f9f8 00000000 060004e5 00000086 0101ffff  ................

E/CRASH   (11440):     7b24fa08 00000000 00000000 7a94e61a 7b24f6d8  ...........z..${

E/CRASH   (11440):     7b24fa18 7a5f4250 7b24fff8 7aadc218 7ae06838  PB_z..${...z8h.z

E/CRASH   (11440): 

E/CRASH   (11440): memory near r6:

E/CRASH   (11440):     79c3a8f4 00b3ed48 ffff1880 fffd6cdc 00b3ee44  H........l..D...

E/CRASH   (11440):     79c3a904 fffd68bc 00b3ecf0 ffff1884 ead042ab  .h...........B..

E/CRASH   (11440):     79c3a914 ead042ad ead042af ead042b1 e92d4ff0  .B...B...B...O-.

E/CRASH   (11440):     79c3a924 e28db01c e24dd004 e1a08000 e5980000  ......M.........

E/CRASH   (11440):     79c3a934 e5900048 e59040f0 e59050f4 e3540000  H....@...P....T.

E/CRASH   (11440):     79c3a944 1a000001 e1a00005 ebd03f6c e1a00008  ........l?......

E/CRASH   (11440):     79c3a954 e1a01005 e12fff34 e3500001 1a00002a  ....4./...P.*...

E/CRASH   (11440):     79c3a964 e5980000 e5900048 e59040d8 e59050dc  ....H....@...P..

E/CRASH   (11440):     79c3a974 e3540000 1a000001 e1a00005 ebd03f5f  ..T........._?..

E/CRASH   (11440):     79c3a984 e1a00008 e1a01005 e12fff34 e1a0a000  ........4./.....

E/CRASH   (11440):     79c3a994 e35a0000 0a000037 e28a9010 e3a04000  ..Z.7........@..

E/CRASH   (11440):     79c3a9a4 ea000000 e2844001 e59a000c e1540000  .....@........T.

E/CRASH   (11440):     79c3a9b4 aa000015 3a000001 ebd03f38 ebd03f34  .......:8?..4?..

E/CRASH   (11440):     79c3a9c4 e7996104 e3560000 0a00002a e5960000  .a....V.*.......

E/CRASH   (11440):     79c3a9d4 e5900048 e59052b8 e59072bc e3550000  H....R...r....U.

E/CRASH   (11440):     79c3a9e4 1a000001 e1a00007 ebd03f44 e1a00006  ........D?......

E/CRASH   (11440): 

E/CRASH   (11440): memory near r7:

E/CRASH   (11440):     7a78340c 00000000 00000000 00000000 00000000  ................

E/CRASH   (11440):     7a78341c 00000000 00000000 00000000 00000000  ................

E/CRASH   (11440):     7a78342c 7b1245f0 7da33b80 81df7938 81df74f8  .E.{.;.}8y...t..

E/CRASH   (11440):     7a78343c 81df7af0 81df7640 81df0bd8 7b11fd58  .z..@v......X..{

E/CRASH   (11440):     7a78344c 7b124170 81dece70 81df1498 8279e968  pA.{p.......h.y.

E/CRASH   (11440):     7a78345c 7f925000 81df6fa8 826c5928 7b123f30  .P...o..(Yl.0?.{

E/CRASH   (11440):     7a78346c 81df7778 7b124e30 81def9a0 81df0988  xw..0N.{........

E/CRASH   (11440):     7a78347c 81dda358 81df6e90 7b124530 7a8398b0  X....n..0E.{...z

E/CRASH   (11440):     7a78348c 7e3e67f0 81df3990 7b125eb0 00000000  .g>~.9...^.{....

E/CRASH   (11440):     7a78349c 00000000 827ba090 81df57d0 00000000  ......{..W......

E/CRASH   (11440):     7a7834ac 7b88e300 00000000 81dfdde8 7b126930  ...{........0i.{

E/CRASH   (11440):     7a7834bc 00000000 00000000 00000000 7b468d60  ............`.F{

E/CRASH   (11440):     7a7834cc 00000000 7b1267b0 00000000 00000000  .....g.{........

E/CRASH   (11440):     7a7834dc 00000000 7b74a358 7f924f40 00000000  ....X.t{@O......

E/CRASH   (11440):     7a7834ec 7f925218 7b1257f0 7b468070 00000000  .R...W.{p.F{....

E/CRASH   (11440):     7a7834fc 7b7f9270 7daba168 7b7e9198 7f9250c0  p..{h..}..~{.P..

E/CRASH   (11440): 

E/CRASH   (11440): memory near r8:

E/CRASH   (11440):     82790800 00000000 00000000 00000000 00000000  ................

E/CRASH   (11440):     82790810 00000000 00000000 00000000 00000000  ................

E/CRASH   (11440):     82790820 7b3de830 00000000 00000000 0000000f  0.={............

E/CRASH   (11440):     82790830 875f47e0 875f47c8 875f4858 875f47b0  .G_..G_.XH_..G_.

E/CRASH   (11440):     82790840 875f4798 875f4780 875f4768 875f4750  .G_..G_.hG_.PG_.

E/CRASH   (11440):     82790850 875f4738 875f4720 875f4840 875f4708  8G_. G_.@H_..G_.

E/CRASH   (11440):     82790860 875f46f0 875f46d8 875f46c0 00000000  .F_..F_..F_.....

E/CRASH   (11440):     82790870 8789e458 00000000 00000000 0000000e  X...............

E/CRASH   (11440):     82790880 875f4e58 875f4e40 875f4e28 875f4e10  XN_.@N_.(N_..N_.

E/CRASH   (11440):     82790890 875f4df8 875f4de0 875f4dc8 875f4db0  .M_..M_..M_..M_.

E/CRASH   (11440):     827908a0 875f4d98 875f4d80 875f4d68 875f4d50  .M_..M_.hM_.PM_.

E/CRASH   (11440):     827908b0 875f4d38 875f4d20 00000000 00000000  8M_. M_.........

E/CRASH   (11440):     827908c0 8294a618 00000000 00000000 0000000e  ................

E/CRASH   (11440):     827908d0 875c97e0 875cfa60 875ccfa0 875cab20  ..\.`.\...\. .\.

E/CRASH   (11440):     827908e0 875cf5e0 875caf60 875cfea0 875c3060  ..\.`.\...\.`0\.

E/CRASH   (11440):     827908f0 875cc720 875c9c20 875c93a0 875ca4e0   .\. .\...\...\.

E/CRASH   (11440): 

E/CRASH   (11440): memory near fp:

E/CRASH   (11440):     780415f0 7a790184 000093f0 7a7795a0 7a78360c  ..yz......wz.6xz

E/CRASH   (11440):     78041600 79698a4c 86fd7350 0000007f 87607f30  L.iyPs......0.`.

E/CRASH   (11440):     78041610 78041638 7a1f0148 7a792920 875d3880  8..xH..z )yz.8].

E/CRASH   (11440):     78041620 87607f30 7a7795a0 79698a4c 875d7960  0.`...wzL.iy`y].

E/CRASH   (11440):     78041630 0000007f 82c3c9a0 78041658 79698ae8  ........X..x..iy

E/CRASH   (11440):     78041640 7a1f00d8 86fd7350 875d5e60 875ce1b8  ...zPs..`^]...\.

E/CRASH   (11440):     78041650 87158480 82c3c9a0 78041670 7968193c  ........p..x<.hy

E/CRASH   (11440):     78041660 877ba6e8 875d5e60 83715578 796818d4  ..{.`^].xUq...hy

E/CRASH   (11440):     78041670 78041698 7969587c 7fb05c20 7fb05c20  ...x|Xiy \.. \..

E/CRASH   (11440):     78041680 875d3890 875d5e60 fffe1b98 7fb05c20  .8].`^]..... \..

E/CRASH   (11440):     78041690 7fb05c20 82c3c9a0 780416b0 79696fb0   \.........x.oiy

E/CRASH   (11440):     780416a0 780418f4 78041870 875d3890 82c3c9a0  ...xp..x.8].....

E/CRASH   (11440):     780416b0 780416b8 7a23e780 00000002 7a30dfdc  ...x..#z......0z

E/CRASH   (11440):     780416c0 875d3890 780418f4 780417f8 00000000  .8]....x...x....

E/CRASH   (11440):     780416d0 00000002 77120db8 780418f4 00000000  .......w...x....

E/CRASH   (11440):     780416e0 00000000 780417f8 0000007f 00000000  .......x........

E/CRASH   (11440): 

E/CRASH   (11440): memory near ip:

E/CRASH   (11440):     7a77a2fc 7a2ec8c0 7a2eca64 7a2e7624 7a2fc474  ...zd..z$v.zt./z

E/CRASH   (11440):     7a77a30c 7a304b68 7a2f6674 7a2f1a00 7a300bb4  hK0ztf/z../z..0z

E/CRASH   (11440):     7a77a31c 7a300bec 7a2fa9c4 7a30e2a0 7a300b70  ..0z../z..0zp.0z

E/CRASH   (11440):     7a77a32c 7a300bd0 7a3091dc 7a316800 7a2fb864  ..0z..0z.h1zd./z

E/CRASH   (11440):     7a77a33c 7a2c76ac 7a2c788c 7a2ff29c 7a2ff298  .v,z.x,z../z../z

E/CRASH   (11440):     7a77a34c 7a2ff2a4 7a2f7da0 7a3070e8 40062105  ../z.}/z.p0z.!.@

E/CRASH   (11440):     7a77a35c 7a307114 7a3070bc 7a2fe418 7a2df188  .q0z.p0z../z..-z

E/CRASH   (11440):     7a77a36c 7a2df04c 7a316870 7a2f8578 7a2ff294  L.-zph1zx./z../z

E/CRASH   (11440):     7a77a37c 7a2f9bec 7a2ff2a0 7a2df264 7a2e8b60  ../z../zd.-z`..z

E/CRASH   (11440):     7a77a38c 7a2c5dd0 7a2e8b64 7a2e8af4 7a2e8b20  .],zd..z...z ..z

E/CRASH   (11440):     7a77a39c 7a2e9a10 7a3056b4 7a2e767c 7a2e76a0  ...z.V0z|v.z.v.z

E/CRASH   (11440):     7a77a3ac 7a2e0084 7a2e00c8 7a2e0110 7a2e0128  ...z...z...z(..z

E/CRASH   (11440):     7a77a3bc 7a2e0134 7a2e74b8 7a2e74f4 7a2e0238  4..z.t.z.t.z8..z

E/CRASH   (11440):     7a77a3cc 7a2e027c 7a2e02c4 7a2e02dc 7a2e0300  |..z...z...z...z

E/CRASH   (11440):     7a77a3dc 7a310bf8 7a310b10 7a2fa834 7a2e8134  ..1z..1z4./z4..z

E/CRASH   (11440):     7a77a3ec 7a310bc0 7a3110cc 7a2f2c6c 7a2e8158  ..1z..1zl,/zX..z

E/CRASH   (11440): 

E/CRASH   (11440): memory near sp:

E/CRASH   (11440):     78041588 875ce19c 4004cd35 ffffffff 7a30f820  ..\.5..@.... .0z

E/CRASH   (11440):     78041598 7a7795a0 87fd8d84 e3a070ad ef9000ad  ..wz.....p......

E/CRASH   (11440):     780415a8 7b748580 875f4858 79c3a914 7a78342c  ..t{XH_....y,4xz

E/CRASH   (11440):     780415b8 82790820 82790830 78041610 7969ad14   .y.0.y....x..iy

E/CRASH   (11440):     780415c8 82790820 7a782c60 7a783470 82790830   .y.`,xzp4xz0.y.

E/CRASH   (11440):     780415d8 7a782c38 7a783470 7a78342c 7a792920  8,xzp4xz,4xz )yz

E/CRASH   (11440):     780415e8 7a788264 7a788260 7a790184 000093f0  d.xz`.xz..yz....

E/CRASH   (11440):     780415f8 7a7795a0 7a78360c 79698a4c 86fd7350  ..wz.6xzL.iyPs..

E/CRASH   (11440):     78041608 0000007f 87607f30 78041638 7a1f0148  ....0.`.8..xH..z

E/CRASH   (11440):     78041618 7a792920 875d3880 87607f30 7a7795a0   )yz.8].0.`...wz

E/CRASH   (11440):     78041628 79698a4c 875d7960 0000007f 82c3c9a0  L.iy`y].........

E/CRASH   (11440):     78041638 78041658 79698ae8 7a1f00d8 86fd7350  X..x..iy...zPs..

E/CRASH   (11440):     78041648 875d5e60 875ce1b8 87158480 82c3c9a0  `^]...\.........

E/CRASH   (11440):     78041658 78041670 7968193c 877ba6e8 875d5e60  p..x<.hy..{.`^].

E/CRASH   (11440):     78041668 83715578 796818d4 78041698 7969587c  xUq...hy...x|Xiy

E/CRASH   (11440):     78041678 7fb05c20 7fb05c20 875d3890 875d5e60   \.. \...8].`^].

E/CRASH   (11440): 

E/CRASH   (11440): code around pc:

E/CRASH   (11440):     7a2dcae0 e59f0084 e59f107c e08f0000 e7914000  ....|........@..

E/CRASH   (11440):     7a2dcaf0 e1a00005 ebb5c0e6 e1a09000 e594006c  ............l...

E/CRASH   (11440):     7a2dcb00 e5996004 e1a01006 ebb5b78a e1a08000  .`..............

E/CRASH   (11440):     7a2dcb10 e3560000 0a000010 e3a07000 e6ff1077  ..V......p..w...

E/CRASH   (11440):     7a2dcb20 e1a00009 ebb5bf69 ebb5bf6b e1a04000  ....i...k....@..

E/CRASH   (11440):     7a2dcb30 e1a00008 e3a01004 e1a02007 ebb5b780  ......... ......

E/CRASH   (11440):     7a2dcb40 e1a05000 e5940010 ebb5bbbb e2877001  .P...........p..

E/CRASH   (11440):     7a2dcb50 e5850000 e1560007 1affffef e1a00008  ......V.........

E/CRASH   (11440):     7a2dcb60 e8bd8bf0 0049cb1c fffffa5c 0049cab0  ......I.\.....I.

E/CRASH   (11440):     7a2dcb70 e92d4ff0 e28db01c e24dd00c e1a08001  .O-.......M.....

E/CRASH   (11440):     7a2dcb80 e59f11cc e59fa1cc e3a07000 e08f1001  .........p......

E/CRASH   (11440):     7a2dcb90 e1a09002 e79a1001 e5911000 e50b1024  ............$...

E/CRASH   (11440):     7a2dcba0 e5905008 e5837000 e5d50028 e3100010  .P...p..(.......

E/CRASH   (11440):     7a2dcbb0 1a00001a e3580000 0a00000a e595100c  ......X.........

E/CRASH   (11440):     7a2dcbc0 e1a00008 ebb5b6cb e3a06000 e3500000  .........`....P.

E/CRASH   (11440):     7a2dcbd0 0a000055 e1a00008 e1a01005 ebb5bcf5  U...............

E/CRASH   (11440): 

E/CRASH   (11440): code around lr:

E/CRASH   (11440):     7a2dcad8 e595001c e5905000 e59f0084 e59f107c  .....P......|...

E/CRASH   (11440):     7a2dcae8 e08f0000 e7914000 e1a00005 ebb5c0e6  .....@..........

E/CRASH   (11440):     7a2dcaf8 e1a09000 e594006c e5996004 e1a01006  ....l....`......

E/CRASH   (11440):     7a2dcb08 ebb5b78a e1a08000 e3560000 0a000010  ..........V.....

E/CRASH   (11440):     7a2dcb18 e3a07000 e6ff1077 e1a00009 ebb5bf69  .p..w.......i...

E/CRASH   (11440):     7a2dcb28 ebb5bf6b e1a04000 e1a00008 e3a01004  k....@..........

E/CRASH   (11440):     7a2dcb38 e1a02007 ebb5b780 e1a05000 e5940010  . .......P......

E/CRASH   (11440):     7a2dcb48 ebb5bbbb e2877001 e5850000 e1560007  .....p........V.

E/CRASH   (11440):     7a2dcb58 1affffef e1a00008 e8bd8bf0 0049cb1c  ..............I.

E/CRASH   (11440):     7a2dcb68 fffffa5c 0049cab0 e92d4ff0 e28db01c  \.....I..O-.....

E/CRASH   (11440):     7a2dcb78 e24dd00c e1a08001 e59f11cc e59fa1cc  ..M.............

E/CRASH   (11440):     7a2dcb88 e3a07000 e08f1001 e1a09002 e79a1001  .p..............

E/CRASH   (11440):     7a2dcb98 e5911000 e50b1024 e5905008 e5837000  ....$....P...p..

E/CRASH   (11440):     7a2dcba8 e5d50028 e3100010 1a00001a e3580000  (.............X.

E/CRASH   (11440):     7a2dcbb8 0a00000a e595100c e1a00008 ebb5b6cb  ................

E/CRASH   (11440):     7a2dcbc8 e3a06000 e3500000 0a000055 e1a00008  .`....P.U.......

W/dalvikvm(11440): threadid=10: thread exiting with uncaught exception (group=0x4171eda0)

E/AndroidRuntime(11440): FATAL EXCEPTION: UnityMain

E/AndroidRuntime(11440): Process: com.BubblePony.Triplet, PID: 11440

E/AndroidRuntime(11440): java.lang.Error: FATAL EXCEPTION [UnityMain]

E/AndroidRuntime(11440): Unity version     : 5.4.0p2

E/AndroidRuntime(11440): Device model      : samsung SAMSUNG-SM-G900A

E/AndroidRuntime(11440): Device fingerprint: samsung/klteuc/klteatt:4.4.2/KOT49H/G900AUCU1ANCE:user/release-keys

E/AndroidRuntime(11440): 

E/AndroidRuntime(11440): Caused by: java.lang.Error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000004

E/AndroidRuntime(11440): Build fingerprint: 'samsung/klteuc/klteatt:4.4.2/KOT49H/G900AUCU1ANCE:user/release-keys'

E/AndroidRuntime(11440): Revision: '14'

E/AndroidRuntime(11440): pid: 11440, tid: 11456, name: UnityMain  >>> com.BubblePony.Triplet <<<

E/AndroidRuntime(11440):     r0 7b124e30  r1 7b24f948  r2 00000000  r3 00630069

E/AndroidRuntime(11440):     r4 7a792b44  r5 7b24f948  r6 79c3a914  r7 7a78342c

E/AndroidRuntime(11440):     r8 82790820  r9 00000000  sl 00000002  fp 78041610

E/AndroidRuntime(11440):     ip 7a77a31c  sp 780415a8  lr 7a2dcaf8  pc 7a2dcb00  cpsr 30303947

E/AndroidRuntime(11440): 

E/AndroidRuntime(11440):    at libil2cpp.il2cpp::icalls::mscorlib::System::Reflection::MonoMethod::GetGenericArguments(Il2CppReflectionMethod*)(icalls:184)

E/AndroidRuntime(11440):    at libil2cpp.00860d10(Native Method)

E/AndroidRuntime(11440):    at libil2cpp.013b6144(Native Method)

E/AndroidRuntime(11440):    at libil2cpp.0085eae4(Native Method)

E/AndroidRuntime(11440):    at libil2cpp.00847938(Native Method)

E/AndroidRuntime(11440):    at libil2cpp.0085b878(Native Method)

E/AndroidRuntime(11440):    at libil2cpp.0085cfac(Native Method)

E/AndroidRuntime(11440):    at libil2cpp.0140477c(Native Method)

E/AndroidRuntime(11440):    at libil2cpp.il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**)(vm:56)

W/ActivityManager( 1034):   Force finishing activity com.BubblePony.Triplet/com.unity3d.player.UnityPlayerActivity

My guess is that the generic call to CallStatic in the IAndroidWrapper interface being the culprit. Because for whatever reason facebook does not hard link against AndroidJavaClass and unity likely optimizes the specific generic combinations out.

joshpeterson commented 8 years ago

Hey @bblpny, I'm a developer working on IL2CPP at Unity. Can you submit a bug report to Unity about this? I'm not quite sure where the problem lies, but the Android player should not be crashing like this in IL2CPP.

bblpny commented 8 years ago

hey @joshpeterson , yea I can put together a report on a fresh project. For what its worth, that crash happens when trying to bring up the login screen on device. By alterning facebooks implementation to not use reflection (and use AndroidJavaClass directly) results in no crash. I'll put together a blank project with the original 7.8.0 facebook sdk for unity that brings up the login screen and submit it.

bblpny commented 8 years ago

@joshpeterson I've submitted two reports just now. Each are in the same project I just created that consists of a button that when pressed calls the function that causes the crash.

The first (case 838241) is demonstrating how Android IL2CPP and projects with Facebook SDK cannot compile due to __Internal P/Invoke stuff that is unlinkable. While I don't know that this would be considered a Unity bug, I thought to share it just in case.

The second (case 838259) is using a modified version of Facebook.Unity.dll that cuts out all of the troubled iOS p/Invoke stuck in it, then disabled Facebook.Unity.IOS.dll (which is enabled for all platforms for some reason by default). This report does build and does crash, I ensured this, Even though it does not have a valid facebook app id; it crashes just fine.

If you have any follow up questions, let me know with the email i sent the reports with. Sorry for the delay in response to your github post.

swiese commented 7 years ago

This should be fixed in 7.9.0 but please report bugs to https://developers.facebook.com/bugs