Windows error 0xC0000417, -1073740777

Detailed Error Information

HRESULT analysis[1]

FlagsSeverityFailure
Reserved (R)true
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[1][2]
DescriptionThe default facility code.[1][2]
Error Code1047 (0x0417)

Questions

10votes
3answers

How can I determine why my process terminates

I have a problem where during a call to a 3rd party library routine my process terminates. I am completely unable to catch this in my debugger. This may be related to this question: How can I debug a win32 process that unexpectedly terminates silently?. When I step over a [...] read more
visual-studio-2010
debugging
winapi
4votes
2answers

Word 2010 Crashing

We have an office with all users using the same spec'ed PCs with the same Image deployed to them, so that the software and configuration is identical. I have one user who keeps having the install of MS Word 2010 crash intermittently. First I reinstalled Office 2010 Suite, but will [...] read more
microsoft-word
microsoft-word-2010
4votes
2answers

faulting module msvcr100.dll,exception code 0xc0000417

When I run a self written java program and after a certain time the JVM crashes, but no JVM log is saved. The only thing I find is following event in Windows Event Viewer: Faulting application java.exe, version 7.0.670.1, time stamp 0x53d28725, faulting module msvcr100.dll, version 10.0.40219.1, time stamp 0x4d5f0c22, [...] read more
java
jvm-crash
4votes
2answers

How to handle all errors, including internal C library errors, uniformly

I wanted to handle all internal errors gracefully, without program termination. As discussed here, using _set_se_translator catches divide-by-zero errors. But it does not catch, for example, C runtime library error -1073740777 (0xc0000417), which can be caused by format strings for printf which have the percent sign where they shouldn't. (That [...] read more
c++
c
visual-studio
exception-handling
3votes
2answers

Graphics card(?) causing crashes

I've got a Geforce GTX 660Ti It's been running fine for 5-6 weeks. Today I launched Left4Dead2 and got 7-8 FPS (usually a rock solid 300 even at the busiest moments). In case of driver/software issues, I reinstalled Steam, applied all outstanding windows updates, reinstalled the graphics driver (clean install) [...] read more
windows-7
drivers
nvidia-graphics-card
directx
3d
3votes
1answer

_invalid_parameter gets no useful information in Release build

I am using _set_invalid_parameter_handler to override the default behaviour of the program when a CRT function gets an invalid parameter, which is to crash with 0xc0000417 (STATUS_INVALID_CRUNTIME_PARAMETER). This is my handler: void my_invalid_parameter_handler( const wchar_t * expression, const wchar_t * function, const wchar_t * file, unsigned int line, uintptr_t pReserved [...] read more
c
visual-studio-2008
error-handling
crt
2votes
1answer

How do identify STATUS_INVALID_CRUNTIME_PARAMETER exception

Platform is Windows 7 SP1. I recently spent some time debugging an issue that was caused because a code was passing an invalid parameter to one of the "safe" CRT functions. As a result my application was aborted right away with no warning or anything -- not even a crash [...] read more
exception-handling
windbg
crash-dumps
secure-crt
2votes
1answer

Opencv's "findContours" error : Thread stopped with code -1073740777

I'm currently working on a program to process the datas of a 3D camera. Unfortunately i got an error using the opencv's "findcontours" function. In fact, when i try to use it in my program i get these errors : > Thread 0x1a4c stopped with code 0 (0x0) > > [...] read more
c++
multithreading
opencv
2votes
0answers

Debug BEX (0xc0000417) Exception using windbg on Windows 7

I'm debugging an application crash on 32Bit windows 7. (I don't have access to source code). The application crashing with BEX exception. Problem signature: Problem Event Name: BEX Application Name: xxxxx.EXE Application Version: xx.xx.xxx.xxx Application Timestamp: xxxxx Fault Module Name: xxxxx.dll Fault Module Version: x.x.xx.xx Fault Module Timestamp: xxxxx Exception [...] read more
c++
debugging
reverse-engineering
windbg
2votes
1answer

php imagick error when pdf involved

When I try to convert the first page of a PDF into JPG through PHP imagick, I get an HTTP 500 error with no log in php_errors.log. Explanation from IIS: The FastCGI process exited unexpectedly Error code: 0xc0000417 Two files are created in C:\Windows\Temp, the first one is the PDF [...] read more
php
pdf
iis-7.5
imagick
2votes
1answer

Application crashing on non-development system

I've had following error on another system: Faulting application name: EyeScanner.exe, version: 1.0.0.0, time stamp: 0x5049fcd9 Faulting module name: MSVCR100.dll, version: 10.0.30319.1, time stamp: 0x4ba220dc Exception code: 0xc0000417 Fault offset: 0x000000000007038c Faulting process id: 0x928 Faulting application start time: 0x01cd8d2ac9ca4d5e Faulting application path: C:\EyeScanner-Exe\EyeScanner.exe Faulting module path: C:\Windows\system32\MSVCR100.dll Report Id: [...] read more
c#
c++
exception
2votes
2answers

invalid cruntime parameter _itoa_s

I have experienced a strange behavior when using _itoa_s and _ultoa_s if I try to get a char array from an DWORD. The function returns zero(success) and my application continues, but I'm getting an exception window with error code 0xc0000417 (STATUS_INVALID_CRUNTIME_PARAMETER). ULONG pid = ProcessHandleToId(hProcess); int size = getIntSize(pid); char [...] read more
c++
winapi
1vote
1answer

IIS7 crash on MSVCR100.dll

Since this morning my w3wp process keeps crashing whenever I try to open an application on the server (IIS7.5). This is the error as it appears in the event log: Faulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7a5f8 Faulting module name: MSVCR100.dll, version: 10.0.40219.325, time stamp: 0x4df2be1e Exception code: [...] read more
iis-7
iis-7.5
iis
1vote
0answers

PC: Top Gun Hard Lock crashes on startup when a 360 controller is plugged in

I just bought yesterday the PC version of Top Gun Hard Lock (https://www.amazon.co.uk/Top-Gun-Hard-Lock-Windows/dp/B006T9L4GA/) and I was reading online that it natively supports 360 controllers. The problem I'm having is that I've got 3 different 360 controllers and with all of them, if I launch "C:\Program Files (x86)\TopGun - Hardlock\binary\TopGun.exe (4626 [...] read more
windows
crash
dll
game-controller
1vote
2answers

Using this C++ library

I'm trying to use an executable file (written in C) that calls a C++ library. I'm getting this error in my Windows Server 2008 box: Faulting application name: sample.exe, version: 0.0.0.0, time stamp: 0x4d668157 Faulting module name: MSVCR90.dll, version: 9.0.30729.4974, time stamp: 0x4b7a226f Exception code: 0xc0000417 Fault offset: 0x0002fc96 Faulting [...] read more
c++
c
windows
1vote
1answer

How can I debug the cause of a 0xc0000417 exit code

I get an exit error code 0xc0000417 (which translates to STATUS_INVALID_CRUNTIME_PARAMETER) in my executable (mixed Fortran/C) and try to find out what's causing it. It seems to occur when trying to write to a file which I infer because the file is created but there's nothing in it. Yet I [...] read more
c
visual-studio
debugging
runtime-error
1vote
2answers

Why is my window closing after some time?

#include <SFML/Graphics.hpp> int main(){ sf::RenderWindow window(sf::VideoMode(200, 200), "Title"); while (window.isOpen()) { // clear window window.clear(); // Draw here // end the current frame window.display(); } return 0; } Why is it closing after 5 to 10 seconds? When I don't have my cursor inside the window, it won't close. The [...] read more
c++
sfml
1vote
2answers

Python Google Drive API discovery.build fails with exit code -1073740777 (0xC0000417)

I am building a python application which uploads images to google drive. However after working for some some time my google drive upload suddenly stopped working. Whenever I try to initialize the service, the program exits with code -1073740777 (0xC0000417). I have already tried to create a new client_secret.json file [...] read more
python
oauth-2.0
google-drive-api
1vote
0answers

Trans Pull Subscription Synchronize, Terminates the program after Synchronization

I have an SQL Data base on my local SQL Server Instance, and I replicate data to another Data Base which is on also on my local SQL Server Express instance . I use the following code to make the Synchronization operation happen : // Define server, publication, and database [...] read more
c#
sql
replication
1vote
1answer

Running service with virtual account on Windows 8 Server

My service previously run as Local System. Now I need to run it in domain with kerberos authentication. I configured the service to run with virtual account. In Log On tab I changed radio button to This Account: NT SERVICE\MyService From this point my service fails on start with no [...] read more
windows
service
active-directory
visual-c++-2010
1vote
1answer

The thread 'Win32 Thread' has exited with code -1073740777 (0xc0000417)

I have an executable which calls a DLL. I can step through DLL code by attaching VS2008 project of DLL to process of executable. I debugged some errors/exceptions already. But now, exactly when main function of DLL returns, executable process crashes without any error/exception. To debug the crash, I tried [...] read more
visual-studio-2008
dll
crash
c++-cli
1vote
1answer

Problem starting debug build on Windows Server 2008R2

I have a Windows service that is written in C++ using VS2008. I now want to debug that service remotely on my Windows Server 2008R2. But when I start the service I get an application error saying: > Faulting application name: MyService.exe, version: 1.99.96.0, time stamp: > 0x4c87cf49 Faulting module [...] read more
c++
visual-studio-2008
0votes
0answers

Upgrading to Java 1.7.0_45 Error - Java does not launch

I'm running into an issue where Java will not launch in IE 9. Specifically IE 9.0.8.112.16421 Update Version 9.0.21 I am upgrading from version 1.6, i uninstalled version 1.6 then i installed 1.7.0_45. When I go to a webpage i have confirmed that Java will not start, instead i receive [...] read more
windows-7
windows
java
internet-explorer
internet-explorer-9
0votes
1answer

Unexpected Program exit with Code 0xC0000417 (Invalid C-Runtime Parameter)

After upgrading a big project to Visual Studio 2013, the program cased a crash (Program stopped working) on a normal computer. Now when I debug this program in Visual Studio 2013, I don't see anything, except of the last message: "The program '[3948] Server.exe' has exited with code -1073740777 (0xc0000417)." [...] read more
c++
c
debugging
mfc
visual-studio-2013
0votes
2answers

Windows must now restart because the [our service name] service terminated unexpectedly

as a disclaimer, I am posting this here because I have only seen comments referring to this type of behavior where people have indicated a possible problem going on with the system. If this is not the correct place to post this, please let me know and I will post [...] read more
windows-7
crash
service
c++
0votes
0answers

Why ifstream getline is crashing

I wrote what I thought a quite basic function to read a file. But for a reason I dont know, the std::getline crashes my application, with this output : > The program '[14092] ASREngineApp.exe' has exited with code -1073740777 > (0xc0000417) My code std::vector<std::string> readFile(const std::string& fileName) { //Read file [...] read more
c++
visual-studio-2017
c++17
0votes
1answer

Python script stops working with BEX error

I have a Python script running on Windows, which is basically RESTful interface client with multiple connections to SQL database. It has to be restarted with some period of time (for example, 15 minutes). For this purpose I wrapped the code inside the loop with function os.execl(). I run script [...] read more
python
windows
powershell
0votes
0answers

JVM crashes while using Excel as Database with the following error

I have using Excel as database with JAVA 7 and it works just fine . But since support of JDBC-ODBC Bridge has been removed in Java 8, so java 8 can't access ODBC databases like MS Access or Excel(as a database) . I further went forward with a custom solution [...] read more
java
excel
ms-access
jvm-crash
0votes
2answers

OpenGL window immediately closes with error -1073740777 (0xc0000417)

I'm using Visual Studio 2013 and OpenGL to create a simulation. Ideally, the window that I'm creating should stay open so that I can make changes using the keys and I can view a different result on the same window. But the window closes immediately after it launches with error [...] read more
c++
visual-studio
opengl
0votes
0answers

BEX error c0000417 VC++ and MFC

I had access, via a friend, to a vc++ code which has MFC components with AxisMediaControl object to stream and record videos from an IP camera. Now I am a complete novice in MFC and VC++. But I was going through the code as I know some C++ and was [...] read more
visual-studio-2010
visual-c++
mfc
0votes
0answers

Running a Java Applet in webkit in Visual C#

I am trying to make a simple browser to load a page that contains a Java Applet (the webpage is not mine) using WebKitBrowser , but it just crashes with error. exited with code -1073740777 (0xc0000417). Is WebKitBrowser compatible to load Java Applet at all? if yes how do I [...] read more
c#
visual-studio-2010
webkit
0votes
1answer

Unable to launch installed application created from Visual Studio Installer when installed in %ProgramFiles(x86)%

I just completed my application development efforts on a D2D1 application using Visual Studio 2010 IDE in C++. I was exploring different ways of creating a package from this and used the built-in Visual Studio installer/setup. The setup project compiled smoothly and an install file was created. I was also [...] read more
visual-studio-2010
visual-c++
deployment
windows-installer
uac
0votes
1answer

DebugDiag Crash Rule Does Not Auto-Execute

I'm using DebugDiag for the first time, and I'm using it on Windows 7 x64. I've created a crash rule for (x86) myprogram.exe, which is guaranteed to crash because I've coded it intentionally to crash with an "unknown exception (0xc0000417)". I have windows "startup and recovery" configured to capture mini-dumps. [...] read more
c++
windows
dump
postmortem-debugging
0votes
1answer

GoblinXNA - DebugFont.spritefont needs to be added to your content directory - Error (MSVCR90.dll)

SOLVED: This error only occurs in Visual Studio 2010, it doesn't appear in Visual Studio 2008, probably because the Content Pipeline is differently loaded in both. Though the error I've been having with MSVCR90.dll, is the next problem. -------------------------------------------------------------------------------- I have started using the Goblin XNA framework to create an [...] read more
visual-studio
xna
-1votes
1answer

findContours crash in Visual studio

I have the following code going fine in ubuntu: img = imread("E:/object_recognition_c++/build/saved images/webcam_capture_2.jpg", CV_LOAD_IMAGE_COLOR); // Read the file, comment if use camera Mat img_orginal = img; Mat src_gray, threshold_output; vector<vector<Point> > contours; cvtColor(img, src_gray, CV_BGR2GRAY); blur(src_gray, src_gray, Size(3, 3)); int thresh = 85; threshold(src_gray, threshold_output, thresh, 255, THRESH_BINARY); /// Detect [...] read more
c++
opencv
visual-studio-2012

Comments

Leave a comment

(plain text only)

Sources

  1. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  2. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0