python27.dll --> Process finished with exit code -1073741819 (0xC0000005) - python-2.7

I am running my python code for large data set and currently, I received this exit code: "Process finished with exit code -1073741819 (0xC0000005)"
I monitored via Event Viewer and found the following error. I wonder how can I solve this issue? Thanks
Faulting application name: python.exe, version: 0.0.0.0, time stamp: 0x56abcaee
Faulting module name: python27.dll, version: 2.7.11150.1013, time stamp: 0x56abcaed
Exception code: 0xc0000005
Fault offset: 0x00000000000a4f81
Faulting process id: 0x29d0
Faulting application start time: 0x01d8287ff03c7476
Faulting application path: C:\Users\sam\Anaconda2\python.exe
Faulting module path: C:\Users\sam\Anaconda2\python27.dll

Related

Unreal Engine 4 EOS Plugin : Game crashes when calling ClearOnCreateSessionCompleteDelegates

I have got login and logout working. I am now playing around with creating sessions. The session is successfully created, however in the callback for OnCreateSessionCompleteDelegates I call ClearOnCreateSessionCompleteDelegates to clear my OnCreateSessionCompleteDelegates. The game crashes at that point. I get a huge processor dump here is the top portion. I am on a MacBook Pro. UE4.7 and I am using the EOS plugin.
Process: UE4Editor [49802]
Path: /Users/Shared/*/UE4Editor.app/Contents/MacOS/UE4Editor
Identifier: com.epicgames.UE4Editor
Version: 4.27.2 (4.27.2)
Code Type: X86-64 (Native)
Parent Process: UE4Editor [41025]
Responsible: UE4Editor [41025]
User ID: 502
Date/Time: 2022-02-26 16:19:37.4519 -0600
OS Version: macOS 12.2.1 (21D62)
Report Version: 12
Bridge OS Version: 6.2 (19P744)
Anonymous UUID: B3DAE35D-CDBD-AB7B-7E09-75A95C87AA58
Sleep/Wake UUID: 96874627-D8CF-4927-A799-B0D1EDB9BC20
Time Awake Since Boot: 290000 seconds
Time Since Wake: 32955 seconds
System Integrity Protection: enabled
Crashed Thread: 3
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
stack buffer overflow

Faulting module name: ntdll.dll, version: 6.3.9600.19678 Exception code: 0xc0000005

I had a VC++ project (console application) built on VS2013. It was working successfully for a long time. Recently we have converted that project to VS2019 (PlatformToolset 142). Now the latest exe is crashing after some operation with below error.
Faulting application name: abc.exe, version: 0.0.0.0, time stamp:
0x5eb3101a Faulting module name: ntdll.dll, version: 6.3.9600.19678,
time stamp: 0x5e82c88a Exception code: 0xc0000005 Fault offset:
0x0000000000030837 Faulting process id: 0x137c Faulting application
start time: 0x01d624424de8d7e1 Faulting application path: Faulting
module path: C:\Windows\SYSTEM32\ntdll.dll Report Id:
8bad3b06-9035-11ea-80de-d6b5b2fa72df Faulting package full name:
Faulting package-relative application ID:
One big observation is VS2019 exe is half size of VS2013 exe. How to debug further to find out the root cause of the application crash?
After run-in remote debug found that it is throwing an unhandled exception at
HeapAlloc( m_hHeap, HEAP_NO_SERIALIZE, _Count * sizeof( value_type ));
This was working perfectly with VC2013. This HeapAlloc issue I am getting whenever we are calling std::vector related operation. Is anything got change related to this in VS2019/VC++2019 ?

Windows Application crashes when executed without admin privileges but works find in debug mode in visual studio

Application Error :
Faulting application name: SynchroOutlookSynchronizer.exe, version: 1.0.6732.25647, time stamp: 0x5b18db78 Faulting module name: KERNELBASE.dll, version: 10.0.15063.1029, time stamp: 0x008ecb0e Exception code: 0xe0434352 Fault offset: 0x000000000006a1a8 Faulting process id: 0x968 Faulting application start time: 0x01d3fe3b34e682b4 Faulting application path: C:\Program Files (x86)\Atemis\OutlookSynchronizer\SynchroOutlookSynchronizer.exe Faulting module path: C:\Windows\System32\KERNELBASE.dll Report Id: f61ba8c3-c910-4345-9bb7-3a23b797a070 Faulting package full name: Faulting package-relative application ID:
Windows Error Reporting :
Fault bucket 1514048743125354531, type 5 Event Name: CLR20r3 Response: Not available Cab Id: 0
Problem signature: P1: SynchroOutlookSynchronizer.exe P2: 1.0.6732.25647 P3: 5b18db78 P4: mscorlib P5: 4.7.2650.0 P6: 5ab1c3d4 P7: 1672 P8: 12f P9: System.UnauthorizedAccess P10:
Attached files: \?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERB425.tmp.mdmp \?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERB475.tmp.WERInternalMetadata.xml \?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERB474.tmp.csv \?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERB484.tmp.txt \?\C:\Users\LENOVO\AppData\Local\Temp\WERBBE8.tmp.appcompat.txt \?\C:\Users\LENOVO\AppData\Local\Temp\WERBBE9.tmp.WERDataCollectionStatus.txt
These files may be available here: C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_SynchroOutlookSy_fc7c8d8525d22403e3c521f7a60c1997c20bfdf_d8a74bc5_2afcbbf5
Analysis symbol: Rechecking for solution: 0 Report Id: c5065eee-a663-403e-a652-3558d3d71c46 Report Status: 2147487752 Hashed bucket: d48596f15ac524c75502fb4f629d0823
I am using & altering current user registry at some points in my code

PyFMI: During load_fmu() call for FMU 2.0, Python stopped working with exception code 0xc0000005

I am using PyFMI as a FMU master for testing my tool which is acts as a FMU 2.0 slave.
When i call load_fmu('fmuFile.fmu', log_level=5) function for loading the fmu, python.exe is crashing .
When i check event viewer it is showing the exception code 0xc0000005.
How to fix this error or how to get more information about this error?
Note: pyFMI works fine, when my tool acts as FMU 1.0 slave. I use the same python for both FMU 1.0 and FMU 2.0
Following is the extract from the event viewer:
Faulting application name: python.exe, version: 0.0.0.0, time stamp: 0x56634a05
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x00000000
Faulting process id: 0x3328
Faulting application start time: 0x01d3375493d4b63f
Faulting application path: C:\JModelica.org-SDK-1.12\Python27\python.exe
Faulting module path: unknown
Report Id: e9932029-a347-11e7-bb26-40b0341357d4

Faulting module path: C:\Windows\system32\KERNELBASE.dll

I have a .Net 4.0 C++ application that used to be built in 32bits. Obviously when running on a 64bits station I was having issues, therefore I started rebuilding everything in 64 bits. The whole project is converted as well as the libraries I had made for this in other project files. All references have been updated and everything compiles fine.
Once deployed to a 64bit station I now get the following errors in the windows event viewer:
Information : Windows Error Reporting
Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: EDI.exe
P2: 0.0.0.0
P3: 4e32e547
P4: KERNELBASE.dll
P5: 6.1.7601.17625
P6: 4de88429
P7: e0434352
P8: 000000000000cacd
P9:
P10:
Attached files:
These files may be available here:
C:\Users\developer\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_EDI.exe_b14cfebcf86ccaf91a35dacab06a28cdf7277ba_17f14701
Analysis symbol:
Rechecking for solution: 0
Report Id: c9983227-ba04-11e0-9299-002713d66c71
Report Status: 0
Error : Application Error
Faulting application name: EDI.exe, version: 0.0.0.0, time stamp: 0x4e32e547
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17625, time stamp: 0x4de88429
Exception code: 0xe0434352
Fault offset: 0x000000000000cacd
Faulting process id: 0x1704
Faulting application start time: 0x01cc4e118bde9f1d
Faulting application path: C:\Users\developer\Desktop\EDI_6.1.0.4160_x64\EDI_6.1.0.4160_x64\EDI.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: c9983227-ba04-11e0-9299-002713d66c71
Error : .Net Runtime
Application: EDI.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
Stack:
at <Module>.main(System.String[])
When I run dependency walker on the executable, I get to see the executable listed in the modules and nothing else at all comes up. I am kind of out of ideas at the moment and wondering if anyone can make something of this?
Exception code: 0xe0434352
Not very common. Check this:
http://social.msdn.microsoft.com/Forums/en-GB/pex/thread/b9728c2d-130e-48f9-80c1-442ddbc1e85b
I just experienced this same error-code, also in Kernelbase.dll when attempting to debug a C++ application in VS2012. Fortunately in my case I tracked the issue down to the Document Well (from Productivity Powertools Extension) option:
Environment-Tabs and Windows-Maintain pin status if document is removed from well.
Clearing this option fixed my problem. It appears that DevStudio was crashing when rearranging the tabs/windows for debugging.
This may not be the cause of your particular issue, but I've added it here because if anyone else searches for error code: 0xe0434352 in Kernelbase.dll, this issue is at the top of the Google search.