HandBrake / HandBrake

HandBrake's main development repository
https://handbrake.fr
Other
17.64k stars 1.34k forks source link

random crashes 0xc0000005 with H.265 10-bit #2748

Closed robotreto closed 4 years ago

robotreto commented 4 years ago

When batch-encoding over night, HB sometimes crashes after a couple of jobs, in the middle of the night with nobody sitting on the PC. When re-setting the crashed job, it usually works on the second attempt.

Faulting application name: HandBrake.exe, version: 1.3.1.0, time stamp: 0x5e110077 Faulting module name: hb.DLL, version: 0.0.0.0, time stamp: 0x00000000 Exception code: 0xc0000005 Fault offset: 0x00000000016f4b6c Faulting process id: 0x1360 Faulting application start time: 0x01d60e9ed4c8ff3c Faulting application path: C:\Program Files\extras\video\HandBrake\HandBrake.exe Faulting module path: C:\Program Files\extras\video\HandBrake\hb.DLL

I dont think it is a cooling issue, it happens on both of my fancy gaming rigs, with plenty of cooling, one of them has watercooling. Temperature never exceeds 71 C. Also DRAM timing should not be a problem, I have 64GB DDR3300. After switching back to DDR2200 timing, no difference, still crashes every couple of hours.

Those crahses started somewhen last year, and I am using HB since many years, never had this problem before.

Nomis101 commented 4 years ago

Some more information would be needed to find out what was happening. At least a HandBrake Activity Log from any encode that crashed. https://handbrake.fr/docs/en/latest/help/activity-log.html

robotreto commented 4 years ago

Activity log ends at [02:26:11] activity_log4960.txt

Crash happened 10 minutes later at [02:36:16] with no further log entry, but with this windows cras report :

Faulting application name: HandBrake.exe, version: 1.3.1.0, time stamp: 0x5e110077 Faulting module name: hb.DLL, version: 0.0.0.0, time stamp: 0x00000000 Exception code: 0xc0000005 Fault offset: 0x00000000016f4b6c Faulting process id: 0x1360 Faulting application start time: 0x01d60e9ed4c8ff3c Faulting application path: C:\Program Files\extras\video\HandBrake\HandBrake.exe Faulting module path: C:\Program Files\extras\video\HandBrake\hb.DLL

Right now I run HB under VS2019 debugger, maybe I can give you an assembly from the next crash. Are there somewhere HB.DLL debug symbols ? Or a debug build of HB.DLL ? It is a pitty HB.DLL can not be built under windows, would make debuging easier.

sr55 commented 4 years ago

Due to your source we can not provide any support to you.