MantisBT - Open CASCADE
View Issue Details
0031046Open CASCADE[OCCT] OCCT:Testspublic2019-10-08 13:442020-10-05 16:58
tizmaylo 
inv 
normalminor 
newopen 
WindowsVC++ 201532 bit
[OCCT] 7.4.0 
[OCCT] 7.6.0* 
0031046: Tests - bugs vis bug26139 fails in Win32-configuration due to a lack of memory
Test bugs vis bug26139 fails in Win32 configuration with several errors Error: AIS_Shape::ComputeSelection(0) has failed (ACCESS VIOLATION at address 0x00000000 during 'READ' operation) (look at the attached file bug26139.html). But in fact the problem is not in an access violation, an error has happened before it, when memory allocation function NCollection_IncAllocator::Allocate() throws exception due to a lack of memory (only 2 Gb of the virtual memory are available for a process in Win32).
Build Open Cascade in Win32 configuration, then run command test bugs vis bug26139 -echo in DRAW.

To debug this test case:
  • build Open Cascade in Release with Debug Information configuration
  • turn on breaking on all C++ exceptions in Visual Studio: DebugWindowsException Settings, check the box C++ Exceptions<All C++ Exceptions not in this list>
  • run DRAW
  • attach to the process DRAWEXE.exe using Visual Studio debugger
  • run the following command in DRAW: test bugs vis bug26139 -echo
No tags attached.
child of 0031042new inv Tests - Failed and improved tests on current master in Win32-configuration on Windows 
html bug26139.html (2,571) 2019-10-08 13:44
https://tracker.dev.opencascade.org/
Issue History
2019-10-08 13:44tizmayloNew Issue
2019-10-08 13:44tizmayloAssigned To => apn
2019-10-08 13:44tizmayloFile Added: bug26139.html
2019-10-08 13:45tizmayloRelationship addedchild of 0031042
2020-09-11 17:01utverdovAssigned Toapn => inv
2020-09-11 17:05utverdovTarget Version7.5.0 => 7.6.0*

There are no notes attached to this issue.