Ticket #8408: gdb.txt

File gdb.txt, 33.8 KB (added by tjackson, 7 years ago)

gdb output of ffmpeg_g and ffplay_g with bt full, disass $pc-32,$pc+32 and info all-registers

Line 
1tod@Arch:~/src/FFmpeg$ gdb
2GNU gdb (GDB) 8.3.1
3Copyright (C) 2019 Free Software Foundation, Inc.
4License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
5This is free software: you are free to change and redistribute it.
6There is NO WARRANTY, to the extent permitted by law.
7Type "show copying" and "show warranty" for details.
8This GDB was configured as "x86_64-pc-linux-gnu".
9Type "show configuration" for configuration details.
10For bug reporting instructions, please see:
11<http://www.gnu.org/software/gdb/bugs/>.
12Find the GDB manual and other documentation resources online at:
13 <http://www.gnu.org/software/gdb/documentation/>.
14
15For help, type "help".
16Type "apropos word" to search for commands related to "word".
17(gdb) set logging on
18Copying output to gdb.txt.
19(gdb) file ./ffmpeg_g
20Reading symbols from ./ffmpeg_g...
21(gdb) run -i ~/Pictures/bz5057-01-600x891.jpg -vf unsharp=6 test.png
22Starting program: /home/tod/src/FFmpeg/ffmpeg_g -i ~/Pictures/bz5057-01-600x891.jpg -vf unsharp=6 test.png
23[Thread debugging using libthread_db enabled]
24Using host libthread_db library "/usr/lib/libthread_db.so.1".
25ffmpeg version git-2019-11-30-e5db2e9 Copyright (c) 2000-2019 the FFmpeg developers
26 built with gcc 9.2.0 (GCC)
27 configuration: --enable-debug --enable-ffplay
28 libavutil 56. 36.101 / 56. 36.101
29 libavcodec 58. 64.101 / 58. 64.101
30 libavformat 58. 35.100 / 58. 35.100
31 libavdevice 58. 9.101 / 58. 9.101
32 libavfilter 7. 67.100 / 7. 67.100
33 libswscale 5. 6.100 / 5. 6.100
34 libswresample 3. 6.100 / 3. 6.100
35Input #0, image2, from '/home/tod/Pictures/bz5057-01-600x891.jpg':
36 Duration: 00:00:00.04, start: 0.000000, bitrate: 73946 kb/s
37 Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 600x891 [SAR 1:1 DAR 200:297], 25 tbr, 25 tbn, 25 tbc
38Stream mapping:
39 Stream #0:0 -> #0:0 (mjpeg (native) -> png (native))
40Press [q] to stop, [?] for help
41[New Thread 0x7ffff74da700 (LWP 34112)]
42[New Thread 0x7ffff6cd9700 (LWP 34113)]
43[New Thread 0x7ffff64d8700 (LWP 34114)]
44[New Thread 0x7ffff5cd7700 (LWP 34115)]
45[Parsed_unsharp_0 @ 0x5555572d6b00] Invalid even size for luma matrix size 6x5
46[Parsed_unsharp_0 @ 0x5555572d6b00] Failed to configure input pad on Parsed_unsharp_0
47
48Thread 1 "ffmpeg_g" received signal SIGSEGV, Segmentation fault.
49av_freep (arg=0x0) at libavutil/mem.c:231
50231 memcpy(&val, arg, sizeof(val));
51(gdb) bt full
52#0 av_freep (arg=0x0) at libavutil/mem.c:231
53 val = <optimized out>
54#1 0x0000555555657a68 in free_filter_param (fp=0x5555572d6c60, nb_threads=5)
55 at libavfilter/vf_unsharp.c:262
56 z = <optimized out>
57#2 0x0000555555657a94 in uninit (ctx=<optimized out>) at libavfilter/vf_unsharp.c:271
58 s = 0x5555572d6c40
59#3 0x0000555555719a05 in avfilter_free (filter=0x5555572d6b00) at libavfilter/avfilter.c:771
60 i = <optimized out>
61#4 0x000055555571bb5c in avfilter_graph_free (graph=0x5555572c44d0)
62 at libavfilter/avfiltergraph.c:126
63No locals.
64#5 0x00005555556e1320 in cleanup_filtergraph (fg=0x5555572c44c0) at fftools/ffmpeg_filter.c:1002
65 i = <optimized out>
66#6 configure_filtergraph (fg=0x5555572c44c0) at fftools/ffmpeg_filter.c:1181
67 inputs = 0x0
68 outputs = 0x0
69 cur = <optimized out>
70 ret = -22
71 i = <optimized out>
72 simple = <optimized out>
73 graph_desc = <optimized out>
74#7 0x00005555556f27f8 in ifilter_send_frame (frame=0x5555572ca2c0, ifilter=0x5555572bfdc0)
75 at fftools/ffmpeg.c:2180
76--Type <RET> for more, q to quit, c to continue without paging--
77 fg = 0x5555572c44c0
78 need_reinit = <optimized out>
79 ret = 0
80 i = <optimized out>
81 fg = <optimized out>
82 need_reinit = <optimized out>
83 ret = <optimized out>
84 i = <optimized out>
85 tmp = <optimized out>
86#8 send_frame_to_filters (ist=0x5555572bec80, decoded_frame=0x5555572ca2c0)
87 at fftools/ffmpeg.c:2261
88 i = 0
89 ret = <optimized out>
90 f = 0x5555572ca2c0
91#9 0x00005555556f2fb1 in decode_video (decode_failed=<optimized out>, eof=<optimized out>,
92 duration_pts=<optimized out>, got_output=<optimized out>, pkt=<optimized out>,
93 ist=<optimized out>) at fftools/ffmpeg.c:2460
94 i = <optimized out>
95 ret = <optimized out>
96 err = <optimized out>
97 dts = <optimized out>
98 decoded_frame = <optimized out>
99 best_effort_timestamp = <optimized out>
100 avpkt = {buf = 0x5555572be2c0, pts = 0, dts = 0,
101--Type <RET> for more, q to quit, c to continue without paging--
102 data = 0x7ffff7568010 "\377\330\377", <incomplete sequence \340>, size = 369730,
103 stream_index = 0, flags = 1, side_data = 0x0, side_data_elems = 0, duration = 1,
104 pos = -1, convergence_duration = 0}
105 decoded_frame = <optimized out>
106 i = <optimized out>
107 ret = <optimized out>
108 err = <optimized out>
109 best_effort_timestamp = <optimized out>
110 dts = <optimized out>
111 avpkt = <optimized out>
112 new = <optimized out>
113 ts = <optimized out>
114#10 process_input_packet (ist=<optimized out>, pkt=0x7fffffffdf30, no_eof=0)
115 at fftools/ffmpeg.c:2614
116 duration_dts = 0
117 duration_pts = 1
118 got_output = 1
119 decode_failed = <optimized out>
120 ret = <optimized out>
121 i = <optimized out>
122 repeating = 0
123 eof_reached = 0
124 avpkt = {buf = 0x5555572be2c0, pts = 0, dts = 0,
125 data = 0x7ffff7568010 "\377\330\377", <incomplete sequence \340>, size = 369730,
126--Type <RET> for more, q to quit, c to continue without paging--
127 stream_index = 0, flags = 1, side_data = 0x0, side_data_elems = 0, duration = 1,
128 pos = -1, convergence_duration = 0}
129#11 0x00005555556f6118 in process_input (file_index=<optimized out>) at fftools/ffmpeg.c:4509
130 pkt = {buf = 0x5555572be2c0, pts = 0, dts = 0,
131 data = 0x7ffff7568010 "\377\330\377", <incomplete sequence \340>, size = 369730,
132 stream_index = 0, flags = 1, side_data = 0x0, side_data_elems = 0, duration = 1,
133 pos = -1, convergence_duration = 0}
134 j = <optimized out>
135 is = <optimized out>
136 ist = <optimized out>
137 ret = <optimized out>
138 ifile = <optimized out>
139 thread_ret = <optimized out>
140 i = <optimized out>
141 duration = <optimized out>
142 pkt_dts = <optimized out>
143 ifile = <optimized out>
144 is = <optimized out>
145 ist = <optimized out>
146 pkt = <optimized out>
147 ret = <optimized out>
148 thread_ret = <optimized out>
149 i = <optimized out>
150 j = <optimized out>
151--Type <RET> for more, q to quit, c to continue without paging--
152 duration = <optimized out>
153 pkt_dts = <optimized out>
154 avctx = <optimized out>
155 ost = <optimized out>
156 stime = <optimized out>
157 stime2 = <optimized out>
158 new_start_time = <optimized out>
159 st = <optimized out>
160 src_sd = <optimized out>
161 dst_data = <optimized out>
162 delta = <optimized out>
163 delta = <optimized out>
164 pkt_pts = <optimized out>
165#12 transcode_step () at fftools/ffmpeg.c:4629
166 ost = <optimized out>
167 ist = <optimized out>
168 ret = <optimized out>
169 ost = <optimized out>
170 ist = <optimized out>
171 ret = <optimized out>
172 error = <optimized out>
173 i = <optimized out>
174 ifilter = <optimized out>
175#13 transcode () at fftools/ffmpeg.c:4683
176--Type <RET> for more, q to quit, c to continue without paging--
177 cur_time = 2403381410
178 ret = <optimized out>
179 i = <optimized out>
180 os = <optimized out>
181 ost = <optimized out>
182 ist = <optimized out>
183 timer_start = 2403381410
184 total_packets_written = 0
185#14 0x00005555556d524e in main (argc=6, argv=0x7fffffffe6b8) at fftools/ffmpeg.c:4885
186 i = <optimized out>
187 ret = <optimized out>
188 ti = {real_usec = 2403381301, user_usec = 11389, sys_usec = 0}
189(gdb) disass $pc-32,$pc+32
190Dump of assembler code from 0x5555563d0800 to 0x5555563d0840:
191 0x00005555563d0800 <av_reallocp_array+48>: test %rbp,%rbp
192 0x00005555563d0803 <av_reallocp_array+51>: je 0x5555563d0810 <av_reallocp_array+64>
193 0x00005555563d0805 <av_reallocp_array+53>: mov $0xfffffff4,%r8d
194 0x00005555563d080b <av_reallocp_array+59>: test %r12,%r12
195 0x00005555563d080e <av_reallocp_array+62>: jne 0x5555563d07f0 <av_reallocp_array+32>
196 0x00005555563d0810 <av_reallocp_array+64>: xor %r8d,%r8d
197 0x00005555563d0813 <av_reallocp_array+67>: pop %rbx
198 0x00005555563d0814 <av_reallocp_array+68>: pop %rbp
199 0x00005555563d0815 <av_reallocp_array+69>: mov %r8d,%eax
200 0x00005555563d0818 <av_reallocp_array+72>: pop %r12
201 0x00005555563d081a <av_reallocp_array+74>: retq
202 0x00005555563d081b: nopl 0x0(%rax,%rax,1)
203=> 0x00005555563d0820 <av_freep+0>: mov (%rdi),%r8
204 0x00005555563d0823 <av_freep+3>: movq $0x0,(%rdi)
205 0x00005555563d082a <av_freep+10>: mov %r8,%rdi
206 0x00005555563d082d <av_freep+13>: jmpq 0x5555563d0740 <av_free>
207 0x00005555563d0832: data16 nopw %cs:0x0(%rax,%rax,1)
208 0x00005555563d083d: nopl (%rax)
209End of assembler dump.
210(gdb) info all-registers
211rax 0x0 0
212rbx 0x5555572d6c60 93825023175776
213rcx 0x5555572d6f48 93825023176520
214rdx 0x5555572d6f48 93825023176520
215rsi 0x5 5
216rdi 0x0 0
217rbp 0x1 0x1
218rsp 0x7fffffffd378 0x7fffffffd378
219r8 0x5555572bd1f0 93825023070704
220r9 0x20 32
221r10 0x7fffffffc8f4 140737488341236
222r11 0x0 0
223r12 0x5 5
224r13 0x5555572c44c0 93825023100096
225r14 0x0 0
226r15 0xffffffea 4294967274
227rip 0x5555563d0820 0x5555563d0820 <av_freep>
228eflags 0x10202 [ IF RF ]
229cs 0x33 51
230ss 0x2b 43
231ds 0x0 0
232es 0x0 0
233fs 0x0 0
234gs 0x0 0
235--Type <RET> for more, q to quit, c to continue without paging--
236st0 0 (raw 0x00000000000000000000)
237st1 0 (raw 0x00000000000000000000)
238st2 0 (raw 0x00000000000000000000)
239st3 0 (raw 0x00000000000000000000)
240st4 0 (raw 0x00000000000000000000)
241st5 0 (raw 0x00000000000000000000)
242st6 0 (raw 0x00000000000000000000)
243st7 0 (raw 0x00000000000000000000)
244fctrl 0x37f 895
245fstat 0x0 0
246ftag 0xffff 65535
247fiseg 0x0 0
248fioff 0x0 0
249foseg 0x0 0
250fooff 0x0 0
251fop 0x0 0
252mxcsr 0x1fa8 [ OE PE IM DM ZM OM UM PM ]
253bndcfgu {raw = 0x0, config = {base = 0x0, reserved = 0x0, preserved = 0x0, enabled = 0x0}} {raw = 0x0, config = {base = 0, reserved = 0, preserved = 0, enabled = 0}}
254bndstatus {raw = 0x0, status = {bde = 0x0, error = 0x0}} {raw = 0x0, status = {bde = 0, error = 0}}
255ymm0 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x25 <repeats 16 times>, 0x0 <repeats 16 times>}, v16_int16 = {0x2525, 0x2525, 0x2525, 0x2525, 0x2525, 0x2525, 0x2525, 0x2525, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x252--Type <RET> for more, q to quit, c to continue without paging--
25652525, 0x25252525, 0x25252525, 0x25252525, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x2525252525252525, 0x2525252525252525, 0x0, 0x0}, v2_int128 = {0x25252525252525252525252525252525, 0x0}}
257ymm1 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x0, 0x0, 0x0}, v32_int8 = {0x0, 0x0, 0x0, 0x0, 0xff, 0x0, 0x0, 0xff, 0x0, 0x0, 0x0, 0xff, 0x0, 0x0, 0xff, 0x0 <repeats 17 times>}, v16_int16 = {0x0, 0x0, 0xff, 0xff00, 0x0, 0xff00, 0x0, 0xff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x0, 0xff0000ff, 0xff000000, 0xff0000, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xff0000ff00000000, 0xff0000ff000000, 0x0, 0x0}, v2_int128 = {0xff0000ff000000ff0000ff00000000, 0x0}}
258ymm2 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0, 0x0, 0x0, 0x0, 0xff, 0x0 <repeats 27 times>}, v16_int16 = {0x0, 0x0, 0xff, 0x0 <repeats 13 times>}, v8_int32 = {0x0, 0xff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xff00000000, 0x0, 0x0, 0x0}, v2_int128 = {0xff00000000, 0x0}}
259ymm3 {v8_float = {0xffffffff, 0xffffffff, 0xffffffff, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x7fffffffffffffff, 0x0, 0x0, 0x0}, v32_int8 = {0x72, 0x73, 0x65, 0x64, 0x5f, 0x75, 0x6e, 0x73, 0x68, 0x61, 0x72, 0x70, 0x5f, 0x30, 0xa, 0x0 <repeats 17 times>}, v16_int16 = {0x7372, 0x6465, 0x755f, 0x736e, 0x6168, 0x7072, 0x305f, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x64657372, 0x736e755f, 0x70726168, 0xa305f, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x736e755f64657372, 0xa305f70726168, 0x0, 0x0}, v2_int128 = {0xa305f70726168736e755f64657372, 0x0}}
260ymm4 {v8_float = {0x0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x1, 0x0, 0x0, 0x0}, v32_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f, 0x0 <repeats 24 times>}, v16_int16 = {0x0, 0x0, 0x0, 0x3ff0, 0x0 <repeats 12 times>}, v8_int32 = {0x0, 0x3ff00000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x3ff0000000000000, 0x0, 0x0, 0x0}, v2_int128 = {0x3ff0000000000000, 0x0}}
261ymm5 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, --Type <RET> for more, q to quit, c to continue without paging--
2620x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
263ymm6 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x10, 0x0, 0x0, 0x0, 0x11, 0x0, 0x0, 0x0, 0x12, 0x0, 0x0, 0x0, 0x13, 0x0 <repeats 19 times>}, v16_int16 = {0x10, 0x0, 0x11, 0x0, 0x12, 0x0, 0x13, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x10, 0x11, 0x12, 0x13, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x1100000010, 0x1300000012, 0x0, 0x0}, v2_int128 = {0x13000000120000001100000010, 0x0}}
264ymm7 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
265ymm8 {v8_float = {0xffffffff, 0x0, 0x0, 0xffffffff, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x7fffffffffffffff, 0x0, 0x0}, v32_int8 = {0x6f, 0x6c, 0x6f, 0x72, 0x0, 0x1b, 0x5b, 0x25, 0x75, 0x3b, 0x33, 0x25, 0x75, 0x6d, 0x25, 0x73, 0x0 <repeats 16 times>}, v16_int16 = {0x6c6f, 0x726f, 0x1b00, 0x255b, 0x3b75, 0x2533, 0x6d75, 0x7325, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x726f6c6f, 0x255b1b00, 0x25333b75, 0x73256d75, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x255b1b00726f6c6f, 0x73256d7525333b75, 0x0, 0x0}, v2_int128 = {0x73256d7525333b75255b1b00726f6c6f, 0x0}}
266ymm9 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
267ymm10 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x80 <repeats 16 times>, 0x0 <repeats 16 times>}, v16_int16 = {0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x80808080, 0x80808080, 0x80808080, 0x80808080, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x8080808080808080, 0x8080808080808080, 0x0, 0x0}, v2_int128 = {0x80808080808080808080808080808080, 0x0}}
268ymm11 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0--Type <RET> for more, q to quit, c to continue without paging--
269}, v32_int8 = {0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0 <repeats 17 times>}, v16_int16 = {0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x800080, 0x800080, 0x800080, 0x800080, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x80008000800080, 0x80008000800080, 0x0, 0x0}, v2_int128 = {0x800080008000800080008000800080, 0x0}}
270ymm12 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x80 <repeats 16 times>, 0x0 <repeats 16 times>}, v16_int16 = {0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x80808080, 0x80808080, 0x80808080, 0x80808080, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x8080808080808080, 0x8080808080808080, 0x0, 0x0}, v2_int128 = {0x80808080808080808080808080808080, 0x0}}
271ymm13 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x80 <repeats 16 times>, 0x0 <repeats 16 times>}, v16_int16 = {0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x80808080, 0x80808080, 0x80808080, 0x80808080, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x8080808080808080, 0x8080808080808080, 0x0, 0x0}, v2_int128 = {0x80808080808080808080808080808080, 0x0}}
272ymm14 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
273ymm15 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0, 0x4, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x0, 0x4, 0x0 <repeats 18 times>}, v16_int16 = {0x400, 0x0, 0x400, 0x0, 0x400, 0x0, 0x400, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x400, 0x400, 0x400, 0x400, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x40000000400, 0x40000000400, 0x0, 0x0}, v2_int128 = {0x400000004000000040000000400, 0x0}}
274bnd0 {lbound = 0x0, ubound = 0xffffffffffffffff} {lbound = 0x0, ubound = 0xfffffffffffffff--Type <RET> for more, q to quit, c to continue without paging--
275f}
276bnd1 {lbound = 0x0, ubound = 0xffffffffffffffff} {lbound = 0x0, ubound = 0xffffffffffffffff}
277bnd2 {lbound = 0x0, ubound = 0xffffffffffffffff} {lbound = 0x0, ubound = 0xffffffffffffffff}
278bnd3 {lbound = 0x0, ubound = 0xffffffffffffffff} {lbound = 0x0, ubound = 0xffffffffffffffff}
279(gdb) file ./ffplay_g
280A program is being debugged already.
281Are you sure you want to change the file? (y or n) y
282Load new symbol table from "./ffplay_g"? (y or n) y
283Reading symbols from ./ffplay_g...
284(gdb) run -vf unsharp=6 ~/Pictures/bz5057-01-600x891.jpg
285The program being debugged has been started already.
286Start it from the beginning? (y or n) y
287Starting program: /home/tod/src/FFmpeg/ffplay_g -vf unsharp=6 ~/Pictures/bz5057-01-600x891.jpg
288[Thread debugging using libthread_db enabled]
289Using host libthread_db library "/usr/lib/libthread_db.so.1".
290ffplay version git-2019-11-30-e5db2e9 Copyright (c) 2003-2019 the FFmpeg developers
291 built with gcc 9.2.0 (GCC)
292 configuration: --enable-debug --enable-ffplay
293 libavutil 56. 36.101 / 56. 36.101
294 libavcodec 58. 64.101 / 58. 64.101
295 libavformat 58. 35.100 / 58. 35.100
296 libavdevice 58. 9.101 / 58. 9.101
297 libavfilter 7. 67.100 / 7. 67.100
298 libswscale 5. 6.100 / 5. 6.100
299 libswresample 3. 6.100 / 3. 6.100
300[New Thread 0x7ffff75c2700 (LWP 34122)]
301/usr/lib/../share/gcc-9.2.0/python/libstdcxx/v6/xmethods.py:731: SyntaxWarning: list indices must be integers or slices, not str; perhaps you missed a comma?
302 refcounts = ['_M_refcount']['_M_pi']
303[New Thread 0x7ffff4cf4700 (LWP 34123)]
304[New Thread 0x7ffff40d1700 (LWP 34125)]
305[New Thread 0x7fffdfd56700 (LWP 34126)]
306Input #0, image2, from '/home/tod/Pictures/bz5057-01-600x891.jpg':
307 Duration: 00:00:00.04, start: 0.000000, bitrate: 73946 kb/s
308 Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 600x891 [SAR 1:1 DAR 200:297], 25 tbr, 25 tbn, 25 tbc
309[New Thread 0x7fffdf555700 (LWP 34127)]
310[New Thread 0x7fffded54700 (LWP 34128)]
311[New Thread 0x7fffde553700 (LWP 34129)]
312[New Thread 0x7fffddd52700 (LWP 34130)]
313[New Thread 0x7fffdd551700 (LWP 34131)]
314[Parsed_unsharp_0 @ 0x7fffd413b2c0] Invalid even size for luma matrix size 6x5
315[Parsed_unsharp_0 @ 0x7fffd413b2c0] Failed to configure input pad on Parsed_unsharp_0
316
317Thread 6 "video_decoder" received signal SIGSEGV, Segmentation fault.
318[Switching to Thread 0x7fffdf555700 (LWP 34127)]
319av_freep (arg=0x0) at libavutil/mem.c:231
320231 memcpy(&val, arg, sizeof(val));
321(gdb) bt full
322#0 av_freep (arg=0x0) at libavutil/mem.c:231
323 val = <optimized out>
324#1 0x0000555555656c5e in free_filter_param (fp=0x7fffd413b3e0, nb_threads=5)
325 at libavfilter/vf_unsharp.c:262
326 z = <optimized out>
327#2 0x0000555555656c8a in uninit (ctx=<optimized out>) at libavfilter/vf_unsharp.c:271
328 s = 0x7fffd413b3c0
329#3 0x0000555555706225 in avfilter_free (filter=0x7fffd413b2c0) at libavfilter/avfilter.c:771
330 i = <optimized out>
331#4 0x000055555570837c in avfilter_graph_free (graph=0x7fffdf554e28)
332 at libavfilter/avfiltergraph.c:126
333No locals.
334#5 0x00005555556e2154 in video_thread (arg=arg@entry=0x555558a772c0) at fftools/ffplay.c:2221
335 is = 0x555558a772c0
336 frame = 0x7fffd4000900
337 pts = <optimized out>
338 duration = <optimized out>
339 ret = <optimized out>
340 tb = <optimized out>
341 frame_rate = {num = 25, den = 1}
342 graph = 0x7fffd4134a40
343 filt_out = <optimized out>
344 filt_in = 0x0
345 last_w = 0
346--Type <RET> for more, q to quit, c to continue without paging--
347 last_h = 0
348 last_format = -2
349 last_serial = -1
350 last_vfilter_idx = 0
351#6 0x00007ffff7c3f86f in SDL_RunThread (data=0x7fffd0001aa0)
352 at /usr/src/debug/SDL2-2.0.10/src/thread/SDL_thread.c:283
353 args = 0x7fffd0001aa0
354 userfunc = 0x5555556e1a90 <video_thread>
355 userdata = 0x555558a772c0
356 thread = 0x7fffd0007160
357 statusloc = 0x7fffd0007170
358#7 0x00007ffff7cc817a in RunThread (data=<optimized out>)
359 at /usr/src/debug/SDL2-2.0.10/src/thread/pthread/SDL_systhread.c:79
360No locals.
361#8 0x00007ffff79cc4cf in start_thread () from /usr/lib/libpthread.so.0
362No symbol table info available.
363#9 0x00007ffff78fb2d3 in clone () from /usr/lib/libc.so.6
364No symbol table info available.
365(gdb) disass $pc-32,$pc+32
366Dump of assembler code from 0x5555563bc6e0 to 0x5555563bc720:
367 0x00005555563bc6e0 <av_reallocp_array+48>: test %rbp,%rbp
368 0x00005555563bc6e3 <av_reallocp_array+51>: je 0x5555563bc6f0 <av_reallocp_array+64>
369 0x00005555563bc6e5 <av_reallocp_array+53>: mov $0xfffffff4,%r8d
370 0x00005555563bc6eb <av_reallocp_array+59>: test %r12,%r12
371 0x00005555563bc6ee <av_reallocp_array+62>: jne 0x5555563bc6d0 <av_reallocp_array+32>
372 0x00005555563bc6f0 <av_reallocp_array+64>: xor %r8d,%r8d
373 0x00005555563bc6f3 <av_reallocp_array+67>: pop %rbx
374 0x00005555563bc6f4 <av_reallocp_array+68>: pop %rbp
375 0x00005555563bc6f5 <av_reallocp_array+69>: mov %r8d,%eax
376 0x00005555563bc6f8 <av_reallocp_array+72>: pop %r12
377 0x00005555563bc6fa <av_reallocp_array+74>: retq
378 0x00005555563bc6fb: nopl 0x0(%rax,%rax,1)
379=> 0x00005555563bc700 <av_freep+0>: mov (%rdi),%r8
380 0x00005555563bc703 <av_freep+3>: movq $0x0,(%rdi)
381 0x00005555563bc70a <av_freep+10>: mov %r8,%rdi
382 0x00005555563bc70d <av_freep+13>: jmpq 0x5555563bc620 <av_free>
383 0x00005555563bc712: data16 nopw %cs:0x0(%rax,%rax,1)
384 0x00005555563bc71d: nopl (%rax)
385End of assembler dump.
386(gdb) info all-registers
387rax 0x0 0
388rbx 0x7fffd413b3e0 140736751449056
389rcx 0x7fffd413b748 140736751449928
390rdx 0x7fffd413b748 140736751449928
391rsi 0x5 5
392rdi 0x0 0
393rbp 0x1 0x1
394rsp 0x7fffdf554d68 0x7fffdf554d68
395r8 0x7fffd4134a28 140736751421992
396r9 0x18 24
397r10 0x0 0
398r11 0x206 518
399r12 0x5 5
400r13 0x37b 891
401r14 0x258 600
402r15 0x555558a772c0 93825047950016
403rip 0x5555563bc700 0x5555563bc700 <av_freep>
404eflags 0x10202 [ IF RF ]
405cs 0x33 51
406ss 0x2b 43
407ds 0x0 0
408es 0x0 0
409fs 0x0 0
410gs 0x0 0
411--Type <RET> for more, q to quit, c to continue without paging--
412st0 0 (raw 0x00000000000000000000)
413st1 0 (raw 0x00000000000000000000)
414st2 0 (raw 0x00000000000000000000)
415st3 0 (raw 0x00000000000000000000)
416st4 0 (raw 0x00000000000000000000)
417st5 0 (raw 0x00000000000000000000)
418st6 0 (raw 0x00000000000000000000)
419st7 0 (raw 0x00000000000000000000)
420fctrl 0x37f 895
421fstat 0x0 0
422ftag 0xffff 65535
423fiseg 0x0 0
424fioff 0x0 0
425foseg 0x0 0
426fooff 0x0 0
427fop 0x0 0
428mxcsr 0x1fa8 [ OE PE IM DM ZM OM UM PM ]
429bndcfgu {raw = 0x0, config = {base = 0x0, reserved = 0x0, preserved = 0x0, enabled = 0x0}} {raw = 0x0, config = {base = 0, reserved = 0, preserved = 0, enabled = 0}}
430bndstatus {raw = 0x0, status = {bde = 0x0, error = 0x0}} {raw = 0x0, status = {bde = 0, error = 0}}
431ymm0 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x25 <repeats 16 times>, 0x0 <repeats 16 times>}, v16_int16 = {0x2525, 0x2525, 0x2525, 0x2525, 0x2525, 0x2525, 0x2525, 0x2525, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x252--Type <RET> for more, q to quit, c to continue without paging--
43252525, 0x25252525, 0x25252525, 0x25252525, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x2525252525252525, 0x2525252525252525, 0x0, 0x0}, v2_int128 = {0x25252525252525252525252525252525, 0x0}}
433ymm1 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0, 0x0, 0x0, 0x0, 0xff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0x0 <repeats 19 times>}, v16_int16 = {0x0, 0x0, 0xff, 0x0, 0x0, 0x0, 0xff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x0, 0xff, 0x0, 0xff, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xff00000000, 0xff00000000, 0x0, 0x0}, v2_int128 = {0xff00000000000000ff00000000, 0x0}}
434ymm2 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0, 0x0, 0x0, 0x0, 0xff, 0x0 <repeats 27 times>}, v16_int16 = {0x0, 0x0, 0xff, 0x0 <repeats 13 times>}, v8_int32 = {0x0, 0xff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xff00000000, 0x0, 0x0, 0x0}, v2_int128 = {0xff00000000, 0x0}}
435ymm3 {v8_float = {0xffffffff, 0xffffffff, 0xffffffff, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x7fffffffffffffff, 0x0, 0x0, 0x0}, v32_int8 = {0x72, 0x73, 0x65, 0x64, 0x5f, 0x75, 0x6e, 0x73, 0x68, 0x61, 0x72, 0x70, 0x5f, 0x30, 0xa, 0x0 <repeats 17 times>}, v16_int16 = {0x7372, 0x6465, 0x755f, 0x736e, 0x6168, 0x7072, 0x305f, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x64657372, 0x736e755f, 0x70726168, 0xa305f, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x736e755f64657372, 0xa305f70726168, 0x0, 0x0}, v2_int128 = {0xa305f70726168736e755f64657372, 0x0}}
436ymm4 {v8_float = {0x0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x1, 0x0, 0x0, 0x0}, v32_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f, 0x0 <repeats 24 times>}, v16_int16 = {0x0, 0x0, 0x0, 0x3ff0, 0x0 <repeats 12 times>}, v8_int32 = {0x0, 0x3ff00000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x3ff0000000000000, 0x0, 0x0, 0x0}, v2_int128 = {0x3ff0000000000000, 0x0}}
437ymm5 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x2, 0x80, 0x0, 0x0, 0x5d, 0x1, 0x0 <repeats 26 times>}, v16_int16 = {0x8002, 0x0, 0x15d, 0x0 <repeats 13 times>}, v8_int32 = {0x8002, 0x15d, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {--Type <RET> for more, q to quit, c to continue without paging--
4380x15d00008002, 0x0, 0x0, 0x0}, v2_int128 = {0x15d00008002, 0x0}}
439ymm6 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0xc0, 0x72, 0xa7, 0x58, 0x55, 0x55, 0x0 <repeats 26 times>}, v16_int16 = {0x72c0, 0x58a7, 0x5555, 0x0 <repeats 13 times>}, v8_int32 = {0x58a772c0, 0x5555, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x555558a772c0, 0x0, 0x0, 0x0}, v2_int128 = {0x555558a772c0, 0x0}}
440ymm7 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
441ymm8 {v8_float = {0xffffffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x1b, 0x5b, 0x30, 0x6d, 0x0, 0x1b, 0x5b, 0x34, 0x38, 0x3b, 0x35, 0x3b, 0x25, 0x75, 0x6d, 0x1b, 0x0 <repeats 16 times>}, v16_int16 = {0x5b1b, 0x6d30, 0x1b00, 0x345b, 0x3b38, 0x3b35, 0x7525, 0x1b6d, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x6d305b1b, 0x345b1b00, 0x3b353b38, 0x1b6d7525, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x345b1b006d305b1b, 0x1b6d75253b353b38, 0x0, 0x0}, v2_int128 = {0x1b6d75253b353b38345b1b006d305b1b, 0x0}}
442ymm9 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
443ymm10 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x80 <repeats 16 times>, 0x0 <repeats 16 times>}, v16_int16 = {0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x80808080, 0x80808080, 0x80808080, 0x80808080, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x8080808080808080, 0x8080808080808080, 0x0, 0x0}, v2_int128 = {0x80808080808080808080808080808080, 0x0}}
444ymm11 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x--Type <RET> for more, q to quit, c to continue without paging--
4450 <repeats 17 times>}, v16_int16 = {0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x800080, 0x800080, 0x800080, 0x800080, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x80008000800080, 0x80008000800080, 0x0, 0x0}, v2_int128 = {0x800080008000800080008000800080, 0x0}}
446ymm12 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x80 <repeats 16 times>, 0x0 <repeats 16 times>}, v16_int16 = {0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x80808080, 0x80808080, 0x80808080, 0x80808080, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x8080808080808080, 0x8080808080808080, 0x0, 0x0}, v2_int128 = {0x80808080808080808080808080808080, 0x0}}
447ymm13 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x80 <repeats 16 times>, 0x0 <repeats 16 times>}, v16_int16 = {0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x80808080, 0x80808080, 0x80808080, 0x80808080, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x8080808080808080, 0x8080808080808080, 0x0, 0x0}, v2_int128 = {0x80808080808080808080808080808080, 0x0}}
448ymm14 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
449ymm15 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0, 0x4, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x0, 0x4, 0x0 <repeats 18 times>}, v16_int16 = {0x400, 0x0, 0x400, 0x0, 0x400, 0x0, 0x400, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x400, 0x400, 0x400, 0x400, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x40000000400, 0x40000000400, 0x0, 0x0}, v2_int128 = {0x400000004000000040000000400, 0x0}}
450bnd0 {lbound = 0x0, ubound = 0xffffffffffffffff} {lbound = 0x0, ubound = 0xffffffffffffffff}
451--Type <RET> for more, q to quit, c to continue without paging--
452bnd1 {lbound = 0x0, ubound = 0xffffffffffffffff} {lbound = 0x0, ubound = 0xffffffffffffffff}
453bnd2 {lbound = 0x0, ubound = 0xffffffffffffffff} {lbound = 0x0, ubound = 0xffffffffffffffff}
454bnd3 {lbound = 0x0, ubound = 0xffffffffffffffff} {lbound = 0x0, ubound = 0xffffffffffffffff}
455(gdb) quit
456A debugging session is active.
457
458 Inferior 1 [process 34121] will be killed.
459
460Quit anyway? (y or n) y