View Issue Details

IDProjectCategoryView StatusLast Update
0001890NoesisGUIUnity3Dpublic2021-03-15 17:11
ReporterHakPakAssigned Tosfernandez 
PrioritynormalSeveritycrashReproducibilitysometimes
Status feedbackResolutionopen 
Product Version3.0.9 
Target Version3.0.12Fixed in Version 
Summary0001890: Seemingly random Crashes in editor and build
DescriptionAccording to the error.log, the crash is caused by an access violation.

Stacktrace:

0x00007FFD219897D6 (Noesis) KeyEventArgs_IsToggled_get
0x00007FFD21986D4D (Noesis) DragEventArgs_GetAllowedEffectsHelper
0x00007FFD219A0181 (Noesis) DataObjectEventArgs_CancelCommand
0x00007FFD2199FFA7 (Noesis) DataObjectEventArgs_CancelCommand
0x00007FFD21985DBA (Noesis) DragEventArgs_GetAllowedEffectsHelper
0x00007FFD21A08E93 (Noesis) TouchEventArgs_GetTouchDeviceId
0x00007FFD21A010A0 (Noesis) TouchEventArgs_GetTouchDeviceId
0x00007FFD21A06084 (Noesis) TouchEventArgs_GetTouchDeviceId
0x00007FFD21AEA844 (Noesis) KeyEventArgs_KeyStates_get
0x00007FFD21AB2E2D (Noesis) KeyEventArgs_KeyStates_get
0x00007FFD21AB3502 (Noesis) KeyEventArgs_KeyStates_get
0x00007FFD21AB1E5C (Noesis) KeyEventArgs_KeyStates_get
0x00007FFD21A062AE (Noesis) TouchEventArgs_GetTouchDeviceId
0x00007FFD21AEA844 (Noesis) KeyEventArgs_KeyStates_get
0x00007FFD21AF41B1 (Noesis) DataObjectEventArgs_IsDragDrop_get
0x00007FFD21AF3F8B (Noesis) DataObjectEventArgs_IsDragDrop_get
0x00007FFD21AF2610 (Noesis) ContentControl_Content_get
0x00007FFD21AF24FA (Noesis) ContentControl_Content_get
0x00000285A03C7FC3 (Mono JIT Code) (wrapper managed-to-native) Noesis.View:Noesis_View_Update (System.Runtime.InteropServices.HandleRef,double)
Steps To ReproduceNothing specific, the crash seems to happen when my ViewModels update their data.
TagsNo tags attached.
PlatformWindows

Activities

HakPak

HakPak

2021-01-19 09:02

reporter  

Crash_2021-01-19_074457198.rar (142,847 bytes)
sfernandez

sfernandez

2021-01-19 10:40

manager   ~0006960

Hello, as it seems this cannot be reproduced in a deterministic way and I need a bit more information to understand the scenario where this is happening, I've built a new debug library with some extra logs:
https://drive.google.com/file/d/147oOtAjWjfp-rENOdz069aRBx9TBc6yj/view?usp=sharing

Could you please try this library in your project? I also need you to set Tools > NoesisGUI > Settings... > Log Verbosity = "Bindings".
Please send the dump and logs again when it crashes again.

Thanks for your help.
HakPak

HakPak

2021-01-19 12:12

reporter   ~0006961

Hello sfernandez, after including the library and changing the setting, the game crashes immediately after the unity splash screen, unity also crashed when I tried to play in editor.

Crash_2021-01-19_110826344.rar (89,890 bytes)
sfernandez

sfernandez

2021-01-20 18:25

manager   ~0006968

I've built a new library with more logs to narrow the source of the problem, could you please try again with Log Verbosity still set to "Bindings":
https://drive.google.com/file/d/17vcW5x1Vm32j_fe1ApUjT24OfagChC3-/view?usp=sharing
HakPak

HakPak

2021-01-20 19:24

reporter   ~0006969

With the new library the game was able to start again and the error did occur, albeit much later than usual.
I presume it has to be some difference in the timing, because the log verbosity caused a lot of slowdowns.

Crash_2021-01-20_180914970.rar (1,558,340 bytes)
sfernandez

sfernandez

2021-01-27 18:42

manager   ~0007002

Is it possible that you are changing the UI or the ViewModel bound to the UI from a different thread than Unity Main?
I say it because in the logs I see a message printed from the ThreadPoolWorkQueue: "Starting turn 65, it's shion isu komugi's turn.", and the crash is hard to explain without threading issues.

Issue History

Date Modified Username Field Change
2021-01-19 09:02 HakPak New Issue
2021-01-19 09:02 HakPak File Added: Crash_2021-01-19_074457198.rar
2021-01-19 10:40 sfernandez Assigned To => sfernandez
2021-01-19 10:40 sfernandez Status new => feedback
2021-01-19 10:40 sfernandez Note Added: 0006960
2021-01-19 12:12 HakPak File Added: Crash_2021-01-19_110826344.rar
2021-01-19 12:12 HakPak Note Added: 0006961
2021-01-19 12:12 HakPak Status feedback => assigned
2021-01-19 17:02 jsantos Target Version => 3.0.10
2021-01-19 17:02 jsantos Description Updated View Revisions
2021-01-20 18:25 sfernandez Status assigned => feedback
2021-01-20 18:25 sfernandez Note Added: 0006968
2021-01-20 19:24 HakPak File Added: Crash_2021-01-20_180914970.rar
2021-01-20 19:24 HakPak Note Added: 0006969
2021-01-20 19:24 HakPak Status feedback => assigned
2021-01-27 18:42 sfernandez Status assigned => feedback
2021-01-27 18:42 sfernandez Note Added: 0007002
2021-02-10 18:30 jsantos Target Version 3.0.10 => 3.0.11
2021-03-15 17:11 jsantos Target Version 3.0.11 => 3.0.12