View Issue Details

IDProjectCategoryView StatusLast Update
0002160NoesisGUIC++ SDKpublic2022-01-11 16:27
Reporterfrochet38 Assigned Tosfernandez  
PrioritynormalSeveritymajor 
Status resolvedResolutionfixed 
Product Version3.0.2 
Target Version3.1.2Fixed in Version3.1.0 
Summary0002160: Crash when using multi-line TextBox with more than 1300 lines
Description

A text box with a very-long text (more than 1300 lines) will crash in Window.cpp when the user scrolls at the end of the text:

in void Window::Render(double time)
{
...
mRenderContext->EndRender(); <-- here
...
}

Seems the rendercontext is corrupted.

Steps To Reproduce

add a TextBox with 1300+ lines of text
scroll to the end of the text

Attached Files
PlatformWindows

Activities

frochet38

frochet38

2021-10-26 11:19

reporter   ~0007536

the crash is independent of the content of the text, depends only on the number of lines displayed on the TextBox

sfernandez

sfernandez

2021-10-26 14:04

manager   ~0007538

Hi, I tried to reproduce the crash in NoesisGUI 3.0.12 and 3.1.1 but it is working fine for me.
Could you please attach the crash dump? You should be able to generate one from Visual Studio, in the Debug menu select "Save Dump As...".
Thanks for your help.

frochet38

frochet38

2021-10-26 14:16

reporter   ~0007539

I used a workaround to split the text in pages, so I lowered the bug priority to "major". Here is the attached minidump.

Crash_Noesis_TextBox.dmp (218,309 bytes)
sfernandez

sfernandez

2021-10-27 11:30

manager   ~0007543

Looking at the crash dump it points to some code dealing with emojis, is it possible that it crashed when you were adding emojis to your text?

frochet38

frochet38

2021-10-30 12:41

reporter   ~0007552

It's possible (that's my customer EULA and I don't know what is the exact text) but I can also reproduce the crash with a text composed of 1500 lines of 'AAAAAAAAAAAAAA'...

sfernandez

sfernandez

2021-11-03 13:19

manager   ~0007556

I can't reproduce it even with 3.0.2 version, or using "AAAA..." to fill the TextBox.
Can you attach a new crash dump when using the "AAA.." text? I want to verify if it is crashing in the same code.

sfernandez

sfernandez

2021-11-03 13:19

manager   ~0007557

Anyway, have you tried with a newer version of Noesis? 3.0.2 is quite old now.

sfernandez

sfernandez

2021-12-10 14:22

manager   ~0007669

This must be resolved in 3.1.X, please upgrade.

Issue History

Date Modified Username Field Change
2021-10-26 11:14 frochet38 New Issue
2021-10-26 11:19 frochet38 Description Updated
2021-10-26 11:19 frochet38 Additional Information Updated
2021-10-26 11:19 frochet38 Note Added: 0007536
2021-10-26 11:31 jsantos Assigned To => sfernandez
2021-10-26 11:31 jsantos Status new => assigned
2021-10-26 11:31 jsantos Target Version => 3.1.2
2021-10-26 11:31 jsantos Additional Information Updated
2021-10-26 14:04 sfernandez Status assigned => feedback
2021-10-26 14:04 sfernandez Note Added: 0007538
2021-10-26 14:15 frochet38 Severity block => major
2021-10-26 14:16 frochet38 File Added: Crash_Noesis_TextBox.dmp
2021-10-26 14:16 frochet38 Note Added: 0007539
2021-10-26 14:16 frochet38 Status feedback => assigned
2021-10-27 11:30 sfernandez Status assigned => feedback
2021-10-27 11:30 sfernandez Note Added: 0007543
2021-10-30 12:41 frochet38 Note Added: 0007552
2021-10-30 12:41 frochet38 Status feedback => assigned
2021-11-03 13:19 sfernandez Status assigned => feedback
2021-11-03 13:19 sfernandez Note Added: 0007556
2021-11-03 13:19 sfernandez Note Added: 0007557
2021-12-10 14:22 sfernandez Status feedback => resolved
2021-12-10 14:22 sfernandez Resolution open => fixed
2021-12-10 14:22 sfernandez Fixed in Version => 3.1
2021-12-10 14:22 sfernandez Note Added: 0007669
2022-01-11 16:27 jsantos Fixed in Version 3.1 => 3.1.0