Executables throw a widows error when you close the application

I have this problem on several of my labview executables.  I can open and runt eh program with no errors.  But when I close the program by any method, I get a pop up error in windows. Stating:
"Application Name" has encountered a problem and needs to close.  We are sorry for the inconvenience. 
I get the option to send the info to Microsoft.  Another error pops up Stating the following:
WinsockAsyncSelectWindow:  Application name.exe - application error
The instruction at "0x7c90e470" referenced memory at "0x03182a2c". The memory could not be "read".  Click on CANCEL to debug the program.
This is really annoying... Anyone know why this error is poping up?

Hi Jason,
Could you please provide us with some more information regarding your executable?
What version of LV are you using?
How are you stopping the executable (stop button?  abort button?)  You should always use a stop button, not the abort button (the stop sign looking glyph on the toolbar) to ensure that all of your references have been properly closed. 
Do you see this performance when running the executable on the development machine?
Do you get the warning every time, or only some of the time?
What all are you doing in the executable?  I'd be curious to know if it was something particular to your code or the environment.  One way to test this is to build a "dummy" executable--just one that does something as simple as count iterations, and see if you get the message or not.  
Please provide a little more information and we'll do our best to help. 
Cheers, 
Marti C
Applications Engineer
National Instruments
NI Medical

Similar Messages

  • Clear Memory Used by Vectors When You Close an Application:

    Which is the best way for liberate the memory used by the Vectors when you close the application that contain them?
    In particular:
    I use vec.clear(); when I close the Frame that contains the application, but I'm not sure if this is the best way.
    Could S.O. tell me wether I'm wrong or not?
    Thanks in advance!

    A few things that may apply:
    Until you have references to a variable, then the garbage collector will not free the memory allocated for that variable. For example:
    Vector my_vector = new Vector();
    Vector vector_2 = my_vector;
    Until both my_vector and vector_2 are valid references, then the memory will not be freed.
    You can get rid of a reference to a variable setting it to null. In our example:
    my_vector = null;
    vector_2 = null;
    Then, the next time garbage collection runs, it will free the memory allocated for my_vector
    If you cannot wait for the next time that garbage collection runs, you can explicitely force garbage collection.
    System.gc();
    Hope this helps.

  • Flash quits when you close the window

    Why does Flash CS5 quit when you close the window you were working in? It has to restart every time you close and open a file.

    This doesn't seem to be a crashing issue. The program seems to be designed like Windows, wherein the application quits when you close the last open window. This is incredibly annoying and completely unacceptable.

  • MAC is turned off when you start the application.

    MAC выключается при запуске приложений.
    MAC is turned off when you start the application.
    P.S. it is desirable to give an answer on the Russian
    Interval Since Last Panic Report:  69711 sec
    Panics Since Last Report:          1
    Anonymous UUID:                    BF785864-5B2E-7638-B9E8-ED938B20D6F6
    Thu May 23 20:28:41 2013
    panic(cpu 2 caller 0xffffff80242b7e95): Kernel trap at 0x0000000000000000, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0x0000000000000000, CR3: 0x00000000053ca068, CR4: 0x00000000001606e0
    RAX: 0xffffff8024813e10, RBX: 0x0000000000000001, RCX: 0xffffff80248e04f0, RDX: 0xffffff8024890100
    RSP: 0xffffff810cd7b978, RBP: 0xffffff810cd7b9a0, RSI: 0x0000000000000001, RDI: 0xffffff8045a66410
    R8:  0x000000000000000e, R9:  0xffffff8045a90908, R10: 0xffffffffffffffff, R11: 0x00000000ffffffff
    R12: 0xffffff803e98cc02, R13: 0x0000000000000000, R14: 0xffffff803e98cc10, R15: 0xffffff8045a66410
    RFL: 0x0000000000010202, RIP: 0x0000000000000000, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0x0000000000000000, Error code: 0x0000000000000010, Fault CPU: 0x2
    Backtrace (CPU 2), Frame : Return Address
    0xffffff810cd7b610 : 0xffffff802421d626
    0xffffff810cd7b680 : 0xffffff80242b7e95
    0xffffff810cd7b850 : 0xffffff80242cd4dd
    0xffffff810cd7b870 : 0x0
    0xffffff810cd7b9a0 : 0xffffff80242772b2
    0xffffff810cd7b9d0 : 0xffffff8024585aae
    0xffffff810cd7b9e0 : 0xffffff80242f0981
    0xffffff810cd7ba30 : 0xffffff80242f0021
    0xffffff810cd7ba70 : 0xffffff80242f10d6
    0xffffff810cd7baa0 : 0xffffff80242ed939
    0xffffff810cd7bac0 : 0xffffff8024515c0a
    0xffffff810cd7bb20 : 0xffffff802431112c
    0xffffff810cd7bb90 : 0xffffff80242fc5f1
    0xffffff810cd7bd90 : 0xffffff80242fc93d
    0xffffff810cd7bf50 : 0xffffff80245e063a
    0xffffff810cd7bfb0 : 0xffffff80242cdd23
    BSD process name corresponding to current thread: installd
    Mac OS version:
    12D78
    Kernel version:
    Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST... [Show more]

    A: MAC is turned off when you start the application.

    I took in the store returned MAC. Although when you start offering configure everything from scratch. The OSes can reinstall?
    Last night passed out on completion of the work.
    Interval Since Last Panic Report:  75071 sec
    Panics Since Last Report:          2
    Anonymous UUID:                    BF785864-5B2E-7638-B9E8-ED938B20D6F6
    Thu May 23 23:25:35 2013
    panic(cpu 2 caller 0xffffff80036b7e95): Kernel trap at 0xffffff80036102b1, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0x0000000000040001, CR3: 0x0000000079b9d056, CR4: 0x00000000001606e0
    RAX: 0x0000000000040001, RBX: 0x000000000000002c, RCX: 0x7fffffffffffffff, RDX: 0xffffff80f546bd88
    RSP: 0xffffff80f546bd30, RBP: 0xffffff80f546bd70, RSI: 0x000000000000002c, RDI: 0xffffff80f546bdb0
    R8:  0x000000000000001f, R9:  0x00000000000003ff, R10: 0xffffffffffffffff, R11: 0x00000000ffffffff
    R12: 0xffffff802a9a6a20, R13: 0x0000000000000001, R14: 0x0000000000000070, R15: 0x0000000000040000
    RFL: 0x0000000000010216, RIP: 0xffffff80036102b1, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0x0000000000040001, Error code: 0x0000000000000000, Fault CPU: 0x2
    Backtrace (CPU 2), Frame : Return Address
    0xffffff80f546b9d0 : 0xffffff800361d626
    0xffffff80f546ba40 : 0xffffff80036b7e95
    0xffffff80f546bc10 : 0xffffff80036cd4dd
    0xffffff80f546bc30 : 0xffffff80036102b1
    0xffffff80f546bd70 : 0xffffff8003620dc4
    0xffffff80f546bda0 : 0xffffff800364f0c1
    0xffffff80f546bde0 : 0xffffff8003616786
    0xffffff80f546be50 : 0xffffff800361831c
    0xffffff80f546be90 : 0xffffff8003635a40
    0xffffff80f546bed0 : 0xffffff80039556a7
    0xffffff80f546bf40 : 0xffffff8003955449
    0xffffff80f546bf50 : 0xffffff80039e063a
    0xffffff80f546bfb0 : 0xffffff80036cdd23
    BSD process name corresponding to current thread: ubd
    Mac OS version:
    12D78
    Kernel version:
    Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64
    Kernel UUID: 3EB7D8A7-C2D3-32EC-80F4-AB37D61492C6
    Kernel slide:   �... [Show more]

    Read other 15 answers

  • I have a problem with buying apps in itunes Store. When you purchase the application fails payment. Asked to update the map. I have 2 credit cards with a positive balance. In what could be the reason?

    I have a problem with buying apps in itunes Store.
    When you purchase the application fails payment.
    Asked to update the map.
    I have 2 credit cards with a positive balance.
    In what could be the reason?

    contact itunes support

  • Error when calling up the application function for hierarchies

    Hello,
    if I try to load a material class hierarchy and the loading is failing directly in source system with error message "Error when calling up the application function for hierarchies". Did anybody have this problem? I could not find anything iside the forums.
    Thanks for your help!
    Regards,
    Christian

    Hi,
    I have the same problem. Do someone know the solution? What is the problem?
    Thanks,
    Ángel.

  • How does monitor work when you close the laptop

    can the monitor still work if you close the laptop? if not, how can i turn off the picture on the laptop screen as i don't want to see both screens?

    That setting is always on if you are using an USB mouse; to do it with a Bluetooth device, follow the instructions in this article.
    (19623)

  • InvokeEvent.INVOKE re-dispatches when I close the application and I launch by multitask button

    Hello,
    on my galaxy nexus, Android 4.1, InvokeEvent.INVOKE re-dispatches when I close my application with
    NativeApplication.nativeApplication.exit()
    and I launch my application with the multi task manager.
    When I launch my application with the application icon, I don't have this problem.
    Thanks.

    It isn't a bug, it's the default behavior for android.
    <activity android:launchMode="singleTop">
              <intent-filter>
                        <action android:name="android.intent.action.MAIN"/>
                        <category android:name="android.intent.category.LAUNCHER"/>
              </intent-filter>
              <intent-filter>
                        <action android:name="android.intent.action.VIEW"/>
                        <category android:name="android.intent.category.BROWSABLE"/>
                        <category android:name="android.intent.category.DEFAULT"/>
                        <data android:scheme="mycustomuri"/>
              </intent-filter>
    </activity>
    the solution is to add android:launchMode="singleTop" in the application descriptor

  • Very annoying that the browser close when you close the tab !

    I have been using Opera browser for years now, and I could close all tabs without closing the browser, so why is Firefox made so it Closes the browser when the last tab is closed ?, it is soooooo very much annoying !

    Hello DKfire,
    You can use this addon :
    ''Shows the "Close" button on the last tab in Firefox
    Customizable button behavior:
    - Open a blank tab or Speed ​​Dial / Fast Dial
    - Open the home page
    - Close the window''
    [https://addons.mozilla.org/fr/firefox/addon/last-tab-close-button/?src=search https://addons.mozilla.org/fr/firefox/addon/last-tab-close-button/?src=search]

  • Another message is setup will resume when you close the fol;lowing application "Firefox" when the firefox browzer is not even open!

    # Question
    I cannot install flash player plugin. It gives me the error message that this is not the latest ver of flash player and directs me to the latest ver download but it's the same ver.

    Your above posted list of installed plugins doesn't show the Flash plugin for Firefox.<br />
    See [[Managing the Flash plugin]] and [[Installing the Flash plugin]]
    You can check the Adobe welcome and test page: http://www.adobe.com/software/flash/about/
    You can use this manual download link:
    *http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller

  • There used to be a special feature on the previouse versions of Firefox. when you close the firefox with multiple tabs opened it displays an option of saving it or closing without saving. but this version specially the 7th doesnot have that.

    specially version 3.6 is good on saving the tabs before closing the firefox. but the latest versions should have had more that just this but it doesnt support the saving tabs or may be i didnt see it there. please if it has this feature let me know.
    the other thing is the norton toolbar 2011.7.1.3 is incompatible with firefox 7.

    Firefox 4 and later versions save the previous session automatically, so there is no longer need for the dialog asking if you want to save the current session.<br />
    Use "File > Exit" or "Firefox > Exit" (Mac: "Firefox > Quit Firefox") if you want to restore multiple windows.<br />
    You can use "History > Restore Previous Session" to get the previous session at any time.<br />
    You may need to click the orange/gray Firefox button to see History.<br />
    There is also a "Restore Previous Session" button on the default <b>about:home</b> Home page.
    Using the "Show my windows and tabs from last time" setting is a more reliable way to restore session data.
    * [http://kb.mozillazine.org/Menu_differences Firefox/Tools > Options] > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time"

  • With Firefox 6, is there any way to allow cookies for the browsing only and then erase cookies when you close the browser?

    With Firefox 6, is there any way to allow cookies for the browsing session and then automatically erase cookies when the browser is closed? On older versions this option was available.

    For more help, see the '''[[Tabbed browsing]]''' page.

  • I've connected my macbook pro (os 10.6.8) to an external display, but it will not go into clam shell mode!  When I close the lid the laptop goes to sleep, and I am unable to wake it using the external keyboard or mouse.

    A rundown of what I've tried:
    Adjusting energy settings to try to prevent sleep
    Pluging the USB keyboard and wacom tablet directly into the laptop (as opposed to a usb hub)
    My laptop's power cable is connected
    My display (a Vizio TV) is recognized in the System Preferences panel
    I'd been using this TV for about a year with my older Macbook Pro (OS 10.5.8), though using a different wireless keyboard and mouse
    ***Update:  The issue seems to lie with the keyboard and wacom tablet.  I am trying to use a wireless Case Logic keyboard (with dongal) and wired wacom tablet to wake the Macbook Pro in clamshell mode.  To experiment, I tried using my Logitech wireless keyboard & mouse set (also dongal) that I had been using before and it wakes the computer without any problems!  However, I really need to be able to use my wacom tablet.  If I switch to the tablet after waking the computer using the Logitech keyboard & mouse it works, but once the computer sleeps it won't work anymore.  I could keep switching back and forth I suppose, but it's sort of a pain.  There has to be an easier way!  Any ideas why the wired wacom tablet is unable to wake the computer in clamshell mode?
    Thanks!

    So your keyboard or mouse won't wake the Mac when you close the lid correct? Try resetting the SMC and pram
    Shut down the computer.
    Disconnect the MagSafe power adapter from the computer, if it's connected.
    Remove the battery.
    Press and hold the power button for 5 seconds.
    Release the power button.
    Reconnect the battery and MagSafe power adapter.
    Press the power button to turn on the computer.
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • Powers off when i close the lid

    Hey all,
    I am having what seems to be a problem with many others with HP laptops.
    Recently after an HP update, my laptop shuts down when i close the lid.
    It seems as though, something in the update has corrupted something.
    Im not sure if HP needs to put out an update to correct this issue, or if I need to fix the BIOs somehow, or what.
    If anyone is familiar with this issue, and can assist me in fixing it, it would be greatly appreciated.
    Please keep in mind before replying that....
    1. this was not happening before and is happening now
    2. I have gone into the power settings and confirmed that it has been switched to "do nothing" when the lid closes
    3. only started happening after HP did an update
    Thanks in advance

    Hi @mike16mak ,
    Welcome to the HP Forums!
    It is a dynamite place to find answers and ideas!
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I see that after doing an HP update your notebook shuts down when you close the lid.  You have checked the power settings and they are set at do nothing.
    I would try this step first.
    Go to the command prompt and run as administrator.
    Type powercfg -restoredefaultschemes and press enter.
    You can run the HP Support Assistant to aid with HP updates.
    You could consider doing a restore back to before the HP update?
    Have you ran the built in  Windows troubleshooter?
    If you would like further assistance, please provide your exact model of HP notebook and your Operating System.
    How Do I Find My Model Number or Product Number?
    You may also consider contacting HP support for assistance. They can remotely access your system to help overcome difficulties.
    Please call our technical support at 800 474 6836. If you live outside the US/Canada Region, please click the link below to get a support number for your region.
    World Wide Phone
    Best of Luck and have a fantastic weekend.
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • I am running OSX Lion 10.7.4 and the computer no longer will go into sleep mode when I close the cover What happened with this option?

    I am running OSX Lion 10.78.4 and the computer will no longer go into sleep mode when I close the cover. In system preferences I can no longer find the option that allows for this energy saving feature. What happened to this option and why is this no longer happening with the latest version of Lion?

    No external monitors or devices attached. When you mention that this function only works when devices are attached that is true when you set up your preferences that way. Up until my upgrade to Lion the computer would always go into sleep mode when I closed the lid. There also used to be an option to check in system preferences that allowed you to choose this option. My question for the discussion is what happened to that option and how do you get the computer to sleep or at least the display to sleep when you close the lid as we have been able to do in the past. Thanks.

Maybe you are looking for