matlab crashes exception code 0xc0000374

When the customer runs any function within MatLab on 1 virtual workstation out of 4 (Windows 7 SP1 on VMware), it will start to run and then just "bomb" and MatLab window closes. In the Application event log, the event ID is 1000 and faulting application name is matlab.exe; version 8.6.0.0. Faulting module name is ntdll.dll, version 6.1.7601.18933. The exception code is 0xc0000374. I have uninstall/reinstalled MatLab with no success and have rebuilt the workstation from a old backup with no success. I don't know where any of the programs logs are located to help troubleshoot. Any help would be appreciated and thanks in advance.

5 Comments

Hallo Larry,
Did you get any answers for this problem or did you solve it ? I have the same problem. I tried several solutions ( Reinstalling Matlab 2012b, reinstalling Visual studio..) still not working. Thank you, Ahmed
Hi Larry and Ahmed,
Did you manage to fix this problem? If yes then how? I am facing the same problem and have tried almost every things from reinstalling matlab to reinstalling windows but error remains.
I think it has something to do with one of the windows update. There is no particular function that invokes the crash. It seems to happen at random.
Thanks
I'm having the same error. Did you solve this ?
Thank you in advance
Hello,
same error here. The error occurs from one day to another and nothings seems to be helping. How could you solve this?
Thanks in advance
Hello,
I'm having the same error. How can you solved this?
Thank you!!

Sign in to comment.

Answers (1)

Check the system files at first from the Windows Command window:
sfc /scannow
Note that it is unlikely, that the problem occurs, when "any function within MatLab runs", because starting Matlab calls some functions already. So please explain exactly, which function causes the crash.

4 Comments

Hi Simon,
Facing the same problem.
I think it has something to do with one of the windows update. There is no particular function that invokes the crash. It seems to happen at random.
Event log entry below.
Faulting application name: MATLAB.exe, version: 9.3.0.0, time stamp: 0x5976c21e
Faulting module name: ntdll.dll, version: 10.0.16299.64, time stamp: 0x493793ea
Exception code: 0xc0000374
Fault offset: 0x00000000000f87bb
Faulting process ID: 0x2a94
Faulting application start time: 0x01d3b91a0ee7f500
Faulting application path: C:\Program Files\MATLAB\R2017b\bin\win64\MATLAB.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report ID: 39802d2c-23cc-4e23-9b3f-1cb1e5086096
Faulting package full name:
Faulting package-relative application ID:
Thanks
I think it has something to do with one of the windows update.
Then please share why you think so. Sometimes device drivers cause such crashes.
Problem appeared with "kb4090913 osbuild 16299-251" update but stopped after "windows-10-update-kb4088776".
My second system did not affected by this problem at all. So not sure what was the real cause, but I am glad it is sorted now.
Thanks for your quick reply.
Similar error for me. It's happening once a day.
Faulting application name: MATLAB.exe, version: 9.4.0.0, time stamp: 0x5a7970ba
Faulting module name: ntdll.dll, version: 6.1.7601.24094, time stamp: 0x5abee643
Exception code: 0xc0000374
Fault offset: 0x00000000000bf6b2
Faulting process id: 0x317c
Faulting application start time: 0x01d3e7928bd86393
Faulting application path: C:\Program Files\MATLAB\R2018a\bin\win64\MATLAB.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 44a939f9-538b-11e8-8701-4ceb42f2fe1c

Sign in to comment.

Categories

Asked:

on 13 Feb 2017

Community Treasure Hunt

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

Start Hunting!