View Issue Details

IDProjectCategoryView StatusLast Update
0001173NoesisGUIUnity3Dpublic2021-05-07 18:08
Reportermonstercho Assigned Tojsantos  
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Summary0001173: Noesis.dll caused an Access Violation (0xc0000005) in module Noesis.dll at 0033:5ce69d0f
DescriptionI have a xaml where tapping a button opens another xaml by doing:
            Resources.Load(System.IO.Path.GetFileNameWithoutExtension(xamlPath));
            Noesis.GUI.LoadComponent(o, xamlPath);

I get the crash on 6th try of doing this.

Currently don't have a minimal project to reproduce - was hoping that the attached log/dump may give you clue.
Can test with debug noesis version if you have.
Tags2.1Beta
PlatformAny

Activities

monstercho

monstercho

2017-10-29 17:09

reporter  

crash.dmp (874,144 bytes)
error.log (36,770 bytes)
monstercho

monstercho

2017-10-29 18:37

reporter   ~0004855

Just a clarification because what I wrote is misleading - crash is not when I try to load the new page.
I'm navigating forward and back between those 2 xamls and when the crash happens it is before the Click event of the button - I put a breakpoint inside it and it crashes before reaching it.
sfernandez

sfernandez

2017-10-30 17:15

manager   ~0004865

Last edited: 2017-10-30 17:15

The crash is related with touch manipulations:
>   Noesis.dll!Noesis::Gui::TouchScreen::NewManipulationFinger(Noesis::Gui::UIElement * uiElement, const Noesis::Drawing::Point & p, unsigned int id) Line 642	C++
    Noesis.dll!Noesis::Gui::TouchScreen::TouchDown(int x, int y, unsigned int id) Line 160	C++

We will investigate it.

monstercho

monstercho

2017-10-30 20:50

reporter   ~0004867

TouchDown was a great lead!
In our project Noesis view EnableTouch/EnableMouse are disabled. We are feeding input events to Noesis by calling TouchDown/Up (both on PC and Android, no mouse down/up).

But recently we added feeding both TouchDown/Up and MouseDown/Up in 1 special case - when button is inside a scrollviewer - done as workaround for the button not getting visual pressed state when inside a scrollviewer (forum: http://www.noesisengine.com/forums/viewtopic.php?f=3&t=1210&sid=86879a9e273e156cdde74f4074dcd6f9). MouseDown/Up visually results in a pressed state, while touchdown/up not.

Now I disabled the workaround and Unity/Noesis don't crash anymore. Crash was both under Editor and Android.
jsantos

jsantos

2017-10-30 20:54

manager   ~0004868

Thanks for the feedback! I am analyzing this right now.
jsantos

jsantos

2020-09-14 01:48

manager   ~0006628

Is this still an issue?

Issue History

Date Modified Username Field Change
2017-10-29 17:09 monstercho New Issue
2017-10-29 17:09 monstercho File Added: crash.dmp
2017-10-29 17:09 monstercho File Added: error.log
2017-10-29 17:09 monstercho Tag Attached: 2.1Beta
2017-10-29 18:37 monstercho Note Added: 0004855
2017-10-30 17:13 sfernandez Assigned To => jsantos
2017-10-30 17:13 sfernandez Status new => assigned
2017-10-30 17:15 sfernandez Note Added: 0004865
2017-10-30 17:15 sfernandez Note Edited: 0004865
2017-10-30 17:15 sfernandez Note Edited: 0004865
2017-10-30 20:50 monstercho Note Added: 0004867
2017-10-30 20:54 jsantos Note Added: 0004868
2018-11-01 02:14 jsantos View Status public => private
2020-09-14 01:48 jsantos Status assigned => feedback
2020-09-14 01:48 jsantos Note Added: 0006628
2020-09-14 01:55 jsantos View Status private => public
2020-09-14 01:55 jsantos Platform => Any
2021-05-07 18:08 jsantos Status feedback => resolved
2021-05-07 18:08 jsantos Resolution open => fixed