Handbrake crashes after a few minutes of running task.

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
Commodore_Porter
Posts: 4
Joined: Sun Sep 23, 2018 2:23 am

Handbrake crashes after a few minutes of running task.

Post by Commodore_Porter »

Description of problem or question:
Handbrake crashes after a few minutes of running a task.



Steps to reproduce the problem (If Applicable):
Using any HD or higher media. Conversion of DVDs works, Blu-Rays and HD mkv files crash.



HandBrake version (e.g., 1.0.0):
1.1.2 and the last few weeks of nightlys



Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 10



HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

HandBrake Nightly 20180921220301-ebc6443-master (2018092201)
OS: Microsoft Windows NT 10.0.17134.0
Ram: 32637 MB, 
GPU Information:
  AMD Radeon HD 7900 Series - 24.20.13017.5001
Screen: 1920x1080
Temp Dir: C:\Users\mickp\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\mickp\AppData\Roaming\HandBrake\Nightly

-------------------------------------------


# Starting Encode ...

[20:02:27] 1 job(s) to process
[20:02:27] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 448,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 7,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      },
      {
        "Name": "Chapter 2"
      },
      {
        "Name": "Chapter 3"
      },
      {
        "Name": "Chapter 4"
      },
      {
        "Name": "Chapter 5"
      },
      {
        "Name": "Chapter 6"
      },
      {
        "Name": "Chapter 7"
      },
      {
        "Name": "Chapter 8"
      },
      {
        "Name": "Chapter 9"
      },
      {
        "Name": "Chapter 10"
      },
      {
        "Name": "Chapter 11"
      },
      {
        "Name": "Chapter 12"
      },
      {
        "Name": "Chapter 13"
      },
      {
        "Name": "Chapter 14"
      },
      {
        "Name": "Chapter 15"
      },
      {
        "Name": "Chapter 16"
      },
      {
        "Name": "Chapter 17"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "D:\\Output\\Overboard-421.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "138",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "138",
          "height": "804",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 17
    },
    "Title": 421,
    "Path": "W:\\"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265_10bit",
    "Level": "auto",
    "Bitrate": 9216,
    "TwoPass": true,
    "Turbo": true,
    "ColorMatrixCode": 0,
    "Options": "level-idc=51",
    "Preset": "fast",
    "Profile": "auto",
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[20:02:27] CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
[20:02:27]  - Intel microarchitecture Ivy Bridge
[20:02:27]  - logical processor count: 8
[20:02:27] Intel Quick Sync Video support: no
[20:02:27] hb_scan: path=W:\, title_index=421
src/libbluray/bdj/bdj.c:549: libbluray-j2se-1.0.2.jar not found.
src/libbluray/bdj/bdj.c:695: BD-J check: Failed to load libbluray.jar
src/libbluray/bdj/bdj.c:549: libbluray-j2se-1.0.2.jar not found.
src/libbluray/bdj/bdj.c:695: BD-J check: Failed to load libbluray.jar
[20:02:28] scan: BD has 427 title(s)
[20:02:28] bd: scanning title 421
[20:02:28] bd: playlist 00989.MPLS
[20:02:28] bd: duration is 01:52:18 (6738773 ms)
[20:02:28] bd: video id=0x1011, stream type=H.264, format 1080p
[20:02:28] bd: aspect = 16:9
[20:02:28] bd: audio id=0x711100, lang=English (DTS), 3cc=eng
[20:02:28] bd: audio id=0x1100, lang=English (DTS-HD MA), 3cc=eng
[20:02:28] bd: audio id=0x1101, lang=español (AC3), 3cc=spa
[20:02:28] bd: audio id=0x1102, lang=English (AC3), 3cc=eng
[20:02:28] bd: audio id=0x1103, lang=English (AC3), 3cc=eng
[20:02:28] bd: subtitle id=0x1200, lang=English [PGS], 3cc=eng
[20:02:28] bd: subtitle id=0x1201, lang=español [PGS], 3cc=spa
[20:02:28] bd: chap 1 packet=768, 413996 ms
[20:02:28] bd: chap 2 packet=2246922240, 313438 ms
[20:02:28] bd: chap 3 packet=3937616640, 501584 ms
[20:02:28] bd: chap 4 packet=6650124864, 297547 ms
[20:02:28] bd: chap 5 packet=8274050112, 449907 ms
[20:02:28] bd: chap 6 packet=10716632064, 369827 ms
[20:02:28] bd: chap 7 packet=12724822464, 427510 ms
[20:02:28] bd: chap 8 packet=15044451648, 508257 ms
[20:02:28] bd: chap 9 packet=17795329728, 369619 ms
[20:02:28] bd: chap 10 packet=19796998848, 284659 ms
[20:02:28] bd: chap 11 packet=21342558144, 445862 ms
[20:02:28] bd: chap 12 packet=23773789632, 424257 ms
[20:02:28] bd: chap 13 packet=26080981056, 378086 ms
[20:02:28] bd: chap 14 packet=28130463360, 347930 ms
[20:02:28] bd: chap 15 packet=30016656960, 699740 ms
[20:02:28] bd: chap 16 packet=33815199936, 506297 ms
[20:02:28] bd: chap 17 packet=35894808960, 250 ms
[20:02:28] bd: title 421 has 17 chapters
[20:02:28] scan: decoding previews for title 421
[20:02:28] scan: title angle(s) 1
[20:02:28] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
[20:02:28] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (5.1 ch)
[20:02:28] scan: audio 0x1103: ac3, rate=48000Hz, bitrate=640000 English (AC3) (2.0 ch) (Dolby Surround)
[20:02:28] scan: audio 0x1102: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[20:02:28] scan: audio 0x1101: ac3, rate=48000Hz, bitrate=640000 español (AC3) (5.1 ch)
[20:02:30] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 138/138/0/0, aspect 16:9, PAR 1:1
[20:02:30] scan: supported video decoders: avcodec qsv
[20:02:30] stream: 8 good frames, 0 errors (0%)
[20:02:30] libhb: scan thread found 1 valid title(s)
[20:02:30] starting job
[20:02:30] decomb filter thread started for segment 0
[20:02:30] decomb filter thread started for segment 1
[20:02:30] decomb filter thread started for segment 2
[20:02:30] mask filter thread started for segment 5
[20:02:30] mask erode thread started for segment 2
[20:02:30] decomb filter thread started for segment 5
[20:02:30] decomb filter thread started for segment 6
[20:02:30] yadif thread started for segment 2
[20:02:30] decomb check thread started for segment 0
[20:02:30] job configuration:
[20:02:30]  * source
[20:02:30]    + W:\
[20:02:30]    + title 421, chapter(s) 1 to 17
[20:02:30]  * destination
[20:02:30]    + D:\Output\Overboard-421.mkv
[20:02:30]    + container: Matroska (libavformat)
[20:02:30]      + chapter markers
[20:02:30]  * video track
[20:02:30]    + decoder: h264
[20:02:30]      + bitrate 200 kbps
[20:02:30]    + filters
[20:02:30] decomb check thread started for segment 1
[20:02:30]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[20:02:30]      + Decomb (mode=39)
[20:02:30]      + Framerate Shaper (mode=1)
[20:02:30]        + frame rate: 23.976 fps -> constant 23.976 fps
[20:02:30]      + Crop and Scale (width=1920:height=804:crop-top=138:crop-bottom=138:crop-left=0:crop-right=0)
[20:02:30]        + source: 1920 * 1080, crop (138/138/0/0): 1920 * 804, scale: 1920 * 804
[20:02:30]    + Output geometry
[20:02:30]      + storage dimensions: 1920 x 804
[20:02:30]      + pixel aspect ratio: 1 : 1
[20:02:30]      + display dimensions: 1920 x 804
[20:02:30]    + encoder: H.265 10-bit (libx265)
[20:02:30]      + preset:  fast
[20:02:30]      + options: level-idc=51
[20:02:30]      + profile: auto
[20:02:30]      + bitrate: 9216 kbps, pass: 1
[20:02:30]      + fast first pass
[20:02:30]      + color profile: 1-1-1
[20:02:30]  * audio track 1
[20:02:30]    + decoder: English (DTS) (5.1 ch) (track 1, id 0x711100)
[20:02:30]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[20:02:30]    + mixdown: 5.1 Channels
[20:02:30]    + dither: none
[20:02:30]    + encoder: AAC (libavcodec)
[20:02:30]      + bitrate: 448 kbps, samplerate: 48000 Hz
[20:02:30] decomb check thread started for segment 2
[20:02:30] decomb check thread started for segment 3
[20:02:30] decomb check thread started for segment 4
[20:02:30] decomb check thread started for segment 5
[20:02:30] decomb check thread started for segment 6
[20:02:30] decomb check thread started for segment 7
[20:02:30] mask filter thread started for segment 0
[20:02:30] mask filter thread started for segment 1
[20:02:30] mask filter thread started for segment 2
[20:02:30] mask filter thread started for segment 3
[20:02:30] mask filter thread started for segment 4
[20:02:30] decomb filter thread started for segment 3
[20:02:30] mask filter thread started for segment 6
[20:02:30] mask filter thread started for segment 7
[20:02:30] mask erode thread started for segment 0
[20:02:30] mask erode thread started for segment 1
[20:02:30] decomb filter thread started for segment 4
[20:02:30] mask erode thread started for segment 3
[20:02:30] mask erode thread started for segment 4
[20:02:30] mask erode thread started for segment 5
[20:02:30] mask erode thread started for segment 6
[20:02:30] mask erode thread started for segment 7
[20:02:30] mask dilate thread started for segment 0
[20:02:30] mask dilate thread started for segment 1
[20:02:30] mask dilate thread started for segment 2
[20:02:30] mask dilate thread started for segment 3
[20:02:30] mask dilate thread started for segment 4
[20:02:30] mask dilate thread started for segment 5
[20:02:30] mask dilate thread started for segment 6
[20:02:30] mask dilate thread started for segment 7
[20:02:30] yadif thread started for segment 0
[20:02:30] yadif thread started for segment 1
[20:02:30] decomb filter thread started for segment 7
[20:02:30] yadif thread started for segment 3
[20:02:30] yadif thread started for segment 4
[20:02:30] yadif thread started for segment 5
[20:02:30] yadif thread started for segment 6
[20:02:30] yadif thread started for segment 7
src/libbluray/bdj/bdj.c:549: libbluray-j2se-1.0.2.jar not found.
src/libbluray/bdj/bdj.c:695: BD-J check: Failed to load libbluray.jar
src/libbluray/bdj/bdj.c:549: libbluray-j2se-1.0.2.jar not found.
src/libbluray/bdj/bdj.c:695: BD-J check: Failed to load libbluray.jar
[20:02:31] sync: expecting 161568 video frames
[aac @ 0000025bd2f3e580] Using a PCE to encode channel layout
[20:02:31] encavcodecaInit: Unknown avcodec option stereo_mode
x265 [info]: HEVC encoder version 2.8
x265 [info]: build info [Windows][GCC 7.1.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x265 [info]: Main 10 profile, Level-5.1 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(13 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : dia / 57 / 2 / 1
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 1 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-9216 kbps / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=5 deblock sao stats-write
[20:02:31] sync: first pts video is 0
[20:02:31] sync: "Chapter 1" (1) at frame 1 time 0
[20:02:31] sync: first pts audio 0x711100 is 4800

Code: Select all

Faulting application name: HandBrake.exe, version: 1.2.0.0, time stamp: 0x5ba5a080
Faulting module name: hb.DLL, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x00000000014c5b8a
Faulting process id: 0x1477c
Faulting application start time: 0x01d452d9008637d5
Faulting application path: C:\Program Files\HandBrake Nightly\HandBrake.exe
Faulting module path: C:\Program Files\HandBrake Nightly\hb.DLL
Report Id: bef84346-7908-4d31-b990-c5c2f12a22fb
Faulting package full name: 
Faulting package-relative application ID: 
Commodore_Porter
Posts: 4
Joined: Sun Sep 23, 2018 2:23 am

Re: Handbrake crashes after a few minutes of running task.

Post by Commodore_Porter »

Have tried AMD drivers:
18.5.1
18.8.2
18.9.1
18.9.2

Tried exiting anything that could possibly be using an overlay.
rollin_eng
Veteran User
Posts: 4854
Joined: Wed May 04, 2011 11:06 pm

Re: Handbrake crashes after a few minutes of running task.

Post by rollin_eng »

What are you using to decrypt your discs?
Commodore_Porter
Posts: 4
Joined: Sun Sep 23, 2018 2:23 am

Re: Handbrake crashes after a few minutes of running task.

Post by Commodore_Porter »

AnyDVD and MakeMKV
Woodstock
Veteran User
Posts: 4619
Joined: Tue Aug 27, 2013 6:39 am

Re: Handbrake crashes after a few minutes of running task.

Post by Woodstock »

If you have MakeMKV write the titles to MKV files, and try processing those, does it also crash?
Commodore_Porter
Posts: 4
Joined: Sun Sep 23, 2018 2:23 am

Re: Handbrake crashes after a few minutes of running task.

Post by Commodore_Porter »

Yes.
Post Reply