View Issue Details

IDProjectCategoryView StatusLast Update
0002863NoesisGUIUnity3Dpublic2024-10-24 16:37
Reporterstonstad Assigned Tosfernandez  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionno change required 
Product Version3.2.2 
Target Version3.2.5Fixed in Version3.2.5 
Summary0002863: BaseUICollection.Insert Crash
DescriptionStackPanel.Children.Insert(0, new TextBlock() { Text = "Helllo" }); causes a crash. Behavior is reproducible.

at <unknown> <0xffffffff>
      at Noesis.NoesisGUI_PINVOKE:BaseUICollection_Insert <0x00121>
      at Noesis.BaseUICollection:Insert <0x00122>
      at StellarConquest.Presentation.Unity.UI.BuildControl:ShowToolTipLegacy <0x02e52>
      at <>c__DisplayClass34_0:<CreateSubmenuBuildingIconLegacy>b__1 <0x00082>
      at Noesis.MouseEventArgs:InvokeHandler <0x001b3>
      at Noesis.EventManager:InvokeHandler <0x0020b>
      at Noesis.EventHandlerStore:RaiseRoutedEvent <0x0050a>
      at Noesis.EventHandlerStore:RaiseRoutedEvent <0x0012a>
      at <unknown> <0xffffffff>
      at Noesis.View:Noesis_View_Update <0x0010c>
      at Noesis.View:Update <0x00192>
      at NoesisView:UpdateInternal <0x0062a>
      at NoesisView:LateUpdate <0x000da>
      at System.Object:runtime_invoke_void__this__ <0x00187>
Steps To ReproduceEncl. log and crash dump.
TagsNo tags attached.
PlatformAny

Activities

stonstad

stonstad

2023-11-21 18:21

reporter  

stonstad

stonstad

2023-11-21 18:25

reporter   ~0008966

Calling Add() works without problem. It is just Insert(0, ...) which fails.
sfernandez

sfernandez

2023-11-23 14:06

manager   ~0008983

I'm not able to reproduce it, could you provide an example in an empty project?
If not I will provide a debug library to get a bit more information from the crash dump.
stonstad

stonstad

2023-11-23 16:20

reporter   ~0008984

Let’s go with the debug library route. This is actually easier for me.
sfernandez

sfernandez

2023-11-23 16:46

manager   ~0008985

Here you are: https://drive.google.com/file/d/1IM4K2gpFUsRaRd_z7gR-m6Ttgi-U4TIA/view?usp=sharing
stonstad

stonstad

2023-11-28 19:04

reporter   ~0008987

Hey Sergio -- I revisited this code and I changed all Adds to Insert(0, ...). Nothing crashes for me using the non-instrumented library. Other code and layouts might have slightly changed. I am sorry -- I don't have a great way to reproduce this behavior. The exact code which failed wasn't checked in, and once I got what I needed using .Add(), I moved on. The crash dump above is all that I have for this one.
sfernandez

sfernandez

2024-06-03 20:01

manager   ~0009622

Have you faced this issue again or should we close it?
stonstad

stonstad

2024-07-05 19:37

reporter   ~0009747

This behavior has not manifest in a long time. Thank you for the assistance and OK to close.

Issue History

Date Modified Username Field Change
2023-11-21 18:21 stonstad New Issue
2023-11-21 18:21 stonstad File Added: Crash_2023-11-21_171855132.zip
2023-11-21 18:21 stonstad Description Updated
2023-11-21 18:22 stonstad Description Updated
2023-11-21 18:25 stonstad Note Added: 0008966
2023-11-21 22:59 jsantos Assigned To => sfernandez
2023-11-21 22:59 jsantos Status new => assigned
2023-11-21 22:59 jsantos Target Version => 3.2.3
2023-11-23 14:06 sfernandez Status assigned => feedback
2023-11-23 14:06 sfernandez Note Added: 0008983
2023-11-23 16:20 stonstad Note Added: 0008984
2023-11-23 16:20 stonstad Status feedback => assigned
2023-11-23 16:46 sfernandez Status assigned => feedback
2023-11-23 16:46 sfernandez Note Added: 0008985
2023-11-28 19:04 stonstad Note Added: 0008987
2023-11-28 19:04 stonstad Status feedback => assigned
2024-01-22 11:47 sfernandez Target Version 3.2.3 => 3.2.4
2024-06-03 20:01 sfernandez Status assigned => feedback
2024-06-03 20:01 sfernandez Note Added: 0009622
2024-06-13 18:01 sfernandez Target Version 3.2.4 => 3.2.5
2024-07-05 19:37 stonstad Note Added: 0009747
2024-07-05 19:37 stonstad Status feedback => assigned
2024-10-24 16:37 sfernandez Status assigned => resolved
2024-10-24 16:37 sfernandez Resolution open => no change required
2024-10-24 16:37 sfernandez Fixed in Version => 3.2.5