Ticket #1699: remove_logo_typescript

File remove_logo_typescript, 14.8 KB (added by mike@…, 16 years ago)

typescript of brief gdb session

Line 
1Script started on Wed 12 May 2010 23:39:46 NZST
2]0;mike@legend:/m1/video/FromTV/top40[?1034h[01;32mmike@legend[01;34m /m1/video/FromTV/top40 $[00m exit[2Psumake./configure --prefix=/usr/local --enable-vdp
3pau --enable-lirc --enable-ladspa --disable-dvdread-internal --enable-dvdnav --wi
4ith-dvdnav-config=/usr/local/bin/dvdnav-config --with-dvdread-config=/usr/local/b
5bin/dvdread-config --enable-debug[A[A[A
6[01;32mmike@legend[01;34m /m1/video/FromTV/top40 $[00m make clean[K
7
8[K
9
10[K
11
12[K[A[A[A[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Cls[Kcd /usr/local/git/mplayersu[Kexitman mencoder[8Pexitman mencoder[8Pexit[2Psucd /usr/local/git/mplayerls[Kmake clean./configure --prefix=/usr/local --enable-vdp
13pau --enable-lirc --enable-ladspa --disable-dvdread-internal --enable-dvdnav --wi
14ith-dvdnav-config=/usr/local/bin/dvdnav-config --with-dvdread-config=/usr/local/b
15bin/dvdread-config --enable-debug[A[A[A
16[01;32mmike@legend[01;34m /m1/video/FromTV/top40 $[00m make[K
17
18[K
19
20[K
21
22[K[A[A[A[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[2Psuexit[Kgdb /usr/local/bin/mplayer
23[?1034hGNU gdb (Gentoo 7.0.1 p1) 7.0.1
24Copyright (C) 2009 Free Software Foundation, Inc.
25License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
26This is free software: you are free to change and redistribute it.
27There is NO WARRANTY, to the extent permitted by law. Type "show copying"
28and "show warranty" for details.
29This GDB was configured as "i686-pc-linux-gnu".
30For bug reporting instructions, please see:
31<http://bugs.gentoo.org/>...
32Reading symbols from /usr/local/bin/mplayer...done.
33(gdb) run -v -vf remove-logo=tv3logo.ppm top40.2007-04-28.mkv
34Starting program: /usr/local/bin/mplayer -v -vf remove-logo=tv3logo.ppm top40.2007-04-28.mkv
35[Thread debugging using libthread_db enabled]
36[New Thread 0xb580cb70 (LWP 29573)]
37[Thread 0xb580cb70 (LWP 29573) exited]
38[New Thread 0xb580cb70 (LWP 29575)]
39[Thread 0xb580cb70 (LWP 29575) exited]
40[New Thread 0xb580cb70 (LWP 29577)]
41[Thread 0xb580cb70 (LWP 29577) exited]
42MPlayer UNKNOWN-4.4.3 (C) 2000-2010 MPlayer Team
43CPU vendor name: GenuineIntel max cpuid level: 10
44CPU: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz (Family: 6, Model: 15, Stepping: 6)
45extended cpuid-level: 8
46extended cache-info: 268468288
47Detected cache-line size is 64 bytes
48Testing OS support for SSE... yes.
49Tests of OS support for SSE passed.
50CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
51Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 SSSE3 CMOV
52get_path('codecs.conf') -> '/home/mike/.mplayer/codecs.conf'
53Reading /home/mike/.mplayer/codecs.conf: Can't open '/home/mike/.mplayer/codecs.conf': No such file or directory
54Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
55Using built-in default codecs.conf.
56Configuration: --prefix=/usr/local --enable-vdpau --enable-lirc --enable-ladspa --disable-dvdread-internal --enable-dvdnav --with-dvdnav-config=/usr/local/bin/dvdnav-config --with-dvdread-config=/usr/local/bin/dvdread-config --enable-debug=3
57CommandLine: '-v' '-vf' 'remove-logo=tv3logo.ppm' 'top40.2007-04-28.mkv'
58init_freetype
59Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
60get_path('fonts') -> '/home/mike/.mplayer/fonts'
61Using nanosleep() timing
62get_path('input.conf') -> '/home/mike/.mplayer/input.conf'
63Can't open input config file /home/mike/.mplayer/input.conf: No such file or directory
64Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
65Falling back on default (hardcoded) input config
66Setting up LIRC support...
67mplayer: could not connect to socket
68mplayer: No such file or directory
69Failed to open LIRC support. You will not be able to use your remote control.
70get_path('top40.2007-04-28.mkv.conf') -> '/home/mike/.mplayer/top40.2007-04-28.mkv.conf'
71
72Playing top40.2007-04-28.mkv.
73get_path('sub/') -> '/home/mike/.mplayer/sub/'
74[file] File size is 614352407 bytes
75STREAM: [file] top40.2007-04-28.mkv
76STREAM: Description: File
77STREAM: Author: Albeu
78STREAM: Comment: based on the code from ??? (probably Arpi)
79LAVF_check: Matroska file format
80Checking for YUV4MPEG2
81ASF_check: not ASF guid!
82Checking for REAL
83Checking for SMJPEG
84[mkv] Found the head...
85[mkv] + a segment...
86[mkv] /---- [ parsing seek head ] ---------
87[mkv] /---- [ parsing seek head ] ---------
88[mkv] \---- [ parsing seek head ] ---------
89[mkv] /---- [ parsing cues ] -----------
90[mkv] \---- [ parsing cues ] -----------
91[mkv] \---- [ parsing seek head ] ---------
92[mkv] |+ segment information...
93[mkv] | + timecode scale: 1000000
94[mkv] | + duration: 3596.360s
95[mkv] |+ segment tracks...
96[mkv] | + a track...
97[mkv] | + Track number: 1
98[mkv] | + Track type: Video
99[mkv] | + Default flag: 1
100[mkv] | + Codec ID: V_MPEG4/ISO/AVC
101[mkv] | + CodecPrivate, length 39
102[mkv] | + Default duration: 40.000ms ( = 25.000 fps)
103[mkv] | + Language: und
104[mkv] | + Video track
105[mkv] | + Pixel width: 480
106[mkv] | + Pixel height: 480
107[mkv] | + Display width: 640
108[mkv] | + Display height: 480
109[mkv] | + a track...
110[mkv] | + Track number: 2
111[mkv] | + Track type: Audio
112[mkv] | + Default flag: 1
113[mkv] | + Codec ID: A_AAC
114[mkv] | + CodecPrivate, length 2
115[mkv] | + Default duration: 21.333ms ( = 46.875 fps)
116[mkv] | + Language: und
117[mkv] | + Audio track
118[mkv] | + Sampling frequency: 48000.000000
119[mkv] | + Channels: 2
120[mkv] |+ found cluster, headers are parsed completely :)
121==> Found video stream: 1
122[mkv] Aspect: 1.333333
123[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
124==> Found audio stream: 2
125[mkv] Track ID 2: audio (A_AAC), -aid 0, -alang und
126[mkv] Will play video track 1.
127Matroska file format detected.
128VIDEO: [avc1] 480x480 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
129[V] filefmt:31 fourcc:0x31637661 size:480x480 fps:25.000 ftime:=0.0400
130get_path('sub/') -> '/home/mike/.mplayer/sub/'
131X11 opening display: :0.0
132vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
133vo: X11 running at 1920x1200 with depth 24 and 32 bpp (":0.0" => local display)
134[x11] Detected wm supports NetWM.
135[x11] Detected wm supports FULLSCREEN state.
136[x11] Detected wm supports ABOVE state.
137[x11] Detected wm supports BELOW state.
138[x11] Detected wm supports STAYS_ON_TOP state.
139[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
140[vdpau] Error when calling vdp_device_create_x11: 1
141[VO_XV] Using Xv Adapter #0 (NV17 Video Texture)
142[xv common] Drawing no colorkey.
143[xv common] Maximum source image dimensions: 2046x2046
144Opening video filter: [remove-logo=tv3logo.ppm]
145
146Program received signal SIGSEGV, Segmentation fault.
1470x08168ec8 in convert_mask_to_strength_mask (vf=0x8e1e6d8,
148 args=0x8e0d460 "tv3logo.ppm") at libmpcodecs/vf_remove_logo.c:380
149380 if (*current_pixel >= current_pass && /* By using >= instead of ==, we allow the algorithm to work in place. */
150(gdb) bt
151#0 0x08168ec8 in convert_mask_to_strength_mask (vf=0x8e1e6d8,
152 args=0x8e0d460 "tv3logo.ppm") at libmpcodecs/vf_remove_logo.c:380
153#1 vf_open (vf=0x8e1e6d8, args=0x8e0d460 "tv3logo.ppm")
154 at libmpcodecs/vf_remove_logo.c:872
155#2 0x0814a12b in vf_open_plugin (filter_list=0x86e6400, next=0x8e1e2a8,
156 name=0x8e0d440 "remove-logo", args=0x8e0d450) at libmpcodecs/vf.c:470
157#3 0x0814a373 in vf_open_filter (next=0x8e1e2a8,
158 name=0x8e0d440 "remove-logo", args=0x8e0d450) at libmpcodecs/vf.c:498
159#4 0x0814a424 in append_filters (last=0x8e1e2a8) at libmpcodecs/vf.c:724
160#5 0x080c1b33 in reinit_video_chain () at mplayer.c:2286
161#6 0x080c4e7b in main (argc=5, argv=0xbfffee44) at mplayer.c:3599
162(gdb) disass $pc-32 $pc+32
163Dump of assembler code from 0x8168ea8 to 0x8168ee8:
1640x08168ea8 <vf_open+840>: xor %bh,(%ecx)
1650x08168eaa <vf_open+842>: repz jg 0x8168ef0 <vf_open+912>
1660x08168ead <vf_open+845>: movsbl -0x2(%eax),%esi
1670x08168eb1 <vf_open+849>: cmp %esi,%ebx
1680x08168eb3 <vf_open+851>: jg 0x8168ef0 <vf_open+912>
1690x08168eb5 <vf_open+853>: mov -0x30(%ebp),%ecx
1700x08168eb8 <vf_open+856>: mov -0x40(%ebp),%esi
1710x08168ebb <vf_open+859>: movsbl (%ecx,%esi,1),%esi
1720x08168ebf <vf_open+863>: cmp %esi,%ebx
1730x08168ec1 <vf_open+865>: jg 0x8168ef0 <vf_open+912>
1740x08168ec3 <vf_open+867>: mov -0x40(%ebp),%esi
1750x08168ec6 <vf_open+870>: neg %esi
1760x08168ec8 <vf_open+872>: movsbl (%ecx,%esi,1),%esi
1770x08168ecc <vf_open+876>: cmp %esi,%ebx
1780x08168ece <vf_open+878>: jg 0x8168ef0 <vf_open+912>
1790x08168ed0 <vf_open+880>: movzbl -0x2c(%ebp),%ecx
1800x08168ed4 <vf_open+884>: inc %ecx
1810x08168ed5 <vf_open+885>: mov %cl,-0x1(%eax)
1820x08168ed8 <vf_open+888>: movl $0x1,-0x3c(%ebp)
1830x08168edf <vf_open+895>: mov -0x38(%ebp),%ecx
1840x08168ee2 <vf_open+898>: mov (%ecx),%ecx
1850x08168ee4 <vf_open+900>: mov %ecx,-0x40(%ebp)
1860x08168ee7 <vf_open+903>: mov %esi,%esi
187End of assembler dump.
188(gdb) info all-registers
189eax 0xb4eec016 -1259421674
190ecx 0xb4eec015 -1259421675
191edx 0xe 14
192ebx 0x1 1
193esp 0xbfffcb30 0xbfffcb30
194ebp 0xbfffcba8 0xbfffcba8
195esi 0xfffffe20 -480
196edi 0xb4eec016 -1259421674
197eip 0x8168ec8 0x8168ec8 <vf_open+872>
198eflags 0x210283 [ CF SF IF RF ID ]
199cs 0x73 115
200ss 0x7b 123
201ds 0x7b 123
202es 0x7b 123
203fs 0x0 0
204gs 0x33 51
205st0 0 (raw 0x00000000000000000000)
206st1 0 (raw 0x00000000000000000000)
207st2 0 (raw 0x00000000000000000000)
208st3 0 (raw 0x00000000000000000000)
209st4 0 (raw 0x00000000000000000000)
210st5 25 (raw 0x4003c800000000000000)
211st6 3596.360107421875 (raw 0x400ae0c5c30000000000)
212st7 -1 (raw 0xbfff8000000000000000)
213fctrl 0x37f 895
214fstat 0x20 32
215ftag 0xffff 65535
216fiseg 0x73 115
217fioff 0x80c1a1d 135010845
218foseg 0x7b 123
219fooff 0xbfffcca8 -1073754968
220fop 0x55d 1373
221xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
222 v16_int8 = {0x2d, 0x0 <repeats 15 times>}, v8_int16 = {0x2d, 0x0, 0x0, 0x0,
223 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x2d, 0x0, 0x0, 0x0}, v2_int64 = {0x2d,
224 0x0}, uint128 = 0x0000000000000000000000000000002d}
225xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
226 v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
227 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
228 uint128 = 0x00000000000000000000000000000000}
229xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
230 v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
231 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
232 uint128 = 0x00000000000000000000000000000000}
233xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
234 v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
235 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
236 uint128 = 0x00000000000000000000000000000000}
237xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
238 v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
239 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
240 uint128 = 0x00000000000000000000000000000000}
241xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
242 v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
243 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
244 uint128 = 0x00000000000000000000000000000000}
245xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
246 v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
247---Type <return> to continue, or q <return> to quit---
248 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
249 uint128 = 0x00000000000000000000000000000000}
250xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
251 v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
252 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
253 uint128 = 0x00000000000000000000000000000000}
254mxcsr 0x1f80 [ IM DM ZM OM UM PM ]
255mm0 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
256 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
257mm1 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
258 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
259mm2 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
260 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
261mm3 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
262 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
263mm4 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
264 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
265mm5 {uint64 = 0xc800000000000000, v2_int32 = {0x0, 0xc8000000},
266 v4_int16 = {0x0, 0x0, 0x0, 0xc800}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
267 0x0, 0xc8}}
268mm6 {uint64 = 0xe0c5c30000000000, v2_int32 = {0x0, 0xe0c5c300},
269 v4_int16 = {0x0, 0x0, 0xc300, 0xe0c5}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0,
270 0xc3, 0xc5, 0xe0}}
271mm7 {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000},
272 v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
273 0x0, 0x80}}
274(gdb) print current_pixel
275$1 = 0xb4eec016 '\001' <repeats 18 times>
276(gdb) print current_pass
277$2 = 1
278(gdb) print x
279$3 = 14
280(gdb) print y
281$4 = 1
282(gdb) print max-[K[Kx[Ksk->width
283Cannot access memory at address 0x0
284(gdb) rin[K[K[Kprint mask->height
285Cannot access memory at address 0x4
286(gdb) print mask
287$5 = <value optimized out>
288(gdb) print *current_pixel
289$6 = 1 '\001'
290(gdb) up
291#1 vf_open (vf=0x8e1e6d8, args=0x8e0d460 "tv3logo.ppm")
292 at libmpcodecs/vf_remove_logo.c:872
293872 convert_mask_to_strength_mask(vf, vf->priv->filter);
294(gdb) print f[Kvf->priv->filter
295$7 = (pgm_structure *) 0x8e1e0d0
296(gdb) print vf->priv->filter
297
298(gdb)
299(gdb) p
300(gdb) pr
301(gdb) pri
302(gdb) prin
303(gdb) print
304(gdb) print *vf->priv->filter
305
306(gdb) print *
307$8 = {width = 480, height = 480, pixel = 0xb4eec008 ""}
308(gdb) quit
309A debugging session is active.
310
311 Inferior 1 [process 29570] will be killed.
312
313Quit anyway? (y or n) y
314]0;mike@legend:/m1/video/FromTV/top40[01;32mmike@legend[01;34m /m1/video/FromTV/top40 $[00m exit
315exit
316
317Script done on Wed 12 May 2010 23:47:33 NZST