Runtime exception for 3dsamples of opencascade

We got an exception saying:
Unhandled exception at 0x06352c08 (ig4dev32.dll) in Viewer3d.exe: 0xC0000005: Access violation writing location 0x07ad0000.
when we are executing the 3dsamples.. when we break the debug it points to the disassembly window displaying the below...
Disassembly
06352C08 rep stos dword ptr es:[edi]

What does this mean?

Is it a problem regarding the operating system used?
As I am working on a vista system.Please do reply asap...
Thanks

Svetlozar Kostadinov's picture

I had this crash in the same DLL a lot of times on XP. It's not Vista issue. Don't know anything else. I tell you this just to save your time reinstalling different OS.

Divya's picture

Can u please give me a solution to remove the above exception error.. I am unable to understand the problem. What does access denied mean? Please let me know.

Thanks
Divya

Svetlozar Kostadinov's picture

I suppose this bug is the same as the one described here. http://www.opencascade.org/org/forum/thread_11016/ If you compile your app with the debug version of OCC you could see in the call stack where exactly crashes.

Divya's picture

Hiii

I could solve the problem.. We have to update the driver version of our system by downloading the latest drive available and then try to debug the code. The exception will not appear..

Thanks
Divya