06-24-2022 10:28 PM
Hi,
I already checked that. Please check the RunSeqChangePreTest function definition in previous comment.
In that GPF is generated after full execution of testResult = TX_RunPrePostTest(&dataRec, &errorRec, TRUE, TRUE);
Couldnt find any faults in TX_RunPrePostTest while debugging. Once it finishes execution of this function, program crashes with GPF
07-04-2022 04:33 AM
Hi
Anyone has solution for the GPF issue?
07-04-2022 04:36 AM
Not really. GPF errors can be caused by many things. It always involves some bad programming, but to find out which bad programming is an art of debugging, which is a fundamental element of code programming.
07-04-2022 04:43 AM
I tried to debug the code. But issue is it is generating just after the function execution.
All lines of that function executes without any issue. But then from out of nowhere this fault generates
07-04-2022 05:18 AM - edited 07-04-2022 05:18 AM
That would point at some form of stack corruption. But I can't see from the code any glaring issues. It's tempting to put the blame on the used libraries but in my own experience it is almost always my own code which does this.
02-20-2025 09:26 PM
Using cvi 5.1 and compiled under release and debug, each one separated *.exe file run well no errors
But when i try to run debug from IDE, the program crash with
NON FATAL RUN-TIME ERROR: General Protection Fault
So i can´t debug my code
Thanks