.NET errors cause MCEBuddy service to crash

Donor version - Started recently with 2.5.3, and continues with 2.5.4. The upgrade was prompted in order to attempt a fix. Un-installed/Deleted files as per best practices.

Environment:
Windows Server 2012 R2.
MCEBuddy installed by user (Domain) Administrator - not (Local) Adminstrator.
Client run by logged on Adminstrator.
Media Foundations installed.
Domain Controller (obviously req. DNS Server - AD integrated)
DHCP Server
File Server & Storage Server
Hyper-V (but not being used).
Print Server & LPD Service
DotNet 3.5 and DotNet 4.5 installed.
image
Hardware:
HP DL-360 G7. 32G RAM H110 controller.
C Drive Enterprise SAS SSD.
D Drive SAS 10k Raid 5.
Video card nVidia GT 710

Recordings reside on SMB/Samba share linked to the TVHeadend /home/hts folder. Cut recordings are placed on same machine but to a different folder where a script then puts the cut files back into the proper /home/hts folder (in a way that doesn’t cause TVHeadend to think the file has been deleted - I have shared this script in the TVHeadend forums BTW).

Yes, I have seen this: MCEBuddy service crashing

Things I have attempted already:

  1. Aforementioned un-install and upgrade.

  2. Check drives for errors (none).

  3. Added MCEBuddy2x.service.exe to trusted programs in AV (Trend Micro WFBS 10)

  4. Removed Trend Micro.

  5. Uninstalled hXttps://support.microsoft.com/en-us/help/4552982/kb4552982 which was the last update to .NET before the problem started.

  6. Added to MCEBuddy2x service the permission to interact with the Desktop.

Note that everything was working fine until the middle of April 2020.
mcebuddy.conf (3.7 KB)
mcebuddy.log (536.8 KB)

Suggestions on next steps?

Error #1

Log Name: Application
Source: .NET Runtime
Date: 6/7/2020 6:38:03 PM
Event ID: 1026
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: brain".“wurmborn”."org
Description:
Application: MCEBuddy.Service.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at MCEBuddy.AppWrapper.MediaInfoDll.MediaInfo_Open64(IntPtr, System.String)
at MCEBuddy.AppWrapper.MediaInfoDll.Open(System.String)
at MCEBuddy.AppWrapper.VideoParams.VideoCodec(System.String)
at MCEBuddy.VideoProperties.VideoInfo.UpdateVideoInfo(Boolean, Boolean, System.String, System.String, System.String, System.String, MCEBuddy.Globals.JobStatus, MCEBuddy.Util.Log)
at MCEBuddy.Engine.ConversionJob.Convert()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()

Event Xml:



1026
2
0
0x80000000000000

28089
Application
brain".“wurmborn”."org



Application: MCEBuddy.Service.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at MCEBuddy.AppWrapper.MediaInfoDll.MediaInfo_Open64(IntPtr, System.String)
at MCEBuddy.AppWrapper.MediaInfoDll.Open(System.String)
at MCEBuddy.AppWrapper.VideoParams.VideoCodec(System.String)
at MCEBuddy.VideoProperties.VideoInfo.UpdateVideoInfo(Boolean, Boolean, System.String, System.String, System.String, System.String, MCEBuddy.Globals.JobStatus, MCEBuddy.Util.Log)
at MCEBuddy.Engine.ConversionJob.Convert()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()

ERROR #2

Log Name: Application
Source: Application Error
Date: 6/7/2020 6:38:03 PM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: brain".“wurmborn”.“org
Description:
Faulting application name: MCEBuddy.Service.exe, version: 2.5.4.1, time stamp: 0x5ed1a09a
Faulting module name: MediaInfo64.dll, version: 18.12.0.0, time stamp: 0x5c0f0efd
Exception code: 0xc0000005
Fault offset: 0x00000000003b0ff6
Faulting process id: 0xf90
Faulting application start time: 0x01d63d24663489ad
Faulting application path: C:\Program Files\MCEBuddy2x\MCEBuddy.Service.exe
Faulting module path: C:\Program Files\MCEBuddy2x\MediaInfo64.dll
Report Id: edf4ed38-a917-11ea-80dc-001517d025cf
Faulting package full name:
Faulting package-relative application ID:
Event Xml:



1000
2
100
0x80000000000000

28090
Application
brain”.“wurmborn”."org



MCEBuddy.Service.exe
2.5.4.1
5ed1a09a
MediaInfo64.dll
18.12.0.0
5c0f0efd
c0000005
00000000003b0ff6
f90
01d63d24663489ad
C:\Program Files\MCEBuddy2x\MCEBuddy.Service.exe
C:\Program Files\MCEBuddy2x\MediaInfo64.dll
edf4ed38-a917-11ea-80dc-001517d025cf





Also, even after I un-install from Control Panel comskip and handbrake are still running. I saw this before, and had to kill them before I could remove the files.
From the SysInternals Process Explorer application.

I’m going to downgrade to 2.5.1 to see if the problem occurs since I still have that downloaded.

2.5.1 Provides more crash output.
AppCrash_MCEBuddy.Service_53cece2bfa267e87626e5e6f8cc3d0c1352648d7_d8729f72_cab_00527a8b.zip

Should I open this as a bug?

1 Like

Is this happening only for a specific video file or for any video file? If it’s a specific video file can you upload it to our server.