Ticket #9049: gdb-full.out.txt

File gdb-full.out.txt, 14.3 KB (added by danadam, 6 years ago)
Line 
1]$ gdb ./ffmpeg_g
2GNU gdb (Debian 10.1-1.5) 10.1
3Copyright (C) 2020 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-linux-gnu".
9Type "show configuration" for configuration details.
10For bug reporting instructions, please see:
11<https://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"...
17SIGINT is used by the debugger.
18Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
19Reading symbols from ./ffmpeg_g...
20(gdb) r -i loud2.wav -af astats -f null /dev/null
21Starting program: /tmp/ffmpeg_sources/ffmpeg/ffmpeg_g -i loud2.wav -af astats -f null /dev/null
22[Thread debugging using libthread_db enabled]
23Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
24ffmpeg version N-100545-g15baa0c Copyright (c) 2000-2021 the FFmpeg developers
25 built with gcc 10 (Debian 10.2.1-1)
26 configuration: --prefix=/tmp/ffmpeg_build --extra-cflags=-I/tmp/ffmpeg_build/include --extra-ldflags=-L/tmp/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/danadam/bin --enable-gpl --enable-gnutls --enable-libass --enable-libfreetype --enable-libvorbis --enable-nonfree
27 libavutil 56. 63.100 / 56. 63.100
28 libavcodec 58.115.102 / 58.115.102
29 libavformat 58. 65.100 / 58. 65.100
30 libavdevice 58. 11.103 / 58. 11.103
31 libavfilter 7. 95.100 / 7. 95.100
32 libswscale 5. 8.100 / 5. 8.100
33 libswresample 3. 8.100 / 3. 8.100
34 libpostproc 55. 8.100 / 55. 8.100
35Input #0, wav, from 'loud2.wav':
36 Metadata:
37 encoder : Lavf58.65.100
38 Duration: 00:00:03.00, bitrate: 1411 kb/s
39 Stream #0:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, mono, flt, 1411 kb/s
40Stream mapping:
41 Stream #0:0 -> #0:0 (pcm_f32le (native) -> pcm_s16le (native))
42Press [q] to stop, [?] for help
43[New Thread 0x7ffff6a81700 (LWP 418703)]
44[New Thread 0x7ffff6280700 (LWP 418704)]
45[New Thread 0x7ffff5a7f700 (LWP 418705)]
46[New Thread 0x7ffff527e700 (LWP 418706)]
47
48Thread 1 "ffmpeg_g" received signal SIGSEGV, Segmentation fault.
490x00005555558d7cb2 in update_stat (s=<optimized out>, s=<optimized out>, i=<optimized out>, nd=262746.59375, d=262746.59375, p=0x55555730eb00) at libavfilter/af_astats.c:334
50334 p->histogram[index]++;
51(gdb) print index
52$1 = -2147483648
53(gdb) bt
54#0 0x00005555558d7cb2 in update_stat (s=<optimized out>, s=<optimized out>, i=<optimized out>, nd=262746.59375, d=262746.59375, p=0x55555730eb00) at libavfilter/af_astats.c:334
55#1 filter_channel (ctx=<optimized out>, arg=<optimized out>, jobnr=<optimized out>, nb_jobs=<optimized out>) at libavfilter/af_astats.c:609
56#2 0x000055555573e709 in worker_func (priv=0x5555572ab3c0, jobnr=0, threadnr=<optimized out>, nb_jobs=<optimized out>, nb_threads=<optimized out>) at libavfilter/pthread.c:50
57#3 0x000055555643afce in run_jobs (ctx=0x5555572ab580) at libavutil/slicethread.c:61
58#4 avpriv_slicethread_execute (ctx=0x5555572ab580, nb_jobs=<optimized out>, execute_main=<optimized out>) at libavutil/slicethread.c:188
59#5 0x000055555573e755 in thread_execute (ctx=<optimized out>, func=<optimized out>, arg=<optimized out>, ret=<optimized out>, nb_jobs=<optimized out>) at libavfilter/pthread.c:72
60#6 0x00005555558d538e in filter_frame (inlink=inlink@entry=0x5555572f8240, buf=0x5555572f9140) at libavfilter/af_astats.c:648
61#7 0x000055555572d000 in ff_filter_frame_framed (frame=<optimized out>, link=0x5555572f8240) at libavfilter/avfilter.c:1082
62#8 ff_filter_frame_to_filter (link=0x5555572f8240) at libavfilter/avfilter.c:1230
63#9 ff_filter_activate_default (filter=<optimized out>) at libavfilter/avfilter.c:1279
64#10 ff_filter_activate (filter=<optimized out>) at libavfilter/avfilter.c:1438
65#11 0x000055555572fbe7 in ff_filter_graph_run_once (graph=graph@entry=0x5555572f55c0) at libavfilter/avfiltergraph.c:1403
66#12 0x0000555555730d5c in push_frame (graph=0x5555572f55c0) at libavfilter/buffersrc.c:184
67#13 av_buffersrc_add_frame_internal (ctx=0x5555572f7440, frame=0x5555572f5080, flags=<optimized out>) at libavfilter/buffersrc.c:247
68#14 0x00005555557310e6 in av_buffersrc_add_frame_flags (ctx=0x5555572f7440, frame=frame@entry=0x5555572f5080, flags=flags@entry=4) at libavfilter/buffersrc.c:167
69#15 0x0000555555706e2f in ifilter_send_frame (frame=0x5555572f5080, ifilter=0x5555572ab9c0) at fftools/ffmpeg.c:2221
70#16 send_frame_to_filters (ist=ist@entry=0x5555572ac200, decoded_frame=decoded_frame@entry=0x5555572f5080) at fftools/ffmpeg.c:2295
71#17 0x0000555555707b58 in decode_audio (decode_failed=<synthetic pointer>, got_output=0x7fffffffd08c, pkt=0x7fffffffd0f0, ist=0x5555572ac200) at fftools/ffmpeg.c:2362
72#18 process_input_packet (ist=ist@entry=0x5555572ac200, pkt=pkt@entry=0x7fffffffd3a0, no_eof=no_eof@entry=0) at fftools/ffmpeg.c:2644
73#19 0x0000555555709914 in process_input (file_index=0) at fftools/ffmpeg.c:4569
74#20 transcode_step () at fftools/ffmpeg.c:4704
75#21 transcode () at fftools/ffmpeg.c:4758
76#22 0x00005555556e577e in main (argc=8, argv=0x7fffffffd988) at fftools/ffmpeg.c:4963
77(gdb) disas $pc-40,$pc+32
78Dump of assembler code from 0x5555558d7c8a to 0x5555558d7cd2:
79 0x00005555558d7c8a <filter_channel+5274>: movsd %xmm0,(%rax)
80 0x00005555558d7c8e <filter_channel+5278>: movapd %xmm4,%xmm0
81 0x00005555558d7c92 <filter_channel+5282>: mulsd %xmm7,%xmm0
82 0x00005555558d7c96 <filter_channel+5286>: cvttsd2si %xmm0,%eax
83 0x00005555558d7c9a <filter_channel+5290>: movsd 0x8100(%r13),%xmm0
84 0x00005555558d7ca3 <filter_channel+5299>: cmp $0x1fff,%eax
85 0x00005555558d7ca8 <filter_channel+5304>: cmovg %ebx,%eax
86 0x00005555558d7cab <filter_channel+5307>: cmp %eax,%edx
87 0x00005555558d7cad <filter_channel+5309>: cmovl %eax,%edx
88 0x00005555558d7cb0 <filter_channel+5312>: cltq
89=> 0x00005555558d7cb2 <filter_channel+5314>: addl $0x1,0xf8(%r13,%rax,4)
90 0x00005555558d7cbb <filter_channel+5323>: ucomisd %xmm0,%xmm0
91 0x00005555558d7cbf <filter_channel+5327>: jp 0x5555558daab8 <filter_channel+17096>
92 0x00005555558d7cc5 <filter_channel+5333>: andpd %xmm6,%xmm2
93 0x00005555558d7cc9 <filter_channel+5337>: mulsd %xmm7,%xmm2
94 0x00005555558d7ccd <filter_channel+5341>: cvttsd2si %xmm2,%eax
95 0x00005555558d7cd1 <filter_channel+5345>: cmp $0x1fff,%eax
96End of assembler dump.
97(gdb) info all-registers
98rax 0xffffffff80000000 -2147483648
99rbx 0x1fff 8191
100rcx 0x29 41
101rdx 0x1fff 8191
102rsi 0x5555572f5a24 93825023302180
103rdi 0x29 41
104rbp 0x1 0x1
105rsp 0x7fffffffcc98 0x7fffffffcc98
106r8 0x0 0
107r9 0x0 0
108r10 0x3ffffffe00000 1125899904745472
109r11 0x2b11 11025
110r12 0x555557316c40 93825023437888
111r13 0x55555730eb00 93825023404800
112r14 0x5555572aba80 93825022999168
113r15 0x1 1
114rip 0x5555558d7cb2 0x5555558d7cb2 <filter_channel+5314>
115eflags 0x10a87 [ CF PF SF IF OF RF ]
116cs 0x33 51
117ss 0x2b 43
118ds 0x0 0
119es 0x0 0
120fs 0x0 0
121gs 0x0 0
122st0 0 (raw 0x00000000000000000000)
123st1 0 (raw 0x00000000000000000000)
124st2 0 (raw 0x00000000000000000000)
125st3 0 (raw 0x00000000000000000000)
126st4 0 (raw 0x00000000000000000000)
127st5 0 (raw 0x00000000000000000000)
128st6 0 (raw 0x00000000000000000000)
129st7 0 (raw 0x00000000000000000000)
130fctrl 0x37f 895
131fstat 0x0 0
132ftag 0xffff 65535
133fiseg 0x0 0
134fioff 0x0 0
135foseg 0x0 0
136fooff 0x0 0
137fop 0x0 0
138xmm0 {v8_bfloat16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_float = {0x0, 0xffffffff, 0x0, 0x0}, v2_double = {0x7fffffffffffffff, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf8, 0x7f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x7ff8, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x7ff80000, 0x0, 0x0}, v2_int64 = {0x7ff8000000000000, 0x0}, uint128 = 0x7ff8000000000000}
139xmm1 {v8_bfloat16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_float = {0x4025a, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x53, 0x4b, 0x80, 0x48, 0x0 <repeats 12 times>}, v8_int16 = {0x4b53, 0x4880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x48804b53, 0x0, 0x0, 0x0}, v2_int64 = {0x48804b53, 0x0}, uint128 = 0x48804b53}
140xmm2 {v8_bfloat16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x0}
141xmm3 {v8_bfloat16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x0}
142xmm4 {v8_bfloat16 = {0x0, 0xffff, 0x0, 0x9, 0x0, 0x0, 0x0, 0x0}, v4_float = {0xffffffff, 0x9, 0x0, 0x0}, v2_double = {0x4025a, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x60, 0x6a, 0x9, 0x10, 0x41, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x6000, 0x96a, 0x4110, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x60000000, 0x4110096a, 0x0, 0x0}, v2_int64 = {0x4110096a60000000, 0x0}, uint128 = 0x4110096a60000000}
143xmm5 {v8_bfloat16 = {0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0, 0x0}, v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x1, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3ff0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x3ff00000, 0x0, 0x0}, v2_int64 = {0x3ff0000000000000, 0x0}, uint128 = 0x3ff0000000000000}
144xmm6 {v8_bfloat16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_float = {0xffffffff, 0xffffffff, 0x0, 0x0}, v2_double = {0x7fffffffffffffff, 0x0}, v16_int8 = {0xff, 0xff, 0xff, 0--Type <RET> for more, q to quit, c to continue without paging--
145xff, 0xff, 0xff, 0xff, 0x7f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xffff, 0xffff, 0xffff, 0x7fff, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xffffffff, 0x7fffffff, 0x0, 0x0}, v2_int64 = {0x7fffffffffffffff, 0x0}, uint128 = 0x7fffffffffffffff}
146xmm7 {v8_bfloat16 = {0x0, 0x0, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0}, v4_float = {0x0, 0x5, 0x0, 0x0}, v2_double = {0x1fff, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0xff00, 0x40bf, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x40bfff00, 0x0, 0x0}, v2_int64 = {0x40bfff0000000000, 0x0}, uint128 = 0x40bfff0000000000}
147xmm8 {v8_bfloat16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_float = {0x80000000, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x4f, 0x0 <repeats 12 times>}, v8_int16 = {0x0, 0x4f00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x4f000000, 0x0, 0x0, 0x0}, v2_int64 = {0x4f000000, 0x0}, uint128 = 0x4f000000}
148xmm9 {v8_bfloat16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x0}
149xmm10 {v8_bfloat16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_float = {0xffffffff, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xff, 0xff, 0xff, 0x7f, 0x0 <repeats 12 times>}, v8_int16 = {0xffff, 0x7fff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x7fffffff, 0x0, 0x0, 0x0}, v2_int64 = {0x7fffffff, 0x0}, uint128 = 0x7fffffff}
150xmm11 {v8_bfloat16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_float = {0xffffffff, 0xffffffff, 0x0, 0x0}, v2_double = {0x7fffffffffffffff, 0x0}, v16_int8 = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xef, 0x7f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xffff, 0xffff, 0xffff, 0x7fef, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xffffffff, 0x7fefffff, 0x0, 0x0}, v2_int64 = {0x7fefffffffffffff, 0x0}, uint128 = 0x7fefffffffffffff}
151xmm12 {v8_bfloat16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x100000, 0x0, 0x0}, v2_int64 = {0x10000000000000, 0x0}, uint128 = 0x10000000000000}
152xmm13 {v8_bfloat16 = {0x0, 0xffff, 0x0, 0x9, 0x0, 0x0, 0x0, 0x0}, v4_float = {0xffffffff, 0x9, 0x0, 0x0}, v2_double = {0x4025a, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x60, 0x6a, 0x9, 0x10, 0x41, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x6000, 0x96a, 0x4110, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x60000000, 0x4110096a, 0x0, 0x0}, v2_int64 = {0x4110096a60000000, 0x0}, uint128 = 0x4110096a60000000}
153xmm14 {v8_bfloat16 = {0x0, 0xffff, 0x0, 0x6, 0x0, 0x0, 0x0, 0x0}, v4_float = {0xffffffff, 0x6, 0x0, 0x0}, v2_double = {0x2632, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x60, 0x5b, 0x19, 0xc3, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x6000, 0x195b, 0x40c3, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x60000000, 0x40c3195b, 0x0, 0x0}, v2_int64 = {0x40c3195b60000000, 0x0}, uint128 = 0x40c3195b60000000}
154xmm15 {v8_bfloat16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x0}
155mxcsr 0x1fa1 [ IE PE IM DM ZM OM UM PM ]