Internal server error 500 while using application - python-3.x

Please find below event viewer log,can anyone help me why am getting this error(sometimes)
Environment details:
Django framework
IIS application
Python 3/7
Faulting application name: python.exe, version: 3.7.3150.1013, time stamp: 0x5c9954fa
Faulting module name: _ctypes.pyd, version: 3.7.3150.1013, time stamp: 0x5c9954c9
Exception code: 0xc0000005
Fault offset: 0x000000000000f365
Faulting process id: 0x1938
Faulting application start time: 0x01d839ca6dc31b14
Faulting application path: D:\qm_env\Scripts\python.exe
Faulting module path: d:\python37\DLLs_ctypes.pyd
Report Id: 8701a9d7-3cc9-4a91-b8c5-ff04fb2b2a59
Faulting package full name:
Faulting package-relative application ID:

Related

Poppler pdftohtml.exe fails to load through IIS7

We are using poppler's pdftohtml exe to convert pdf to html. When we running it through flask then it working properly. But once we deploy on IIS then it is throwing below error at the time of using subprocess for pdftohtml.exe in event viewer.
Faulting application name: pdftohtml.exe, version: 0.0.0.0, time stamp: 0x5e08ef38 Faulting module name: ntdll.dll, version: 6.3.9600.19678, time stamp: 0x5e82c88a Exception code: 0xc000007b Fault offset: 0x00000000000ecf40 Faulting process id: 0x2b08 Faulting application start time: 0x01d686ac57ca0b65 Faulting application path: C:\HOLDSPROD\poppler-0.84.0-h1affe6b_0\Library\bin\pdftohtml.exe Faulting module path: C:\Windows\SYSTEM32\ntdll.dll Report Id: 961fde3c-f29f-11ea-80f0-000d3aa29228 Faulting package full name: Faulting package-relative application ID:
From python we are using subprocess to open the cmd.exe and passing the parameters to poppler's exe.
Same issue for pdftoppm.exe(to convert from pdf to image).
Note: This application is wrapped with .net and we have deployed the application on IIS 7.
Any help is appreciated.

VS 2012 Crash in Tools/Choose toolbox items

I have taken below error at event viewer. What should I do?
Event viewer:
Faulting application name: devenv.exe, version: 11.0.50727.1, time stamp: 0x5011ecaa
Faulting module name: clr.dll, version: 4.8.3928.0, time stamp: 0x5d3900c0
Exception code: 0xc0000005
Fault offset: 0x00332dd6
Faulting process id: 0x4c2c
Faulting application start time: 0x01d5baf12ba718ab
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Report Id: 3ec97926-9256-403d-a6e4-fe468a77749a
Faulting package full name:
Faulting package-relative application ID:
The information is rather insufficient, but according to this source, it seems that 0xc0000005 exception code means "Access is denied", so you can probably try running Visual Studio as administrator.

Excel crashing on VBA Code - DLP At fault

I have a pretty weird problem. The code worked fine in Excel 2010 but when our users were upgraded to Office 365 (Excel 2016 Version 1708 Build 8431.2280) this line of code crashes excel:
Sheets("Loc_063 BIS").Range("A3").CurrentRegion.Copy
When I look in the Reliability Monitor I see this:
Faulting application name: EXCEL.EXE, version: 16.0.8431.2280, time stamp: 0x5b35b959
Faulting module name: EXCEL.EXE, version: 16.0.8431.2280, time stamp: 0x5b35b959
Exception code: 0xc0000005
Fault offset: 0x00010d23
Faulting process id: 0x3f1c
Faulting application start time: 0x01d438aee914e49e
Faulting application path: C:\Program Files (x86)\Microsoft Office\Root\Office16\EXCEL.EXE
Faulting module path: C:\Program Files (x86)\Microsoft Office\Root\Office16\EXCEL.EXE
Report Id: 34066ee7-a4b0-11e8-b773-0c5415d253c9
Faulting package full name:
Faulting package-relative application ID:
Also DW20.exe crashes and that's the windows error reporting tool. That shows this in the log as to why it's crashing:
Faulting application name: DW20.EXE, version: 16.0.8431.2280, time stamp: 0x5b35dd4a
Faulting module name: fcagpph32.dll, version: 11.0.200.100, time stamp: 0x5a54c4ed
Exception code: 0xc0000005
Fault offset: 0x0031155f
Faulting process id: 0x1944
Faulting application start time: 0x01d438bcf62b6e24
Faulting application path: C:\Program Files (x86)\Microsoft Office\root\vfs\ProgramFilesCommonX86\Microsoft Shared\DW\DW20.EXE
Faulting module path: C:\Program Files\McAfee\DLP\Agent\fcagpph32.dll
Report Id: cb983d3e-6ef1-4839-8728-ddb85678bf4c
Faulting package full name:
Faulting package-relative application ID:
To me it looks like DLP (Data Loss Prevention) is at fault here. Looking for validation of that, and also in the Excel crash how does one figure out this line:
Faulting process id: 0x3f1c
What is 0x3f1c? Why wouldn't it just be in decimal?
I re-created excel doc, and that has resolved my issue. So no more crashing when copying data.

IIS 8.5 w3wp.exe crash ntdll.dll

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
Fault offset: 0x000e6054
Faulting process id: 0x3d88
Faulting application start time: 0x01d2f406c4d0b47a
Faulting application path: C:\Windows\SysWOW64\inetsrv\w3wp.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: 4c7498c7-5ffb-11e7-80d5-00155d324108
Faulting package full name:
Faulting package-relative application ID:
In System Event viewer:
A process serving application pool 'www.websitename.com' suffered a fatal communication error with the Windows Process Activation Service. The process id was '16528'. The data field contains the error number.
I tried to use DebugDiag 1.2:
In w3wp__www.websitename.com__PID__24776__Date__07_03_2017__Time_11_32_35AM__939__First chance exception 0X04242420.dmp the assembly instruction at KERNELBASE!RaiseException+68 in C:\Windows\System32\KERNELBASE.dll from Microsoft Corporation has caused an unknown exception (0x04242420) on thread 7
Anyway are all generic errors.. how can i do a good debug?
Thank you

Puppet Enterprise for Windows Fails to Run

I have the following error trying to run the Puppet Enterprise for Windows.
Faulting application name: ruby.exe, version: 1.8.7.370, time stamp: 0x4fede15f
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17514, time stamp: 0x4ce7afc9
Exception code: 0x80000003
Fault offset: 0x00014159
Faulting process id: 0x9e4
Faulting application start time: 0x01ce00a0586d444c
Faulting application path: c:\Program Files (x86)\Puppet Labs\Puppet Enterprise\sys\ruby\bin\ruby.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: ac79500b-6c93-11e2-bda6-000c2947d060
UAC is disabled
Firewall is Off
I got the debug Windows Installer. My mistake

Resources