Upon exiting LV7: Application Error-Memory could not be read.

Upon terminating my application, I get the following error:
"LavVIEW: LabVIEW.exe - Application Error
The instruction at referenced memory at . The memory could not be 'read'."
So far the error seems non-critical. It does not appear to affect the performance of the program in any way. However, it is certainly unnerving for my end users (not to mention me)!
The error occurs in both the executable and the debugging mode. I have traced it to the VERY END of my application, which runs flawlessly until the very moment when I use the Exit instruction. I have also tried using Close FP with Abort VI, as well as Close FP with Exit. All threads in my application have successful
ly terminated, so aborting does not stop any action in mid-execution, as far as I am aware.
Searching for others in the forum who have had similar problems has turned up little useful help. Could this be a bug in the (god forbid!) runtime engine?!
Here's a link to a discussion of the closest thing I could find to my problem.
Thanks for any help you can give. Any whatsoever.
-Nick
"You keep using that word. I do not think it means what you think it means." - Inigo Montoya

> Hmmm... I'll look into it. Many or all of the DLLs that I call were
> written in Delphi, which has at least three string types that come
> into play: regular Pascal String, PChar (Delphi's re-creation of the C
> string type), and the ShortString type, which is sized to 256 bytes
> (if memory serves). From your response, it sounds as if I should
> search for those DLLs that use the ShortString type.
>
> Also, I encode many complex data forms and pass them into the DLLs as
> array pointers. These also sound like places to start looking.
>
> Thanks for the input. If I ever track down the problem, I'll update
> this discussion for posterity. In the meantime, if anyone else out
> there has any more thoughts, I'd sure appreciate them.
To h
elp track it down, if you can build a debugging version of the
Delphi DLLs, especially something that will validate memory references.
One of the great tools for tracking down memory overwrites is a well
implemented debugging memory library. Also, if you have some notion of
DLL calls that write to the string and return it to LV, that would be
the first place to look. And in the end, the solution is usually to
look at the assumption of the DLL and send in a larger preallocated
string. So in some cases it is easiest to look for the strings and
arrays going into DLL node calls and one at a time give them large input
sizes looking for the closing crash to go away. Then when the symptom
goes away, look at the code for that DLL.
Greg McKaskle

Similar Messages

  • Application Error - memory could not be read

    Hello all,
    we are having a problem with certain users of Manager Self Service (MSS) that have a large number of staff available to report upon.
    This problem occurs whenever these managers run any report for more than 63 employees. The IE error is:
    iexplorer.exe - Application error
    The instruction at xxxxxxxxx referenced memory at yyyyyyyyyy. The memory could not be "read".
    OK to terminate.
    CANCEL to debug.
    The session closes whichever button is clicked so we can't view any expanded error help.
    Could anyone please tell me where to look to determine the reason for this error - for example, would it be in the portal error logs or should I run an R3 trace?
    Has anyone encountered this error before?
    Many thanks in advance,
    Keiron.

    Hi Dion,
    Check the Product Availiblity Matrix in Service Market Place and check the IE compatablity with your portal and business package version.
    Note : If this is not working then mention your portal, business pacakge and IE version.
    Reagrds,

  • Application Error Memory could not be read(Please Help)

    Hi
    I need help.
    I am using Adobe Photoshop CS4 Extended Student Edition.
    My computer is Windows XP
    I continue to get the error  Photoshop exe  Aplication Error
    Instructions at oxofa92c5b  sometimes is states oxofc42c5b
    reference memory oxoooooo28 Memory could not be read
    Cancel or debug.  Then  it shuts down.not matter what you click.
    It does this after I get the picture open and when I click on different tools.
    This is newly installed on my computer and   newly bought program.
    Help would be greatly appreciated.

    Those "bad memory" errors are usually caused by one of two things
    One (fairly rare) is an actual bad memory stick
    Two (most often) is a bad device driver... these are really hard to narrow down to the actual cause
    Some things to try...
    Go to the motherboard vendor and make sure you have the latest device drivers for your brand/model motherboard
    Also make sure you have the latest device drivers for your brand/model video display card
    Finally, any other device drivers you had to install

  • Error "memory could not be read" running some Crystal XI reports

    I have a few crystal reports that work some times on a PC then after being run a few times get the following message. The report doesnt load and get a microsoft error:
    "memory could not be read"
    This happens on all spec of PC from low memory PCs to high memory PCs.

    Reboot the computer.  I have this issue occasionally with a high-mem computer.

  • I get firefox.exe Application Error memory could ot be read, instruction 0x10008d37.

    When I first open firefox, a window opens in the center of the screen. The title of the window is firefox.exe-Application Error there is a red circle with a white x on the left side of the box. Written in the box is: The instruction at 0x10008d37 referenced memory at 0xfffffff. The memory could not be read. then it gives two choices. Click on ok to terminate the program or Click on cancel to debug the program. Cancel and ok shuts down firefox. If you move the box out of the way, you can use firefox to surf the net.

    Thanks for the advice. I am afraid I may have bigger issues than my initial problem. I have not been able to load Firefox 8. It will go through the initial steps, then stop, without completing the update. I will try again after i figure out how to get 8 loaded.

  • 9cc: MsiExec.exe Application Error Memory Could Not Be Written on Install

    During installation the following error occurs:
    9cc: MsiExec.exe - Application Error
    The instruction at "0x3ff084a2" referenced memory at "0x00000000". The memory could not be written.
    Screenshot:
    http://img196.imageshack.us/img196/724/qterror.jpg
    I followed the instructions here:
    http://support.apple.com/kb/HT1926
    Completely removed and cleaned up Quicktime and tried a reinstall, and it does the same thing.
    The install completes, but then Quicktime does not funciton.

    You probably just have a old msi file from a previous QT installation that needs to be removed.
    I'd remove QT again from the add\remove control panel. Then do a search of the computer and remove any left over files or folders that the uninstall didn't get, including QuickTime qts and QuickTimeVR qtx from C:\WINDOWS\system32.
    Then run this program to remove any old QT installer information and give it another try.
    http://support.microsoft.com/kb/290301/

  • Explorer.exe application error "Memory could not be written" ?! OS seems stuck now

    (Model # m6-k010dx) My new laptop after 13 months automatically updated from windows 8 to 8.1 after I had said 'no' as many times as it allowed. After the update my files are still on it and most things are there but it seems 'stuck' and the orange screen keeps flickering like start to desktop so fast you usually can't even click anything in time to open it before it switches. I was told that the drivers probably needed to be updated first (eventhough I am pretty sure I kept up with all my other updates that popped up the only one I postponed was 8.1) and that I should refresh it, so I lose my programs but keep my files. I'm so sad I now lost Photoshop cs6 and my prefered antivirus (webroot) But anyway back to 8.0, it functioned fine aside from annoying pop ups to install norton antivirus no thank you, i bought webroot again. no updates were available.
    I went to HP.com drivers update, searched for my pc and its correct update, and next thing I know is it's installing windows 8.1....??!
    So again when it's 'done' and reboots, the screens flicker forever. I shut down, restart, same. so I put it back to windows 8...it will install 8.1 on its own any day now.. Please help asap!!!
    Also forgot to mention when the screens are flickering, a few explorer exe application errors pop up on occaision. IE: "the instruction at 0xaa0c663c referenced memory at 0xaa0c663c. The memory could not be written. Click ok to terminate the program." was one the last time,
    and the time before it, the initial windows 8.1 update when I still had Webroot antivirus, the pop up said "the instruction at 0x9b63663c referenced memory at 0x9b63663c. The memory could not be written. Click ok to terminate the program." the other pop ups the initial time came from Webroot - IE: "This file is trying to install itself to start every time the computer turns on  C: /Windows/system32/DrvInst (dot) exe" and gives the options to block, allow once, or allow always.
    Another trying to install every time computer starts is "C: /WINDOWS/system32/wbem/WMIADAP (dot) EXE"
    and another is : "Process ID: 4244 
    Thread ID: 3460 
    Event Type: Registry 
    Access: Write
    Registry Key: /REGISTRY/MACHINE/SYSTEM/ControlSet001/Services/NDIS/IfTypes/131
    Value: IfUsedNetLuidIndices"
    I searched all of those but found nothing. How can I have a smooth update? THank you in advance

    Hi @ASAP666 ,
    Thank you for visiting the HP Support Forums and Welcome. I have looked into your issue about your HP ENVY m6-k010dx Sleekbook and trying to update to Windows 8.1. Before updating did you make sure your system was up to date with Windows. Here is something from Microsoft that might help. 
    Looking into this I have found that it is a driver issue usually associated with USB devices.
    Please note remove any and all USB devices. Disconnect all non-essential devices, as these could cause some issues.
    Plug the power adapter directly into a functioning wall outlet. Do not plug it into a power strip, surge protector, or secondary power source as this could cause and issue.
    I recommend to do this update to disable your Anti Virus or Webroot temporarily to allow the update to go through.
    Please let me know how this goes.
    Thanks.
    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 to say “Thanks” for helping!

  • Firefox.exe - Application Error Ox6bea400c referenced memory at Ox702b2260; memory could not be read. I received this message when exiting windows after previously using Firefox.

    Application Error Ox6bea400c referenced memory at Ox702b2260 that memory could not be read. This just recently started happening and only appears when I'm shutting down windows.

    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • Receive an Application Error (The memory could not be "read") when opening

    After I install Itunes the program works ok until I close it and try to reopen. When I do this I receive an Application Error that says:
    The instruction at "0x6686f183" referenced memory at "0x0fccc094". The memory could not be "read".
    Click OK to terminate the program
    Click CANCEL to debug the program
    Debugging does not work so the only solution is to uninstall Itunes and then reinstall. That again only works for one use of the program. As soon as I close it and re-open, I get the same error. Please HELP. I cannot waste any more time uninstalling and reinstalling.
    Sony   Windows XP  

    Try this: Turn off automatic Microsoft/Windows updates and reboot your computer. I saw this a couple of weeks ago on the forum.

  • Using LabVIEW 6.0.1 in Win2K, I get the Application Error: The instruction at "0x004be060" referenced memory at "0x00000001". The memory could not be "read".

    I have several VIs that use the same typedef. This "super" typedef consists of of a cluster containing 6 arrays. Each array has elements that are themselves typedefs. The array element typedefs consist of a cluster of strings, a string array, and yet another cluster typedef of instrument handles. The total number of unique typedefs is 13 (1 super, 1 as the array element in the 6 arrays, and 1 in each array element).
    When I make any changes to any of these typedefs and I try to open a VI that uses the "super" typedef, LabVIEW stops loading subVIs and crashes with the Application Error: Application Error: The inst
    ruction at "0x004be060" referenced memory at "0x00000001". The memory could not be "read". Also note that this VI contains several subVIs that use this "super" typedef for terminal inputs and outputs.
    What is causing this problem? My only solution to this is to rename the "super" typedef, open the VI, ignoring the load of the "super" typedef, and once the VI opens (with a broken arrow) relinking the VI to the typdef after renaming the typedef back to the original name. This becomes quite painful when you have to do this for each and every VI that uses this typedef on every revision of the typedef.

    You might want to first install the 6.0.2 patch before digging too far into this. You can download it from the ftp site:
    ftp://ftp.ni.com/support/labview/windows/updates/6.0.2/
    If the problem remains, then it is likely related to a few known issues with strict type defs. Unfortunately, there is not much that can be done about it at the present time. You might try having the *.ctl file open in the editor when you open the VIs to see if that helps.

  • Application Error: "The memory could not be 'read'."

    I am programming an application in C#.
    I am using an Acrobat Reader control on my form to display PDFs within my program.
    I have tried a couple of different configurations with the form control. I have drag-and-dropped the control prior to runtime. I have also tried to add the control dynamically.
    When I run the program, then activate the control and close the form, I get the following error.
    "sw:name.exe - Application Error; The instruction at "0x0700609c" referenced memory at "0x00000014". The memory could not be 'read'. Click on OK to terminate the program."
    I have googled this error for hours now, and cannot find anything that truly explains this error and how to fix it.
    Thank you for any help.

    To who may be interested, I managed to find a workaround for this bug in Adobe Reader 9.0.
    It seems that, somehow, LabVIEW, and other programming tools, straggle with this version of Adobe (I assume that this is due to this bug) when closing the reference to Adobe created by the ActiveX container.  So the solution would be closing "by hand" this reference, and telling Windows to free all the relation between the application (LabVIEW for us) and Adobe.  The idea is that when we've done with the VI which displays the PDF via ActiveX, we should close the reference to the ActiveX control, close the reference to the VI, and:
      - process all the Windows messages currently in the message queue (.NET:  System.Windows.Form.Application -> DoEvents
      - run CoFreeUnusedLibraries in "ole32.dll"
    I hope this information can help somebody, as I wasted too much time to figure this out (finding eventually the answer in a forum of Adobe!)
    P.S. For those who program in C# as well, check this link; this was my source.

  • Application error The memory could not be read 0x00000014

    Hi everyone,
    I would like to know if any of you have come across this issue.
    I'm running an application built by me in a computer with LabVIEW Run-time 9 in which I display a PDF file using an ActiveX control:
     The target computer runs Adboe Reader 9.0.  Everything works perfect until the application is closed.  From time to time (nearly most of the times), I've got the next windows error:
    "Application Error:  The instruction at "0x0ffd609c" referenced memory at "0x00000014".  The memory could not be "read".  Click on OK to terminate the program".
    Trying to find out the reason, I found a couple of forums which claim that the reason is a bug in Adobe 9.0 (actually, I've tried running the application with Adobe Reader 8 and I cannot repeat the error).  Any of you have had this error before and found a solution?  Those links weren't about LabVIEW and I have no idea how to get around this issue.
    Any help is appreciate it.
    Thanks in advance.
    Dani
    Solved!
    Go to Solution.

    To who may be interested, I managed to find a workaround for this bug in Adobe Reader 9.0.
    It seems that, somehow, LabVIEW, and other programming tools, straggle with this version of Adobe (I assume that this is due to this bug) when closing the reference to Adobe created by the ActiveX container.  So the solution would be closing "by hand" this reference, and telling Windows to free all the relation between the application (LabVIEW for us) and Adobe.  The idea is that when we've done with the VI which displays the PDF via ActiveX, we should close the reference to the ActiveX control, close the reference to the VI, and:
      - process all the Windows messages currently in the message queue (.NET:  System.Windows.Form.Application -> DoEvents
      - run CoFreeUnusedLibraries in "ole32.dll"
    I hope this information can help somebody, as I wasted too much time to figure this out (finding eventually the answer in a forum of Adobe!)
    P.S. For those who program in C# as well, check this link; this was my source.

  • Why do I get the Application Error jqsnotify.exe-Application Error. The memory could not be read?

    Why do I get this error message every time i opened up Firefox saying: jqsnotify.exe-Application Error and then at the bottom line it says: The instruction at "0x5ff3d322"referenced memory at " 0xe41203c3". The memory could not be "read". Click on OK to terminate the program.
    == This happened ==
    Every time Firefox opened
    == I recently renewed and installed the CA Security Suite and un-installed Firefox and re-installed it again.

    System restore did it for me........!!!! It's gone and I don't miss it one bit.....!!!! May be one of those untraceable tricks that hackers use to irritate people.....Some security programs can identify these things ,but the perps usually use bogus addresses to send them anyway...Cyber criminals SUCK....<u>That is right ,I said that....</u> and they should be jailed and fined and suspended from internet usage all over the globe....
    Reverend K.
    CEO,FOUNDER,Site Editor,
    http://WWW.CCCINTL.NET

  • Safari Application Error "The memory could not be read"

    First of all I would like to say I LOVE Safari (for Windows). Because of it and iTunes I have recently purchased a mac. Now the problem.
    For the past 2 weeks or so this has been happening. When I start up Safari I get an error message that says
    Safari.exe - Application Error
    The Instruction at "0x121f377b" referenced memory at "0x00000000". The memory could not be "read". Click OK to terminate the program.
    Now here is where its funny....Safari works, just every time i open it wether it a new window or at startup...this comes up. Does anyone know anyway to fix this and any useful tips for Safari/internet connections/macs?

    Actually, I spoke too soon as far as AVG Free anti-virus' link scanner. The next time I opened Pandora internet radio, I got the error again. Looks like it has something to do with adobe flash player for Safari. I removed flash player and i could not get the error. As soon as i re-install and run a website with flash, it gives me the error again until i restart my machine.

  • Application error reads: the instruction at "0x7a0277a9" referenced memory at "0x7a0277a9" the memory could not be "read"

    The following error message appears when launching Firefox: Application error: the instruction at "0x7a0277a9" referenced memory at "0x7a0277a9" the memory could not be "read"

    Hi Ayaz_Shaikh,
    What’s your host OS?
    Do you install Windows 10 Technical Preview in Hyper-V? Or some else virtualization products?
    Alex Zhao
    TechNet Community Support

Maybe you are looking for

  • The pricing procedure in Sales order is not getting copied into invoice

    The pricing procedure in Sales order is not getting copied into invoice. I have created a document type (pricing procedure),based on the document type ,pricing procedure determination is done. So while creating sales order the pricing procedure is de

  • How to count I/O number in an environment?

    Hi, In my application, I operate on several bdbs under an environment dbenv. Now, I want to count the I/O times of all databases for the environment. Can I calculate it from dbenv->stat_print(DB_STAT_ALL) ? I cannot find much useful information in it

  • Where is the iPhone backup file saved at?

    I wanted to archive it. I tried looking everywhere. I am using Windows Vista by the way (not sure if the location changes on PC and Mac).

  • I can't customize my flash buttons to work?

    I am using Flash CS5. In flash the program has a set of buttons already in a folder within the program so you can use them for your website and projects. For those that know the buttons most of them have a text that says "enter". What I have done is

  • Best external DVD burner?

    I have the basic Macbook with the combo drive, and I'm considering getting an external DVD burner so that I can actually burn DVDs (which I didn't think I'd be doing originally, which is why I got the baseline Macbook...oh well) and to use for watchi