" requested the Runtime to terminate it in an unusual way"

Freshly installed MATLAB on Windows 7, 64Bit.
  • If I select the MATLAB shortcut in the Start Menu, I get a windows error saying the following:
%%%%%%%%%%%%%%%%%%%%%%%%%%
Microsoft Visual C++ Runtime Library
%
Runtime Error!
%
Program: C:\MATLAB7\bin\win32\MATLAB.exe
%
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  • If I go to the directory C:\Program Files\MATLAB\R2012b\bin and start using the matlab.exe located there, Matlab starts but the command window displays a lot of errors:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Cannot find function, getDefaultUserFolder, in library services.
Warning: MATLAB did not appear to successfully set the search path. To recover for this session of MATLAB, type "restoredefaultpath;matlabrc". To find out how to avoid this warning the next time you start MATLAB, type "docsearch problem path" after recovering for this session.
Warning: Duplicate directory name: C:\Program Files\MATLAB\R2012b\toolbox\local
%
and so on an so forth.
SafeMode, -nojvm, -shield none all yield the exact same behaviour, and it occurred at least with Matlab 64bit 2012b and 2011b.

 Akzeptierte Antwort

Jonathan Epperl
Jonathan Epperl am 14 Okt. 2012

2 Stimmen

...and I'll just answer my own question, in case somebody else has the same problem and Google leads here: The culprit is another program, Lucid Logix's VirtuMVP Version 2.1.115.23214. It's an application that enables some teamwork between iGPU and dedicated GPU and ships with some Asus Motherboards, maybe with others, too. (off-topic: it does improve performance quite drastically, at least in Crysis...) Anyway, I installed Version 2.1.111.20856 and the problem is gone. Go figure, but I'm glad everything is working fine now.

6 Kommentare

Thanks for the report!
Dan
Dan am 14 Okt. 2012
You beat me by 3 hours!
I just stumbled upon the issue as well using version: Lucid Virtu MVP 2.1.114.22585 on an ASRock Z77 Extreme4 motherboard. R2009a seems to work fine. Unfortunately, due to another bug in the most recent release (2.1.115.23214) that results in License/Activation errors popping up (from Lucid Virtu not Matlab), I cannot upgrade so I'm stuck with uninstalling Virtu MVP as an only solution.
Dan
Dan am 14 Okt. 2012
I see that 2.1.115.23214 was troublesome for you so I'll try downgrading as well and hope I don't get the weird license bug.
Yeah, I had that "This program has expired" message popping up, too! LucidLogix didn't reply to my support request at all, which is pretty lame, but I have 2.1.111.20856 running without problem since a week or so. I'll report back if there are problems again.
Thank you so much, I was wrecking my head with, why Matlab wasn't working.
It seems I can run 2.1.112 but none of the other versions of 2012 work.
Philip Borghesani
Philip Borghesani am 15 Apr. 2013
Bearbeitet: Philip Borghesani am 15 Apr. 2013
I just debugged the same problem it appears that virtuMVP injects its own services.dll into the MATLAB process and prevents MATLAB from loading its own copy of services.dll thereby breaking MATLAB. Disabling virtuMVP did not solve the problem the only solution I found was to uninstall it.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Jonathan Epperl
Jonathan Epperl am 25 Sep. 2014

0 Stimmen

Gave it another try, this time with Matlab 2013b and Virtu MVP Pro Core: 3.0.109.29300 (The newest version at the moment)...
Unfortunately, there's no change: Stopping Virtu MVP, killing it in the Task Manager, killing its Service, disabling the service and rebooting, nothing helps.
Only solution so far: Uninstall, install last known working version 2.1.111.20856
That's a pretty crappy situation, has anybody in the last 2 years come up with a better workaround?

1 Kommentar

To resolve the issue, you can remove Virtu MVP from your system PATH environment variable.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by