LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Access Violation at EIP 000005

I have a project (please see the attachment) which call many libarary function to communicate with a camera. In maintest.vi , when I click Register, it registers the client with the dll. When  Camera Register is pressed, a camera handle is given to the application and the client will be connected to the camera.  The Camera unregister releases the memmory and releases the camera handle. Unregister releases the client handle. I used the release build of the dll. The project runs perfectly in my laptop. I copied the entire folder and opened the same project in another computer. I pressed Register and it worked perfectly. But when I press the 'Camera Register' the application crashed with error "Access Violation at EIP 000005". Can I get some help with this.

0 Kudos
Message 1 of 2
(2,995 Views)

There is no attachment but even if there was, debugging such an error is not trivial and quite time consuming. Nothing someone would do voluntarely on such a forum for just good karma.

 

Basically, somewhere, somehow a memory pointer gets messed up, overwritten, corrupted or whatever.

 

The first step is to check, double check, triple check and counter check every single call library node to do the correct thing in terms of datatype configuration, buffer pointer preallocation, etc.

 

If that doesn't help then you have to get even more into hard work: To find out where and why is a pretty difficult job in general and not likely found without access to the hardware and running the software many times with different parts of the code disabled.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 2
(2,972 Views)