LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Unknown loaded module in Labwindows

I get this error at the end of my program: NON-FATAL RUN-TIME ERROR: Unknown source position, thread id 0x000005D0: The program has caused a first chance 'General Protection' fault at 001B:10003D70. If I choose continue, I also get a fatal run-time error with a similar message. When this occurred I opened Run | Threads and there was one thread running, but the source was not available. I also viewed Run | Loaded Modules and there was an Unknown module running. Can anyone tell me how to find out why this unknown module is running and/or how to get rid of it? The module seems to be loaded at the beginning of the program.
0 Kudos
Message 1 of 3
(3,008 Views)
It doesn't just seem to be any one particular program - it must be my settings. I tried the following program and it did the same thing:
#include
int main (int argc, char *argv[])
{
MessagePopup("Test", "Test");
return 0;
}

I'm running Windows 2000 and CVI 5.5, although I have recently installed the evaluation version of CVI 7.0 and have been using that as well.
0 Kudos
Message 2 of 3
(3,008 Views)
This message means that the CVI debugger is getting a system notification about a system error ( bad pointer, etc.), but does not have the debug information included to be able to jump to the code causing the problem (in release mode or was built into an object file or static library file).
You might want to try and setting breakpoints to trace down which function exactly is causing this problem.

I doubt this unknown module is causing the problem though. I used TaskInfo to see all the loaded modules and I didnt see anything unusual. If you do have some small code snippet that I can run to reproduce the problem, you can email it to me support@ni.com, and i'll see if I can reproduce the problem in my machine.

Thanks

Bi
lal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 3 of 3
(3,008 Views)