LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Unknown source position

FATAL RUN-TIME ERROR: Unknown source position, thread id 0x00000D4C: A non-debuggable thread caused a 'General Protection' fault at address 685C36E2.

Same DLL used in another program. Just upgraded to 7.1 and now this program doesn't work where the other program does... I am going to try on the 7.0 again. but how can I help the DLL supplier debug the DLL with out any info?
0 Kudos
Message 1 of 4
(4,337 Views)
Hello

This error is an indication that the dll or lib file that is causing this problem is not a part of the project. CVI does not have access to its debug information and source, so it cannot provide detailed information about the error. If this is some instrument driver, you can include the C file for it in the project and you will be able to get more information about the problem.

Hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 4
(4,337 Views)
All c file to instrument drivers are included. The only external .lib or .dll file is the same one I have used on 7.0, they are J-Tag boundary scan libraries and DLLs.
Sensing the problem to the Lib and DLL supplier, is the error code enough information to help them debug the problem?
0 Kudos
Message 3 of 4
(4,337 Views)
You should try isolating whether the problem is the jtag library or CVI. Try commenting out places where you use the external libraries and see if you run into the same error so that you dont actaully use the libraries anywhere. If you are still seeing the error with all the library functions commented out, then this error might be occuring in the CVI runtime somewhere. The CVI runtime dll (cvirte.dll) is a release dll with no debug information included in it.

If this is the case, I'll need to know the sequence of actions that is needed to reproduce the problem. A simple application that I could build and run on my machine would really help to track down the problem.

Bilal
Bilal Durrani
NI
0 Kudos
Message 4 of 4
(4,337 Views)