View Issue Details

IDProjectCategoryView StatusLast Update
0002285NoesisGUIC++ SDKpublic2022-02-21 13:43
Reporterralspaugh Assigned Tojsantos  
PrioritynormalSeveritycrash 
Status feedbackResolutionopen 
Product Version3.0.11 
Summary0002285: Crash - Noesis::VGLContext::PackPath
Description

Crashes on certain Intel HD GPU's when sending vertex data

So far, we have seen this crash on the following cards

  • Intel(R) HD Graphics 4000
  • Intel(R) HD Graphics 2500

Stack trace
EXCEPTION_ACCESS_VIOLATION_WRITE: Fatal Error: EXCEPTION_ACCESS_VIOLATION_WRITE
File "vglcontext.cpp", line 2284, in Noesis::VGLContext::PackPath
File "vglcontext.cpp", line 3314, in Noesis::VGLContext::UploadGPUGeometry
File "vglcontext.cpp", line 1463, in Noesis::VGLContext::Flush
File "rendertreehelper.cpp", line 706, in Noesis::RenderTreeHelper::RenderOffscreenNodes
File "rendertree.cpp", line 280, in Noesis::RenderTree::RenderOffscreen

Possibly related, we are also seeing the following crash w/ stack trace
EXCEPTION_ACCESS_VIOLATION_READ: Fatal Error: EXCEPTION_ACCESS_VIOLATION_READ
File "GLRenderDevice.cpp", line 651, in NoesisApp::GLRenderDevice::MapBuffer
File "vglcontext.cpp", line 3224, in Noesis::VGLContext::UploadGPUGeometry
File "vglcontext.cpp", line 1463, in Noesis::VGLContext::Flush
File "vglcontext.cpp", line 3197, in Noesis::VGLContext::FlushBatchesIfNeeded
File "vglcontext.cpp", line 2900, in Noesis::VGLContext::BatchTriangles

PlatformWindows

Relationships

related to 0002283 assignedjsantos Older Intel HD Graphics Crashing on Init/Shader Compile 

Activities

jsantos

jsantos

2022-02-16 21:09

manager   ~0007812

Are these machines the same having issues in 0002283 ?

Is it possible to execute Noesis in debug?

ralspaugh

ralspaugh

2022-02-16 23:14

reporter   ~0007816

There is some overlap of devices between the two issues.

Here's a random sampling of hardware details from devices experiencing both Noesis::VGLContext::PackPath and GLRenderDevice::ActivateProgram crashes.
Device 1: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz; GL 3.1.0 - Build 10.18.10.4358; Intel(R) HD Graphics 2500
Device 2: Intel(R) Core(TM) i7-3537U CPU @ 2.00GHz; GL 3.1.0 - Build 10.18.10.4358; Intel(R) HD Graphics 4000
Device 3: Intel(R) Core(TM) i5-3340M CPU @ 2.70GHz; GL 3.1.0 - Build 10.18.10.4252; Intel(R) HD Graphics 4000

jsantos

jsantos

2022-02-17 11:36

manager   ~0007818

Last edited: 2022-02-17 11:36

Is the indicated product version (3.0.11) correct?

Because, I see discrepancies between line numbers and functions in GLRenderDevice.cpp or maybe you have local changes to that file?

But it seems driver is returning a bad pointer when locking the the vertex or index buffer

ralspaugh

ralspaugh

2022-02-17 23:39

reporter   ~0007820

There were some small changes made to the source, but agree, it does appear to be a bad return value from OpenGL mapping the buffer. Is there a fallback value that can be used when we hit this scenario?

jsantos

jsantos

2022-02-21 13:42

manager   ~0007822

Last edited: 2022-02-21 13:43

Problem is, the driver is returning a trash pointer, so probably can be detected with IsBadWritePointer and try to disable the extension, but I need to understand what extension is being active on these cards.

If possible I would need a minidump with your .exe + noesis.dll (if you are not using static library) and your pdbs + your GLRenderDevice.cpp

We have a Intel HD4000 here, but it not reproducing the issue. I will try with different drivers to see if I am lucky

Issue History

Date Modified Username Field Change
2022-02-16 19:15 ralspaugh New Issue
2022-02-16 19:17 ralspaugh Description Updated
2022-02-16 21:09 jsantos Note Added: 0007812
2022-02-16 21:09 jsantos Assigned To => jsantos
2022-02-16 21:09 jsantos Status new => assigned
2022-02-16 21:10 jsantos Status assigned => feedback
2022-02-16 23:14 ralspaugh Note Added: 0007816
2022-02-16 23:14 ralspaugh Status feedback => assigned
2022-02-17 11:36 jsantos Note Added: 0007818
2022-02-17 11:36 jsantos Note Edited: 0007818
2022-02-17 11:42 jsantos Relationship added related to 0002283
2022-02-17 11:44 jsantos Status assigned => feedback
2022-02-17 23:39 ralspaugh Note Added: 0007820
2022-02-17 23:39 ralspaugh Status feedback => assigned
2022-02-21 13:42 jsantos Note Added: 0007822
2022-02-21 13:42 jsantos Status assigned => feedback
2022-02-21 13:43 jsantos Note Edited: 0007822