12-08-2010 09:46 AM
Hi all,
I am getting a Fatal Run-Time Error when calling FileSelectPopup in all my programs and even with the sample program “CVI\samples\fileio\arrayfile.prj”. The popup does not even appear.
On the other hand… the executable works! Why?
The weird thing is that everything run perfectly last week in the same computer. And weird is that I tested the programs now in another computer with the same configuration (winXP SP3, CVI 8.0.1, cvirte.dll version 8.5.0.279) and the fault does not occur!!! But I must work on my own computer. I did not change any configuration issues in it in the last week.
Do you know about any automatic windows updates, system configuration, utilities, other programs, building options or something that can be causing the problem? Any idea about how to solve it?
Thanks, Kristel
12-08-2010 12:03 PM
That is strange - the same thing happened to me today ! I was using a call to FileSelectPopup that we HAVE NOT CHANGED FOR YEARS, all was fine still this morning, but since some hours ago, I get exactly the same message AT THE SAME ADDRESS (0x7C91E4FF).
What the hell is that ? As I said, the software has worked unchanged for years.
12-08-2010 01:13 PM
Some more info :
it now keeps happening :
- with ALL CVI applications that use FileSelectPopup WHEN STARTED FROM THE IDE (either debug or release build)
- with another application, trying executing "error = Excel_NewApp (NULL, 1, LOCALE_NEUTRAL, 0, &ExcelAppHandle);"
it DOES NOT happen :
- when I start the release build's .exe OUTSIDE the IDE
So, it seems to have something to do with the IDE. I already played with stack size, and the "Environment->File Browsing->default to project directory when opening files" check box, but nothing seems to help.
Please , anybody - our customer's waiting for an urgent application update, and we are not able to debug... Murphy's law again...
12-08-2010 02:52 PM
Hello -
I've tried to reproduce what you've both described, but I have not had any luck. What you are describing seems to point to some type of system update. Because the crash does not occur outside of the LabWindows/CVI development environment, it will be more difficult to track down. Because of this, Could you both please respond to the following questions? I know you've each addressed some of them, but I'd like to have them all together to make sure we're all on the same page.
Finally, could you both please do the following:
Thanks -
NickB
National Instruments
12-09-2010 02:55 AM
Hello Nick,
many , many thanks for your quick reply.
Output of Window->Modules:
EHP_dbg.exe 0x00400000-0x00828000 c:\SVN\Projekte\Vaillant\Serienprodukte\Wärmepumpe ab SW 3.0\2 technik\software\AMU\Simulation 1.0.0.0 1 Loaded
ntdll.dll 0x7C910000-0x7C9C9000 ntdll.dll 5.1.2600.5755 2 Not loaded
kernel32.dll 0x7C800000-0x7C908000 C:\WINDOWS\system32 5.1.2600.5781 3 Not loaded
USER32.dll 0x7E360000-0x7E3F1000 C:\WINDOWS\system32 5.1.2600.5512 4 Not loaded
GDI32.dll 0x77EF0000-0x77F39000 C:\WINDOWS\system32 5.1.2600.5698 5 Not loaded
cvirte.dll 0x68420000-0x6896C000 C:\WINDOWS\system32 9.1.0.427 6 Not loaded
WINMM.dll 0x76AF0000-0x76B1E000 C:\WINDOWS\system32 5.1.2600.5512 7 Not loaded
ADVAPI32.dll 0x77DA0000-0x77E4A000 C:\WINDOWS\system32 5.1.2600.5755 8 Not loaded
RPCRT4.dll 0x77E50000-0x77EE3000 C:\WINDOWS\system32 5.1.2600.6022 9 Not loaded
Secur32.dll 0x77FC0000-0x77FD1000 C:\WINDOWS\system32 5.1.2600.5834 10 Not loaded
MPR.dll 0x71A80000-0x71A92000 C:\WINDOWS\system32 5.1.2600.5512 11 Not loaded
COMCTL32.dll 0x5D450000-0x5D4EA000 C:\WINDOWS\system32 5.82.2900.6028 12 Not loaded
MSIMG32.dll 0x76320000-0x76325000 C:\WINDOWS\system32 5.1.2600.5512 13 Not loaded
WINSPOOL.DRV 0x72F70000-0x72F96000 C:\WINDOWS\system32 5.1.2600.5512 14 Not loaded
msvcrt.dll 0x77BE0000-0x77C38000 C:\WINDOWS\system32 7.0.2600.5512 15 Not loaded
COMDLG32.dll 0x76350000-0x7639A000 C:\WINDOWS\system32 6.0.2900.5512 16 Not loaded
SHELL32.dll 0x7E670000-0x7EE91000 C:\WINDOWS\system32 6.0.2900.6018 17 Not loaded
SHLWAPI.dll 0x77F40000-0x77FB6000 C:\WINDOWS\system32 6.0.2900.5912 18 Not loaded
ole32.dll 0x774B0000-0x775EE000 C:\WINDOWS\system32 5.1.2600.6010 19 Not loaded
OLEAUT32.dll 0x770F0000-0x7717B000 C:\WINDOWS\system32 5.1.2600.5512 20 Not loaded
IMM32.DLL 0x76330000-0x7634D000 C:\WINDOWS\system32 5.1.2600.5512 21 Not loaded
comctl32.dll 0x773A0000-0x774A3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202 6.0.2900.6028 22 Not loaded
uxtheme.dll 0x5B0F0000-0x5B128000 C:\WINDOWS\system32 6.0.2900.5512 25 Not loaded
MSCTF.dll 0x746A0000-0x746EC000 C:\WINDOWS\system32 5.1.2600.5512 26 Not loaded
SynTPFcs.dll 0x63000000-0x63014000 C:\WINDOWS\system32 7.5.17.27 27 Not loaded
VERSION.dll 0x77BD0000-0x77BD8000 C:\WINDOWS\system32 5.1.2600.5512 28 Not loaded
msctfime.ime 0x75250000-0x7527E000 C:\WINDOWS\system32 5.1.2600.5512 29 Not loaded
btmmhook.dll 0x10000000-0x10013000 C:\WINDOWS\system32 5.5.0.3100 30 Not loaded
mesa.dll 0x029A0000-0x02A7A000 C:\Programme\National Instruments\Shared\Mesa 3.0.0.0 31 Not loaded
12-09-2010 02:58 AM
Idea: is there any temporary file of the IDE itself that may be damaged ? I keep thinking that it might have something to do with the "Options->Environment->Default to project directory when opening files" thing (although I started playing with it AFTER the problem turned up).
12-09-2010 03:40 AM
Oh, haven't seen at first glance : the problem started with "Kristel" YESTERDAY ? That might point to a anti-virus update problem. I will contact my admin in order to try it in protected mode.
12-09-2010 04:19 AM
Hello Nick,
here the answers:
Now I set the breakpoint but I do not see Window>>Modules (?). Instead I have Run>>>Loaded Modules. The output is in the attachment.
I use AVIRA as antivirus which updates automatically. Any ideas about how to solve the problem (yes, it started yesterday!)?
Many thanks,
Kristel
12-09-2010 08:46 AM
I had to uninstall Avira, now all programs work. The problem was caused by the antivirus updates posterior to 6th december
12-09-2010 09:12 AM
Thanks for the advice - we are using avira, too, but just disabling its services did not do the trick. We found out that the problem is gone when in protected mode, but disabling one system service after another did not help so far.
I will ask my admin to uninstall Avira, and report our result.