03-08-2017 04:41 PM
I'm getting a GPF all of the sudden in a branch of a very mature project. I've been getting it in the debugger, and the code breaks at RunUserInterface().
I managed to track down where/what is causing it, but I'm at a loss as to why.
In this new branch, I'm replacing the callback function of a table control on one panel. I use InstallCtrlCallback to do so. This works as it should. Inside its new callback function, I call a function which does some NewCtrl (timer creation within the same thread) and then InstallCtrlCallback for the timer. These are causing the GPF when I allow the function to return.
If I simply comment out the creation of those timers & callback installs, no more GPFs. Why?!
03-09-2017 01:33 PM
Hi ElectroLund
What version of LabWindows/CVI are you using?
Is it possible to get a smallest-reproducible-case working? I would be happy to run a simple bit of code that causes the error and test it on my end.
Mitchell Faltin
Applications Engineer
National Instruments
03-09-2017 02:09 PM
Thanks for your help. Inexplicably, today I'm not seeing the issue.
I'll keep an eye on it and let you know if it returns.