View Issue Details

IDProjectCategoryView StatusLast Update
0002626NoesisGUIUnitypublic2023-06-13 10:45
ReporterVaqifQuluzada Assigned Tojsantos  
PrioritynormalSeveritycrash 
Status feedbackResolutionopen 
Product Version3.2 
Summary0002626: Crash when loading two noesisView content at the same time
Description

In my scene there are two noesis view element which loads at the same time in start. And sometimes this gives and error message as below.
The temporary solution for this issue is to give delay between two xaml files loading process(i use async method but sometimes it also crashes)

Steps To Reproduce

1) Put two noesisView in different cameras in scene.
2) After building in android, sometimes it gives crash and exit application

Error codes in logcat:
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_voidthis (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_voidthis (object,intptr,intptr,intptr)(Native Method)

PlatformAndroid

Activities

jsantos

jsantos

2023-06-13 10:44

manager   ~0008538

Just for confirmation, this is not using multiple threads for loading the views right?

Issue History

Date Modified Username Field Change
2023-06-13 08:16 VaqifQuluzada New Issue
2023-06-13 08:16 VaqifQuluzada Tag Attached: C#
2023-06-13 08:16 VaqifQuluzada Tag Attached: Unity
2023-06-13 08:16 VaqifQuluzada Tag Attached: WPF
2023-06-13 08:16 VaqifQuluzada Tag Attached: xaml
2023-06-13 10:44 jsantos Note Added: 0008538
2023-06-13 10:45 jsantos Assigned To => jsantos
2023-06-13 10:45 jsantos Status new => feedback
2025-10-10 13:29 jsantos Category Unity3D => Unity