DiscussionsIssue archiveOCCT:Visualization

Archived issue #0026494

Visual3d_Layer DrawText leads to access violation in nvoglv32.dll

CommunityOCCT:Visualizationclosed2 public notes

Search issues

Description

Using DrawText inside V3d_View->OverLayer leads to crash at nvoglv32.dll.
Might take several redraws till it happens.
See OCCGraficCallback() from modified OCCT Proxy sample.

Steps to reproduce

Add graphic callback to WNT_Window.
Inside the callback call to Visual3d_Layer -> DrawText.
Redraw V3d_View.

Public activity

2 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Dear Author,

the specified functionality (Visual3d_Layer and Aspect_GraphicCallbackProc) is deprecated and will be removed in next release. Within current information it looks more like a bug in NVIDIA driver rather than in OCCT.

Please provide test scenario using actual API (AIS_TextLabel and Graphic3d_ZLayerId_TopOSD using Z-layers - but better by Draw Harness script) and actual version of OCCT (6.9.0) if the problem is still reproducible.
02Commenter 2
Dear Commenter 1,

please close the issue as related functionality has been removed within #0025789.

Related records