Re: Scene index does not work on a DVD

Mikhail Ramendik <[email protected]> Sat, 1 Oct 2005 14:27:12 +0400
Newsgroups gmane.comp.video.ogle.user
Message-ID <[email protected]>
=F7 =D3=CF=CF=C2=DD=C5=CE=C9=C9 =CF=D4 1 =CF=CB=D4=D1=C2=D2=D1 2005 14:09=
 Bj|rn Englund =CE=C1=D0=C9=D3=C1=CC(a):

> If you run ./configure with --enable-debug and recompile
> you should get a lot more debug output from all processes.
> Then running ogle --debug --debug-mpeg_vs would maybe give some more
> hints to how far the ogle_mpeg_vs process comes before segfaulting.

Done. Here's the entire output before the gdb window starts.

$ ogle --debug --debug-mpeg_vs
Build: Linux 2.6.11-5MR_ck8_w4l_mppe_libata #5 Sun Sep 25 12:53:27 MSD 20=
05=20
i686 i686 Sat Oct  1 14:20:28 MSD 2005 mmx Xv oss alsa
Runtime: Linux 2.6.11-5MR_ck8_w4l_mppe_libata #5 Sun Sep 25 12:53:27 MSD =
2005=20
i686 i686
gcc options: : GNU C version 3.2.2 20030222 (ASPLinux 3.2.2-5asp)=20
(i386-asplinux-linux) : compiled by GNU C version 3.2.2 20030222 (ASPLinu=
x=20
3.2.2-5asp). : options passed: -lang-c -D__GNUC__=3D3 -D__GNUC_MINOR__=3D=
2 :=20
-D__GNUC_PATCHLEVEL__=3D2 -D__GXX_ABI_VERSION=3D102 -D__ELF__ -Dunix :=20
-D__gnu_linux__ -Dlinux -D__ELF__ -D__unix__ -D__gnu_linux__ -D__linux__ =
:=20
-D__unix -D__linux -Asystem=3Dposix -D__OPTIMIZE__ -D__STDC_HOSTED__=3D1 =
:=20
-Acpu=3Di386 -Amachine=3Di386 -Di386 -D__i386 -D__i386__ -D__i586 -D__i58=
6__ :=20
-D__pentium -D__pentium__ -D__tune_i686__ -D__tune_pentiumpro__ : -march=3D=
i586=20
-mcpu=3Dpentiumpro -g -O2 -Wall -fverbose-asm : options enabled: -fdefer-=
pop=20
-foptimize-sibling-calls -fcse-follow-jumps : -fcse-skip-blocks=20
-fexpensive-optimizations -fthread-jumps : -fstrength-reduce -fpeephole=20
-fforce-mem -ffunction-cse : -fkeep-static-consts -fcaller-saves=20
-fpcc-struct-return -fgcse -fgcse-lm : -fgcse-sm -frerun-cse-after-loop=20
-frerun-loop-opt : -fdelete-null-pointer-checks -fschedule-insns2=20
-fsched-interblock : -fsched-spec -fbranch-count-reg -freorder-blocks=20
-fcprop-registers : -fcommon -fverbose-asm -fgnu-linker -fregmove=20
-foptimize-register-move : -fargument-alias -fstrict-aliasing=20
-fmerge-constants -fident -fpeephole2 : -fguess-branch-probability=20
-fmath-errno -ftrapping-math -m80387 : -mhard-float -mno-soft-float -miee=
e-fp=20
-mfp-ret-in-387 -mcpu=3Dpentiumpro : -march=3Di586
cpuinfo:
processor : 0, vendor_id : GenuineIntel, cpu family : 15, model : 2, mode=
l=20
name : Intel(R) Celeron(R) CPU 2.40GHz, stepping : 9, cpu MHz : 2399.758,=
=20
cache size : 128 KB, fdiv_bug : no, hlt_bug : no, f00f_bug : no, coma_bug=
 :=20
no, fpu : yes, fpu_exception : yes, cpuid level : 2, wp : yes, flags : fp=
u=20
vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflu=
sh=20
dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr, bogomips : 4751.36, ,

File not found: /proc/sys/dev/cdrom/info
No CD or DVD devices on this system or cdrom module not loaded?
Note[ogle_ctrl]: ogle 0.9.2-cvs
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_cli with pid 13619
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_nav with pid 13620
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_mpeg_ps with pid 13621
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_vout with pid 13622
Debug[ogle_vout]: CLK_TCK: 100
Debug[ogle_nav]: Opening DVD at "/dev/dvd"
libdvdread: Using libdvdcss version 1.2.5 for DVD access
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss debug: disc is unscrambled
Debug[ogle_nav]: play_PGC: first_play_pgc
Debug[ogle_nav]: play_PGC: state.pgcN (1)
Debug[ogle_nav]: play_PGC: state.pgcN (3)
Debug[ogle_nav]: play_PGC: state.pgcN (2)
Debug[ogle_nav]: play_PGC: state.pgcN (1)
Debug[ogle_nav]: PGC pre commands didn't do a Jump, Link or Call
Debug[ogle_nav]: play_PG: state.pgN (1)
Debug[ogle_nav]: play_Cell: state.cellN (1)
Debug[ogle_nav]: sending audio demuxstream state enabled
Debug[ogle_nav]: id: bd, st: 80
Debug[ogle_nav]: sending video demuxstream state enabled
libdvdread: Using libdvdcss version 1.2.5 for DVD access
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss debug: disc is unscrambled

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000129
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000018c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000004d4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x000015a8
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x000015f5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x00214b61
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x00214bae
libdvdread: Elapsed time 0
libdvdread: Found 3 VTS's
libdvdread: Elapsed time 0
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_mpeg_vs_debug with pid=
=20
13650
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_audio with pid 13655
Debug[ogle_ctrl]: Getting 3740320 bytes sysv shm
Debug[ogle_ctrl]: got capability video_out
No accelerated IMDCT transform found
Debug[ogle_audio]: decode_a52: found sync
Debug[ogle_audio]: Searching <speakers> for:
Debug[ogle_audio]:  'Left' 'Right' 'Center' 'LeftSurround' 'RightSurround=
'=20
'LFE'
Debug[ogle_audio]: or for:
Debug[ogle_audio]:  'AC3'
Debug[ogle_audio]: No channel configs found
Note[ogle_audio]: Using audio driver 'alsa'
Debug[ogle_audio]: Opening alsa pcm device: default
Debug[ogle_audio]: Min channels: 1
Debug[ogle_audio]: Max channels: 268435455
Debug[ogle_audio]: Channels: 2
Debug[ogle_audio]: Wanted buffer time 500000, got 341333
Debug[ogle_audio]: Buffer size 16384 frames
Debug[ogle_audio]: Period time: 10666 us
Debug[ogle_audio]: Period size: 512 frames
Debug[ogle_audio]: Stream parameters are 48000 Hz, S16_LE, 2 channels, sa=
mple=20
size: 4
Note[ogle_audio]: wanted 0 channels, got 2
Debug[ogle_audio]: channels 2, encoding 1, resolution 16
Debug[ogle_audio]: byte order 1, rate 48000
Debug[ogle_audio]: fragments -1, size 4096
Debug[ogle_audio]: 2 channels decoded:  Left Right
Note[ogle_audio]: delay resolution better than: 0.004999920, 240 samples,=
=20
rate: 48000
Xscreensaver not running.


> If it has something to do with malloc then it shouldn't be too hard to =
find
> the call resulting in the malloc.
> Another thought, maybe this
> is happening in a sighandler, but there is only one in ogle_mpeg_vs
> and the only thing it calls is exit. But you can add a fprintf there to
> see if it gets there.

If I need to do this, please tell me where it is.

--=20
Yours, Mikhail Ramendik