Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main thread errors and freezing on Android - Unity 2018.1.7f1, Firebase SDK 5.1.1, IL2CPP, .NET 4.x, Windows 10 x64 #181

Closed
fanmanpro opened this issue Jul 9, 2018 · 28 comments

Comments

@fanmanpro
Copy link

Unity Upgrade

I've recently upgrade from Unity 2017.3.0f3 because I started getting freezes on Android when I call anything from the Firebase SDK. The version of Unity I have now is 2018.1.7f1. I am also using the latest firebase sdk 5.1.1.

.NET Upgrade and IL2CPP

Still not getting the game running on android (editor works fine), I switched to IL2CPP and .NET 4.x. As far as I can tell, these technologies are compatible with the Firebase SDK as long as use the correct Parse SDK dlls. See bottom of this page.

Editor Errors

Now, I'm getting the following error when I try run the game in the editor (Android is also still broken):
get_isActiveAndEnabled can only be called from the main thread.
The stack trace points to a simple line of code that, if I delete it, it just throws a similar error somewhere else (code that always worked prior to Firebase):
get_gameObject can only be called from the main thread.

The Issue

Finally, I tested disabling my firebase sdk. This resulted in the game running smoothly in the editor and on an Android device.

The errors also make it quite clear that Unity can't handle code called from multiple threads. I've also seen this from other issues people are experiencing. I also believe this is why the Android game on Unity 2017 didn't exactly crash, it just froze (probably switching to a different thread once Firebase SDK is used). And it only happened occasionally, not every time (perhaps there aren't always other threads available). I'm also not sure whether this issue started with Firebase Authentication or Realtime Database (I'm assuming both because they both use System.Threading).

Anyway...

  • Is this a known issue people are experiencing? How did you fix it?
  • Is there perhaps a older SDK/Unity version that fixes this? If so, please share your versions.
  • Is there a trick to put all the Firebase SDK calls on the main thread even if it uses System.Theading.Task to run the calls asynchronously?
  • Perhaps I'm using the Firebase SDK incorrectly? Here is an snippet from one of my functions:
if (auth.CurrentUser.IsAnonymous) {
	Task<DataSnapshot> dbGetUser = DBGetUser();
	dbGetUser.ContinueWith(tGetUser => {
			if (tGetUser.IsCanceled || tGetUser.IsFaulted || !tGetUser.IsCompleted) {
			return;
			}
			if (tGetUser.Result == null || tGetUser.Result.GetRawJsonValue() == null) {
			Task dbNewUser = DBNewUser(true);
			dbNewUser.ContinueWith(tNewUser => {
					if (tNewUser.IsCanceled || tNewUser.IsFaulted || !tNewUser.IsCompleted) {
					return;
					}
					Task<DataSnapshot> dbGetNewUser = DBGetUser();
					dbGetNewUser.ContinueWith(tGetNewUser => {
							if (tGetNewUser.IsCanceled || tGetNewUser.IsFaulted || !tGetNewUser.IsCompleted) {
							return;
							}
							PrepareGame("Anonymous", JsonUtility.FromJson<User>(tGetNewUser.Result.GetRawJsonValue()));
							});
					});
			} else {
				PrepareGame("Anonymous", JsonUtility.FromJson<User>(tGetUser.Result.GetRawJsonValue()));
			}
	});
}
@chkuang-g
Copy link
Contributor

Hi Fanus,

When you are using Task.ContinueWith(continuationFunc) in Unity with .NET 4.x, the continuation function will NOT be called from the main thread. This behavior is different from Unity with .NET 3.x, where continuation function is always called from the main thread. Therefore, if you are accessing any GameObject or its properties in the continuation function, ex. PrepareGame(), Unity will definitely complain about "xxxx can only be called from the main thread", and this may result in unexpected behavior.

One quick solution to this problem, with minimum code change, is to use Task.ContinueWith(continuationFunc, scheduler) with TaskScheduler.FromCurrentSynchronizationContext(), assuming your first ContinueWith() is called from the main thread. If not, you will need to store a reference of the scheduler from the main thread.
Here are some references:
https://msdn.microsoft.com/en-us/library/dd321428(v=vs.110).aspx
https://msdn.microsoft.com/en-us/library/system.threading.tasks.taskscheduler.fromcurrentsynchronizationcontext(v=vs.110).aspx
https://stackoverflow.com/questions/4331262/task-continuation-on-ui-thread

Another option for you is to use await instead of ContinueWith(). This also makes your code prettier.
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/async/

What I am curious about is the configuration when you first started getting freeze on Android. May I know the Unity version, Firebase SDK version and .NET version you were using? It would be awesome if you have any additional information!

Thank you and hope this information helps.

Shawn

@felixsoum
Copy link

Hi,

I just wanted to add my personal experience with Unity + Firebase. When I switched to .NET 4.x, I had those errors about accessing GameObjects from the tasks, so I queued events instead and it got rid of those problems.

But I still had problems with the realtime database. Some queries would never get a response or would have their permission denied even if the user was successfully logged in. I switched back to .NET 3.x thinking it would help, but it didn't. Then I read the other issue where someone suggested using the REST API, and it worked for me.

Felix

@fanmanpro
Copy link
Author

@chkuang-g thanks for the suggestions. I'm going to try both and see how it far I get.
My configuration that gave the freezes on Android was as follows:

  • Unity 2017.3.0f3
  • Firebase SDK 5.1.1
  • .NET 2.0 (Stable) as scripting runtime version
  • Mono as scripting backend
  • .NET 2 as API Compatibility Level
  • I also used the older Parse SDK dlls
  • Tested on a Android API Level 25 device

I assumed the freezes were due to the SDK not using System.Threading.Task and therefore unable to deal with asynchronous calls.

Sorry I cannot give you more info (adb logcat, etc.) because downgrading my Unity again just isn't feasible at the moment.


@felixsoum thank you for sharing. Fortunately I haven't had any permission issues, but I did experience the responses never coming back. I fixed that by checking if the Results are null. See this line from the snippet above:
if (tGetUser.Result == null || tGetUser.Result.GetRawJsonValue() == null) {

I haven't considered the REST API yet as I was rooting for whatever option can get me to the finish line as soon as possible. However, I am planning on a iOS version of the game and now thinking that the REST API might be the best option in the long run... I'm not familiar with the API so if you can share some references I would very much appreciate it.

Fanus

@fanmanpro
Copy link
Author

fanmanpro commented Jul 10, 2018

So far when using the TaskScheduler, none of the firebase calls work and logcat reports the following crash error as soon as FirebaseApp.CheckAndFixDependenciesAsync().ContinueWith(FirebaseReady, taskScheduler); is called:

07-10 12:54:50.839: I/firebase(23851): Firebase App initializing app com.Autovelop.SquillGame (default 1).
07-10 12:54:50.839: E/CRASH(23851): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000001f
07-10 12:54:50.839: E/CRASH(23851): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-10 12:54:50.839: E/CRASH(23851): Build fingerprint: 'samsung/sltexx/slte:5.0.2/LRX22G/G850FXXU2CQJ2:user/release-keys'
07-10 12:54:50.839: E/CRASH(23851): Revision: '10'
07-10 12:54:50.839: E/CRASH(23851): pid: 23851, tid: 23924, name: Thread-10397  >>> com.Autovelop.SquillGame <<<
07-10 12:54:50.839: E/CRASH(23851):     r0 94dffe48  r1 ffffffff  r2 94e00a28  r3 95121b20
07-10 12:54:50.839: E/CRASH(23851):     r4 94dffdf0  r5 94dffe48  r6 94dffdf0  r7 94dffd90
07-10 12:54:50.839: E/CRASH(23851):     r8 94e00a00  r9 00000000  sl 94e008f8  fp 94e00aa0
07-10 12:54:50.839: E/CRASH(23851):     ip 951f9bac  sp 94dffd90  lr 951bc67b  pc 951bc84a  cpsr b4440d10
07-10 12:54:50.839: E/CRASH(23851): backtrace:
07-10 12:54:50.844: E/CRASH(23851): 	#00  pc 0002d84a  /dev/mali0
07-10 12:54:50.844: E/CRASH(23851): 	#01  pc 0002d677  /dev/mali0
07-10 12:54:50.844: E/CRASH(23851): 	#02  pc 0002867d  /dev/mali0
07-10 12:54:50.844: E/CRASH(23851): 	#03  pc 0002861f  /dev/mali0 (__gxx_personality_v0+4293779726)
07-10 12:54:50.844: E/CRASH(23851): 	#04  pc 00002c18  /data/app/com.Autovelop.SquillGame-2/lib/arm/libmain.so (__gnu_Unwind_Backtrace+160)
07-10 12:54:50.844: E/CRASH(23851): 	#05  pc 0000354c  /data/app/com.Autovelop.SquillGame-2/lib/arm/libmain.so (___Unwind_Backtrace+20)
07-10 12:54:50.844: E/CRASH(23851): memory near r0:
07-10 12:54:50.844: E/CRASH(23851):     94dffe28 94dfff50 94e00030 94dfff48 b4c13e13  P...0...H....>..
07-10 12:54:50.844: E/CRASH(23851):     94dffe38 95132a2c 951cd694 00000000 94dffe68  ,*..........h...
07-10 12:54:50.844: E/CRASH(23851):     94dffe48 ffffffff 9ffd2dc8 94e0008c ffffffff  .....-..........
07-10 12:54:50.844: E/CRASH(23851):     94dffe58 00000000 951fded5 00000002 951fd1fc  ................
07-10 12:54:50.844: E/CRASH(23851):     94dffe68 951905cc 951fded5 af7497b4 af7497a0  ..........t...t.
07-10 12:54:50.844: E/CRASH(23851):     94dffe78 94e00dd0 94dffdf0 94e00cf0 95132a55  ............U*..
07-10 12:54:50.844: E/CRASH(23851):     94dffe88 95132a55 94dfff70 6fe40ea0 b4cff04c  U*..p......oL...
07-10 12:54:50.844: E/CRASH(23851):     94dffe98 00000000 b4cfca4c 00000000 af722488  ....L........$r.
07-10 12:54:50.844: E/CRASH(23851):     94dffea8 00000000 b4c20a49 b4c20a19 94dfff70  ....I.......p...
07-10 12:54:50.844: E/CRASH(23851):     94dffeb8 6fe40ea0 b4c1ed87 94dfff84 b4cfca4c  ...o........L...
07-10 12:54:50.844: E/CRASH(23851):     94dffec8 94dfff7c 94dfff74 af722484 94dfff78  |...t....$r.x...
07-10 12:54:50.844: E/CRASH(23851):     94dffed8 00000000 b4a9ddaf b6f00df4 00000000  ................
07-10 12:54:50.844: E/CRASH(23851):     94dffee8 b4cbf868 b4cbf890 b4cbf82c b4cdfd18  h.......,.......
07-10 12:54:50.844: E/CRASH(23851):     94dffef8 b4cdfda8 b4cbf82c b4cc0f14 b4cc0ed0  ....,...........
07-10 12:54:50.844: E/CRASH(23851):     94dfff08 b4cfca4c b6f00df4 94dfff80 af1cadc0  L...............
07-10 12:54:50.844: E/CRASH(23851):     94dfff18 00000001 b4d7d360 b6f08fd4 fffffb04  ....`...........
07-10 12:54:50.844: E/CRASH(23851): memory near r2:
07-10 12:54:50.844: E/CRASH(23851):     94e00a08 00000003 00000000 00000000 94e00a40  ............@...
07-10 12:54:50.844: E/CRASH(23851):     94e00a18 951fded5 9fa7d19c 951fd1fc af7482f0  ..............t.
07-10 12:54:50.844: E/CRASH(23851):     94e00a28 00000043 9d2c62a4 00000000 00000000  C....b,.........
07-10 12:54:50.844: E/CRASH(23851):     94e00a38 00000043 00000001 00000001 af748410  C.............t.
07-10 12:54:50.844: E/CRASH(23851):     94e00a48 00000043 afd464c0 00000000 00000000  C....d..........
07-10 12:54:50.844: E/CRASH(23851):     94e00a58 00000043 00000001 afd46428 26b01567  C.......(d..g..&
07-10 12:54:50.844: E/CRASH(23851):     94e00a68 9eb9257c 0000ffff 951fd1fc 951905cc  |%..............
07-10 12:54:50.844: E/CRASH(23851):     94e00a78 94e00aa0 9db81af4 9fa7d10c 00000000  ................
07-10 12:54:50.844: E/CRASH(23851):     94e00a88 00000000 afd46428 00000003 00000000  ....(d..........
07-10 12:54:50.844: E/CRASH(23851):     94e00a98 00000000 af7497a0 94e00ae8 9db81c30  ......t.....0...
07-10 12:54:50.844: E/CRASH(23851):     94e00aa8 00000000 00000000 00000003 00000000  ................
07-10 12:54:50.844: E/CRASH(23851):     94e00ab8 afd46428 afd24618 aef57fd8 00000003  (d...F..........
07-10 12:54:50.844: E/CRASH(23851):     94e00ac8 9705ad90 afd24618 aef57fd8 00000000  .....F..........
07-10 12:54:50.844: E/CRASH(23851):     94e00ad8 00000003 90699750 9705ad90 af7497a0  ....P.i.......t.
07-10 12:54:50.844: E/CRASH(23851):     94e00ae8 94e00b58 9db81158 afd24618 9705ad90  X...X....F......
07-10 12:54:50.844: E/CRASH(23851):     94e00af8 9db81b98 00000003 00000003 00000003  ................
07-10 12:54:50.844: E/CRASH(23851): memory near r3:
07-10 12:54:50.844: E/CRASH(23851):     95121b00 e28ccad8 e5bcf09c e28fc600 e28ccad8  ................
07-10 12:54:50.844: E/CRASH(23851):     95121b10 e5bcf094 e28fc600 e28ccad8 e5bcf08c  ................
07-10 12:54:50.844: E/CRASH(23851):     95121b20 e28fc600 e28ccad8 e5bcf084 e28fc600  ................
07-10 12:54:50.844: E/CRASH(23851):     95121b30 e28ccad8 e5bcf07c e28fc600 e28ccad8  ....|...........
07-10 12:54:50.844: E/CRASH(23851):     95121b40 e5bcf074 e28fc600 e28ccad8 e5bcf06c  t...........l...
07-10 12:54:50.844: E/CRASH(23851):     95121b50 e28fc600 e28ccad8 e5bcf064 e28fc600  ........d.......
07-10 12:54:50.844: E/CRASH(23851):     95121b60 e28ccad8 e5bcf05c e28fc600 e28ccad8  ....\...........
07-10 12:54:50.844: E/CRASH(23851):     95121b70 e5bcf054 e28fc600 e28ccad8 e5bcf04c  T...........L...
07-10 12:54:50.844: E/CRASH(23851):     95121b80 e28fc600 e28ccad8 e5bcf044 e28fc600  ........D.......
07-10 12:54:50.844: E/CRASH(23851):     95121b90 e28ccad8 e5bcf03c e28fc600 e28ccad8  ....<...........
07-10 12:54:50.844: E/CRASH(23851):     95121ba0 e5bcf034 e28fc600 e28ccad8 e5bcf02c  4...........,...
07-10 12:54:50.844: E/CRASH(23851):     95121bb0 e28fc600 e28ccad8 e5bcf024 e28fc600  ........$.......
07-10 12:54:50.844: E/CRASH(23851):     95121bc0 e28ccad8 e5bcf01c e28fc600 e28ccad8  ................
07-10 12:54:50.844: E/CRASH(23851):     95121bd0 e5bcf014 e28fc600 e28ccad8 e5bcf00c  ................
07-10 12:54:50.844: E/CRASH(23851):     95121be0 e28fc600 e28ccad8 e5bcf004 e28fc600  ................
07-10 12:54:50.844: E/CRASH(23851):     95121bf0 e28ccad7 e5bcfffc e28fc600 e28ccad7  ................
07-10 12:54:50.844: E/CRASH(23851): memory near r4:
07-10 12:54:50.844: E/CRASH(23851):     94dffdd0 94e0008c af7497b4 94e00aa0 94dffe48  ......t.....H...
07-10 12:54:50.844: E/CRASH(23851):     94dffde0 00000008 94dffdf0 9ffd2dc8 b44dcc1c  .........-....M.
07-10 12:54:50.844: E/CRASH(23851):     94dffdf0 94e00a28 00000000 94e00800 00000000  (...............
07-10 12:54:50.844: E/CRASH(23851):     94dffe00 95121b20 00000000 6fd5d9e0 26b01567   ..........og..&
07-10 12:54:50.844: E/CRASH(23851):     94dffe10 12f49900 00000002 94dfff48 94dffe50  ........H...P...
07-10 12:54:50.844: E/CRASH(23851):     94dffe20 94dffe40 6fdd89c0 94dfff50 94e00030  @......oP...0...
07-10 12:54:50.844: E/CRASH(23851):     94dffe30 94dfff48 b4c13e13 95132a2c 951cd694  H....>..,*......
07-10 12:54:50.844: E/CRASH(23851):     94dffe40 00000000 94dffe68 ffffffff 9ffd2dc8  ....h........-..
07-10 12:54:50.844: E/CRASH(23851):     94dffe50 94e0008c ffffffff 00000000 951fded5  ................
07-10 12:54:50.844: E/CRASH(23851):     94dffe60 00000002 951fd1fc 951905cc 951fded5  ................
07-10 12:54:50.844: E/CRASH(23851):     94dffe70 af7497b4 af7497a0 94e00dd0 94dffdf0  ..t...t.........
07-10 12:54:50.844: E/CRASH(23851):     94dffe80 94e00cf0 95132a55 95132a55 94dfff70  ....U*..U*..p...
07-10 12:54:50.844: E/CRASH(23851):     94dffe90 6fe40ea0 b4cff04c 00000000 b4cfca4c  ...oL.......L...
07-10 12:54:50.844: E/CRASH(23851):     94dffea0 00000000 af722488 00000000 b4c20a49  .....$r.....I...
07-10 12:54:50.844: E/CRASH(23851):     94dffeb0 b4c20a19 94dfff70 6fe40ea0 b4c1ed87  ....p......o....
07-10 12:54:50.844: E/CRASH(23851):     94dffec0 94dfff84 b4cfca4c 94dfff7c 94dfff74  ....L...|...t...
07-10 12:54:50.844: E/CRASH(23851): memory near r5:
07-10 12:54:50.844: E/CRASH(23851):     94dffe28 94dfff50 94e00030 94dfff48 b4c13e13  P...0...H....>..
07-10 12:54:50.844: E/CRASH(23851):     94dffe38 95132a2c 951cd694 00000000 94dffe68  ,*..........h...
07-10 12:54:50.844: E/CRASH(23851):     94dffe48 ffffffff 9ffd2dc8 94e0008c ffffffff  .....-..........
07-10 12:54:50.844: E/CRASH(23851):     94dffe58 00000000 951fded5 00000002 951fd1fc  ................
07-10 12:54:50.844: E/CRASH(23851):     94dffe68 951905cc 951fded5 af7497b4 af7497a0  ..........t...t.
07-10 12:54:50.844: E/CRASH(23851):     94dffe78 94e00dd0 94dffdf0 94e00cf0 95132a55  ............U*..
07-10 12:54:50.844: E/CRASH(23851):     94dffe88 95132a55 94dfff70 6fe40ea0 b4cff04c  U*..p......oL...
07-10 12:54:50.844: E/CRASH(23851):     94dffe98 00000000 b4cfca4c 00000000 af722488  ....L........$r.
07-10 12:54:50.844: E/CRASH(23851):     94dffea8 00000000 b4c20a49 b4c20a19 94dfff70  ....I.......p...
07-10 12:54:50.844: E/CRASH(23851):     94dffeb8 6fe40ea0 b4c1ed87 94dfff84 b4cfca4c  ...o........L...
07-10 12:54:50.849: E/CRASH(23851):     94dffec8 94dfff7c 94dfff74 af722484 94dfff78  |...t....$r.x...
07-10 12:54:50.849: E/CRASH(23851):     94dffed8 00000000 b4a9ddaf b6f00df4 00000000  ................
07-10 12:54:50.849: E/CRASH(23851):     94dffee8 b4cbf868 b4cbf890 b4cbf82c b4cdfd18  h.......,.......
07-10 12:54:50.849: E/CRASH(23851):     94dffef8 b4cdfda8 b4cbf82c b4cc0f14 b4cc0ed0  ....,...........
07-10 12:54:50.849: E/CRASH(23851):     94dfff08 b4cfca4c b6f00df4 94dfff80 af1cadc0  L...............
07-10 12:54:50.849: E/CRASH(23851):     94dfff18 00000001 b4d7d360 b6f08fd4 fffffb04  ....`...........
07-10 12:54:50.849: E/CRASH(23851): memory near r6:
07-10 12:54:50.849: E/CRASH(23851):     94dffdd0 94e0008c af7497b4 94e00aa0 94dffe48  ......t.....H...
07-10 12:54:50.849: E/CRASH(23851):     94dffde0 00000008 94dffdf0 9ffd2dc8 b44dcc1c  .........-....M.
07-10 12:54:50.849: E/CRASH(23851):     94dffdf0 94e00a28 00000000 94e00800 00000000  (...............
07-10 12:54:50.849: E/CRASH(23851):     94dffe00 95121b20 00000000 6fd5d9e0 26b01567   ..........og..&
07-10 12:54:50.849: E/CRASH(23851):     94dffe10 12f49900 00000002 94dfff48 94dffe50  ........H...P...
07-10 12:54:50.849: E/CRASH(23851):     94dffe20 94dffe40 6fdd89c0 94dfff50 94e00030  @......oP...0...
07-10 12:54:50.849: E/CRASH(23851):     94dffe30 94dfff48 b4c13e13 95132a2c 951cd694  H....>..,*......
07-10 12:54:50.849: E/CRASH(23851):     94dffe40 00000000 94dffe68 ffffffff 9ffd2dc8  ....h........-..
07-10 12:54:50.849: E/CRASH(23851):     94dffe50 94e0008c ffffffff 00000000 951fded5  ................
07-10 12:54:50.849: E/CRASH(23851):     94dffe60 00000002 951fd1fc 951905cc 951fded5  ................
07-10 12:54:50.849: E/CRASH(23851):     94dffe70 af7497b4 af7497a0 94e00dd0 94dffdf0  ..t...t.........
07-10 12:54:50.849: E/CRASH(23851):     94dffe80 94e00cf0 95132a55 95132a55 94dfff70  ....U*..U*..p...
07-10 12:54:50.849: E/CRASH(23851):     94dffe90 6fe40ea0 b4cff04c 00000000 b4cfca4c  ...oL.......L...
07-10 12:54:50.849: E/CRASH(23851):     94dffea0 00000000 af722488 00000000 b4c20a49  .....$r.....I...
07-10 12:54:50.849: E/CRASH(23851):     94dffeb0 b4c20a19 94dfff70 6fe40ea0 b4c1ed87  ....p......o....
07-10 12:54:50.849: E/CRASH(23851):     94dffec0 94dfff84 b4cfca4c 94dfff7c 94dfff74  ....L...|...t...
07-10 12:54:50.849: E/CRASH(23851): memory near r7:
07-10 12:54:50.849: E/CRASH(23851):     94dffd70 00000ff0 b44dd6dc 94dffd84 94dffdbc  ......M.........
07-10 12:54:50.849: E/CRASH(23851):     94dffd80 9ea278a4 9df21ee4 9b848000 94dffdf0  .x..............
07-10 12:54:50.849: E/CRASH(23851):     94dffd90 94dffd98 951b7681 94dffde8 951b7623  .....v......#v..
07-10 12:54:50.849: E/CRASH(23851):     94dffda0 94e008f8 b44dcfac 951c0dfc 95132a2c  ......M.....,*..
07-10 12:54:50.849: E/CRASH(23851):     94dffdb0 95132a53 94dffdf0 95132a53 94dffdf0  S*......S*......
07-10 12:54:50.849: E/CRASH(23851):     94dffdc0 94e0008c 00000008 94e00aa0 26b01567  ............g..&
07-10 12:54:50.849: E/CRASH(23851):     94dffdd0 94e0008c af7497b4 94e00aa0 94dffe48  ......t.....H...
07-10 12:54:50.849: E/CRASH(23851):     94dffde0 00000008 94dffdf0 9ffd2dc8 b44dcc1c  .........-....M.
07-10 12:54:50.849: E/CRASH(23851):     94dffdf0 94e00a28 00000000 94e00800 00000000  (...............
07-10 12:54:50.849: E/CRASH(23851):     94dffe00 95121b20 00000000 6fd5d9e0 26b01567   ..........og..&
07-10 12:54:50.849: E/CRASH(23851):     94dffe10 12f49900 00000002 94dfff48 94dffe50  ........H...P...
07-10 12:54:50.849: E/CRASH(23851):     94dffe20 94dffe40 6fdd89c0 94dfff50 94e00030  @......oP...0...
07-10 12:54:50.849: E/CRASH(23851):     94dffe30 94dfff48 b4c13e13 95132a2c 951cd694  H....>..,*......
07-10 12:54:50.849: E/CRASH(23851):     94dffe40 00000000 94dffe68 ffffffff 9ffd2dc8  ....h........-..
07-10 12:54:50.849: E/CRASH(23851):     94dffe50 94e0008c ffffffff 00000000 951fded5  ................
07-10 12:54:50.849: E/CRASH(23851):     94dffe60 00000002 951fd1fc 951905cc 951fded5  ................
07-10 12:54:50.849: E/CRASH(23851): memory near r8:
07-10 12:54:50.849: E/CRASH(23851):     94e009e0 a0320368 a0320368 00000000 a03203b4  h.2.h.2.......2.
07-10 12:54:50.849: E/CRASH(23851):     94e009f0 0000002b 00004400 00000000 00000000  +....D..........
07-10 12:54:50.849: E/CRASH(23851):     94e00a00 00000000 9fa7e701 00000003 00000000  ................
07-10 12:54:50.849: E/CRASH(23851):     94e00a10 00000000 94e00a40 951fded5 9fa7d19c  ....@...........
07-10 12:54:50.849: E/CRASH(23851):     94e00a20 951fd1fc af7482f0 00000043 9d2c62a4  ......t.C....b,.
07-10 12:54:50.849: E/CRASH(23851):     94e00a30 00000000 00000000 00000043 00000001  ........C.......
07-10 12:54:50.849: E/CRASH(23851):     94e00a40 00000001 af748410 00000043 afd464c0  ......t.C....d..
07-10 12:54:50.849: E/CRASH(23851):     94e00a50 00000000 00000000 00000043 00000001  ........C.......
07-10 12:54:50.849: E/CRASH(23851):     94e00a60 afd46428 26b01567 9eb9257c 0000ffff  (d..g..&|%......
07-10 12:54:50.849: E/CRASH(23851):     94e00a70 951fd1fc 951905cc 94e00aa0 9db81af4  ................
07-10 12:54:50.849: E/CRASH(23851):     94e00a80 9fa7d10c 00000000 00000000 afd46428  ............(d..
07-10 12:54:50.849: E/CRASH(23851):     94e00a90 00000003 00000000 00000000 af7497a0  ..............t.
07-10 12:54:50.849: E/CRASH(23851):     94e00aa0 94e00ae8 9db81c30 00000000 00000000  ....0...........
07-10 12:54:50.849: E/CRASH(23851):     94e00ab0 00000003 00000000 afd46428 afd24618  ........(d...F..
07-10 12:54:50.849: E/CRASH(23851):     94e00ac0 aef57fd8 00000003 9705ad90 afd24618  .............F..
07-10 12:54:50.849: E/CRASH(23851):     94e00ad0 aef57fd8 00000000 00000003 90699750  ............P.i.
07-10 12:54:50.849: E/CRASH(23851): memory near sl:
07-10 12:54:50.849: E/CRASH(23851):     94e008d8 94e0097c 94e00998 00004400 9fdbceec  |........D......
07-10 12:54:50.849: E/CRASH(23851):     94e008e8 af7482f0 a047ac10 af7482e0 a047ac10  ..t...G...t...G.
07-10 12:54:50.849: E/CRASH(23851):     94e008f8 af7482f0 a0320368 a0320368 00000000  ..t.h.2.h.2.....
07-10 12:54:50.849: E/CRASH(23851):     94e00908 a03203b4 0000002b 00004400 00000000  ..2.+....D......
07-10 12:54:50.849: E/CRASH(23851):     94e00918 00000000 00000000 9fa7e701 a04791f0  ..............G.
07-10 12:54:50.849: E/CRASH(23851):     94e00928 00000000 9fb58800 94e00950 9de58420  ........P... ...
07-10 12:54:50.849: E/CRASH(23851):     94e00938 9068a0a0 00000000 00000044 00000000  ..h.....D.......
07-10 12:54:50.849: E/CRASH(23851):     94e00948 9068a0a0 00000000 94e00978 9de584a4  ..h.....x.......
07-10 12:54:50.849: E/CRASH(23851):     94e00958 00000000 9068a0a0 00000000 afd46400  ......h......d..
07-10 12:54:50.849: E/CRASH(23851):     94e00968 26b01567 00000000 00000001 00000000  g..&............
07-10 12:54:50.849: E/CRASH(23851):     94e00978 00000001 00000000 00000100 af7497a0  ..............t.
07-10 12:54:50.849: E/CRASH(23851):     94e00988 94e00aa0 af7482f0 00000000 00000001  ......t.........
07-10 12:54:50.849: E/CRASH(23851):     94e00998 00000000 00000000 00000001 00000010  ................
07-10 12:54:50.849: E/CRASH(23851):     94e009a8 00000044 00000000 00000001 26b01567  D...........g..&
07-10 12:54:50.849: E/CRASH(23851):     94e009b8 af7482f0 00000000 00000000 00000000  ..t.............
07-10 12:54:50.849: E/CRASH(23851):     94e009c8 00004400 af7497b4 af7497a0 9fa7d2b4  .D....t...t.....
07-10 12:54:50.849: E/CRASH(23851): memory near fp:
07-10 12:54:50.849: E/CRASH(23851):     94e00a80 9fa7d10c 00000000 00000000 afd46428  ............(d..
07-10 12:54:50.849: E/CRASH(23851):     94e00a90 00000003 00000000 00000000 af7497a0  ..............t.
07-10 12:54:50.849: E/CRASH(23851):     94e00aa0 94e00ae8 9db81c30 00000000 00000000  ....0...........
07-10 12:54:50.849: E/CRASH(23851):     94e00ab0 00000003 00000000 afd46428 afd24618  ........(d...F..
07-10 12:54:50.849: E/CRASH(23851):     94e00ac0 aef57fd8 00000003 9705ad90 afd24618  .............F..
07-10 12:54:50.849: E/CRASH(23851):     94e00ad0 aef57fd8 00000000 00000003 90699750  ............P.i.
07-10 12:54:50.849: E/CRASH(23851):     94e00ae0 9705ad90 af7497a0 94e00b58 9db81158  ......t.X...X...
07-10 12:54:50.849: E/CRASH(23851):     94e00af0 afd24618 9705ad90 9db81b98 00000003  .F..............
07-10 12:54:50.849: E/CRASH(23851):     94e00b00 00000003 00000003 9705acdc afd24618  .............F..
07-10 12:54:50.849: E/CRASH(23851):     94e00b10 aef57fd8 00000000 00000003 90699750  ............P.i.
07-10 12:54:50.849: E/CRASH(23851):     94e00b20 93b3d9c0 00000000 93b3d9c0 90699750  ............P.i.
07-10 12:54:50.849: E/CRASH(23851):     94e00b30 00000000 00000004 000064c0 9705ac00  .........d......
07-10 12:54:50.849: E/CRASH(23851):     94e00b40 00000000 93b3d9c0 90699750 9705acdc  ........P.i.....
07-10 12:54:50.849: E/CRASH(23851):     94e00b50 aef57fd8 00000002 94e00bb8 9db8e9e4  ................
07-10 12:54:50.849: E/CRASH(23851):     94e00b60 00000000 aef57fd8 afd24618 00000000  .........F......
07-10 12:54:50.849: E/CRASH(23851):     94e00b70 aef57fd8 00000000 00000000 afd464c0  .............d..
07-10 12:54:50.849: E/CRASH(23851): memory near ip:
07-10 12:54:50.849: E/CRASH(23851):     951f9b8c 951bc345 b6ea9d91 00000000 00000000  E...............
07-10 12:54:50.849: E/CRASH(23851):     951f9b9c 00000000 b6ecbead b6eaab01 951624ff  .............$..
07-10 12:54:50.849: E/CRASH(23851):     951f9bac 951b7511 951b8d79 9516b655 951b8df5  .u..y...U.......
07-10 12:54:50.849: E/CRASH(23851):     951f9bbc 9513358d 95130df3 9513383d b6ea6e7d  .5......=8..}n..
07-10 12:54:50.849: E/CRASH(23851):     951f9bcc 951307b1 951b6ad1 951b0dc1 951b6b2d  .....j......-k..
07-10 12:54:50.849: E/CRASH(23851):     951f9bdc 951b6afb 951b6c5d 951b6ccd 951b7485  .j..]l...l...t..
07-10 12:54:50.849: E/CRASH(23851):     951f9bec 951308a5 9512ebb1 9512efc3 95130b67  ............g...
07-10 12:54:50.849: E/CRASH(23851):     951f9bfc 95130c03 95133855 9512ccfd 95131011  ....U8..........
07-10 12:54:50.849: E/CRASH(23851):     951f9c0c 9513349b 9513115f 9512cda1 9513121d  .4.._...........
07-10 12:54:50.849: E/CRASH(23851):     951f9c1c 951338dd 9512dee7 9513334f 95130e2d  .8......O3..-...
07-10 12:54:50.849: E/CRASH(23851):     951f9c2c 951311d1 95131249 9513142d 951314bf  ....I...-.......
07-10 12:54:50.849: E/CRASH(23851):     951f9c3c 951338fd 9512df47 951334f5 9513169d  .8..G....4......
07-10 12:54:50.849: E/CRASH(23851):     951f9c4c 9512dfd5 951316fd b6ea5a43 9512eaf5  ........CZ......
07-10 12:54:50.849: E/CRASH(23851):     951f9c5c 95131505 951316bb 95131721 b6ea5a47  ........!...GZ..
07-10 12:54:50.849: E/CRASH(23851):     951f9c6c 95131895 951318b9 95133431 9512efa9  ........14......
07-10 12:54:50.849: E/CRASH(23851):     951f9c7c 95169e25 95190199 951623f1 951623fd  %........#...#..
07-10 12:54:50.849: E/CRASH(23851): memory near sp:
07-10 12:54:50.849: E/CRASH(23851):     94dffd70 00000ff0 b44dd6dc 94dffd84 94dffdbc  ......M.........
07-10 12:54:50.849: E/CRASH(23851):     94dffd80 9ea278a4 9df21ee4 9b848000 94dffdf0  .x..............
07-10 12:54:50.849: E/CRASH(23851):     94dffd90 94dffd98 951b7681 94dffde8 951b7623  .....v......#v..
07-10 12:54:50.849: E/CRASH(23851):     94dffda0 94e008f8 b44dcfac 951c0dfc 95132a2c  ......M.....,*..
07-10 12:54:50.849: E/CRASH(23851):     94dffdb0 95132a53 94dffdf0 95132a53 94dffdf0  S*......S*......
07-10 12:54:50.849: E/CRASH(23851):     94dffdc0 94e0008c 00000008 94e00aa0 26b01567  ............g..&
07-10 12:54:50.849: E/CRASH(23851):     94dffdd0 94e0008c af7497b4 94e00aa0 94dffe48  ......t.....H...
07-10 12:54:50.849: E/CRASH(23851):     94dffde0 00000008 94dffdf0 9ffd2dc8 b44dcc1c  .........-....M.
07-10 12:54:50.849: E/CRASH(23851):     94dffdf0 94e00a28 00000000 94e00800 00000000  (...............
07-10 12:54:50.849: E/CRASH(23851):     94dffe00 95121b20 00000000 6fd5d9e0 26b01567   ..........og..&
07-10 12:54:50.849: E/CRASH(23851):     94dffe10 12f49900 00000002 94dfff48 94dffe50  ........H...P...
07-10 12:54:50.849: E/CRASH(23851):     94dffe20 94dffe40 6fdd89c0 94dfff50 94e00030  @......oP...0...
07-10 12:54:50.849: E/CRASH(23851):     94dffe30 94dfff48 b4c13e13 95132a2c 951cd694  H....>..,*......
07-10 12:54:50.854: E/CRASH(23851):     94dffe40 00000000 94dffe68 ffffffff 9ffd2dc8  ....h........-..
07-10 12:54:50.854: E/CRASH(23851):     94dffe50 94e0008c ffffffff 00000000 951fded5  ................
07-10 12:54:50.854: E/CRASH(23851):     94dffe60 00000002 951fd1fc 951905cc 951fded5  ................
07-10 12:54:50.854: E/CRASH(23851): code around pc:
07-10 12:54:50.854: E/CRASH(23851):     951bc828 48064601 6820b139 464a4631 69c54643  .F.H9. h1FJFCF.i
07-10 12:54:50.854: E/CRASH(23851):     951bc838 47a84620 e8bd2000 bdf00b00 ffffe672   F.G. ......r...
07-10 12:54:50.854: E/CRASH(23851):     951bc848 6a096801 b5d04708 460caf02 6a4a6801  .h.j.G.....F.hJj
07-10 12:54:50.854: E/CRASH(23851):     951bc858 47904621 20006861 bf042900 606bf24e  !F.Gah. .)..N.k`
07-10 12:54:50.854: E/CRASH(23851):     951bc868 70fff6cf 0000bdd0 466fb580 6a896801  ...p......oF.h.j
07-10 12:54:50.854: E/CRASH(23851):     951bc878 48014788 bf00bd80 ffffe674 6bc96801  .G.H....t....h.k
07-10 12:54:50.854: E/CRASH(23851):     951bc888 f0214708 22000003 f04f28c0 f1a10000  .G!....".(O.....
07-10 12:54:50.854: E/CRASH(23851):     951bc898 bf080110 f1112001 bf880f13 43102201  ..... .......".C
07-10 12:54:50.854: E/CRASH(23851):     951bc8a8 30084770 b8a2f000 f0003008 f021b8f7  pG.0.....0....!.
07-10 12:54:50.854: E/CRASH(23851):     951bc8b8 2200000f f04f2870 f0210000 bf08011f  ..."p(O...!.....
07-10 12:54:50.854: E/CRASH(23851):     951bc8c8 f5b12001 bf087f80 43102201 30084770  . .......".CpG.0
07-10 12:54:50.854: E/CRASH(23851):     951bc8d8 b940f000 f0003008 b5b0b9ab 4604af02  ..@..0.........F
07-10 12:54:50.854: E/CRASH(23851):     951bc8e8 0210f894 4620b968 fa18f000 bf182801  ....h. F.....(..
07-10 12:54:50.854: E/CRASH(23851):     951bc8f8 6820bdb0 6b422101 47904620 0210f894  .. h.!Bk F.G....
07-10 12:54:50.854: E/CRASH(23851):     951bc908 2000b108 f8d4bdb0 b16801f8 f06f6820  ... ......h. ho.
07-10 12:54:50.854: E/CRASH(23851):     951bc918 e9d00101 46202503 f8d44790 180a11f8  .....% F.G......
07-10 12:54:50.854: E/CRASH(23851): code around lr:
07-10 12:54:50.854: E/CRASH(23851):     951bc658 bf00e80e 0003d164 0003d14e 688a4601  ....d...N....F.h
07-10 12:54:50.854: E/CRASH(23851):     951bc668 2001b10a 47704710 466fb580 f0004608  ... .GpG..oF.F..
07-10 12:54:50.854: E/CRASH(23851):     951bc678 2109f8e7 bf082801 46082100 0000bd80  ...!.(...!.F....
07-10 12:54:50.854: E/CRASH(23851):     951bc688 e8801fff e580d034 e580e038 e580e03c  ....4...8...<...
07-10 12:54:50.854: E/CRASH(23851):     951bc698 e3a00000 e12fff1e ec800b20 e12fff1e  ....../. ...../.
07-10 12:54:50.854: E/CRASH(23851):     951bc6a8 ec800b20 e12fff1e ecc00b20 e12fff1e   ...../. ...../.
07-10 12:54:50.854: E/CRASH(23851):     951bc6b8 ece00102 ece01102 ece02102 ece03102  .........!...1..
07-10 12:54:50.854: E/CRASH(23851):     951bc6c8 ece04102 ece05102 ece06102 ece07102  .A...Q...a...q..
07-10 12:54:50.854: E/CRASH(23851):     951bc6d8 ece08102 ece09102 ece0a102 ece0b102  ................
07-10 12:54:50.854: E/CRASH(23851):     951bc6e8 ece0c102 ece0d102 ece0e102 ece0f102  ................
07-10 12:54:50.854: E/CRASH(23851):     951bc6f8 e12fff1e fca08101 fca09101 fca0a101  ../.............
07-10 12:54:50.854: E/CRASH(23851):     951bc708 fca0b101 e12fff1e af02b5d0 46044a0f  ....../......J.F
07-10 12:54:50.854: E/CRASH(23851):     951bc718 2300480d f884447a 4478304c 300864a3  .H.#zD..L0xD.d.0
07-10 12:54:50.854: E/CRASH(23851):     951bc728 0200e9c4 0008f104 f7652240 f104eaf2  ........@"e.....
07-10 12:54:50.854: E/CRASH(23851):     951bc738 f44f0050 f76671e1 4620eab4 f0002100  P.O..qf... F.!..
07-10 12:54:50.854: E/CRASH(23851):     951bc748 2000f91b bf00bdd0 0003c722 00042e88  ... ....".......
07-10 12:54:50.864: E/CRASH(23851): other thread is trapped; signum = 11
07-10 12:54:50.869: A/MessageQueue(23851): IdleHandler threw exception
07-10 12:54:50.869: A/MessageQueue(23851): java.lang.Error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000001f
07-10 12:54:50.869: A/MessageQueue(23851): Build fingerprint: 'samsung/sltexx/slte:5.0.2/LRX22G/G850FXXU2CQJ2:user/release-keys'
07-10 12:54:50.869: A/MessageQueue(23851): Revision: '10'
07-10 12:54:50.869: A/MessageQueue(23851): pid: 23851, tid: 23924, name: Thread-10397  >>> com.Autovelop.SquillGame <<<
07-10 12:54:50.869: A/MessageQueue(23851):     r0 94dffe48  r1 ffffffff  r2 94e00a28  r3 95121b20
07-10 12:54:50.869: A/MessageQueue(23851):     r4 94dffdf0  r5 94dffe48  r6 94dffdf0  r7 94dffd90
07-10 12:54:50.869: A/MessageQueue(23851):     r8 94e00a00  r9 00000000  sl 94e008f8  fp 94e00aa0
07-10 12:54:50.869: A/MessageQueue(23851):     ip 951f9bac  sp 94dffd90  lr 951bc67b  pc 951bc84a  cpsr b4440d10
07-10 12:54:50.869: A/MessageQueue(23851): 	at mali0.0002d84a(Native Method)
07-10 12:54:50.869: A/MessageQueue(23851): 	at mali0.0002d677(Native Method)
07-10 12:54:50.869: A/MessageQueue(23851): 	at mali0.0002867d(Native Method)
07-10 12:54:50.869: A/MessageQueue(23851): 	at mali0.__gxx_personality_v0(__gxx_personality_v0)
07-10 12:54:50.869: A/MessageQueue(23851): 	at libmain.__gnu_Unwind_Backtrace(__gnu_Unwind_Backtrace:160)
07-10 12:54:50.869: A/MessageQueue(23851): 	at libmain.___Unwind_Backtrace(___Unwind_Backtrace:20)

Any suggestions? The editor works perfectly fine, this is on Android device only.

@felixsoum
Copy link

@Fanus

Thanks for your tips about the response. Here are some useful links:

So far working with these has solved my database issues. Good luck!

Felix

@fanmanpro
Copy link
Author

I managed to get everything working by changing my Scripting Backend from IL2CPP back to Mono and keeping everything else on .NET 4. This is the final configuration:
image

Services that are tested and working: Firebase Authentication, Firebase Realtime Database, and Google Play Games.

Now the question is what is going on with IL2CPP and how can I make it work. Its benefits seem promising.

@chkuang-g
Copy link
Contributor

@felixsoum
Could you recall which queries never responded or got denied?
Which platform did it fail?
And which Unity version and Firebase SDK were you using?
We switched to use native iOS/Android implementation under the hood since 5.1.0, which should increase reliability for iOS/Android builds.
Any information could help us to pinpoint the issue.
Thank you!

@Fanus
FirebaseApp.CheckAndFixDependenciesAsync() is one of the very few functions which has to be called from the main thread.
It is called from the main thread?
Also when you assign TaskScheduler.FromCurrentSynchronizationContext() to taskScheduler, is it called from the main thread as well (so that the "CurrentSynchronizationContext" is the main thread)?

IL2CPP supports issue seems concerning to me. I'll see if I can reproduce this locally.

Thank you for the information!

@DenizPiri
Copy link

Not sure if it is related but I am having a similar freeze issue here: #182
In my case, it happens on Mono though, without using IL2CPP.

@fanmanpro
Copy link
Author

@chkuang-g
Not 100% sure if CheckAndFixDependenciesAsync() is called from the main thread but it is inside the script's Awake() function and not in any coroutine or some other asynchronous method.

I don't think it is a thread issue anymore since after I added the taskScheduler, all the ... can only be called from the main thread. errors I got before went away.

Is it possible that the device I'm using maybe doesn't support IL2CPP?

@chkuang-g
Copy link
Contributor

@Fanus

I've been trying to reproduce this using Unity TestApp but unable to make Android build crash.

I was trying to use exactly the same environment.

  • Unity 2018.1.7f1
  • Firebase SDK 5.1.1
  • IL2CPP
  • .NET 4.x
  • Windows 10 x64
  • Target API Level 25 (7.1 Nouget)
  • C++ Configuration Level - Debug
  • Disable HW Statistics
  • Call FirebaseApp.CheckAndFixDependenciesAsync() in Awake()
  • Use TaskScheduler.FromCurrentSynchronizationContext() with ContinueWith()

Also, I was using Pixel phone with Android 8.0.0 for testing. I don't think the device matter but which phone where you using?

Also, could you try to simplify your code to
FirebaseApp.CheckAndFixDependenciesAsync().ContinueWith(task =>{}, TaskScheduler.FromCurrentSynchronizationContext() );

And you can try the TestApp as well. If it crash, could you provide more log data?

Thank you!

@chrisfairc
Copy link

I'm seeing this issue too with the latest version of firebase SDK (5.2.0). Funnily enough, it was not happening one week ago as I had an older version in my app, however a few days ago gradle started being unable to download the dependencies it needed for the old version, so I was forced to update.

I didn't change anything in my project, it's a Unity 2017.1 project. I suggest firebase Unity has regressed badly so allowing gradle to get the last working version (I had 4.4.2 working perfectly) into app builds would be a great step while you guys fix this extremely disruptive bug.

@chkuang-g
Copy link
Contributor

Hi @chrisfairc,

Did you see the crash or the freeze in Android build as @Fanus described?
Or was the issue in the editor when the editor tried to download Android dependencies?
Could you try to build our Database Testapp and see if the same issue occurs?

Thank you!
Shawn

@chrisfairc
Copy link

I am seeing an issue on an Android build, tested it on 2 devices, a samsung phone and a tablet. I'm trying different things but still no joy. I'm sure your test app works fine, but I will try it once I exhaust my test options. I am also seeing issues with failing to start the app. I think I will make my own issue once I have it figured out a bit better.

@chkuang-g
Copy link
Contributor

@chrisfairc Thank you. Please provide more information about the issue you experienced either in this thread or in a different one. This would help us to pinpoint the problem.

@Fanus Are you still experiencing crashs? If so, could you provide the steps to reproduce it?

Thank you

@fanmanpro
Copy link
Author

Since I fixed mine by changing the Scripting Backend from IL2CPP back to Mono, I'm not experiencing any issues. I'm afraid I'm launching my project soon so changing a working setup would be too much of a risk for me. The best I can do is confirm that the setup from this comment is still working 100% and the android build will soon be released.

Perhaps when tweaking performance after release I will revisit this issue so we can put it to rest.

@chkuang-g too also revert back to you regarding this comment. I'm testing it on a archaic Samsung Galaxy Alpha. However the new setup has been working fine on a few other Android devices. Also note that the freezes only happened randomly. I can only speculate that it freezes when the process jumps to a new CPU thread. Perhaps because the phone is under heavy load or the asynchronous function puts heavy strain on the device and isn't just a empty function.

@chrisfairc
Copy link

@chkuang-g I found that it was not actually a problem with firebase unity, sorry I was too hasty earlier.

There is an issue with unity cloud accessing the play service resolver dependencies for firebase, so I disabled the auto resolution, and committed the dependencies, now it's working fine again.

I am still seeing freezes when building locally but that doesnt appear to be a firebase issue now, there may be an issue with the way my local android sdk is configured. At least I can get a good build from unity cloud now so I'm happy enough. Thanks and sorry for hijaking the thread, my issue seemed relevant at first.

@chkuang-g
Copy link
Contributor

@Fanus Good luck with your launching! Please do let us know if you have more information when tweaking performance. And thank you for patiently providing all the information. I've created an internal task to investigate the potential issue related to IL2CPP. It would take time since we do not have a simple way to reproduce it.

@chrisfairc No problem. Glad you resolved it. :)

@pkennedy-tripp
Copy link

pkennedy-tripp commented Aug 9, 2018

Hello,

We are seeing an issue that seems similar to what others are describing. Our setup is as follows:

  • Unity 2017.3.0f3
  • .NET 3.5 Runtime
  • IL2CPP Backend (although the issue also occurs with Mono)
  • Target API Automatic
  • Minimum API 24
  • Firebase Auth and Analytics, v4.5.2*
  • We are testing on a Lenovo Mirage running Android 8.0.0.

This setup was working without issue until we added an Android plugin developed in-house that launches a Service. Once we did that, our application freezes when we call:

auth = Firebase.Auth.FirebaseAuth.DefaultInstance;

I believe this is the first explicit point of contact with Firebase (at least Auth) in our application. Note that at this point we have not started the newly added Service, only called a couple static methods on the plugin.

*I should mention we attempted upgrading to Firebase 5.2, but ran into issues where Firebase stopped functioning (repeatedly throwing the error DllNotFoundException: Unable to load DLL 'FirebaseCppApp-5.2.0': The specified module could not be found.). I think that is the result of something going wrong in the build process, and I haven't looked into it enough to determine the cause. However, during that time, the freeze disappeared, leading me to believe that it's connected to Firebase somehow and not just an issue with our plugin.

Any help resolving this issue would be greatly appreciated!

-Peter

@chkuang-g
Copy link
Contributor

@pkennedy-tripp This seems to be a different issue since it is .NET 3.5 and Firebase 4.5.2. Could you start a different issue on Github?

Also, what are the other static methods on the plugin you called before this?
Did you run FirebaseApp.CheckAndFixDependenciesAsync() and wait for it to complete before this?

Thank you.

@stewartmiles
Copy link
Contributor

@Fanus did you resolve your issue?

@E-Reg
Copy link

E-Reg commented Nov 8, 2018

~ removed, since problem was not related to this issue. I am sorry.

@chkuang-g
Copy link
Contributor

@E-Reg
Are you able to reproduce it with the Unity Auth testapp? I tried it with 2018.2.14f1, IL2CPP scripting backend and .NET 4.x scripting runtime but cannot reproduce it.

Also, do you still see the same issue with the latest Unity plugin?

@xiabodan
Copy link

xiabodan commented May 28, 2019

I am seeing an issue on pixel, Android P.

3389 05-22 20:43:48.558  1181  1548 E libc++abi: terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Device or resource busy
3390 --------- beginning of crash
3391 05-22 20:43:48.727  2122  1548 F google-breakpad: Microdump skipped (uninteresting)
3392 05-22 20:43:48.815  1181  1548 W google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
3393 05-22 20:43:48.815  1181  1548 W google-breakpad: Chrome build fingerprint:
3394 05-22 20:43:48.815  1181  1548 W google-breakpad: 71.0.3578.99
3395 05-22 20:43:48.815  1181  1548 W google-breakpad: 357809950
3396 05-22 20:43:48.815  1181  1548 W google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
3397 05-22 20:43:48.856  1181  1548 E CRASH   : chained_signal_handler 606 got 11
3398 05-22 20:43:48.963   958  1036 F LBDebugger: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
3399 05-22 20:43:48.963   958  1036 F LBDebugger: Build fingerprint: 'xiaomi/sakura/sakura:9/PKQ1.180917.001/V10.3.1.0.PDICNXM:user/release-keys'
3400 05-22 20:43:48.963   958  1036 F LBDebugger: Revision: '0'
3401 05-22 20:43:48.963   958  1036 F LBDebugger: ABI: 'arm'
3402 05-22 20:43:48.963   958  1036 F LBDebugger: pid: 1181, tid: 1548, name: NativeThread  >>> com.ohbibi.fps <<<
3403 05-22 20:43:48.963   958  1036 F LBDebugger: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1f
3404 05-22 20:43:49.008   958  1036 F LBDebugger:     r0 bdad7f10  r1 ffffffff  r2 bdad90b0  r3 f472dba8
3405 05-22 20:43:49.008   958  1036 F LBDebugger:     r4 bdad7f10  r5 bdad7eb8  r6 bdad7eb8  r7 bdad9000
3406 05-22 20:43:49.008   958  1036 F LBDebugger:     r8 f47a2eec  r9 f4730d49  sl bdad95a0  fp efaeeaec
3407 05-22 20:43:49.008   958  1036 F LBDebugger:     ip f47a3214  sp bdad7e60  lr f47876a9  pc f4787892  cpsr 80070030
3408 05-22 20:43:49.010   958  1036 F LBDebugger:-
3409 05-22 20:43:49.010   958  1036 F LBDebugger: backtrace:
3410 05-22 20:43:49.010   958  1036 F LBDebugger:     #00 pc 00089892  /system/lib/libc++.so
3411 05-22 20:43:49.010   958  1036 F LBDebugger:     #01 pc 000896a5  /system/lib/libc++.so
3412 05-22 20:43:49.010   958  1036 F LBDebugger:     #02 pc 00042a4d  /system/lib/libc++.so (__gxx_personality_v0+340)
3413 05-22 20:43:49.010   958  1036 F LBDebugger:     #03 pc 00002c18  /data/app/com.ohbibi.fps-_wi7DfxJ-sOaoRwQE0HaDA==/lib/arm/libmain.so (__gnu_Unwind_Backtrace+160)
3414 05-22 20:43:49.010   958  1036 F LBDebugger:     #04 pc 0000354c  /data/app/com.ohbibi.fps-_wi7DfxJ-sOaoRwQE0HaDA==/lib/arm/libmain.so (___Unwind_Backtrace+20)
3415 05-22 20:43:49.521  9861  9861 I BatteryInfoReceiver: ACTION_BATTERY_CHANGED
3416 05-22 20:43:49.522 22006 22006 D KeyguardUpdateMonitor: received broadcast android.intent.action.BATTERY_CHANGED

@KenshiroIchiyama
Copy link

It occurs in armeabi-v7a

05-31 19:43:03.603: I/firebase(27035): Firebase App initializing app ***.*****.**** (default 1).
05-31 19:43:03.603: E/CRASH(27035): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000001f
05-31 19:43:03.603: E/CRASH(27035): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-31 19:43:03.603: E/CRASH(27035): Build type 'Development', Scripting Backend 'il2cpp', CPU 'armeabi-v7a'
05-31 19:43:03.603: E/CRASH(27035): Build fingerprint: 'docomo/SO-03F/SO-03F:5.0.2/23.1.B.1.317/923601034:user/release-keys'
05-31 19:43:03.603: E/CRASH(27035): Revision: '0'
05-31 19:43:03.603: E/CRASH(27035): pid: 27035, tid: 27088, name: UnityMain  >>> ***.*****.**** <<<
05-31 19:43:03.603: E/CRASH(27035):     r0 9eb251d8  r1 ffffffff  r2 00000002  r3 8e6ff690
05-31 19:43:03.603: E/CRASH(27035):     r4 9eb25180  r5 9eb251d8  r6 b6eece04  r7 9eb25120
05-31 19:43:03.603: E/CRASH(27035):     r8 00000000  r9 b4ffdb40  sl 00000000  fp 9eb25c90
05-31 19:43:03.603: E/CRASH(27035):     ip 8e7d5bd8  sp 9eb25120  lr 8e799d3f  pc 8e799eb2  cpsr b008ad10
05-31 19:43:03.603: E/CRASH(27035): backtrace:
05-31 19:43:03.604: E/CRASH(27035): 	#00  pc 8e799eb2  <unknown/absolute>
05-31 19:43:03.604: E/CRASH(27035): 	#01  pc 8e799d3d  <unknown/absolute>
05-31 19:43:03.604: E/CRASH(27035): memory near r0:
05-31 19:43:03.604: E/CRASH(27035):     9eb251b8 b4fc15c0 b4fc0d74 b4fc0d88 00000043  ....t.......C...
05-31 19:43:03.604: E/CRASH(27035):     9eb251c8 8e7117b4 8e7ac93c 00000000 00550000  ..q.<.z.......U.
05-31 19:43:03.604: E/CRASH(27035):     9eb251d8 ffffffff 9fee88c8 9eb2541c ffffffff  .........T......
05-31 19:43:03.604: E/CRASH(27035):     9eb251e8 00000000 8e7da429 00000002 8e7d96c8  ....).}.......}.
05-31 19:43:03.604: E/CRASH(27035):     9eb251f8 8e7c1b7f 9eb25f4c 00000000 8bd61880  ..|.L_..........
05-31 19:43:03.605: E/CRASH(27035):     9eb25208 9eb25ff8 9eb25180 9eb25f10 8e7117df  ._...Q..._....q.
05-31 19:43:03.605: E/CRASH(27035):     9eb25218 8e7117df b4ffcc78 ae9061d0 b4ebee5f  ..q.x....a.._...
05-31 19:43:03.605: E/CRASH(27035):     9eb25228 00000001 b4fc2011 b4fc2011 9eb252ec  ..... ... ...R..
05-31 19:43:03.605: E/CRASH(27035):     9eb25238 b4ffcc78 0a400005 9eb252dc b4dc25db  x.....@..R...%..
05-31 19:43:03.605: E/CRASH(27035):     9eb25248 6f34cf90 b4ffefe8 0a400005 b6eece04  ..4o......@.....
05-31 19:43:03.605: E/CRASH(27035):     9eb25258 13253eb0 b4fc1dd4 b4fc1e2c b4fc1650  .>%.....,...P...
05-31 19:43:03.605: E/CRASH(27035):     9eb25268 b4fc1df4 b4fc1db0 00000001 00430000  ..............C.
05-31 19:43:03.605: E/CRASH(27035):     9eb25278 af26b800 ae9061d0 b505c280 af26b800  ..&..a........&.
05-31 19:43:03.605: E/CRASH(27035):     9eb25288 00000043 00000043 00550000 a9add7a4  C...C.....U.....
05-31 19:43:03.605: E/CRASH(27035):     9eb25298 00430000 9eb252d4 6f34cf90 9eb252d4  ..C..R....4o.R..
05-31 19:43:03.605: E/CRASH(27035):     9eb252a8 6f34cf90 a9add7a4 08a0000d 0a400005  ..4o..........@.
05-31 19:43:03.605: E/CRASH(27035): memory near r3:
05-31 19:43:03.605: E/CRASH(27035):     8e6ff670 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.605: E/CRASH(27035):     8e6ff680 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.605: E/CRASH(27035):     8e6ff690 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.606: E/CRASH(27035):     8e6ff6a0 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.606: E/CRASH(27035):     8e6ff6b0 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.606: E/CRASH(27035):     8e6ff6c0 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.606: E/CRASH(27035):     8e6ff6d0 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.606: E/CRASH(27035):     8e6ff6e0 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.609: E/CRASH(27035):     8e6ff6f0 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.609: E/CRASH(27035):     8e6ff700 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.609: E/CRASH(27035):     8e6ff710 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.609: E/CRASH(27035):     8e6ff720 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.609: E/CRASH(27035):     8e6ff730 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.610: E/CRASH(27035):     8e6ff740 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.610: E/CRASH(27035):     8e6ff750 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.610: E/CRASH(27035):     8e6ff760 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.610: E/CRASH(27035): memory near r4:
05-31 19:43:03.610: E/CRASH(27035):     9eb25160 9eb2541c 9eb25d38 00000000 9eb251d8  .T..8].......Q..
05-31 19:43:03.610: E/CRASH(27035):     9eb25170 00000008 9eb25180 9fee88c8 b009521c  .....Q.......R..
05-31 19:43:03.610: E/CRASH(27035):     9eb25180 00000002 b4ffdb40 9eb251bc b6eece04  ....@....Q......
05-31 19:43:03.610: E/CRASH(27035):     9eb25190 8e6ff690 b4fc15c0 9eb251b8 b4ffdb40  ..o......Q..@...
05-31 19:43:03.611: E/CRASH(27035):     9eb251a0 9eb251d4 b6eece04 9eb251d8 b4fc15c0  .Q.......Q......
05-31 19:43:03.611: E/CRASH(27035):     9eb251b0 9eb251d0 b4fc0e8c b4fc15c0 b4fc0d74  .Q..........t...
05-31 19:43:03.611: E/CRASH(27035):     9eb251c0 b4fc0d88 00000043 8e7117b4 8e7ac93c  ....C.....q.<.z.
05-31 19:43:03.611: E/CRASH(27035):     9eb251d0 00000000 00550000 ffffffff 9fee88c8  ......U.........
05-31 19:43:03.611: E/CRASH(27035):     9eb251e0 9eb2541c ffffffff 00000000 8e7da429  .T..........).}.
05-31 19:43:03.611: E/CRASH(27035):     9eb251f0 00000002 8e7d96c8 8e7c1b7f 9eb25f4c  ......}...|.L_..
05-31 19:43:03.611: E/CRASH(27035):     9eb25200 00000000 8bd61880 9eb25ff8 9eb25180  ........._...Q..
05-31 19:43:03.611: E/CRASH(27035):     9eb25210 9eb25f10 8e7117df 8e7117df b4ffcc78  ._....q...q.x...
05-31 19:43:03.611: E/CRASH(27035):     9eb25220 ae9061d0 b4ebee5f 00000001 b4fc2011  .a.._........ ..
05-31 19:43:03.612: E/CRASH(27035):     9eb25230 b4fc2011 9eb252ec b4ffcc78 0a400005  . ...R..x.....@.
05-31 19:43:03.615: E/CRASH(27035):     9eb25240 9eb252dc b4dc25db 6f34cf90 b4ffefe8  .R...%....4o....
05-31 19:43:03.616: E/CRASH(27035):     9eb25250 0a400005 b6eece04 13253eb0 b4fc1dd4  ..@......>%.....
05-31 19:43:03.616: E/CRASH(27035): memory near r5:
05-31 19:43:03.616: E/CRASH(27035):     9eb251b8 b4fc15c0 b4fc0d74 b4fc0d88 00000043  ....t.......C...
05-31 19:43:03.616: E/CRASH(27035):     9eb251c8 8e7117b4 8e7ac93c 00000000 00550000  ..q.<.z.......U.
05-31 19:43:03.616: E/CRASH(27035):     9eb251d8 ffffffff 9fee88c8 9eb2541c ffffffff  .........T......
05-31 19:43:03.616: E/CRASH(27035):     9eb251e8 00000000 8e7da429 00000002 8e7d96c8  ....).}.......}.
05-31 19:43:03.616: E/CRASH(27035):     9eb251f8 8e7c1b7f 9eb25f4c 00000000 8bd61880  ..|.L_..........
05-31 19:43:03.616: E/CRASH(27035):     9eb25208 9eb25ff8 9eb25180 9eb25f10 8e7117df  ._...Q..._....q.
05-31 19:43:03.616: E/CRASH(27035):     9eb25218 8e7117df b4ffcc78 ae9061d0 b4ebee5f  ..q.x....a.._...
05-31 19:43:03.616: E/CRASH(27035):     9eb25228 00000001 b4fc2011 b4fc2011 9eb252ec  ..... ... ...R..
05-31 19:43:03.616: E/CRASH(27035):     9eb25238 b4ffcc78 0a400005 9eb252dc b4dc25db  x.....@..R...%..
05-31 19:43:03.616: E/CRASH(27035):     9eb25248 6f34cf90 b4ffefe8 0a400005 b6eece04  ..4o......@.....
05-31 19:43:03.616: E/CRASH(27035):     9eb25258 13253eb0 b4fc1dd4 b4fc1e2c b4fc1650  .>%.....,...P...
05-31 19:43:03.616: E/CRASH(27035):     9eb25268 b4fc1df4 b4fc1db0 00000001 00430000  ..............C.
05-31 19:43:03.616: E/CRASH(27035):     9eb25278 af26b800 ae9061d0 b505c280 af26b800  ..&..a........&.
05-31 19:43:03.616: E/CRASH(27035):     9eb25288 00000043 00000043 00550000 a9add7a4  C...C.....U.....
05-31 19:43:03.617: E/CRASH(27035):     9eb25298 00430000 9eb252d4 6f34cf90 9eb252d4  ..C..R....4o.R..
05-31 19:43:03.617: E/CRASH(27035):     9eb252a8 6f34cf90 a9add7a4 08a0000d 0a400005  ..4o..........@.
05-31 19:43:03.617: E/CRASH(27035): memory near r6:
05-31 19:43:03.617: E/CRASH(27035):     b6eecde4 00000002 00000000 b7258000 00000000  ..........%.....
05-31 19:43:03.617: E/CRASH(27035):     b6eecdf4 00000000 bed4597c bed45a2e 9db85be0  ....|Y...Z...[..
05-31 19:43:03.617: E/CRASH(27035):     b6eece04 a9add7a4 00000000 b6f0c804 0000000c  ................
05-31 19:43:03.617: E/CRASH(27035):     b6eece14 0000000d 00000000 00000000 00000000  ................
05-31 19:43:03.617: E/CRASH(27035):     b6eece24 00000000 00000000 00000000 00000000  ................
05-31 19:43:03.617: E/CRASH(27035):     b6eece34 00000000 00000000 00000000 00000000  ................
05-31 19:43:03.617: E/CRASH(27035):     b6eece44 00000000 00000000 00000000 0000000e  ................
05-31 19:43:03.617: E/CRASH(27035):     b6eece54 00000000 00000000 00000000 b5017040  ............@p..
05-31 19:43:03.617: E/CRASH(27035):     b6eece64 b50170d0 a08e4000 00000000 00000001  .p...@..........
05-31 19:43:03.617: E/CRASH(27035):     b6eece74 ffffffff 03ffffff 00000000 00000000  ................
05-31 19:43:03.617: E/CRASH(27035):     b6eece84 00000000 00000000 00000000 00000000  ................
05-31 19:43:03.617: E/CRASH(27035):     b6eece94 00000000 00000000 00000000 00000000  ................
05-31 19:43:03.617: E/CRASH(27035):     b6eecea4 b6ec919d b6ec912d b6eceaa9 b6eceb19  ....-...........
05-31 19:43:03.617: E/CRASH(27035):     b6eeceb4 b6ecb9f5 b6e9588d b6e95891 00000000  .....X...X......
05-31 19:43:03.617: E/CRASH(27035):     b6eecec4 b6e981a9 b6e982d9 00000000 b55e6d54  ............Tm^.
05-31 19:43:03.617: E/CRASH(27035):     b6eeced4 b4f32329 b6e98385 b5a99bd1 b6b980b5  )#..............
05-31 19:43:03.617: E/CRASH(27035): memory near r7:
05-31 19:43:03.617: E/CRASH(27035):     9eb25100 9eb25114 b0095f58 9eb25114 00000000  .Q..X_...Q......
05-31 19:43:03.617: E/CRASH(27035):     9eb25110 00000001 9b8f323c 9eb25168 9b46af00  ....<2..hQ....F.
05-31 19:43:03.617: E/CRASH(27035):     9eb25120 9eb25128 8e797e69 9eb25178 8e797e17  (Q..i~y.xQ...~y.
05-31 19:43:03.617: E/CRASH(27035):     9eb25130 00000000 b00955a8 8e7a0fc8 8e7117b4  .....U....z...q.
05-31 19:43:03.617: E/CRASH(27035):     9eb25140 8e7117dd 9eb25180 8e7117dd 9eb25180  ..q..Q....q..Q..
05-31 19:43:03.617: E/CRASH(27035):     9eb25150 9fee88c8 9eb2541c 9eb25d38 a9add7a4  .....T..8]......
05-31 19:43:03.617: E/CRASH(27035):     9eb25160 9eb2541c 9eb25d38 00000000 9eb251d8  .T..8].......Q..
05-31 19:43:03.617: E/CRASH(27035):     9eb25170 00000008 9eb25180 9fee88c8 b009521c  .....Q.......R..
05-31 19:43:03.617: E/CRASH(27035):     9eb25180 00000002 b4ffdb40 9eb251bc b6eece04  ....@....Q......
05-31 19:43:03.618: E/CRASH(27035):     9eb25190 8e6ff690 b4fc15c0 9eb251b8 b4ffdb40  ..o......Q..@...
05-31 19:43:03.618: E/CRASH(27035):     9eb251a0 9eb251d4 b6eece04 9eb251d8 b4fc15c0  .Q.......Q......
05-31 19:43:03.618: E/CRASH(27035):     9eb251b0 9eb251d0 b4fc0e8c b4fc15c0 b4fc0d74  .Q..........t...
05-31 19:43:03.618: E/CRASH(27035):     9eb251c0 b4fc0d88 00000043 8e7117b4 8e7ac93c  ....C.....q.<.z.
05-31 19:43:03.618: E/CRASH(27035):     9eb251d0 00000000 00550000 ffffffff 9fee88c8  ......U.........
05-31 19:43:03.618: E/CRASH(27035):     9eb251e0 9eb2541c ffffffff 00000000 8e7da429  .T..........).}.
05-31 19:43:03.618: E/CRASH(27035):     9eb251f0 00000002 8e7d96c8 8e7c1b7f 9eb25f4c  ......}...|.L_..
05-31 19:43:03.618: E/CRASH(27035): memory near r9:
05-31 19:43:03.618: E/CRASH(27035):     b4ffdb20 b504f400 b504f190 b5018240 b504f430  ........@...0...
05-31 19:43:03.618: E/CRASH(27035):     b4ffdb30 b504f520 b504f490 b504f0d0 b504f310   ...............
05-31 19:43:03.618: E/CRASH(27035):     b4ffdb40 b5018218 b5018290 00000000 b504f4c0  ................
05-31 19:43:03.618: E/CRASH(27035):     b4ffdb50 b5018268 b504f3a0 b504f3d0 b504f1c0  h...............
05-31 19:43:03.618: E/CRASH(27035):     b4ffdb60 b504f250 b504f460 b504f220 b504f100  P...`... .......
05-31 19:43:03.618: E/CRASH(27035):     b4ffdb70 b504f370 b504f340 00000000 00000000  p...@...........
05-31 19:43:03.618: E/CRASH(27035):     b4ffdb80 00000000 00000000 00000000 00000000  ................
05-31 19:43:03.618: E/CRASH(27035):     b4ffdb90 00000000 b5081600 b4ffdb9c 00000000  ................
05-31 19:43:03.618: E/CRASH(27035):     b4ffdba0 00000000 00000002 00000001 00000000  ................
05-31 19:43:03.618: E/CRASH(27035):     b4ffdbb0 00000000 00000000 00000000 00000000  ................
05-31 19:43:03.618: E/CRASH(27035):     b4ffdbc0 00000000 00000000 00000000 00000000  ................
05-31 19:43:03.618: E/CRASH(27035):     b4ffdbd0 00000000 00000000 00000000 00000000  ................
05-31 19:43:03.618: E/CRASH(27035):     b4ffdbe0 00000000 00000000 00000000 b5055e70  ............p^..
05-31 19:43:03.618: E/CRASH(27035):     b4ffdbf0 00000000 00000000 00000000 00000001  ................
05-31 19:43:03.618: E/CRASH(27035):     b4ffdc00 00000000 00000000 00000001 00000000  ................
05-31 19:43:03.618: E/CRASH(27035):     b4ffdc10 b4ff93f0 00000000 00000000 464c457f  .............ELF
05-31 19:43:03.618: E/CRASH(27035): memory near fp:
05-31 19:43:03.623: E/CRASH(27035):     9eb25c70 9eb25ce8 9f29661c 9eb25cec 00000010  .\...f)..\......
05-31 19:43:03.623: E/CRASH(27035):     9eb25c80 a04b2df6 9fb44c4c 0000004a 8bd77410  .-K.LL..J....t..
05-31 19:43:03.624: E/CRASH(27035):     9eb25c90 8bd77410 a04b28cd a04b28cd a04b28cd  .t...(K..(K..(K.
05-31 19:43:03.624: E/CRASH(27035):     9eb25ca0 00000000 9f63be38 0000002d 00004400  ....8.c.-....D..
05-31 19:43:03.624: E/CRASH(27035):     9eb25cb0 00000000 00000000 00000000 00000101  ................
05-31 19:43:03.624: E/CRASH(27035):     9eb25cc0 00000000 00000000 a04b2df6 9fb43330  .........-K.03..
05-31 19:43:03.624: E/CRASH(27035):     9eb25cd0 00000000 00000000 00000000 ffffffff  ................
05-31 19:43:03.624: E/CRASH(27035):     9eb25ce0 00000045 0000004a 00000000 00000000  E...J...........
05-31 19:43:03.624: E/CRASH(27035):     9eb25cf0 ffffffff 00000045 9fb433a4 00000000  ....E....3......
05-31 19:43:03.624: E/CRASH(27035):     9eb25d00 00000000 ffffffff 00000001 8bd77410  .............t..
05-31 19:43:03.624: E/CRASH(27035):     9eb25d10 00000000 9f8b0700 a067f730 9eb25db0  ........0.g..]..
05-31 19:43:03.624: E/CRASH(27035):     9eb25d20 b6ef4fe4 00000000 00000000 ffffffff  .O..............
05-31 19:43:03.624: E/CRASH(27035):     9eb25d30 00000001 a06819f0 00000000 9eb25d00  ......h......]..
05-31 19:43:03.624: E/CRASH(27035):     9eb25d40 00000003 918fd770 9eb25e70 00000000  ....p...p^......
05-31 19:43:03.624: E/CRASH(27035):     9eb25d50 00000000 ffffffff 00000001 00000000  ................
05-31 19:43:03.624: E/CRASH(27035):     9eb25d60 a9add7a4 8bd77410 00000000 00004400  .....t.......D..
05-31 19:43:03.624: E/CRASH(27035): memory near ip:
05-31 19:43:03.625: E/CRASH(27035):     8e7d5bb8 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.625: E/CRASH(27035):     8e7d5bc8 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.625: E/CRASH(27035):     8e7d5bd8 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.625: E/CRASH(27035):     8e7d5be8 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.626: E/CRASH(27035):     8e7d5bf8 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.626: E/CRASH(27035):     8e7d5c08 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.626: E/CRASH(27035):     8e7d5c18 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.626: E/CRASH(27035):     8e7d5c28 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.627: E/CRASH(27035):     8e7d5c38 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.627: E/CRASH(27035):     8e7d5c48 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.627: E/CRASH(27035):     8e7d5c58 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.627: E/CRASH(27035):     8e7d5c68 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.627: E/CRASH(27035):     8e7d5c78 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.627: E/CRASH(27035):     8e7d5c88 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.627: E/CRASH(27035):     8e7d5c98 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.627: E/CRASH(27035):     8e7d5ca8 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.627: E/CRASH(27035): memory near sp:
05-31 19:43:03.627: E/CRASH(27035):     9eb25100 9eb25114 b0095f58 9eb25114 00000000  .Q..X_...Q......
05-31 19:43:03.627: E/CRASH(27035):     9eb25110 00000001 9b8f323c 9eb25168 9b46af00  ....<2..hQ....F.
05-31 19:43:03.627: E/CRASH(27035):     9eb25120 9eb25128 8e797e69 9eb25178 8e797e17  (Q..i~y.xQ...~y.
05-31 19:43:03.627: E/CRASH(27035):     9eb25130 00000000 b00955a8 8e7a0fc8 8e7117b4  .....U....z...q.
05-31 19:43:03.627: E/CRASH(27035):     9eb25140 8e7117dd 9eb25180 8e7117dd 9eb25180  ..q..Q....q..Q..
05-31 19:43:03.628: E/CRASH(27035):     9eb25150 9fee88c8 9eb2541c 9eb25d38 a9add7a4  .....T..8]......
05-31 19:43:03.628: E/CRASH(27035):     9eb25160 9eb2541c 9eb25d38 00000000 9eb251d8  .T..8].......Q..
05-31 19:43:03.628: E/CRASH(27035):     9eb25170 00000008 9eb25180 9fee88c8 b009521c  .....Q.......R..
05-31 19:43:03.628: E/CRASH(27035):     9eb25180 00000002 b4ffdb40 9eb251bc b6eece04  ....@....Q......
05-31 19:43:03.628: E/CRASH(27035):     9eb25190 8e6ff690 b4fc15c0 9eb251b8 b4ffdb40  ..o......Q..@...
05-31 19:43:03.628: E/CRASH(27035):     9eb251a0 9eb251d4 b6eece04 9eb251d8 b4fc15c0  .Q.......Q......
05-31 19:43:03.628: E/CRASH(27035):     9eb251b0 9eb251d0 b4fc0e8c b4fc15c0 b4fc0d74  .Q..........t...
05-31 19:43:03.628: E/CRASH(27035):     9eb251c0 b4fc0d88 00000043 8e7117b4 8e7ac93c  ....C.....q.<.z.
05-31 19:43:03.628: E/CRASH(27035):     9eb251d0 00000000 00550000 ffffffff 9fee88c8  ......U.........
05-31 19:43:03.628: E/CRASH(27035):     9eb251e0 9eb2541c ffffffff 00000000 8e7da429  .T..........).}.
05-31 19:43:03.628: E/CRASH(27035):     9eb251f0 00000002 8e7d96c8 8e7c1b7f 9eb25f4c  ......}...|.L_..
05-31 19:43:03.628: E/CRASH(27035): code around pc:
05-31 19:43:03.628: E/CRASH(27035):     8e799e90 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.628: E/CRASH(27035):     8e799ea0 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.628: E/CRASH(27035):     8e799eb0 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.629: E/CRASH(27035):     8e799ec0 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.629: E/CRASH(27035):     8e799ed0 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.629: E/CRASH(27035):     8e799ee0 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.629: E/CRASH(27035):     8e799ef0 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.629: E/CRASH(27035):     8e799f00 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.629: E/CRASH(27035):     8e799f10 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.629: E/CRASH(27035):     8e799f20 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.629: E/CRASH(27035):     8e799f30 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.629: E/CRASH(27035):     8e799f40 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.629: E/CRASH(27035):     8e799f50 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.629: E/CRASH(27035):     8e799f60 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.629: E/CRASH(27035):     8e799f70 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.630: E/CRASH(27035):     8e799f80 ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.630: E/CRASH(27035): code around lr:
05-31 19:43:03.630: E/CRASH(27035):     8e799d1c ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.630: E/CRASH(27035):     8e799d2c ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.630: E/CRASH(27035):     8e799d3c ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.630: E/CRASH(27035):     8e799d4c ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.630: E/CRASH(27035):     8e799d5c ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.630: E/CRASH(27035):     8e799d6c ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.632: E/CRASH(27035):     8e799d7c ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.632: E/CRASH(27035):     8e799d8c ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.632: E/CRASH(27035):     8e799d9c ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.632: E/CRASH(27035):     8e799dac ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.632: E/CRASH(27035):     8e799dbc ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.632: E/CRASH(27035):     8e799dcc ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.632: E/CRASH(27035):     8e799ddc ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.632: E/CRASH(27035):     8e799dec ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.632: E/CRASH(27035):     8e799dfc ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.633: E/CRASH(27035):     8e799e0c ffffffff ffffffff ffffffff ffffffff  ................
05-31 19:43:03.633: A/MessageQueue(27035): IdleHandler threw exception
05-31 19:43:03.633: A/MessageQueue(27035): java.lang.Error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000001f
05-31 19:43:03.633: A/MessageQueue(27035): Build fingerprint: 'docomo/SO-03F/SO-03F:5.0.2/23.1.B.1.317/923601034:user/release-keys'
05-31 19:43:03.633: A/MessageQueue(27035): Revision: '0'
05-31 19:43:03.633: A/MessageQueue(27035): pid: 27035, tid: 27088, name: UnityMain  >>> ***.*****.**** <<<
05-31 19:43:03.633: A/MessageQueue(27035):     r0 9eb251d8  r1 ffffffff  r2 00000002  r3 8e6ff690
05-31 19:43:03.633: A/MessageQueue(27035):     r4 9eb25180  r5 9eb251d8  r6 b6eece04  r7 9eb25120
05-31 19:43:03.633: A/MessageQueue(27035):     r8 00000000  r9 b4ffdb40  sl 00000000  fp 9eb25c90
05-31 19:43:03.633: A/MessageQueue(27035):     ip 8e7d5bd8  sp 9eb25120  lr 8e799d3f  pc 8e799eb2  cpsr b008ad10
05-31 19:43:03.633: A/MessageQueue(27035): 	at Unknown.8e799eb2(Unknown Source)
05-31 19:43:03.633: A/MessageQueue(27035): 	at Unknown.8e799d3d(Unknown Source)

@stewartmiles
Copy link
Contributor

@xiabodan & @KenshiroIchiyama both crash logs attached do not contain any stack traces that lead to Firebase. What makes you believe that Firebase is the root cause of either crash?

@Thaina
Copy link
Contributor

Thaina commented Jun 14, 2019

I also have this issue yesterday with netstandard API compat profile and need to switch to 4.x. Doesn't use IL2Cpp though

I don't really know it caused from firebase or anything else. But just google and found this issue. Mine also has the same similar E/CRASH : memory near something something log like this

@Thaina
Copy link
Contributor

Thaina commented Jun 14, 2019

Ah no, it's not related to compat profile. Both can be crash and throw this kind of exception

06-14 13:25:31.336  1312  1624 E CRASH   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000065
06-14 13:25:31.336  1312  1624 E CRASH   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
06-14 13:25:31.336  1312  1624 E CRASH   : Build type 'Release', Scripting Backend 'mono', CPU 'armeabi-v7a'
06-14 13:25:31.336  1312  1624 E CRASH   : Build fingerprint: 'Nokia/Onyx_00WW/B2N_sprout:9/PPR1.180610.011/00WW_3_53B:user/release-keys'
06-14 13:25:31.336  1312  1624 E CRASH   : Revision: '0'
06-14 13:25:31.336  1312  1624 E CRASH   : pid: 1312, tid: 1624, name: Thread Pool Wor  >>> com.MyCompany.MyProject <<<
06-14 13:25:31.336  1312  1624 E CRASH   :     r0 c8e50010  r1 a0f2ec10  r2 ffffffff  r3 00000041
06-14 13:25:31.336  1312  1624 E CRASH   :     r4 a0f2ec10  r5 a0f2ec10  r6 9fa65810  r7 c8b0b668
06-14 13:25:31.336  1312  1624 E CRASH   :     r8 c8b0b82c  r9 9f1b8e70  sl 00000000  fp c1b3e588
06-14 13:25:31.336  1312  1624 E CRASH   :     ip 00000000  sp c1b3e3f0  lr a03144e0  pc c7fc1848  cpsr 00000658
06-14 13:25:31.336  1312  1624 E CRASH   :
06-14 13:25:31.336  1312  1624 E CRASH   : backtrace:
06-14 13:25:31.341  1312  1624 E CRASH   :      #00  pc 005fa848  /data/app/com.MyCompany.MyProject-PoDZ9eu9XPxNxbZ-PyE1rg==/lib/arm/libunity.so
06-14 13:25:31.341  1312  1624 E CRASH   :      #01  pc 005fd2f8  /data/app/com.MyCompany.MyProject-PoDZ9eu9XPxNxbZ-PyE1rg==/lib/arm/libunity.so
06-14 13:25:31.341  1312  1624 E CRASH   :      #02  pc 00a1ffa0  /data/app/com.MyCompany.MyProject-PoDZ9eu9XPxNxbZ-PyE1rg==/lib/arm/libunity.so
06-14 13:25:31.341  1312  1624 E CRASH   :      #03  pc 00a20b24  /data/app/com.MyCompany.MyProject-PoDZ9eu9XPxNxbZ-PyE1rg==/lib/arm/libunity.so
06-14 13:25:31.341  1312  1624 E CRASH   :      #04  pc 00002ac8   ( (wrapper managed-to-native) UnityEngine.Transform:SetParent (UnityEngine.Transform,UnityEngine.Transform,bool) {0xc05343d0} + 0x58 (0xc9d12a70 0xc9d12b28) [0xc9e62f00 - Unity Root Domain]+10952)
06-14 13:25:31.341  1312  1624 E CRASH   :
06-14 13:25:31.341  1312  1624 E CRASH   : memory near r1:
06-14 13:25:31.341  1312  1624 E CRASH   :     a0f2ebf0 00000000 00000000 00000000 00000000  ................
06-14 13:25:31.341  1312  1624 E CRASH   :     a0f2ec00 abababab abababab 00000019 00000701  ................
06-14 13:25:31.341  1312  1624 E CRASH   :     a0f2ec10 00000000 00000000 00000008 ffffffff  ................
06-14 13:25:31.342  1312  1624 E CRASH   :     a0f2ec20 a0f2ec90 a0f2ee10 a0f2ee30 a0f2ee50  ........0...P...
06-14 13:25:31.342  1312  1624 E CRASH   :     a0f2ec30 a0f2ee70 00000000 44000004 00000000  p..........D....
06-14 13:25:31.342  1312  1624 E CRASH   :     a0f2ec40 00000000 00000000 d7dfcd8d 0000000f  ................
06-14 13:25:31.342  1312  1624 E CRASH   :     a0f2ec50 97ddd595 0000000f 97edc3a6 0000000f  ................
06-14 13:25:31.342  1312  1624 E CRASH   :     a0f2ec60 a0f2eeb0 a0f2eef0 4c000004 00000000  ...........L....
06-14 13:25:31.342  1312  1624 E CRASH   :     a0f2ec70 a0f2ef30 a0f2ee90 a0f2ef50 a0f2ef70  0.......P...p...
06-14 13:25:31.342   794 10377 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
06-14 13:25:31.342  1312  1624 E CRASH   :     a0f2ec80 00000034 ffffffff ffffffff 00000000  4...............
06-14 13:25:31.342  1312  1624 E CRASH   :     a0f2ec90 00000000 00000000 00000000 abababab  ................
06-14 13:25:31.343  1312  1624 E CRASH   :     a0f2eca0 00000000 00000000 00000000 3f800000  ...............?
06-14 13:25:31.343  1312  1624 E CRASH   :     a0f2ecb0 3f800000 3f800000 3f800000 abababab  ...?...?...?....
06-14 13:25:31.343  1312  1624 E CRASH   :     a0f2ecc0 00000000 00000000 00000000 3f800000  ...............?
06-14 13:25:31.343  1312  1624 E CRASH   :     a0f2ecd0 80000000 80000000 80000000 3f800000  ...............?
06-14 13:25:31.343  1312  1624 E CRASH   :     a0f2ece0 3f800000 3f800000 3f800000 3f800000  ...?...?...?...?
06-14 13:25:31.343  1312  1624 E CRASH   :
06-14 13:25:31.343  1312  1624 E CRASH   : memory near r4:
06-14 13:25:31.343  1312  1624 E CRASH   :     a0f2ebf0 00000000 00000000 00000000 00000000  ................
06-14 13:25:31.343  1312  1624 E CRASH   :     a0f2ec00 abababab abababab 00000019 00000701  ................
06-14 13:25:31.343  1312  1624 E CRASH   :     a0f2ec10 00000000 00000000 00000008 ffffffff  ................
06-14 13:25:31.343  1312  1624 E CRASH   :     a0f2ec20 a0f2ec90 a0f2ee10 a0f2ee30 a0f2ee50  ........0...P...
06-14 13:25:31.344  1312  1624 E CRASH   :     a0f2ec30 a0f2ee70 00000000 44000004 00000000  p..........D....
06-14 13:25:31.345  1312  1624 E CRASH   :     a0f2ec40 00000000 00000000 d7dfcd8d 0000000f  ................
06-14 13:25:31.346  1312  1624 E CRASH   :     a0f2ec50 97ddd595 0000000f 97edc3a6 0000000f  ................
06-14 13:25:31.346  1312  1624 E CRASH   :     a0f2ec60 a0f2eeb0 a0f2eef0 4c000004 00000000  ...........L....
06-14 13:25:31.346  1312  1624 E CRASH   :     a0f2ec70 a0f2ef30 a0f2ee90 a0f2ef50 a0f2ef70  0.......P...p...
06-14 13:25:31.346  1312  1624 E CRASH   :     a0f2ec80 00000034 ffffffff ffffffff 00000000  4...............
06-14 13:25:31.346  1312  1624 E CRASH   :     a0f2ec90 00000000 00000000 00000000 abababab  ................
06-14 13:25:31.346  1312  1624 E CRASH   :     a0f2eca0 00000000 00000000 00000000 3f800000  ...............?
06-14 13:25:31.346  1312  1624 E CRASH   :     a0f2ecb0 3f800000 3f800000 3f800000 abababab  ...?...?...?....
06-14 13:25:31.346  1312  1624 E CRASH   :     a0f2ecc0 00000000 00000000 00000000 3f800000  ...............?
06-14 13:25:31.347  1312  1624 E CRASH   :     a0f2ecd0 80000000 80000000 80000000 3f800000  ...............?
06-14 13:25:31.347  1312  1624 E CRASH   :     a0f2ece0 3f800000 3f800000 3f800000 3f800000  ...?...?...?...?
06-14 13:25:31.347  1312  1624 E CRASH   :
06-14 13:25:31.347  1312  1624 E CRASH   : memory near r5:
06-14 13:25:31.347  1312  1624 E CRASH   :     a0f2ebf0 00000000 00000000 00000000 00000000  ................
06-14 13:25:31.347  1312  1624 E CRASH   :     a0f2ec00 abababab abababab 00000019 00000701  ................
06-14 13:25:31.347  1312  1624 E CRASH   :     a0f2ec10 00000000 00000000 00000008 ffffffff  ................
06-14 13:25:31.347  1312  1624 E CRASH   :     a0f2ec20 a0f2ec90 a0f2ee10 a0f2ee30 a0f2ee50  ........0...P...
06-14 13:25:31.347  1312  1624 E CRASH   :     a0f2ec30 a0f2ee70 00000000 44000004 00000000  p..........D....
06-14 13:25:31.347  1312  1624 E CRASH   :     a0f2ec40 00000000 00000000 d7dfcd8d 0000000f  ................
06-14 13:25:31.348  1312  1624 E CRASH   :     a0f2ec50 97ddd595 0000000f 97edc3a6 0000000f  ................
06-14 13:25:31.348  1312  1624 E CRASH   :     a0f2ec60 a0f2eeb0 a0f2eef0 4c000004 00000000  ...........L....
06-14 13:25:31.348  1312  1624 E CRASH   :     a0f2ec70 a0f2ef30 a0f2ee90 a0f2ef50 a0f2ef70  0.......P...p...
06-14 13:25:31.348  1312  1624 E CRASH   :     a0f2ec80 00000034 ffffffff ffffffff 00000000  4...............
06-14 13:25:31.348  1312  1624 E CRASH   :     a0f2ec90 00000000 00000000 00000000 abababab  ................
06-14 13:25:31.348  1312  1624 E CRASH   :     a0f2eca0 00000000 00000000 00000000 3f800000  ...............?
06-14 13:25:31.348  1312  1624 E CRASH   :     a0f2ecb0 3f800000 3f800000 3f800000 abababab  ...?...?...?....
06-14 13:25:31.348  1312  1624 E CRASH   :     a0f2ecc0 00000000 00000000 00000000 3f800000  ...............?
06-14 13:25:31.349  1312  1624 E CRASH   :     a0f2ecd0 80000000 80000000 80000000 3f800000  ...............?
06-14 13:25:31.349  1312  1624 E CRASH   :     a0f2ece0 3f800000 3f800000 3f800000 3f800000  ...?...?...?...?
06-14 13:25:31.349  1312  1624 E CRASH   :
06-14 13:25:31.349  1312  1624 E CRASH   : memory near r6:
06-14 13:25:31.349  1312  1624 E CRASH   :     9fa657f0 00000000 00000000 00000000 00000000  ................
06-14 13:25:31.349  1312  1624 E CRASH   :     9fa65800 abababab abababab 00000019 00000e81  ................
06-14 13:25:31.349  1312  1624 E CRASH   :     9fa65810 00000000 00000000 00000012 00000008  ................
06-14 13:25:31.349  1312  1624 E CRASH   :     9fa65820 9fa65890 9fa65bf0 9fa65c38 9fa65c80  .X...[..8\...\..
06-14 13:25:31.349  1312  1624 E CRASH   :     9fa65830 9fa65cc8 ffffffff 00000000 00000000  .\..............
06-14 13:25:31.349  1312  1624 E CRASH   :     9fa65840 00000000 00000000 d7dfcd8d 0000000f  ................
06-14 13:25:31.350  1312  1624 E CRASH   :     9fa65850 97ddd595 0000000f 97edc3a6 0000000f  ................
06-14 13:25:31.350  1312  1624 E CRASH   :     9fa65860 9fa65d58 9fa65de8 4c000004 00000000  X]...].....L....
06-14 13:25:31.350  1312  1624 E CRASH   :     9fa65870 9fa65e78 9fa65d10 9fa65ec0 9fa65f08  x^...]...^..._..
06-14 13:25:31.350  1312  1624 E CRASH   :     9fa65880 00000034 3f800000 00000000 00000000  4......?........
06-14 13:25:31.350  1312  1624 E CRASH   :     9fa65890 00000000 00000000 00000000 abababab  ................
06-14 13:25:31.350  1312  1624 E CRASH   :     9fa658a0 00000000 00000000 00000000 3f800000  ...............?
06-14 13:25:31.350  1312  1624 E CRASH   :     9fa658b0 3f800000 3f800000 3f800000 abababab  ...?...?...?....
06-14 13:25:31.350  1312  1624 E CRASH   :     9fa658c0 00000000 00000000 00000000 3f800000  ...............?
06-14 13:25:31.350  1312  1624 E CRASH   :     9fa658d0 80000000 80000000 80000000 3f800000  ...............?
06-14 13:25:31.350  1312  1624 E CRASH   :     9fa658e0 3f800000 3f800000 3f800000 3f800000  ...?...?...?...?
06-14 13:25:31.350  1312  1624 E CRASH   :
06-14 13:25:31.350  1312  1624 E CRASH   : memory near r9:
06-14 13:25:31.350  1312  1624 E CRASH   :     9f1b8e50 00000000 00000000 00000000 00000000  ................
06-14 13:25:31.350  1312  1624 E CRASH   :     9f1b8e60 abababab abababab 00000019 00000161  ............a...
06-14 13:25:31.351  1312  1624 E CRASH   :     9f1b8e70 c8a86160 ffff273e 0f200034 00000000  `a..>'..4. .....
06-14 13:25:31.351  1312  1624 E CRASH   :     9f1b8e80 00009e44 00000002 a1eaba40 9f0457f0  D.......@....W..
06-14 13:25:31.351  1312  1624 E CRASH   :     9f1b8e90 9fa65810 00000007 80000000 80000000  .X..............
06-14 13:25:31.351  1312  1624 E CRASH   :     9f1b8ea0 80000000 3f800000 00000000 00000000  .......?........
06-14 13:25:31.351  1312  1624 E CRASH   :     9f1b8eb0 00000000 3f800000 3f800000 3f800000  .......?...?...?
06-14 13:25:31.351  1312  1624 E CRASH   :     9f1b8ec0 00000000 00000034 00000000 00000000  ....4...........
06-14 13:25:31.351  1312  1624 E CRASH   :     9f1b8ed0 e5b1ced0 00000000 00000000 9f1b8e70  ............p...
06-14 13:25:31.351  1312  1624 E CRASH   :     9f1b8ee0 00000000 c26b9999 c1f00000 42eb9999  ......k........B
06-14 13:25:31.351  1312  1624 E CRASH   :     9f1b8ef0 42700000 3f000000 3f000000 3f000000  ..pB...?...?...?
06-14 13:25:31.351  1312  1624 E CRASH   :     9f1b8f00 3f000000 c336e666 00000000 42eb9999  ...?f.6........B
06-14 13:25:31.351  1312  1624 E CRASH   :     9f1b8f10 42700000 3f000000 3f000000 00000000  ..pB...?...?....
06-14 13:25:31.352  1312  1624 E CRASH   :     9f1b8f20 00000000 00000000 00000000 00000000  ................
06-14 13:25:31.352  1312  1624 E CRASH   :     9f1b8f30 00000000 00000000 00000000 00000000  ................
06-14 13:25:31.352  1312  1624 E CRASH   :     9f1b8f40 abababab abababab 00000019 00000161  ............a...
06-14 13:25:31.352  1312  1624 E CRASH   :
06-14 13:25:31.352  1312  1624 E CRASH   : code around pc:
06-14 13:25:31.352  1312  1624 E CRASH   :     c7fc1828 e591c024 e37c0001 012fff1e e92d4800  $.....|.../..H-.
06-14 13:25:31.352  1312  1624 E CRASH   :     c7fc1838 e5902010 e590e008 e2422001 e79e3102  . ....... B..1..
06-14 13:25:31.352  1312  1624 E CRASH   :     c7fc1848 e583c024 e5913024 e5802010 e79e0102  $...$0... ......
06-14 13:25:31.352  1312  1624 E CRASH   :     c7fc1858 e78e0103 e3e00000 e5810024 e8bd4800  ........$....H..
06-14 13:25:31.352  1312  1624 E CRASH   :     c7fc1868 e12fff1e e92d4830 e2803018 e3a02000  ../.0H-..0... ..
06-14 13:25:31.352  1312  1624 E CRASH   :     c7fc1878 e3a0e001 e3a00000 e3a0c000 e111021e  ................
06-14 13:25:31.352  1312  1624 E CRASH   :     c7fc1888 e2822001 11c340d0 1185c00c e2833008  . ...@.......0..
06-14 13:25:31.352  1312  1624 E CRASH   :     c7fc1898 11840000 e3520009 1afffff7 e1a0100c  ......R.........
06-14 13:25:31.352  1312  1624 E CRASH   :     c7fc18a8 e8bd8830 e92d48f0 e1a04002 e1a05000  0....H-..@...P..
06-14 13:25:31.352  1312  1624 E CRASH   :     c7fc18b8 e8910003 e1c425d8 e8840003 e1c500d0  .....%..........
06-14 13:25:31.353  1312  1624 E CRASH   :     c7fc18c8 e1811003 e1800002 e1c500f0 e5940024  ............$...
06-14 13:25:31.353  1312  1624 E CRASH   :     c7fc18d8 e3700001 18bd88f0 e5956010 e5846024  ..p......`..$`..
06-14 13:25:31.353  1312  1624 E CRASH   :     c7fc18e8 e5950014 e2867001 e15700a0 8a000003  .....p....W.....
06-14 13:25:31.354  1312  1624 E CRASH   :     c7fc18f8 e5950008 e5857010 e7804106 e8bd88f0  .....p...A......
06-14 13:25:31.354  1312  1624 E CRASH   :     c7fc1908 e2850008 ebea78d1 eafffff8 e92d48f0  .....x.......H-.
06-14 13:25:31.354  1312  1624 E CRASH   :     c7fc1918 e1a04003 e1a05002 e1a06001 e1a07000  .@...P...`...p..
06-14 13:25:31.354  1312  1624 E CRASH   :
06-14 13:25:31.354  1312  1624 E CRASH   : code around lr:
06-14 13:25:31.355  1312  1624 E CRASH   :     a03144c0 00000000 c8b88d70 c038e838 00000000  ....p...8.8.....
06-14 13:25:31.355  1312  1624 E CRASH   :     a03144d0 c0dff980 00000000 00000009 00000041  ............A...
06-14 13:25:31.355  1312  1624 E CRASH   :     a03144e0 a0c3d750 9fa65810 9f2c3610 9f175c10  P....X...6,..\..
06-14 13:25:31.355  1312  1624 E CRASH   :     a03144f0 a054e810 9fa20610 00000000 00000000  ..T.............
06-14 13:25:31.355  1312  1624 E CRASH   :     a0314500 00000000 00000000 00000000 00000000  ................
06-14 13:25:31.355  1312  1624 E CRASH   :     a0314510 000005c6 06004012 a94f9d98 a161f030  .....@....O.0.a.
06-14 13:25:31.355  1312  1624 E CRASH   :     a0314520 c54aeb8a 00019000 00000000 00000000  ..J.............
06-14 13:25:31.356  1312  1624 E CRASH   :     a0314530 00000000 c8b88d88 c038e838 00000000  ........8.8.....
06-14 13:25:31.356  1312  1624 E CRASH   :     a0314540 c0dff980 00000000 000005c6 06004013  .............@..
06-14 13:25:31.356  1312  1624 E CRASH   :     a0314550 a94f9d98 a161f0b0 c54b72f6 00021000  ..O...a..rK.....
06-14 13:25:31.356  1312  1624 E CRASH   :     a0314560 00000000 00000000 00000000 c8b88da0  ................
06-14 13:25:31.356  1312  1624 E CRASH   :     a0314570 c038e838 00000000 c0dff980 00000000  8.8.............
06-14 13:25:31.357  1312  1624 E CRASH   :     a0314580 000005c6 06004014 a94f9d98 a0f40570  .....@....O.p...
06-14 13:25:31.357  1312  1624 E CRASH   :     a0314590 c54accf3 00029000 00000000 00000000  ..J.............
06-14 13:25:31.357  1312  1624 E CRASH   :     a03145a0 00000000 c8b88db8 c038e838 00000000  ........8.8.....
06-14 13:25:31.357  1312  1624 E CRASH   :     a03145b0 c0dff980 00000000 000005c6 06004015  .............@..
06-14 13:25:31.357  1312  1451 E CRASH   : other thread is trapped; signum = 11
06-14 13:25:31.358  1312  1312 E CRASH   : other thread is trapped; signum = 11
06-14 13:25:31.358  1312  1312 E CRASH   : main thread is trapped; signum = 11
06-14 13:25:31.358  1312  1312 E CRASH   : other thread is trapped; signum = 11

@mthor1234
Copy link

Seeing this as well with IL2CPP

@firebase firebase locked and limited conversation to collaborators Oct 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests