Seg Fault when Subtitle Scan is used

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
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
ndyclrk
Posts: 5
Joined: Wed Mar 12, 2008 7:40 pm

Seg Fault when Subtitle Scan is used

Post by ndyclrk »

I'm getting a seg fault when I use the -U option. I've attached my verbose log and command line.

I've tried using -U -F, -UF, and just -U, all have the same result.

For reference, this is using the downloaded, pre-compiled binary on Xubuntu 7.10 x86.

Intel 2.4 GHz HT
1 GB RAM

Code: Select all

Linux host 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux

Code: Select all

user@host:~/Videos$ time handbrake -i /dev/dvd -L -e xvid -f avi -b 2500 -E ac3 -UF -v -o title-redacted.avi
[12:34:09] hb_init: checking cpu count
[12:34:09] hb_init: starting libhb thread
[12:34:09] thread b7c3eb90 started ("libhb")
HandBrake 0.9.2 (2008021900) - http://handbrake.m0k.org/
2 CPUs detected
Opening /dev/dvd...
[12:34:09] hb_scan: path=/dev/dvd, title_index=0
[12:34:09] thread b743db90 started ("scan")
[12:34:09] scan: trying to open with libdvdread
[12:34:10] scan: DVD has 5 title(s)
[12:34:10] scan: scanning title 1
[12:34:10] scan: opening IFO for VTS 1
[12:34:10] pgc_id: 1, pgn: 1: pgc: 0x878d8e0
[12:34:10] scan: vts=1, ttn=1, cells=0->34, blocks=0->3111076, 3111077 blocks
[12:34:10] scan: duration is 01:58:43 (7123043 ms)
[12:34:10] scan: checking audio 1
[12:34:10] scan: id=80bd, lang=English (AC3), 3cc=eng
[12:34:10] scan: checking audio 2
[12:34:10] scan: id=81bd, lang=English (AC3), 3cc=eng
[12:34:10] scan: checking subtitle 1
[12:34:10] scan: id=20bd, lang=English, 3cc=eng
[12:34:10] scan: title 1 has 34 chapters
[12:34:10] scan: chap 1 c=0->0, b=0->51645 (51646), 157500 ms
[12:34:10] scan: chap 2 c=1->1, b=51646->137476 (85831), 229541 ms
[12:34:10] scan: chap 3 c=2->2, b=137477->186649 (49173), 98170 ms
[12:34:10] scan: chap 4 c=3->3, b=186650->270545 (83896), 174395 ms
[12:34:10] scan: chap 5 c=4->4, b=270546->413058 (142513), 301603 ms
[12:34:10] scan: chap 6 c=5->5, b=413059->450041 (36983), 76310 ms
[12:34:10] scan: chap 7 c=6->6, b=450042->591538 (141497), 298664 ms
[12:34:10] scan: chap 8 c=7->7, b=591539->788360 (196822), 406808 ms
[12:34:10] scan: chap 9 c=8->8, b=788361->906282 (117922), 259610 ms
[12:34:10] scan: chap 10 c=9->9, b=906283->1001148 (94866), 266488 ms
[12:34:10] scan: chap 11 c=10->10, b=1001149->1081973 (80825), 172548 ms
[12:34:10] scan: chap 12 c=11->11, b=1081974->1353145 (271172), 601026 ms
[12:34:10] scan: chap 13 c=12->12, b=1353146->1396051 (42906), 96323 ms
[12:34:10] scan: chap 14 c=13->13, b=1396052->1495934 (99883), 263564 ms
[12:34:10] scan: chap 15 c=14->14, b=1495935->1602848 (106914), 257641 ms
[12:34:10] scan: chap 16 c=15->15, b=1602849->1715349 (112501), 284775 ms
[12:34:10] scan: chap 17 c=16->17, b=1715350->1761177 (45828), 113538 ms
[12:34:10] scan: chap 18 c=18->18, b=1761178->1781299 (20122), 65292 ms
[12:34:10] scan: chap 19 c=19->19, b=1781300->1869656 (88357), 180471 ms
[12:34:10] scan: chap 20 c=20->20, b=1869657->1957516 (87860), 187316 ms
[12:34:10] scan: chap 21 c=21->21, b=1957517->2073031 (115515), 238409 ms
[12:34:10] scan: chap 22 c=22->22, b=2073032->2158183 (85152), 192534 ms
[12:34:10] scan: chap 23 c=23->23, b=2158184->2230096 (71913), 154572 ms
[12:34:10] scan: chap 24 c=24->24, b=2230097->2406463 (176367), 412995 ms
[12:34:10] scan: chap 25 c=25->25, b=2406464->2486316 (79853), 165303 ms
[12:34:10] scan: chap 26 c=26->26, b=2486317->2572097 (85781), 239524 ms
[12:34:10] scan: chap 27 c=27->27, b=2572098->2668053 (95956), 240393 ms
[12:34:10] scan: chap 28 c=28->28, b=2668054->2718278 (50225), 107208 ms
[12:34:10] scan: chap 29 c=29->29, b=2718279->2769983 (51705), 120372 ms
[12:34:10] scan: chap 30 c=30->30, b=2769984->2923030 (153047), 320844 ms
[12:34:10] scan: chap 31 c=31->31, b=2923031->2992205 (69175), 150432 ms
[12:34:10] scan: chap 32 c=32->32, b=2992206->3022041 (29836), 75323 ms
[12:34:10] scan: chap 33 c=33->33, b=3022042->3111072 (89031), 213358 ms
[12:34:10] scan: chap 34 c=34->34, b=3111073->3111076 (4), 176 ms
[12:34:10] scan: aspect = 16
[12:34:10] scan: scanning title 2
[12:34:10] scan: opening IFO for VTS 2
[12:34:11] pgc_id: 1, pgn: 1: pgc: 0x878e088
[12:34:11] scan: vts=2, ttn=1, cells=0->1, blocks=0->93895, 12007 blocks
[12:34:11] scan: duration is 00:00:52 (52243 ms)
[12:34:11] scan: checking audio 1
[12:34:11] scan: id=80bd, lang=English (AC3), 3cc=eng
[12:34:11] scan: title 2 has 2 chapters
[12:34:11] scan: chap 1 c=0->0, b=0->12002 (12003), 52067 ms
[12:34:11] scan: chap 2 c=1->1, b=93892->93895 (4), 176 ms
[12:34:11] scan: aspect = 16
[12:34:11] scan: scanning title 3
[12:34:11] scan: opening IFO for VTS 2
[12:34:11] pgc_id: 2, pgn: 1: pgc: 0x878ebf8
[12:34:11] scan: vts=2, ttn=2, cells=0->1, blocks=20892->93895, 73004 blocks
[12:34:11] scan: duration is 00:05:16 (316110 ms)
[12:34:11] scan: checking audio 1
[12:34:11] scan: id=80bd, lang=English (AC3), 3cc=eng
[12:34:11] scan: title 3 has 2 chapters
[12:34:11] scan: chap 1 c=0->0, b=20892->93891 (73000), 315933 ms
[12:34:11] scan: chap 2 c=1->1, b=93892->93895 (4), 176 ms
[12:34:11] scan: aspect = 16
[12:34:11] scan: scanning title 4
[12:34:11] scan: opening IFO for VTS 2
[12:34:11] pgc_id: 3, pgn: 1: pgc: 0x879efb0
[12:34:11] scan: vts=2, ttn=3, cells=0->1, blocks=12003->93895, 8893 blocks
[12:34:11] scan: duration is 00:00:39 (39100 ms)
[12:34:11] scan: checking audio 1
[12:34:11] scan: id=80bd, lang=English (AC3), 3cc=eng
[12:34:11] scan: title 4 has 2 chapters
[12:34:11] scan: chap 1 c=0->0, b=12003->20891 (8889), 38921 ms
[12:34:11] scan: chap 2 c=1->1, b=93892->93895 (4), 178 ms
[12:34:11] scan: aspect = 16
[12:34:11] scan: scanning title 5
[12:34:11] scan: opening IFO for VTS 3
[12:34:11] pgc_id: 1, pgn: 1: pgc: 0x8797690
[12:34:11] scan: vts=3, ttn=1, cells=0->1, blocks=0->35859, 35860 blocks
[12:34:11] scan: duration is 00:02:26 (146220 ms)
[12:34:11] scan: checking audio 1
[12:34:11] scan: id=80bd, lang=English (AC3), 3cc=eng
[12:34:11] scan: title 5 has 2 chapters
[12:34:11] scan: chap 1 c=0->0, b=0->35855 (35856), 146043 ms
[12:34:11] scan: chap 2 c=1->1, b=35856->35859 (4), 176 ms
[12:34:11] scan: aspect = 16
[12:34:11] scan: decoding previews for title 1
[12:34:11] scan: preview 1
Scanning title 1 of 5...
[12:34:11] scan: AC3, rate=48000Hz, bitrate=448000
[12:34:11] scan: AC3, rate=48000Hz, bitrate=192000
[12:34:11] scan: preview 2
Scanning title 1 of 5...
[12:34:11] scan: preview 3
Scanning title 1 of 5...
[12:34:12] scan: preview 4
Scanning title 1 of 5...
[12:34:12] scan: preview 5
Scanning title 1 of 5...
[12:34:12] scan: preview 6
Scanning title 1 of 5...
[12:34:13] Title's mostly progressive NTSC, setting fps to 23.976
[12:34:13] scan: preview 7
Scanning title 1 of 5...
[12:34:13] scan: preview 8
Scanning title 1 of 5...
[12:34:13] scan: preview 9
Scanning title 1 of 5...
[12:34:14] scan: preview 10
Scanning title 1 of 5...
[12:34:14] scan: 720x480, 23.976 fps, autocrop = 4/8/0/2
[12:34:14] scan: decoding previews for title 2
[12:34:14] scan: preview 1
Scanning title 2 of 5...
[12:34:14] scan: AC3, rate=48000Hz, bitrate=192000
[12:34:14] scan: preview 2
Scanning title 2 of 5...
[12:34:14] scan: preview 3
Scanning title 2 of 5...
[12:34:15] scan: preview 4
[12:34:15] scan: preview 5
Scanning title 2 of 5...
[12:34:15] scan: preview 6
Scanning title 2 of 5...
[12:34:15] Title's mostly progressive NTSC, setting fps to 23.976
[12:34:15] scan: preview 7
[12:34:15] scan: preview 8
Scanning title 2 of 5...
[12:34:16] scan: preview 9
Scanning title 2 of 5...
[12:34:16] scan: preview 10
[12:34:16] scan: 720x480, 23.976 fps, autocrop = 10/8/2/0
[12:34:16] scan: decoding previews for title 3
[12:34:16] scan: preview 1
Scanning title 3 of 5...
[12:34:16] scan: AC3, rate=48000Hz, bitrate=192000
[12:34:16] scan: preview 2
Scanning title 3 of 5...
[12:34:16] scan: preview 3
[12:34:17] scan: preview 4
Scanning title 3 of 5...
[12:34:17] scan: preview 5
Scanning title 3 of 5...
[12:34:17] scan: preview 6
Scanning title 3 of 5...
[12:34:17] Title's mostly progressive NTSC, setting fps to 23.976
[12:34:17] scan: preview 7
Scanning title 3 of 5...
[12:34:18] scan: preview 8
Scanning title 3 of 5...
[12:34:18] scan: preview 9
Scanning title 3 of 5...
[12:34:18] scan: preview 10
[12:34:18] scan: 720x480, 23.976 fps, autocrop = 10/8/0/0
[12:34:18] scan: decoding previews for title 4
[12:34:18] scan: preview 1
Scanning title 4 of 5...
[12:34:19] scan: AC3, rate=48000Hz, bitrate=192000
[12:34:19] scan: preview 2
[12:34:19] scan: preview 3
Scanning title 4 of 5...
[12:34:19] scan: preview 4
Scanning title 4 of 5...
[12:34:19] scan: preview 5
[12:34:19] scan: preview 6
Scanning title 4 of 5...
[12:34:19] Title's mostly progressive NTSC, setting fps to 23.976
[12:34:19] scan: preview 7
Scanning title 4 of 5...
[12:34:20] scan: preview 8
[12:34:20] scan: preview 9
Scanning title 4 of 5...
[12:34:20] scan: preview 10
[12:34:20] scan: 720x480, 23.976 fps, autocrop = 10/8/2/0
[12:34:20] scan: decoding previews for title 5
[12:34:20] scan: preview 1
Scanning title 5 of 5...
[12:34:20] scan: AC3, rate=48000Hz, bitrate=448000
[12:34:20] scan: preview 2
Scanning title 5 of 5...
[12:34:21] scan: preview 3
Scanning title 5 of 5...
[12:34:21] scan: preview 4
Scanning title 5 of 5...
[12:34:21] scan: preview 5
Scanning title 5 of 5...
[12:34:21] scan: preview 6
[12:34:22] Title's mostly progressive NTSC, setting fps to 23.976
[12:34:22] scan: preview 7
Scanning title 5 of 5...
[12:34:22] scan: preview 8
Scanning title 5 of 5...
[12:34:22] scan: preview 9
Scanning title 5 of 5...
[12:34:22] scan: preview 10
Scanning title 5 of 5...
[12:34:23] scan: 720x480, 23.976 fps, autocrop = 12/10/2/0
[12:34:23] scan: title (0) job->width:720, job->height:400
[12:34:23] scan: title (1) job->width:720, job->height:384
[12:34:23] scan: title (2) job->width:720, job->height:384
[12:34:23] scan: title (3) job->width:720, job->height:384
[12:34:23] scan: title (4) job->width:720, job->height:384
[12:34:23] thread b743db90 exited ("scan")
[12:34:23] thread b743db90 joined ("scan")
[12:34:23] libhb: scan thread found 5 valid title(s)
Searching for longest title...
 + Title (0) index 1 has length 7123sec
 + Title (1) index 2 has length 52sec
 + Title (2) index 3 has length 316sec
 + Title (3) index 4 has length 39sec
 + Title (4) index 5 has length 146sec
Found longest title, setting title to 1
+ title 1:
  + vts 1, ttn 1, cells 0->34 (3111077 blocks)
  + duration: 01:58:43
  + size: 720x480, aspect: 1.78, 23.976 fps
  + autocrop: 4/8/0/2
  + chapters:
    + 1: cells 0->0, 51646 blocks, duration 00:02:38
    + 2: cells 1->1, 85831 blocks, duration 00:03:50
    + 3: cells 2->2, 49173 blocks, duration 00:01:38
    + 4: cells 3->3, 83896 blocks, duration 00:02:54
    + 5: cells 4->4, 142513 blocks, duration 00:05:02
    + 6: cells 5->5, 36983 blocks, duration 00:01:16
    + 7: cells 6->6, 141497 blocks, duration 00:04:59
    + 8: cells 7->7, 196822 blocks, duration 00:06:47
    + 9: cells 8->8, 117922 blocks, duration 00:04:20
    + 10: cells 9->9, 94866 blocks, duration 00:04:26
    + 11: cells 10->10, 80825 blocks, duration 00:02:53
    + 12: cells 11->11, 271172 blocks, duration 00:10:01
    + 13: cells 12->12, 42906 blocks, duration 00:01:36
    + 14: cells 13->13, 99883 blocks, duration 00:04:24
    + 15: cells 14->14, 106914 blocks, duration 00:04:18
    + 16: cells 15->15, 112501 blocks, duration 00:04:45
    + 17: cells 16->17, 45828 blocks, duration 00:01:54
    + 18: cells 18->18, 20122 blocks, duration 00:01:05
    + 19: cells 19->19, 88357 blocks, duration 00:03:00
    + 20: cells 20->20, 87860 blocks, duration 00:03:07
    + 21: cells 21->21, 115515 blocks, duration 00:03:58
    + 22: cells 22->22, 85152 blocks, duration 00:03:13
    + 23: cells 23->23, 71913 blocks, duration 00:02:35
    + 24: cells 24->24, 176367 blocks, duration 00:06:53
    + 25: cells 25->25, 79853 blocks, duration 00:02:45
    + 26: cells 26->26, 85781 blocks, duration 00:04:00
    + 27: cells 27->27, 95956 blocks, duration 00:04:00
    + 28: cells 28->28, 50225 blocks, duration 00:01:47
    + 29: cells 29->29, 51705 blocks, duration 00:02:00
    + 30: cells 30->30, 153047 blocks, duration 00:05:21
    + 31: cells 31->31, 69175 blocks, duration 00:02:30
    + 32: cells 32->32, 29836 blocks, duration 00:01:15
    + 33: cells 33->33, 89031 blocks, duration 00:03:33
    + 34: cells 34->34, 4 blocks, duration 00:00:00
  + audio tracks:
    + 1, English (AC3) (5.1 ch), 48000Hz, 448000bps
    + 2, English (AC3) (Dolby Surround), 48000Hz, 192000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng)
Subtitle Scan Enabled - enabling subtitles if found for foreign language segments
[12:34:23] thread b743db90 started ("work")
[12:34:23] 2 job(s) to process
[12:34:23] starting job
[12:34:23]  + device /dev/dvd
[12:34:23]  + title 1, chapter(s) 1 to 34
[12:34:23]  + 720x480 -> 720x400, crop 4/8/0/2
[12:34:23]  + video frame rate: 23.976 fps
[12:34:23]  + video bitrate 2500 kbps, pass -1
[12:34:23]  + PixelRatio: 0, width:720, height: 400
[12:34:23]  + encoder XviD
[12:34:23]  + subtitle 20bd, English
[12:34:23]  + audio AC3 passthrough
[12:34:23] thread b695db90 started ("reader")
[12:34:23]  + output: title-redacted.avi
[12:34:23] thread b615cb90 started ("muxer")
[12:34:23] thread b595bb90 started ("MPEG-2 decoder (libmpeg2)")
[12:34:23] thread b515ab90 started ("Renderer")
Segmentation fault (core dumped)

real    0m14.044s
user    0m1.536s
sys     0m0.532s
Edit: Just saw that this is a duplicate of http://forum.handbrake.fr/viewtopic.php?f=13&t=4648
Post Reply