We are working on vs 2010 windows 7, 32 bit and the project is running under target framework 3.5. Now we are implementing credit card process in the website project in signup page. It's running fine when running from VS IDE, but after publishing to the local IIS when clicked [...] read more
I am having trouble to get a Visual C++ executable to work, the app crashes , here is what I have seen in the event viewer. Faulting application name: submit.exe, version: 0.0.0.0, time stamp: 0x50a3cce7 Faulting module name: ntdll.dll, version: 6.1.7601.17514, time stamp: 0x4ce7ba58 Exception code: 0xc0000374 Fault offset: 0x000ce653 [...] read more
I have an application that I've written that crashes intermittently, but I'm unable to capture an exception at the application layer. I always get an entry in the event log but doesn't give me much info: Faulting application name: BCS-UI.exe, version: 1.0.11.0, time stamp: 0x5c0edcbd Faulting module name: ntdll.dll, version: [...] read more
Recently I've been trying to login to various machines via RDP and am getting the following error my Windows 10 workstation: Faulting application name: mstsc.exe, version: 10.0.10586.0, time stamp: 0x5632d1d8 Faulting module name: ntdll.dll, version: 10.0.10586.103, time stamp: 0x56a8483f Exception code: 0xc0000374 Fault offset: 0x00000000000ee71c Faulting process id: 0x3eac Faulting [...] read more
I recently asked about repairing a corrupt event log, because it seemed to be a one-off event. The event log has since exhibited the same behavior 3 times. We have been trying to find patterns, but so far we have found nothing. The server runs several ASP.NET applications and three [...] read more
I have Windows 7 Ultimate OS. I'm opening mmc.exe as administrator and trying add Certificates or any other snap-in, then while loading that snap-in MMC breaks and displays following message and after that it closes automatically once I click on close button on that message. What could be the problem? [...] read more
Often my program crash by some reason. In this case I do see Windows message with "Close" button. Every time such thing happen I do really want to know what happened. Thanks to community I already know how to "handle" some situations, I've added such code in the beggining of [...] read more
I met below message during the testing my code. Process finished with exit code -1073740940 (0xC0000374) I am using PyCharm 2016.1.4 and Python 3.4 def test(): code_list = Code_Import() for i in range(len(code_list)): code_for_sim = Code(i) try: raw_data = run(code_for_sim) profit_table = disparity(raw_data) opt_result = Find(profit_table) opt_data = dataforsignal(opt_result[0], opt_result[1], [...] read more
I'm having some issues with the windows rammap tool. It used to work fine but by going to recent builds 17115/17120 it stopped working - when i start it up it does not show up anything. Refreshing it causes it to crash. I tried re-installing it but no luck. Searching [...] read more
I have a strange problem with File Explorer. If I run it by clicking the icon pinned to the taskbar, it doesn't open, and explorer.exe restarts after a few seconds. If I press Windows + e, it opens up correctly. Event Viewer shows this: Faulting application name: explorer.exe, version: 10.0.14393.0, [...] read more
I need to convert a double array in c# to an IntPtr to properly send it to my c DLL. I have successfully been able to convert from IntPtr to double[,] using the method from this answer. Ive also found another answer that is close to what I need but [...] read more
Currently I'm working on a microprocessor that only has a small RAM capacity (128 MB). I'm running multiple threads of execution to analyze performance but the essence of the problem lies on storing large amounts of data (floats and integers) in dynamic space in order to reduce the possibility of [...] read more
My adb crashes constantly (every second) whenever i start avd from andorid studio. I have tried all posts here in stackOverflow, with no luck :( Here is the log from windows event viewer so far: Information: Fault bucket 108798948236, type 1 Event Name: APPCRASH Response: Not available Cab Id: 0 [...] read more
My company wants to implement an ERP and we've decided that Odoo is the chosen one. Odoo server (debian) is running, but we need a development environment in windows which I've already installed,from PyCharm I can Run the odoo server and navigate through the browser and watch the log fill, [...] read more
I have a MVC4 application, which loads some DLLs. Basically, the architecture of the MVC application is this: the app receives some jobs from the user, it calls the processing functions from dlls and in the end, emails the results to the user. All dlls are compiled on 64bits, I [...] read more
I'm using: * Jenkins 1.541. * Java JDK 7u45 (tried 64 and 32 bit versions). * XAMPP 1.8.2 I have downloaded the default MSI installation from http://mirrors.jenkins-ci.org/windows/latest, and I have installed it. Jenkins tries to run the first time, telling me Please wait while Jenkins is getting ready to work... [...] read more
I have a text file containing words with non-English alphabets and I want to open it, do some preprocess and finally save it as a csv file. and use it some where else. the code to read and store file: with open('file.txt', encoding="utf-8") as f: train = f.read().splitlines() then creating [...] read more
I am writing an extension module for my Python script and cannot figure out, where this heap corruption is coming from. The use of the extension module should be to create a Numpy array, fill it with some values that are calculated given a few conditions and return the Numpy [...] read more
I have a Windows fatal exception: code 0xc0000374 - yes there's multiprocessing (wait for the but...). Google says that the exception code 0xc0000374 indicates a heap corruption. Yes, multiprocessing is a must-have. It's apart of the framework I'm working in, as each bot has the potential to have its own [...] read more
So let's say I have a String, "Foo Bar" and I want to create a substring of "Bar" without allocating new memory. So I moved the raw pointer of the original string to the start of the substring (in this case offsetting it by 4) and use the String::from_raw_parts() function [...] read more
CRASH IN PYCHARM Following code will crash with Python3 on PyCharm. import locale import logging import logging.handlers locale.setlocale(locale.LC_ALL, 'de_CH.UTF-8') stream_handler = logging.StreamHandler() stream_handler.setFormatter(logging.Formatter('%(asctime)s - %(levelname)s - %(message)s')) logger = logging.getLogger(__name__) logger.addHandler(stream_handler) logger.error('testing') The code should print testing. PyCharm will crash and print the exit code: > Python crashes with 'Process [...] read more
I'm trying to debug the Odoo source code. Execution works normally, but when trying to debug the following message appears: Connected to pydev debugger (build 181.5540.34) Process finished with exit code -1073740940 (0xC0000374) I'm using Odoo 12, PyCharm 2019.1.3 (Professional Edition) and Python 3.6 on Windows 10. This is the [...] read more
I'll start with a bit of history: The issue I'm facing currently appeared suddenly without any changes to the code. Then disappeared in the same way after 3 days. Now it came back in a week and doesn't want to go away =). I have code that works with printer [...] read more
I'm trying to wrap the new Windows 10 ProjFS features in C#. The first steps, as outlined on MSDN, work fine: I set up a directory as my virtualization root, and then register my projection provider including its callbacks as follows: static void Main(string[] args) { // Create and mark [...] read more
I made a DLL with gcc that contains only the following function: #include <windows.h> BSTR __declspec(dllexport) testfunc(void) { return SysAllocString(L"Hello"); } which is based on the code at the end of this answer. The build command is gcc -shared -o testfunc.dll main.c -Os -s -loleaut32. In Visual Basic using VS [...] read more
We have a problem with a Windows 7 print spooler. There is a Windows 2011 Small Business Server running as print server and 2 computers in the network their print spooler keeps crashing at random. The log files says it is ntdll.dll that has a fault. Naam van toepassing met [...] read more
The MMC application keeps on crashing whenever I try to add a snap-in on my PC. Google didn't really help much. Is there any way I can check whats causing it to crash? The event log doesn't help either. Are there any applications that could be causing this issue? At [...] read more
I run Windows 10 Pro, nothing special about the set up. Been using the PIN system for about a year or so when suddenly I got an issue. Anytime I access the store or xbox apps, it would request the PIN. Here I would get stuck in a loop. Specifics [...] read more
I have a user on windows 10 that is having windows explorer crash at seemingly random times. It does not look like it always shows up in the EventLog but here are two times I have seen it: Faulting application name: explorer.exe, version: 10.0.14393.479, time stamp: 0x58258a90 Faulting module name: [...] read more
Over the past week I have started to have explorer.exe crashes and as of yet have been unable to determine the cause. I am seeing in the event logs that explorer.exe is crashing and the faulting module is ntdll.dll. I really want to track down why this is happening and [...] read more
I'm running Visual Studio Team System Development Edition 2008 on Vista Business 64bit along with Resharper 4.5, Telerik Reporting 2009/Q2 and GhostDoc 2.5.9166.0 and it keeps crashing randomly. It typically happens when I start entering text into a .cs or text file. The event log gets an application error entry: [...] read more
When I right-click the Windows Media Center icon and choose "Pin to Taskbar", Explorer crashes. Anyone else experiencing this? Edit: Here's the info from the error posted to the event log: > Faulting application name: Explorer.EXE, version: 6.1.7600.16404, time stamp: > 0x4a765076 Faulting module name: ntdll.dll, version: 6.1.7600.16385, time > [...] read more
I have both pycharm and spyder installed on our remote desktop. I personally prefer pycharm and having been developing using it. Everything is fine until I found that I can not read a .csv file which is bigger than 1 GB in pycharm, it told me python crashed and the [...] read more
I am currently writing a game rendering engine using LWJGL 3 and Kotlin. Everything works fine for multiple minutes, until out of nowhere the program exits with the following message: Process finished with exit code -1073740940 (0xC0000374) All I do is load a few models, and then render them with [...] read more
I have been facing an issue when I send the string data from Rust to C# DLL. Rust exe will show the following error. error: process didn't exit successfully: target\release\test.exe (exit code: 0xc0000374, STATUS_HEAP_CORRUPTION) The Rust exe will crash after I sent the data for a few times (No exact [...] read more
I am using a recipe from this answer to get logging to a file and to console in UTF-8 instead of system encoding on Windows (in my case cp1250) and my python process crashes (sic!) on the last line below with: > Process finished with exit code -1073740940 (0xC0000374) I [...] read more
I created the GrpcGreeter and GrpcGreeterClient projects in Visual Studio 2019 from the following page: [https://docs.microsoft.com/en-us/aspnet/core/tutorials/grpc/grpc-start?view=aspnetcore-5.0&tabs=visual-studio][1] The only change I made to these examples was that in order for the GrpcGreeter app to run as a Windows service, I added ".UseWindowsService()" to IHostBuilder CreateHostBuilder. I published both to local folders [...] read more
i'm using odoo 10, python version 2.7 and pycharm 2019.3.2 i set script path to odoo-bin, python interpreter to python.exe (2.7), environnement variables to PYTHONUNBUFFERED=1, everything works fine. NOW, i wanna work with odoo 13 in the same time, i've python version 3.7 and pycharm 2019.3.2 i set script path [...] read more
Im trying to receive information from an ABB 800xa historian via Ole Db HDA. I have a working script in powershell but when i do the same in a C# visual studio console app project i get an exit code 0xc0000374. What could be the difference between the Powershell script [...] read more
I have the below code snippet. int main() { wchar_t *wTemp = new wchar_t[ArrSize]; std::vector<char> SourceVector; std::vector<std::wstring> DestinationVector; for (int i = 0; i < ArrSize; i++) { SourceVector.push_back(i); } int k = 0; for (size_t i = 0; i < SourceVector.size(); i++) { k += swprintf(wTemp + k, ArrSize, [...] read more
I built Shogun toolbox ML master on Windows 10 x64, VisualStudio 2019. I run the classifier_minimal_svm sample; it works, but I get this error every time an SGVector goes out of scope { SGVector<float64_t> y_values(100); } there is this error: Critical error detected c0000374 classifier_minimal_svm.exe has triggered a breakpoint. Exception [...] read more
I have a problem with my apache webserver. every time I try to start an LDAP request, the webserver restarts Windows Server2016 16GB RAM Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/5.6.40 so I checked on another server on the same VM Ware and get the same result I added to httpd.conf the following [...] read more
I'm trying to write a buffer using C, it was supposed to take in contents from an input file and output it to another text file. However, when I try to debug it in Visual Studio 2019, it always trigger a breakpoint at if ((fi = fopen(argv[1],"r")) == NULL){...} of [...] read more
I am currently working on a java project(design a card game) and there is a method to choose the suitable card in a player's hand. But A fatal error happend irregularly (not in a fixed time). Here is the header of the log # # A fatal error has been [...] read more
I spent few days chasing a crash that manifests as structured exception 0xC0000374 (heap corruption)... Of course, reproducible only in customer environment. Narrowed it down to this (very simplified) code: DWORD cchName = 0, cchDomain = 0; SID_NAME_USE type; if (!LookupAccountSidW(NULL, pSid, NULL, &cchName, NULL, &cchDomain, &type)) { if (GetLastError() [...] read more
I'm trying to use the http_listener in a larger MFC project of mine built in visual studio 2017 with platform toolset v141. The project statically links to other MFC based libraries that were built using v141_xp platform toolset. It runs fine until executing the code that links to the cpprestsdk. [...] read more
I am running a Java application, but randomly it crashes my JVM. I have gone through multiple articles on this problem, but not able to find how I can debug/fix issue. Java Version: java version "1.8.0_221" Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode) Windows Version: Windows 10 Enterprise [...] read more
I have the following C code: char* str = (char*)malloc(sizeof(char)); int count = 0; while ((c = getchar()) != EOF){ str[count] = c; count++; str = (char*)realloc(str, sizeof(str) + sizeof(char)); } But it is throwing the error Unhandled exception at 0x77C8F94D (ntdll.dll) in algorithms.exe: 0xC0000374: A heap has been corrupted. [...] read more
I migrated an existing C++ application from VS2008 to VS2015, which is made of mixed code. It worked like a charm both compiled for 32 and 64 bits under VS2008. Now compiled under VS2015, the 32 bits version works (though it recompiles nearly every time) but the 64 bits version [...] read more
BACKGROUND I have got a network like setting with nodes and edges. Both nodes and edges need to be classes, in this case Node or Arc, as in this question. In my real setup I am dealing with quite a number of subclasses of both Node and Arc. For memory [...] read more
Developer console of Microsoft Store provides users' minidump.mdmp files for crashes of my published program. I try to debug them by loading the solution with the version used for publishing that exe, and opening that minidump.mdmp file. Clicking "Debug with Mixed" I get Unhandled exception at 0x00007FF9ACCF9269 (ntdll.dll) in minidump.mdmp: [...] read more
I'm working with OpenALPR with Python scripts. The input image from argparse arguments, whenever I run from command prompt, it is giving output and displaying a dailogue box with error > "python has stopped working" Why it is happening could anyone help? If try to debug using mcsv2017 it shows [...] read more
i'm on a Windows Server 2012 r2 and there is a problem with a website. Every ~6min a w3wp.exe of a specific website crash. In Event Viewer i see: Faulting application name: w3wp.exe, version: 8.5.9600.16384, time stamp: 0x52157ba0 Faulting module name: ntdll.dll, version: 6.3.9600.18233, time stamp: 0x56bb4e1d Exception code: 0xc0000374 [...] read more
I have a problem with pycharm debug mode. I can normally run but can't debug with same configuration. when I try to debug, Pycharm except as below: """ C:\Users\wangy\PycharmProjects\odoo\venv\Scripts\python.exe C:\Users\wangy\AppData\Local\JetBrains\Toolbox\apps\PyCharm-P\ch-0\181.4445.76\helpers\pydev\pydevd.py --multiproc --qt-support=auto --client 127.0.0.1 --port 52044 --file C:/Users/wangy/PycharmProjects/odoo/odoo-bin -c odoo.conf pydev debugger: process 11956 is connecting Connected to pydev debugger [...] read more
my c++ code works for a couple of times straight and after few executions it suddenly stops working and throws exceptions (without any changes!), and I cant figure out why. This is the problematic part of code: STARTUPINFO si; PROCESS_INFORMATION pi; ZeroMemory(&si, sizeof(si)); si.cb = sizeof(si); ZeroMemory(&pi, sizeof(pi)); TCHAR *path; [...] read more
I have added caching profiles to my web.config for specific file types: <system.webServer> ... <caching> <profiles> <add extension=".png" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" duration="0.00:01:00" location="Any" /> </profiles> </caching> ... </system.webServer> Having policy and kernelCachePolicy both set to CacheUntilChange is causing heap corruption, which causes IIS to crash: Unhandled exception at 0x00007FFRB0414D7B (ntdll.dll) in [...] read more
I am getting error Unhandled exception at 0x77106214 in java.exe: 0xC0000374: A heap has been corrupted On long running of application in server tomcat 8, java 8. In the application I am connecting SAPB1 with JCO library. It work well for some time, but after couple of hours JVM get [...] read more
I am currently working on migrating our company's x86 software to x64 and have encountered a snag. Our method from our unmanaged dll that returns a char* crashes with 0xc0000374 when the solution platform is switched to x64 and I'd like to know why. C++ Native Code: #include "stdafx.h" #include [...] read more
I´m using some library using ctypes. This library has its own methods to handle heap memory, so in C i would do something like this: #include <stdio.h> #include <stdlib.h> #include <string.h> #include "intcall.h" int main(void) { long status = -1; char host[10] = "xx.x.x.xx"; char user[7] = "xxxxxx"; char pass[7] [...] read more
Patient is a C# application compiled using VS 2008. Application runs on multiple client computers using Windows 7 64bit and Windows 10 Pro 64. On June 11 they reported problems with application, probably after some windows update or another application installation, something changed in environment. Trying go back to VS [...] read more
I'm afraid this questions concerns a bit of an older framework that I don't entirely understand (hence the question). Anyhow, I'm attempting to use the Search Everything SDK in order to implement a search functionality on a small application that I'm making. I managed to get the old demo file [...] read more
My windows service keep crashing and stopped in between. When I traced the eventviewer logs, I got the following information. What can be the reason? It's a multi threaded service application. Faulting application name: xxxxxxx.exe, version: 1.0.0.0, time stamp: 0x581b6c80 Faulting module name: ntdll.dll, version: 6.1.7601.17514, time stamp: 0x4ce7c8f9 Exception [...] read more
I'm wondering if anyone out there can help me with a re-occurring event that I'm getting on my Windows Server 2012 R2 RDS Servers. The servers are running Office 365 ProPlus Version 2003 (Build 12624.20466 Click-to-Run) Monthly Channel. Faulting application name: SDXHelper.exe, version: 16.0.12624.20466, time stamp: 0x5e94e78d Faulting module name: [...] read more
I had a classic ASP working site on Windows 2012. Everything worked ok. Since I moved it to 2016 machine (same DB, same files), w3wp.exe is crashing every few minutes ;-( I did the dump and there seems to be this 2 errors every time there is a crash: > [...] read more
I'm developing a Web site on my Windows Vista Ultimate (64-bit) workstation using IIS 7.0 locally for testing. At random times, I receive an "IIS Worker Process stopped working and was closed" error popup. I'm able to keep working on the site after that, so IIS seems to be spawning [...] read more
CRITICAL_PROCESS_DIED stop code; laptop reboots intermittently, and I get exact same Event Viewer log below. Sometimes right after PC starts (or upon logging in), others before a crash (unsure; maybe always upon start) - but the error appearing does not guarantee a crash soon. Below list is some of what [...] read more
When I open timeline (either via WIN+TAB or button) and use it to select another window, explorer crashes and reloads. Nature seems to be random, sometimes it doesn't crash for few days uptime and sometimes it crashes on first use. Log: Faulting module name: ntdll.dll, version: 10.0.18362.207, time stamp: 0xc5943461 [...] read more
I have several units that are experiencing Internet Explorer 11 crashing. They all have Windows 7. I have run all Windows updates – No change. I have defaulted the browser – No change. I see the below error in the logs: Faulting application name: IEXPLORE.EXE, version: 11.0.9600.18666, time stamp: 0x58f30f27 [...] read more
Every time I open System Properties explorer crashes. I'm working on getting Windbg to get a better reason behind it but here is the Event Viewer log for now. > Faulting application name: explorer.exe, version: 6.1.7601.23537, time stamp: > 0x57c44efe Faulting module name: ntdll.dll, version: 6.1.7601.23915, time > stamp: 0x59b94ee4 [...] read more
Preamble: I would assume that this is just a bug, but I've been having some mysterious problems with this machine, so this question is (partly) an attempt to rule out hardware as a likely cause. I've been having problems with a particular application (Elder Scrolls Online) that I haven't had [...] read more
I have installed the german version of Visual Studio 2012 Premium on my german windows machine and installed the english language pack vor Visual Studio 2012 Premium and it works great but after I installed the german language pack I get the heap corruption error 0xc0000374. The faulty module is [...] read more
I regularly get an Application error followed by a Windows Error Reporting event when I've started explorer multiple times to copy or move data. The running action windows stay open, thus I can easily re-open explorer again by clicking the "From" and "To" links, but it's still annoying. The error: [...] read more
I have a folder with several thousand videos (All .MPG extensions). When I open the folder with these videos, it shows up fine, but as I start scrolling down, it crashes the Windows Explorer. In the Event Viewer, I see this: Faulting application name: Explorer.EXE, version: 6.1.7600.16450, time stamp: 0x4aebab8d [...] read more
So I'm a Python programmer and I'm trying to teach myself C. Just as practice, I've been trying to implement a simple Binary Search Tree in C. I've never had to work with memory allocation or pointers before and its been causing a lot of errors. My program has been [...] read more
I'm making a small game in C++, it's working but I'm having trouble clearing allocated memory when removing objects. The game consists of 'shapes' which in turn are made up several 'blocks' (think tetris). Here's a minimal version of my setup for storing game objects: #include <vector> #include <set> #include [...] read more
I'm trying to implement a plugin that connects to a RTI for data encode / decode. Unfortunately I am running into some heap problems and I have no leads as to what might be causing them. Here is the error I receive: > Critical error detected c0000374 > Unhandled exception [...] read more
I took the code example from TensorFlow of a BoostedTreeRegressor. (https://www.tensorflow.org/tutorials/estimator/boosted_trees) Everything worked fine even if some warnings appeared and then I tried changing the dataset. From the titanic dataset I went with a dataset containing environmental concentrations to predict an index of quality. The same warnings appear but this [...] read more
I am using MIP sdk for JAVA from Microsoft (https://docs.microsoft.com/en-us/information-protection/develop/setup-configure-mip) and trying to execute its sample to read and write MIP labels. But when I run MIPSample for JAVA I am getting following error message in MIP log. "2021-02-16 12:23:38.609 common/api_utils.h:232 java (14700) "Unrecognized exception: profile_add_engine_async" mipns::TryExecuteFailureCallback" And my call [...] read more
I made a project to test using a connection with Gupta.Sql.Base.dll (version 9.0.1.13768), we use version SQLBase901 (that's the SqlBase folder). I added that Gupta.Sql.Base.dll as a project reference, but the execution ends without exception in the line: SQLBaseDataReader reader = command.ExecuteReader(); //Error here that closes the App with no [...] read more
Recently I've configured the dblink using OraOLEDB provider, the DBLINK was working, however when I'm trying to use distributed transaction on the DBLINK, my SQL Server service is crashed and when I traced the event viewer log, it produced me below information: Faulting application name: sqlservr.exe, version: 2017.140.2027.2, time stamp: [...] read more
I have created Visio (VSTO) Com Add-in. After one of my users installed Visio 2016, Visio with the following error: "Visio is running into problems with the '[add in name]' add-in. If this keeps happening, disable this add-in and check the available updates. Do you want to disable it now?" [...] read more
Everything was working just fine then I installed devise gem to make the login and the email confirmation functions, it worked fine after that I generated a controller with an "index" action. Then I tried to visit http://localhost:3000/welcome/index then I got this error: Started GET "/welcome/index" for 127.0.0.1 at 2020-06-01 [...] read more
I am attempting to set data into the Windows cipboard using the winapi crate in Rust(I am new both to Rust and the win32 api). The input for the SetClipboardData call requires a file type, and a C generic pointer, or *mut libc::c_void in Rust. ( docs linked below ) [...] read more
I wanted to make sure I understood how to use scanf(), but I don't understand why my code didn't return 0. I understand that scanf() has it's own issue when it comes to loops, etc, but it bewilders me how something as simple as displaying a string wouldn't return 0. [...] read more
I'm working on a disconnected network, so some options are a bit limited. Also, we have SAs who handle stuff like system updates (so, for instance, it is possible that there was a system update in there that I know nothing about). However, I had 1.33.1, then 1.34.0, then 1.38 [...] read more
Spyder shuts down abruptly while trying to save/excess folder. Using: Windows 10, Anaconda Distribution, Python 3.7.6, Qt 5.9.6,PyQt5 5.9.2 I have searched through the Internet & tried re-installing Anaconda, re-setting Spyder etc. But nothing I have done so far has solved the problem. *The windows event viewer shows the following [...] read more
While I'm trying to close program, I want to delete dynamic SDL_surface array as usual through the for-loop, but program finishes with exit code -1073740940. When I commenting this loop, program closes with 0 exit code. So, what's the problem? Here is code: void close(SDL_Window* window, SDL_Surface* surface, SDL_Surface* keys[]) [...] read more
The SharedEditor class owns a reference to an object of the NetworkServer class whereas the NetworkServer objects owns a std::vector<std::shared_ptr<SharedEditor>> of editors. In the SharedEditor constructor, the server.connect() method is called to save the its reference, in the server.connect() instead a shared pointer to that editor is saved into the [...] read more
I build a project with wxpython that also include multi-threading and sockets. Sometimes when I ran the project, the run is stopped and i get a strange exit code such as "Process finished with exit code -1073740940 (0xC0000374)" After research I found that this line makes it happen - messageTxt.CharRight() [...] read more
I'm programming an UI with an overlay menu. I've followed this topic (PySide/PyQt Overlay widget) to have a good part of the solution. However, I'd like to add multiple button/radio/label in this menu by using HBoxLayout and VBoxLayout. My problem is that after setting everything, nothing appear. I also have [...] read more
I am a newbie on both C# WPF and C++. Recently, I got an external .dll, which returns a char*, and I want to receive the return value in C# by using DllImport. Then, using str.Split(';') to separate the characters. To the purpose, I created a button to show the [...] read more
I am using C language Native API callbacks with DLL files. When we are calling callback first time everything is working fine but on second call I am getting heap corruption error and JVM is getting crashed. In the native code the memory allocated in first call is being released [...] read more
I'm trying to break a string str containing the bar symbol | into an array of strings(output), with the delimiter being |, which will not be included in the array of strings. There will be 20 elements in output. This code belongs to a function that will return output pointer, [...] read more
First of all, I tried to perform dimensionality reduction on my n_samples x 53 data using scikit-learn's Kernel PCA with precomputed kernel. The code worked without any issues when I tried using 50 samples at first. However, when I increased the number of samples into 100, suddenly I got the [...] read more
All, I recently needed a new drive in an old computer and after reinstalling all my s/w have the following issue. I am developing applications on a Windows 8.1 machine using VS 2017 enterprise edition, wxWidgets, plplot, and various other open source code (e.g. Eigen, boost, etc). The build and [...] read more
I have this recurring issue of MySQL Workbench (v6.3.7) query crashing on execution. The OS is Windows 10 Home, and the application event log shows the following message pointing to faulting module as C:\WINDOWS\SYSTEM32\ntdll.dll: Faulting application name: MySQLWorkbench.exe, version: 6.3.7.0, time stamp: 0x5758217b Faulting module name: ntdll.dll, version: 10.0.14393.0, time [...] read more
I've been having a recurring issue when attempting to query large results from a linked server. I am using SQL Server 2014 and have a POSTGRESQL Server setup as a Linked Server. I have no problem querying against the Linked server on basic/small results or functions. But on the larger [...] read more
In the function, in the middle of 'while' loop (not in the first loop), I get an error: 'has triggered a breakpoint.' in another computer the error does not appear. 'product' is a struct I created the error is in line 'temp = (product*)malloc(sizeof(product));' when I press continue the next [...] read more
I am calling an un-managed and very simple C++ function (located in JNIDiskInfoDll.dll) from a C# managed one as follows: C++: #include "stdafx.h" #include "AtaSmart.h" #include <iostream> #include <string.h> extern "C" __declspec(dllexport) char* __cdecl getSerial(LPTSTR inCStrIn) { return "abcdefg"; } C#: using System; using System.Runtime.InteropServices; namespace HardInfoRetriever { class DiskInfoRetreiver [...] read more
I'm writing code for a project in my class, and it is producing incredibly unusual results. Row and column values end up with random numbers in the millions and it eventually throws exceptions and I can't understand why. #include <iostream> using namespace std; class SparseRow { protected: int row; int [...] read more
I need to get the Data´s (X&Y values) of two different Mouses connected to one device. I hope to get the Data via RawInputSharp (https://jstookey.com/arcade/rawmouse/) but the RawMouseDemo version in this Package is not working correctly. I get 3 different types of error codes: 1. Code -1073740940 (0xc0000374) this one [...] read more
We have a C# windows service that call vb6 functions and one of our customer has sometime this service that crashed with 0xc0000374 error on ntdll.dll (Heap Corruption Exception). It's impossible for us to reproduce their problem, and in order to learn how windbg works and how debug this exception, [...] read more
I have a C++ dll that contains different trigonometry functions and some exported functions returning dll information and result: #include "stdafx.h" #include <cmath> #include <iostream> double(*mid)(double); double csin(double x) { return std::sin(x); } double ccos(double x) { return std::cos(x); } double ctan(double x) { return std::tan(x); } double ccot(double x) [...] read more
I'm writing some software to import a CSV file into Active Directory (to create user accounts). At some point I know it was working perfectly importing multiple accounts. I'm not sure what I've changed as it's been a while since I last worked on it. But it now imports 2 [...] read more
Can anyone find out the reason of the error? The code is below. #include <stdio.h> #include <conio.h> #include <string.h> int main(int argc, char *argv[]){ strcat(argv[1], ", Agniva welcomes you"); printf("%s", argv[1]); getch(); return 0; } Actually the program will modify the argv[1] parameter (which is a name say) which is [...] read more
Wants to integrate windows registry cleaner in my .NET project. * .NET Project has Targeted framework .NET Framework 4.5 & Platform target : Any CPU * I have used ScanX Registry Cleaner Project Source The Scanning done by Registry Cleaner is perfectly fine But when try to fix Registry by [...] read more
I have an app running on a client machine, that uses threading, and is working fine, until the problem arrives. The app crash every 2 or 3 days, and I have to restart it. This is the error information I can get from the Event Viewer on the client machine. [...] read more
I am running an optimization in Gurobi which crashes whenever I add a quadratic constraint to the problem that I generate thru the following lines of code: expression = gurobipy.QuadExpr() for course_key in hostings: for kitchen_key in hostings[course_key]: if not hostings[course_key][kitchen_key].large_gathering: expression.add(x[kitchen_key,course_key,team_key1]*x[kitchen_key,course_key,team_key2]) mod.addQConstr(expression,gurobipy.GRB.LESS_EQUAL,1,"1MeetingPerPair_"+team_key1+"_"+team_key2) The optimization always crashes after three iterations: [...] read more
How do I run a COM (.ocx) object in a C++ command line interface program. (VS2017) After many hours of research I have the following. I think the COM object is loading as trio is populated. But I do not know how to run it successfully. It may need to [...] read more
I am struggling with the following for some time now and have tried many suggestions from various google searches. We have one Website running in Classic ASP on a windows server 2012 R2 using IIS 8.5 We use the website with MySQL We get this happening during the day but [...] read more
I have a Fortran 90 code which is finding the eigenvalues of a spin-chain Hamiltonian after block-diagonalizing. I diagonalize each block as they are generated, and this seems to work just fine until the size of the block gets too large, at which point I get the error. Exception thrown [...] read more
I have developed a custom credential provider. This credential provider uses 1) camera 2) facial sdk to match the user. Once the user is matched account name is populated and CredentialsChanged signal is triggered. I have customized samplehardwareeventcredentialprovider to achieve this functionality. This works fine with few of the machine [...] read more
I've been having some issues with the read() and write() functions in C++ for binary file handling of objects. I've been facing issues while reading and writing an Object to a file. Here is the code. I've tried all kinds of little tweaks here and there, but none appear to [...] read more
i have the following code on VS for writing a polynomial calculator class. .h file is as below #pragma once #include <stdio.h> #include <iostream> using namespace std; class Poly { private: int coefficient=0; int largest_exponent=0; int* array = nullptr; //string input; public: //constructor Poly(int coefficient, int largest_exponent); Poly(int coefficient); // [...] read more
I have spent hours looking through this code trying different things. But to no avail. After running the code below sometimes it will throw me an exception ".exe has triggered a breakpoint.". After i press continue it will give me "Unhandled exception at 0x00007FFCF935775F (ntdll.dll) in SeekThermalCPP_V3.exe: 0xC0000374: A heap [...] read more
I haven't found a similar question for the problem I've ran into. I am only guessing the root of the error, but I don't have enough knowledge to debug it. The code is as follows: main.c #include <stdio.h> #include "adjacency.h" int main() { FILE* textfile; textfile = fopen("graf.txt", "r"); adjacency_matrix [...] read more
I am building the game Snake using OpenGL in VS. I have my class that handles the models, VertexData, and then the rest of the game in Main. Whenever I create the first object by calling createModel(), everything works fine. However whenever I call createModel() the second time, like to [...] read more
The code bellow sometimes throws exceptions similar to: Exception thrown at 0x779CC19E (ntdll.dll) in Matriks.exe: 0xC0000005: Access violation reading location 0x0000001D. I'm new to C and just learned to use pointers. Any tips ? Are there other problems in my code that are worth criticizing ? #include <stdio.h> #include <stdlib.h> [...] read more
The problem is simple, the code below does not work. it says Process finished with exit code -1073740940 (0xC0000374). Removing ampersand does not change anything. int main(){ string x; scanf("%s",&x); cout << x; } read more
I am writing a program where I need to take 2 text files and see where the smaller image is inside the bigger one. For this I need to use 2 dimensional arrays. This has all been going fine when I was just using one however now that I have [...] read more
I am trying to create a tree from a vector of parents. However I get a "corrupted heap error" when I create the nodes with malloc. It works for the first two children , however crashes on the third(or terminates but does not connect the root with the child.) > [...] read more