VaqifQuluzada
Topic Author
Posts: 7
Joined: 31 Mar 2023, 11:05

Unity Android Crash On Application run

07 Jun 2023, 11:47

Hi. I have a little issue about build in android. When i open app in android device, sometimes (not so often) i get this crash error(used logcat for this crash report)
06-07 10:29:22.957 28142 28177 E AndroidRuntime: FATAL EXCEPTION: UnityMain
06-07 10:29:22.957 28142 28177 E AndroidRuntime: Process: com.DynamicBox.Prototip, PID: 28142
06-07 10:29:22.957 28142 28177 E AndroidRuntime: java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
06-07 10:29:22.957 28142 28177 E AndroidRuntime: Version '2021.3.16f1 (4016570cf34f)', Build type 'Release', Scripting Backend 'mono', CPU 'armeabi-v7a'
06-07 10:29:22.957 28142 28177 E AndroidRuntime: Build fingerprint: 'Unistrong/UT32/UT32:10/QKQ1/androi202106242017:user/release-keys'
06-07 10:29:22.957 28142 28177 E AndroidRuntime: Revision: '0'
06-07 10:29:22.957 28142 28177 E AndroidRuntime: ABI: 'arm'
06-07 10:29:22.957 28142 28177 E AndroidRuntime: Timestamp: 2023-06-07 10:29:22+0400
06-07 10:29:22.957 28142 28177 E AndroidRuntime: pid: 28142, tid: 28177, name: UnityMain  >>> com.DynamicBox.Prototip<<<
06-07 10:29:22.957 28142 28177 E AndroidRuntime: uid: 10171
06-07 10:29:22.957 28142 28177 E AndroidRuntime: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x24
06-07 10:29:22.957 28142 28177 E AndroidRuntime: Cause: null pointer dereference
06-07 10:29:22.957 28142 28177 E AndroidRuntime:     r0  00000000  r1  b6a6b220  r2  c89510e6  r3  c89510e7
06-07 10:29:22.957 28142 28177 E AndroidRuntime:     r4  00000000  r5  b6a6b220  r6  00000002  r7  c89510c0
06-07 10:29:22.957 28142 28177 E AndroidRuntime:     r8  c8951148  r9  b6a6b060  r10 00000000  r11 00000015
06-07 10:29:22.957 28142 28177 E AndroidRuntime:     ip  c02deae8  sp  c8951070  lr  c0006673  pc  bff51df8
06-07 10:29:22.957 28142 28177 E AndroidRuntime: 
06-07 10:29:22.957 28142 28177 E AndroidRuntime: backtrace:
06-07 10:29:22.957 28142 28177 E AndroidRuntime:       #00 pc 00148df8  /data/app/com.DynamicBox.Prototip-l64U6h0uYWi6v6j1Z8KMMg==/lib/arm/libNoesis.so
06-07 10:29:22.957 28142 28177 E AndroidRuntime: 
06-07 10:29:22.957 28142 28177 E AndroidRuntime: managed backtrace:
06-07 10:29:22.957 28142 28177 E AndroidRuntime:       #00 (wrapper managed-to-native) Noesis.View:Noesis_View_Create (System.Runtime.InteropServices.HandleRef)
06-07 10:29:22.957 28142 28177 E AndroidRuntime:       #01 Noesis.View:CreateCPtr (System.Type,bool&) <0x7b>
06-07 10:29:22.957 28142 28177 E AndroidRuntime:       #02 Noesis.BaseComponent:.ctor () <0x43>
06-07 10:29:22.957 28142 28177 E AndroidRuntime:       #03 Noesis.DispatcherObject:.ctor () <0x13>
06-07 10:29:22.957 28142 28177 E AndroidRuntime:       #04 Noesis.View:.ctor (System.Runtime.InteropServices.HandleRef) <0x57>
06-07 10:29:22.957 28142 28177 E AndroidRuntime:       #05 Noesis.View:.ctor (Noesis.FrameworkElement) <0x2b>
06-07 10:29:22.957 28142 28177 E AndroidRuntime:       #06 NoesisView:CreateView (Noesis.FrameworkElement) <0x67>
06-07 10:29:22.957 28142 28177 E AndroidRuntime:       #07 NoesisView:LoadXaml (bool) <0xc7>
06-07 10:29:22.957 28142 28177 E AndroidRuntime:       #08 NoesisView:OnEnable () <0x43>
06-07 10:29:22.957 28142 28177 E AndroidRuntime:       #09 (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
06-07 10:29:22.957 28142 28177 E AndroidRuntime: 
06-07 10:29:22.957 28142 28177 E AndroidRuntime: 	at libNoesis.0x148df8(Native Method)
06-07 10:29:22.957 28142 28177 E AndroidRuntime: 	at Noesis.View.Noesis_View_Create (System.Runtime.InteropServices.HandleRef)(Native Method)
06-07 10:29:22.957 28142 28177 E AndroidRuntime: 	at Noesis.View.CreateCPtr (System.Type,bool&)(0x7b:123)
06-07 10:29:22.957 28142 28177 E AndroidRuntime: 	at Noesis.BaseComponent..ctor ()(0x43:67)
06-07 10:29:22.957 28142 28177 E AndroidRuntime: 	at Noesis.DispatcherObject..ctor ()(0x13:19)
06-07 10:29:22.957 28142 28177 E AndroidRuntime: 	at Noesis.View..ctor (System.Runtime.InteropServices.HandleRef)(0x57:87)
06-07 10:29:22.957 28142 28177 E AndroidRuntime: 	at Noesis.View..ctor (Noesis.FrameworkElement)(0x2b:43)
06-07 10:29:22.957 28142 28177 E AndroidRuntime: 	at NoesisView.CreateView (Noesis.FrameworkElement)(0x67:103)
06-07 10:29:22.957 28142 28177 E AndroidRuntime: 	at NoesisView.LoadXaml (bool)(0xc7:199)
06-07 10:29:22.957 28142 28177 E AndroidRuntime: 	at NoesisView.OnEnable ()(0x43:67)
06-07 10:29:22.957 28142 28177 E AndroidRuntime: 	at System.Object.runtime_invoke_void__this__ (object,intptr,intptr,intptr)(Native Method)
I saw similar issue in this thread:
https://www.noesisengine.com/bugs/view.php?id=1749
Can you help me about this pls?
 
User avatar
jsantos
Site Admin
Posts: 3939
Joined: 20 Jan 2012, 17:18
Contact:

Re: Unity Android Crash On Application run

08 Jun 2023, 08:26

Are you able to reproduce this in our examples too?
 
VaqifQuluzada
Topic Author
Posts: 7
Joined: 31 Mar 2023, 11:05

Re: Unity Android Crash On Application run

08 Jun 2023, 09:04

No Noesis samples doesent give crash but the main difference between examples and my project is that there are lots of elements in my views. Can this cause this crash?
 
User avatar
sfernandez
Site Admin
Posts: 3008
Joined: 22 Dec 2011, 19:20

Re: Unity Android Crash On Application run

12 Jun 2023, 12:43

Could you please open a ticket in our bugtracker indicating the Noesis version you're using, we will provide a library with symbols so we can get more information from the crash callstack.

Who is online

Users browsing this forum: Bing [Bot] and 5 guests