[RESOLVED] [SVN 1797] Encode crashes on windows vista

Archive of historical bug reports.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
Polygon
Novice
Posts: 72
Joined: Wed Oct 24, 2007 1:36 pm

[RESOLVED] [SVN 1797] Encode crashes on windows vista

Post by Polygon »

Ok, i really have no idea what I did, since before it crashed the encode but now (after a restart) it fixed itself. I managed to get a stackdump and an activity log however.

Operating system: windows vista 32 bit SP1 fully updated
movie tried: march of the penguins
preset tried: DSQ

steps to reproduce:

* wake computer up from hibernate
* start up dvd 43, wait for it to detect and decode the dvd
* once smiley is green, i open handbrake, choose source > E:\MARCH_OF_THE_PENGUINS
* it reads the dvd, i leave the default tiitle, and i select DSQ as the preset
* i then hit "start", and the cli window comes up, and then it shows the crash message, and the cli window disappears. handbrake is still running.

Activity log:

Code: Select all

### Windows GUI svn1797 2008093001 
### Running: Microsoft Windows NT 6.0.6001 Service Pack 1 
###
### CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-60 
### Ram: 1982 MB 
### Screen: 1280x800 
### Temp Dir: C:\Users\Mark\AppData\Local\Temp\ 
### Install Dir: C:\Program Files\Handbrake 
### Data Dir: C:\Users\Mark\AppData\Roaming\HandBrake\HandBrake\0.9.3.0 
#########################################

[18:09:38] hb_init: checking cpu count
[18:09:38] hb_init: starting libhb thread
[18:09:38] thread 2421ef8 started ("libhb")
HandBrake svn1797 (2008093001) - http://handbrake.fr/
2 CPUs detected
Opening E:\VIDEO_TS...
[18:09:38] hb_scan: path=E:\VIDEO_TS, title_index=1
[18:09:38] thread 2422050 started ("scan")
[18:09:38] scan: trying to open with libdvdread
[18:09:38] scan: DVD has 10 title(s)
[18:09:38] scan: scanning title 1
[18:09:38] scan: opening IFO for VTS 4
[18:09:38] pgc_id: 1, pgn: 1: pgc: 0x2424ac0
[18:09:38] scan: vts=4, ttn=1, cells=0->18, blocks=2766->1918813, 1916048 blocks
[18:09:38] scan: duration is 01:20:08 (4808020 ms)
[18:09:38] scan: checking audio 1
[18:09:38] scan: id=80bd, lang=English (AC3), 3cc=eng
[18:09:38] scan: checking audio 2
[18:09:38] scan: id=81bd, lang=Espanol (AC3), 3cc=spa
[18:09:38] scan: checking subtitle 1
[18:09:38] scan: id=21bd, lang=English, 3cc=eng
[18:09:38] scan: checking subtitle 2
[18:09:38] scan: id=23bd, lang=Francais, 3cc=fra
[18:09:38] scan: checking subtitle 3
[18:09:38] scan: id=25bd, lang=Espanol, 3cc=spa
[18:09:38] scan: title 1 has 19 chapters
[18:09:38] scan: chap 1 c=0->0, b=2766->99293 (96528), 246502 ms
[18:09:38] scan: chap 2 c=1->1, b=99294->241355 (142062), 341400 ms
[18:09:38] scan: chap 3 c=2->2, b=241356->359093 (117738), 275458 ms
[18:09:38] scan: chap 4 c=3->3, b=359094->473197 (114104), 302398 ms
[18:09:38] scan: chap 5 c=4->4, b=473198->559050 (85853), 209559 ms
[18:09:38] scan: chap 6 c=5->5, b=559051->650513 (91463), 227280 ms
[18:09:38] scan: chap 7 c=6->6, b=650514->780578 (130065), 299375 ms
[18:09:38] scan: chap 8 c=7->7, b=780579->876013 (95435), 240585 ms
[18:09:38] scan: chap 9 c=8->8, b=876014->981985 (105972), 280330 ms
[18:09:38] scan: chap 10 c=9->9, b=981986->1067051 (85066), 227280 ms
[18:09:38] scan: chap 11 c=10->10, b=1067052->1150078 (83027), 221453 ms
[18:09:38] scan: chap 12 c=11->11, b=1150079->1286864 (136786), 349399 ms
[18:09:38] scan: chap 13 c=12->12, b=1286865->1368810 (81946), 210393 ms
[18:09:38] scan: chap 14 c=13->13, b=1368811->1465037 (96227), 247459 ms
[18:09:38] scan: chap 15 c=14->14, b=1465038->1510139 (45102), 116333 ms
[18:09:38] scan: chap 16 c=15->15, b=1510140->1614849 (104710), 262466 ms
[18:09:38] scan: chap 17 c=16->16, b=1614850->1731699 (116850), 282456 ms
[18:09:38] scan: chap 18 c=17->17, b=1731700->1850935 (119236), 280496 ms
[18:09:38] scan: chap 19 c=18->18, b=1850936->1918813 (67878), 187390 ms
[18:09:38] scan: aspect = 0
[18:09:38] scan: decoding previews for title 1
[18:09:38] scan: preview 1
[18:09:38] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=448000 Espanol (AC3) (5.1 ch)
[18:09:38] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[18:09:38] scan: fopen failed (C:/Users/Mark/AppData/Local/Temp/hb.604/24239e00)
[18:09:38] scan: preview 2
[18:09:38] scan: fopen failed (C:/Users/Mark/AppData/Local/Temp/hb.604/24239e01)
[18:09:38] scan: preview 3
[18:09:38] scan: fopen failed (C:/Users/Mark/AppData/Local/Temp/hb.604/24239e02)
[18:09:38] scan: preview 4
[18:09:38] scan: fopen failed (C:/Users/Mark/AppData/Local/Temp/hb.604/24239e03)
[18:09:38] scan: preview 5
Scanning title 1...
[18:09:38] scan: fopen failed (C:/Users/Mark/AppData/Local/Temp/hb.604/24239e04)
[18:09:38] scan: preview 6
[18:09:38] Title's mostly NTSC Film, setting fps to 23.976
[18:09:38] scan: fopen failed (C:/Users/Mark/AppData/Local/Temp/hb.604/24239e05)
[18:09:38] scan: preview 7
[18:09:38] scan: fopen failed (C:/Users/Mark/AppData/Local/Temp/hb.604/24239e06)
[18:09:38] scan: preview 8
[18:09:38] scan: fopen failed (C:/Users/Mark/AppData/Local/Temp/hb.604/24239e07)
[18:09:38] scan: preview 9
[18:09:38] scan: fopen failed (C:/Users/Mark/AppData/Local/Temp/hb.604/24239e08)
[18:09:38] scan: preview 10
[18:09:38] scan: fopen failed (C:/Users/Mark/AppData/Local/Temp/hb.604/24239e09)
[18:09:38] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 32:27
[18:09:38] scan: title (0) job->width:720, job->height:400
[18:09:38] thread 2422050 exited ("scan")
[18:09:38] thread 2422050 joined ("scan")
[18:09:38] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 4, ttn 1, cells 0->18 (1916048 blocks)
  + duration: 01:20:08
  + size: 720x480, aspect: 1.78, 23.976 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 96528 blocks, duration 00:04:07
    + 2: cells 1->1, 142062 blocks, duration 00:05:41
    + 3: cells 2->2, 117738 blocks, duration 00:04:35
    + 4: cells 3->3, 114104 blocks, duration 00:05:02
    + 5: cells 4->4, 85853 blocks, duration 00:03:30
    + 6: cells 5->5, 91463 blocks, duration 00:03:47
    + 7: cells 6->6, 130065 blocks, duration 00:04:59
    + 8: cells 7->7, 95435 blocks, duration 00:04:01
    + 9: cells 8->8, 105972 blocks, duration 00:04:40
    + 10: cells 9->9, 85066 blocks, duration 00:03:47
    + 11: cells 10->10, 83027 blocks, duration 00:03:41
    + 12: cells 11->11, 136786 blocks, duration 00:05:49
    + 13: cells 12->12, 81946 blocks, duration 00:03:30
    + 14: cells 13->13, 96227 blocks, duration 00:04:07
    + 15: cells 14->14, 45102 blocks, duration 00:01:56
    + 16: cells 15->15, 104710 blocks, duration 00:04:22
    + 17: cells 16->16, 116850 blocks, duration 00:04:42
    + 18: cells 17->17, 119236 blocks, duration 00:04:40
    + 19: cells 18->18, 67878 blocks, duration 00:03:07
  + audio tracks:
    + 1, English (AC3) (5.1 ch), 48000Hz, 448000bps
    + 2, Espanol (AC3) (5.1 ch), 48000Hz, 448000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng)
    + 2, Francais (iso639-2: fra)
    + 3, Espanol (iso639-2: spa)
Reading chapter markers from file C:\Users\Mark\AppData\Local\Temp\VIDEO_TS-chapters.csv
Invalid sample rate 0, using input rate 48000
Modified x264 options for pass 1 to append turbo options: ref=5:mixed-refs=1:bframes=3:bime=1:weightb=1:brdo=1:b-pyramid=1:me=umh:subq=7:trellis=1:analyse=all:8x8dct=1:no-fast-pskip=1:ref=1:subme=1:me=dia:analyse=none:trellis=0:no-fast-pskip=0:8x8dct=0:weightb=0
[18:09:38] thread 242e1b8 started ("work")
[18:09:38] 2 job(s) to process
[18:09:38] starting job
[18:09:38] job configuration:
[18:09:38]  * source
[18:09:38]    + E:\VIDEO_TS
[18:09:38]    + title 1, chapter(s) 1 to 19
[18:09:38]  * destination
[18:09:38]    + C:\Users\Mark\Desktop\march_of_the_penguins_DSQ.mkv
[18:09:38]    + container: Matroska (.mkv)
[18:09:38]      + chapter markers
[18:09:38]  * video track
[18:09:38]    + decoder: mpeg2
[18:09:38]      + bitrate 7500 kbps
[18:09:38]    + frame rate: same as source (around 23.976 fps)
[18:09:38]    + strict anamorphic
[18:09:38]      + storage dimensions: 720 * 480 -> 720 * 480, crop 0/0/0/0
[18:09:38]      + pixel aspect ratio: 32 / 27
[18:09:38]      + display dimensions: 853 * 480
[18:09:38]    + encoder: x264
[18:09:38]      + options: ref=5:mixed-refs=1:bframes=3:bime=1:weightb=1:brdo=1:b-pyramid=1:me=umh:subq=7:trellis=1:analyse=all:8x8dct=1:no-fast-pskip=1:ref=1:subme=1:me=dia:analyse=none:trellis=0:no-fast-pskip=0:8x8dct=0:weightb=0
[18:09:38]      + bitrate: 1600 kbps, pass: 1
[18:09:38]  * audio track 0
[18:09:38]    + decoder: English (AC3) (5.1 ch) (track 0, id 80bd)
[18:09:38]      + bitrate: 448 kbps, samplerate: 48000 Hz
[18:09:38]    + AC3 passthrough
[18:09:38] thread 24245f0 started ("reader")
[18:09:38] thread 246d030 started ("MPEG-2 decoder (libmpeg2)")
[18:09:38] thread 246d2f0 started ("Renderer")
[18:09:38] encx264: keyint-min: 24, keyint-max: 240
[18:09:38] encx264: encoding with stored aspect 32/27
[18:09:38] encx264: opening libx264 (pass 1)
x264 [info]: using SAR=32/27
x264 [info]: using cpu capabilities: MMX2 SSE2Slow
x264 [error]: ratecontrol_init: can't open stats file
      9 [unknown (0x134)] HandBrakeCLI 604 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
  46028 [unknown (0x134)] HandBrakeCLI 604 open_stackdumpfile: Dumping stack trace to HandBrakeCLI.exe.stackdump
\

and the corresponding stackdump:

http://www.2shared.com/file/4025920/af5 ... LIexe.html
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: [SVN 1797] Encode crashes on windows vista

Post by s55 »

x264 [error]: ratecontrol_init: can't open stats file
Looks like some kind of file permission / file locking issue. Maybe try run HandBrake with admin rights?
Polygon
Novice
Posts: 72
Joined: Wed Oct 24, 2007 1:36 pm

Re: [SVN 1797] Encode crashes on windows vista

Post by Polygon »

hmm, it might of just been windows vista being retarded, cuase like i said, i restarted and now its working fine. My user account has admin rights and i turned off UAC so i dunno what happened.
Post Reply