08-17-2010 04:58 AM
Hello - my programm passes through one time (it is only possible to use the release mode). After that when i am pushing a button on my uir to run my programm again i get a fatal run time error (0x6857FDFE). I generated a map file but i cannot find this id in this map file but i found the id 0057B768 security_cookie_complement gs_cookie.obj ??? May this be the right adress and what is this gs_cookie_obj ??? Thank for answering !!!
08-18-2010 03:25 AM
Hi Timo,
you are saying you can only use release mode. Why is that? It is kind of hard to debug from fatal runtime errors. It would be helpful if you could step into your code.
Could you post some code to help analyze the issue? I have not found much helpful information on the gs_cookie.obj but I am not sure this is the cause of the issue you are seeing.
Regards
Peter
08-19-2010 01:22 AM
Hello - was able to localize my fault - now the problem ist this line : PrintPanel(druck_panel,"",0,VAL_FULL_PANEL,0); - in the first run, there is no problem and i get a print, but the second time the debugger shows a fatal run time error , ...general fault protection - in the main function i do load this panel and in the other function i tried almost every panel operation - eg. set and discard, load and discard, show and hide, no panel operation, and so on - any ideas ?
thanks for answering
08-19-2010 02:45 AM
Hi,
is "druck_panel" a valid panelHandle when you call the function the second time? Can you successfully run any other operations on that panel in that context?
What exactly do you mean by second run? Do you execute the program again or do you just execute a callback function twice?
Peter
08-19-2010 05:10 AM
Hi - i can run functions like setctrlval(druck_panel...) or plotline(druck_panel...) before the debugger stops. i mean with second run just execute a callback. -> i run my programm, after that (run userinterface) when i execute a callback by pushing a button it works and when i push it a second time it stops on this line "printpanel.... "? what do you mean with valid panel? how can i make it valid or test if it is valid?
thanks for answering
08-19-2010 06:00 AM
Hey,
if the panelHandle is valid, you will be able to perform panel operations, such as getctrlval. If you dispose of the panel you would invalidate it.
Could you please post the code that is being executed in the callback?
What happens between the two button callbacks?
Thanks
08-20-2010 11:51 AM
Timo,
Could you let us know the exact version of your c:\windows\system\cvirte.dll?
Thanks,
Luis
08-23-2010 01:50 AM
Hello - the panel is valid. i can operate eg with the functions set and get but if i print the panel the second time i get a fatal run time error - the version of the dll is 9.1.0.427 size 4,83mb 2009 - thanks for answering
08-23-2010 08:36 AM
Based on that information, my guess is you are running into the issue described in this KB. Following the link to install the patch should resolve your issue.
NickB
National Instruments
08-25-2010 03:58 AM
Hello - seems to be working - thanks a lot