STATUS_ACCESS_VIOLATION on 0.93

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.
Locked
Metasyntactic
Posts: 17
Joined: Wed Feb 13, 2008 6:07 pm

STATUS_ACCESS_VIOLATION on 0.93

Post by Metasyntactic »

Hey all, just updated and i'm trying to encode one of my DVDs. Unfortunately, i running into the aforementioned which i'm including in the log file below.

I've done a few searches to see if i can find any help on the matter, but unfortunately it looks like things are too new, and so the relevant info isn't in all the search engines yet.

If anyone can provide any help i'd be very grateful.

Thanks!

Code: Select all

### Windows GUI 0.9.3 2008112300 
### Running: Microsoft Windows NT 6.0.6001 Service Pack 1 
###
### CPU: Intel(R) Core(TM)2 Duo CPU     E7200  @ 2.53GHz 
### Ram: 2047 MB 
### Screen: 1024x768 
### Temp Dir: C:\Users\Cyrus Najmabadi\AppData\Local\Temp\ 
### Install Dir: C:\Program Files\Handbrake 
### Data Dir: C:\Users\Cyrus Najmabadi\AppData\Roaming\HandBrake\HandBrake\0.9.3.0 
#########################################

### CLI Query:  -i "C:\DVDs\ghost\FullDisc\GHOSTWLD" -t 1 -c 1-16 -o "C:\DVDs\GHOSTWLD-1-1-16.mp4" -f mp4 -P  -e x264 -b 2500 -2  -T  -a 1 -E faac -B 160 -R 48 -6 dpl2 -D 1 -x level=40:ref=2:mixed-refs=1:bframes=3:weightb=1:subq=9:direct=auto:b-pyramid=1:me=umh:analyse=all:no-fast-pskip=1:deblock=-2,-1 -v 
#########################################
[18:18:11] hb_init: checking cpu count
[18:18:11] hb_init: starting libhb thread
HandBrake 0.9.3 (2008112300) - http://handbrake.fr/
2 CPUs detected
Opening C:\DVDs\ghost\FullDisc\GHOSTWLD...
[18:18:11] hb_scan: path=C:\DVDs\ghost\FullDisc\GHOSTWLD, title_index=1
[18:18:11] scan: trying to open with libdvdread
[18:18:11] scan: DVD has 15 title(s)
[18:18:11] scan: scanning title 1
[18:18:11] scan: opening IFO for VTS 8
[18:18:11] pgc_id: 1, pgn: 1: pgc: 0x24e6a60
[18:18:11] scan: vts=8, ttn=1, cells=0->31, blocks=0->3190194, 3190195 blocks
[18:18:11] scan: duration is 01:51:21 (6681020 ms)
[18:18:11] scan: checking audio 1
[18:18:11] scan: id=80bd, lang=English (AC3), 3cc=eng ext=1
[18:18:11] scan: checking subtitle 1
[18:18:11] scan: id=23bd, lang=English, 3cc=eng
[18:18:11] scan: checking subtitle 2
[18:18:11] scan: id=24bd, lang=Francais, 3cc=fra
[18:18:11] scan: checking subtitle 3
[18:18:11] scan: id=25bd, lang=Espanol, 3cc=spa
[18:18:11] scan: title 1 has 16 chapters
[18:18:11] scan: chap 1 c=0->1, b=0->215337 (215338), 461524 ms
[18:18:11] scan: chap 2 c=2->3, b=215338->388686 (173349), 379455 ms
[18:18:11] scan: chap 3 c=4->5, b=388687->599417 (210731), 443647 ms
[18:18:11] scan: chap 4 c=6->7, b=599418->765016 (165599), 356783 ms
[18:18:11] scan: chap 5 c=8->9, b=765017->1025409 (260393), 545950 ms
[18:18:11] scan: chap 6 c=10->11, b=1025410->1181758 (156349), 347697 ms
[18:18:11] scan: chap 7 c=12->13, b=1181759->1393405 (211647), 431646 ms
[18:18:11] scan: chap 8 c=14->15, b=1393406->1577417 (184012), 392780 ms
[18:18:11] scan: chap 9 c=16->18, b=1577418->1821728 (244311), 497136 ms
[18:18:11] scan: chap 10 c=19->20, b=1821729->2056638 (234910), 478773 ms
[18:18:11] scan: chap 11 c=21->22, b=2056639->2239667 (183029), 352712 ms
[18:18:11] scan: chap 12 c=23->24, b=2239668->2450942 (211275), 433983 ms
[18:18:11] scan: chap 13 c=25->26, b=2450943->2624105 (173163), 373769 ms
[18:18:11] scan: chap 14 c=27->28, b=2624106->2818882 (194777), 399651 ms
[18:18:11] scan: chap 15 c=29->29, b=2818883->2974563 (155681), 316518 ms
[18:18:11] scan: chap 16 c=30->31, b=2974564->3190194 (215631), 468988 ms
[18:18:11] scan: aspect = 0
[18:18:11] scan: decoding previews for title 1
[18:18:11] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[18:18:11] scan: fopen failed (C:/Users/CYRUSN~1/AppData/Local/Temp/hb.3764/24e59f80)
[18:18:11] scan: fopen failed (C:/Users/CYRUSN~1/AppData/Local/Temp/hb.3764/24e59f81)
[18:18:11] scan: fopen failed (C:/Users/CYRUSN~1/AppData/Local/Temp/hb.3764/24e59f82)
[18:18:11] scan: fopen failed (C:/Users/CYRUSN~1/AppData/Local/Temp/hb.3764/24e59f83)
[18:18:11] scan: fopen failed (C:/Users/CYRUSN~1/AppData/Local/Temp/hb.3764/24e59f84)
[18:18:11] scan: fopen failed (C:/Users/CYRUSN~1/AppData/Local/Temp/hb.3764/24e59f85)
[18:18:11] scan: fopen failed (C:/Users/CYRUSN~1/AppData/Local/Temp/hb.3764/24e59f86)
[18:18:11] scan: fopen failed (C:/Users/CYRUSN~1/AppData/Local/Temp/hb.3764/24e59f87)
[18:18:11] scan: fopen failed (C:/Users/CYRUSN~1/AppData/Local/Temp/hb.3764/24e59f88)
[18:18:12] scan: fopen failed (C:/Users/CYRUSN~1/AppData/Local/Temp/hb.3764/24e59f89)
[18:18:12] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/2/2, aspect 16:9, PAR 32:27
[18:18:12] scan: title (0) job->width:720, job->height:400
[18:18:12] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 8, ttn 1, cells 0->31 (3190195 blocks)
  + duration: 01:51:21
  + size: 720x480, aspect: 1.78, 23.976 fps
  + autocrop: 0/0/2/2
  + chapters:
    + 1: cells 0->1, 215338 blocks, duration 00:07:42
    + 2: cells 2->3, 173349 blocks, duration 00:06:19
    + 3: cells 4->5, 210731 blocks, duration 00:07:24
    + 4: cells 6->7, 165599 blocks, duration 00:05:57
    + 5: cells 8->9, 260393 blocks, duration 00:09:06
    + 6: cells 10->11, 156349 blocks, duration 00:05:48
    + 7: cells 12->13, 211647 blocks, duration 00:07:12
    + 8: cells 14->15, 184012 blocks, duration 00:06:33
    + 9: cells 16->18, 244311 blocks, duration 00:08:17
    + 10: cells 19->20, 234910 blocks, duration 00:07:59
    + 11: cells 21->22, 183029 blocks, duration 00:05:53
    + 12: cells 23->24, 211275 blocks, duration 00:07:14
    + 13: cells 25->26, 173163 blocks, duration 00:06:14
    + 14: cells 27->28, 194777 blocks, duration 00:06:40
    + 15: cells 29->29, 155681 blocks, duration 00:05:17
    + 16: cells 30->31, 215631 blocks, duration 00:07:49
  + audio tracks:
    + 1, English (AC3) (5.1 ch), 48000Hz, 448000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng)
    + 2, Francais (iso639-2: fra)
    + 3, Espanol (iso639-2: spa)
Modified x264 options for pass 1 to append turbo options: level=40:ref=2:mixed-refs=1:bframes=3:weightb=1:subq=9:direct=auto:b-pyramid=1:me=umh:analyse=all:no-fast-pskip=1:deblock=-2,-1:ref=1:subme=1:me=dia:analyse=none:trellis=0:no-fast-pskip=0:8x8dct=0:weightb=0
[18:18:12] 2 job(s) to process
[18:18:12] starting job
[18:18:12] job configuration:
[18:18:12]  * source
[18:18:12]    + C:\DVDs\ghost\FullDisc\GHOSTWLD
[18:18:12]    + title 1, chapter(s) 1 to 16
[18:18:12]  * destination
[18:18:12]    + C:\DVDs\GHOSTWLD-1-1-16.mp4
[18:18:12]    + container: MPEG-4 (.mp4 and .m4v)
[18:18:12]  * video track
[18:18:12]    + decoder: mpeg2
[18:18:12]      + bitrate 9800 kbps
[18:18:12]    + frame rate: same as source (around 23.976 fps)
[18:18:12]    + loose anamorphic
[18:18:12]      + storage dimensions: 720 * 480 -> 720 * 480, crop 0/0/2/2
[18:18:12]      + pixel aspect ratio: 53 / 45
[18:18:12]      + display dimensions: 848 * 480
[18:18:12]    + encoder: x264
[18:18:12]      + options: level=40:ref=2:mixed-refs=1:bframes=3:weightb=1:subq=9:direct=auto:b-pyramid=1:me=umh:analyse=all:no-fast-pskip=1:deblock=-2,-1:ref=1:subme=1:me=dia:analyse=none:trellis=0:no-fast-pskip=0:8x8dct=0:weightb=0
[18:18:12]      + bitrate: 2500 kbps, pass: 1
[18:18:12]  * audio track 0
[18:18:12]    + decoder: English (AC3) (5.1 ch) (track 1, id 80bd)
[18:18:12]      + bitrate: 448 kbps, samplerate: 48000 Hz
[18:18:12]    + mixdown: Dolby Pro Logic II
[18:18:12]    + encoder: faac
[18:18:12]      + bitrate: 160 kbps, samplerate: 48000 Hz
[18:18:12] encx264: keyint-min: 24, keyint-max: 240
[18:18:12] encx264: encoding with stored aspect 53/45
x264 [info]: using SAR=53/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 PHADD SSE4.1 Cache64
x264 [error]: ratecontrol_init: can't open stats file
      3 [unknown (0x9B8)] HandBrakeCLI 3764 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
[18:18:12] reader: first SCR 146
 123646 [unknown (0x9B8)] HandBrakeCLI 3764 open_stackdumpfile: Dumping stack trace to HandBrakeCLI.exe.stackdump
[18:18:12] mpeg2: "" (1) at frame 0 time 3003

User avatar
s55
HandBrake Team
Posts: 9685
Joined: Sun Dec 24, 2006 1:05 pm

Re: STATUS_ACCESS_VIOLATION on 0.93

Post by s55 »

try running it in Administrator mode. (right click the icon, should be an option for it)
I don't really understand why some Vista machines don't like it and some do.

Metasyntactic
Posts: 17
Joined: Wed Feb 13, 2008 6:07 pm

Re: STATUS_ACCESS_VIOLATION on 0.93

Post by Metasyntactic »

s55 wrote:try running it in Administrator mode. (right click the icon, should be an option for it)
I don't really understand why some Vista machines don't like it and some do.
That did the trick!

Thanks!

FWIW, this is a plain vanilla Vista install on a machine i built 3 days ago. It has almost *nothing* on it. The only thing i've installed so far are a DVD ripper, and handbrake's 0.92 and 0.93 (you couldn't have released 2 days earlier?! :D )

jesaf00
Posts: 41
Joined: Mon Mar 26, 2007 7:12 pm

Re: STATUS_ACCESS_VIOLATION on 0.93

Post by jesaf00 »

I am getting this same error on windows XP as well as vista.

jesaf00
Posts: 41
Joined: Mon Mar 26, 2007 7:12 pm

Re: STATUS_ACCESS_VIOLATION on 0.93

Post by jesaf00 »

Here is the log using Vista ultimate and run as administrator

Code: Select all

### Windows GUI 0.9.3 2008112300 
### Running: Microsoft Windows NT 6.0.6001 Service Pack 1 
###
### CPU: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz 
### Ram: 2047 MB 
### Screen: 1280x1024 
### Temp Dir: C:\Users\jerry\AppData\Local\Temp\ 
### Install Dir: C:\Program Files\Handbrake 
### Data Dir: C:\Users\jerry\AppData\Roaming\HandBrake\HandBrake\0.9.3.0 
#########################################

### CLI Query:  -i "D:\iTunes Music\TV Shows\The Simpsons\22 Short Films About Springfield.m4v" -t 1 -c 1 -o "D:\Rips\simpuniv.m4v" -f m4v -X 720 -P  -e x264 -q 0.59 -a 1,1 -E faac,ac3 -B 160 -R 48,0 -6 dpl2,dpl2 -D 1,1 --markers="C:\Users\jerry\AppData\Local\Temp\22 Short Films About Springfield.m4v-1-chapters.csv" -x level=30:cabac=0:ref=3:mixed-refs=1:analyse=all:me=umh:no-fast-pskip=1 -v 
#########################################
[07:00:42] hb_init: checking cpu count
[07:00:42] hb_init: starting libhb thread
HandBrake 0.9.3 (2008112300) - http://handbrake.fr/
4 CPUs detected
Opening D:\iTunes Music\TV Shows\The Simpsons\22 Short Films About Springfield.m4v...
[07:00:42] hb_scan: path=D:\iTunes Music\TV Shows\The Simpsons\22 Short Films About Springfield.m4v, title_index=1
[07:00:42] scan: trying to open with libdvdread
[07:00:42] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\iTunes Music\TV Shows\The Simpsons\22 Short Films About Springfield.m4v':
  Duration: 00:22:52.70, start: 0.000000, bitrate: 2321 kb/s
    Stream #0.0(eng): Video: h264, yuv420p, 710x480, 59.94 tb(r)
    Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16
    Stream #0.2(eng): Audio: ac3, 48000 Hz, stereo, s16
    Stream #0.3(eng): Subtitle: text / 0x74786574
[07:00:42] scan: decoding previews for title 1
[07:00:42] scan: audio 0x2: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[07:00:43] scan: 10 previews, 710x480, 25.974 fps, autocrop = 0/0/0/0, aspect 1.31:1, PAR 8:9
[07:00:43] scan: title (0) job->width:624, job->height:480
[07:00:43] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 0, ttn 0, cells 0->0 (0 blocks)
  + duration: 00:22:52
  + size: 710x480, aspect: 1.31, 25.974 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:22:52
  + audio tracks:
    + 1, English (AAC)
    + 2, English (AC3) (5.1 ch), 48000Hz, 448000bps
  + subtitle tracks:
Reading chapter markers from file C:\Users\jerry\AppData\Local\Temp\22 Short Films About Springfield.m4v-1-chapters.csv
Invalid sample rate 0, using input rate 48000
[07:00:43] 1 job(s) to process
[07:00:43] starting job
[07:00:43] Passthru requested and input codec is not the same as output codec for track 2
[07:00:43] work: sanitizing track 0 mixdown Dolby Pro Logic II to Stereo
[07:00:43] job configuration:
[07:00:43]  * source
[07:00:43]    + D:\iTunes Music\TV Shows\The Simpsons\22 Short Films About Springfield.m4v
[07:00:43]    + title 1, chapter(s) 1 to 1
[07:00:43]    + container: mov,mp4,m4a,3gp,3g2,mj2
[07:00:43]    + data rate: 2321 kbps
[07:00:43]  * destination
[07:00:43]    + D:\Rips\simpuniv.m4v
[07:00:43]    + container: MPEG-4 (.mp4 and .m4v)
[07:00:43]      + chapter markers
[07:00:43]  * video track
[07:00:43]    + decoder: h264
[07:00:43]    + frame rate: same as source (around 25.974 fps)
[07:00:43]    + loose anamorphic
[07:00:43]      + storage dimensions: 710 * 480 -> 704 * 480, crop 0/0/0/0
[07:00:43]      + pixel aspect ratio: 631 / 704
[07:00:43]      + display dimensions: 631 * 480
[07:00:43]    + encoder: x264
[07:00:43]      + options: level=30:cabac=0:ref=3:mixed-refs=1:analyse=all:me=umh:no-fast-pskip=1
[07:00:43]      + quality: 0.59
[07:00:43]  * audio track 0
[07:00:43]    + decoder: English (AAC) (track 1, id 1)
[07:00:43]    + mixdown: Stereo
[07:00:43]    + encoder: faac
[07:00:43]      + bitrate: 160 kbps, samplerate: 48000 Hz
[07:00:43] dvd: not a dvd - trying as a stream/file instead
[07:00:43] encx264: keyint-min: 26, keyint-max: 260
[07:00:43] encx264: encoding with stored aspect 631/704
[07:00:43] encx264: Encoding at constant RF 20.910001
x264 [info]: using SAR=631/704
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile Baseline, level 3.0
[07:00:43] sync: expecting 35680 video frames
[07:00:43] reader: first SCR 15011
      5 [unknown (0x16A8)] HandBrakeCLI 5764 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
  13771 [unknown (0x16A8)] HandBrakeCLI 5764 open_stackdumpfile: Dumping stack trace to HandBrakeCLI.exe.stackdump
[07:00:43] sync: first pts is 15009

User avatar
s55
HandBrake Team
Posts: 9685
Joined: Sun Dec 24, 2006 1:05 pm

Re: STATUS_ACCESS_VIOLATION on 0.93

Post by s55 »

There are some known issues with universal input on the windows side of things. There appears to be a problem with the mmx instructions used in the ffmpeg libs.

Only solution is to compile the code from source with --disable-mmx for ffmpeg, thus making ffmpeg encoding really slow.

In other words, some universal input sources just won't work on windows, some will.

jesaf00
Posts: 41
Joined: Mon Mar 26, 2007 7:12 pm

Re: STATUS_ACCESS_VIOLATION on 0.93

Post by jesaf00 »

OK, I got it working by manually selecting the 5.1 track as the source audio for both track one and two. I then can select the settings for 5.1 on track two and the videos will encode.

Is there no way to keep chapters from the old encodes?

User avatar
s55
HandBrake Team
Posts: 9685
Joined: Sun Dec 24, 2006 1:05 pm

Re: STATUS_ACCESS_VIOLATION on 0.93

Post by s55 »

OP question has been answered. Locking in favour of jesaf00's your other post.

Please stop cross posing.

Locked