Ticket #6326: gdb.txt

File gdb.txt, 14.6 KB (added by Oleg Larionov, 9 years ago)

GDB segfault output

Line 
1[Thread debugging using libthread_db enabled]
2Using host libthread_db library "/lib64/libthread_db.so.1".
3ffmpeg version N-85548-g3390a2b Copyright (c) 2000-2017 the FFmpeg developers
4 built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
5 configuration: --prefix=/opt/ffmpeg_gpu --enable-static --disable-shared --disable-ffplay --disable-ffserver --disable-network --disable-doc --disable-indev=jack --enable-debug --enable-nonfree --enable-version3 --enable-gpl --enable-libfdk-aac --enable-gray --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-frei0r --enable-ladspa --enable-libass --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-nvenc --enable-cuvid --enable-cuda --enable-libnpp --shlibdir=/usr/lib64 --extra-cflags=-I../nv_sdk --extra-ldflags=-L../nv_sdk --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 --extra-cflags=-I/usr/local/include/opus --extra-ldflags=-L/usr/local/lib/
6 libavutil 55. 61.100 / 55. 61.100
7 libavcodec 57. 92.100 / 57. 92.100
8 libavformat 57. 72.101 / 57. 72.101
9 libavdevice 57. 7.100 / 57. 7.100
10 libavfilter 6. 84.101 / 6. 84.101
11 libswscale 4. 7.101 / 4. 7.101
12 libswresample 2. 8.100 / 2. 8.100
13 libpostproc 54. 6.100 / 54. 6.100
14Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'bug_input.mp4':
15 Metadata:
16 major_brand : isom
17 minor_version : 512
18 compatible_brands: isomiso2avc1mp41
19 encoder : Lavf56.40.101
20 Duration: 00:00:05.01, start: 0.000000, bitrate: 17393 kb/s
21 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 17390 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
22 Metadata:
23 handler_name : VideoHandler
24[New Thread 0x7fffe9918700 (LWP 32459)]
25[New Thread 0x7fffe9117700 (LWP 32460)]
26Stream mapping:
27 Stream #0:0 -> #0:0 (h264 (h264_cuvid) -> h264 (h264_nvenc))
28Press [q] to stop, [?] for help
29[New Thread 0x7fffe2c33700 (LWP 32461)]
30[New Thread 0x7fffe2432700 (LWP 32462)]
31[New Thread 0x7fffe1c31700 (LWP 32463)]
32[New Thread 0x7fffe1430700 (LWP 32464)]
33[New Thread 0x7fffe0c2f700 (LWP 32465)]
34[New Thread 0x7fffe042e700 (LWP 32466)]
35[New Thread 0x7fffdfc2d700 (LWP 32467)]
36[New Thread 0x7fffdf42c700 (LWP 32468)]
37[New Thread 0x7fffdec2b700 (LWP 32469)]
38[New Thread 0x7fffde42a700 (LWP 32470)]
39[New Thread 0x7fffddc29700 (LWP 32471)]
40[New Thread 0x7fffdd428700 (LWP 32472)]
41[New Thread 0x7fffdcc27700 (LWP 32473)]
42[New Thread 0x7fffdc426700 (LWP 32474)]
43[New Thread 0x7fffdbc25700 (LWP 32475)]
44[New Thread 0x7fffdb424700 (LWP 32476)]
45[New Thread 0x7fffdac23700 (LWP 32477)]
46[New Thread 0x7fffda422700 (LWP 32478)]
47[New Thread 0x7fffd9c21700 (LWP 32479)]
48[New Thread 0x7fffd9420700 (LWP 32480)]
49[New Thread 0x7fffd8c1f700 (LWP 32481)]
50[New Thread 0x7fffd841e700 (LWP 32482)]
51[New Thread 0x7fffd7c1d700 (LWP 32483)]
52[New Thread 0x7fffd741c700 (LWP 32484)]
53[New Thread 0x7fffd6c1b700 (LWP 32485)]
54
55Program received signal SIGSEGV, Segmentation fault.
56nppscale_filter_frame (link=link@entry=0x2696ae0, in=0x2698060) at libavfilter/vf_scale_npp.c:496
57496 libavfilter/vf_scale_npp.c: Нет такого файла или каталога.
58(gdb) bt
59#0 nppscale_filter_frame (link=link@entry=0x2696ae0, in=0x2698060) at libavfilter/vf_scale_npp.c:496
60#1 0x00000000004c7d3f in ff_filter_frame_framed (frame=0x2698060, link=0x2696ae0) at libavfilter/avfilter.c:1116
61#2 ff_filter_frame_to_filter (link=0x2696ae0) at libavfilter/avfilter.c:1264
62#3 ff_filter_activate_default (filter=<optimized out>) at libavfilter/avfilter.c:1315
63#4 ff_filter_activate (filter=<optimized out>) at libavfilter/avfilter.c:1476
64#5 0x00000000004cb29c in ff_filter_graph_run_once (graph=graph@entry=0x24a1980) at libavfilter/avfiltergraph.c:1446
65#6 0x00000000004cc164 in push_frame (graph=0x24a1980) at libavfilter/buffersrc.c:181
66#7 av_buffersrc_add_frame_internal (ctx=ctx@entry=0x2695e80, frame=frame@entry=0x246ffe0, flags=flags@entry=4) at libavfilter/buffersrc.c:262
67#8 0x00000000004cc7dd in av_buffersrc_add_frame_flags (ctx=0x2695e80, frame=frame@entry=0x246ffe0, flags=flags@entry=4) at libavfilter/buffersrc.c:164
68#9 0x00000000004a7e1c in ifilter_send_frame (frame=0x246ffe0, ifilter=0x1faff20) at ffmpeg.c:2206
69#10 send_frame_to_filters (ist=ist@entry=0x1fa5b40, decoded_frame=decoded_frame@entry=0x246ffe0) at ffmpeg.c:2284
70#11 0x00000000004a88c4 in decode_video (ist=ist@entry=0x1fa5b40, pkt=pkt@entry=0x7fffffffd790, got_output=got_output@entry=0x7fffffffd4e8, eof=eof@entry=0,
71 decode_failed=decode_failed@entry=0x7fffffffd4ec) at ffmpeg.c:2484
72#12 0x00000000004ab37c in process_input_packet (no_eof=0, pkt=0x7fffffffd730, ist=0x1fa5b40) at ffmpeg.c:2633
73#13 process_input (file_index=<optimized out>) at ffmpeg.c:4390
74#14 0x000000000048bf47 in transcode_step () at ffmpeg.c:4501
75#15 transcode () at ffmpeg.c:4555
76#16 main (argc=<optimized out>, argv=<optimized out>) at ffmpeg.c:4760
77(gdb) disass $pc-32,$pc+32
78Dump of assembler code from 0x55b1bd to 0x55b1fd:
79 0x000000000055b1bd <nppscale_filter_frame+29>: cmp %cl,-0x75(%rax)
80 0x000000000055b1c0 <nppscale_filter_frame+32>: rex.XB
81 0x000000000055b1c1 <nppscale_filter_frame+33>: rex.W
82 0x000000000055b1c2 <nppscale_filter_frame+34>: mov (%rdx),%rbp
83 0x000000000055b1c5 <nppscale_filter_frame+37>: mov 0x100(%rax),%edi
84 0x000000000055b1cb <nppscale_filter_frame+43>: movq $0x0,0x20(%rsp)
85 0x000000000055b1d4 <nppscale_filter_frame+52>: mov 0xf0(%rbp),%rdx
86 0x000000000055b1db <nppscale_filter_frame+59>: test %edi,%edi
87=> 0x000000000055b1dd <nppscale_filter_frame+61>: mov 0x8(%rdx),%rdx
88 0x000000000055b1e1 <nppscale_filter_frame+65>: mov 0x18(%rdx),%rdx
89 0x000000000055b1e5 <nppscale_filter_frame+69>: mov 0x18(%rdx),%r12
90 0x000000000055b1e9 <nppscale_filter_frame+73>: jne 0x55b368 <nppscale_filter_frame+456>
91 0x000000000055b1ef <nppscale_filter_frame+79>: callq 0xf95f70 <av_frame_alloc>
92 0x000000000055b1f4 <nppscale_filter_frame+84>: test %rax,%rax
93 0x000000000055b1f7 <nppscale_filter_frame+87>: mov %rax,0x20(%rsp)
94 0x000000000055b1fc <nppscale_filter_frame+92>: je 0x55b3a0 <nppscale_filter_frame+512>
95End of assembler dump.
96(gdb) info all-registers
97rax 0x2694ca0 40455328
98rbx 0x2694ba0 40455072
99rcx 0x1 1
100rdx 0x0 0
101rsi 0x2698060 40468576
102rdi 0x1 1
103rbp 0x2695020 0x2695020
104rsp 0x7fffffffd0b0 0x7fffffffd0b0
105r8 0x0 0
106r9 0x1 1
107r10 0x3a98 15000
108r11 0x7530 30000
109r12 0x55b1a0 5616032
110r13 0x2696ae0 40463072
111r14 0x2694ba0 40455072
112r15 0x0 0
113rip 0x55b1dd 0x55b1dd <nppscale_filter_frame+61>
114eflags 0x10202 [ IF RF ]
115cs 0x33 51
116ss 0x2b 43
117ds 0x0 0
118es 0x0 0
119fs 0x0 0
120gs 0x0 0
121st0 -nan(0x8080808080808080) (raw 0xffff8080808080808080)
122st1 -nan(0x8080808080808080) (raw 0xffff8080808080808080)
123st2 -nan(0x002000200) (raw 0xffff0000000002000200)
124st3 -nan(0x200020002000200) (raw 0xffff0200020002000200)
125st4 -nan(0x1010101010101010) (raw 0xffff1010101010101010)
126st5 -nan(0x1010101010101010) (raw 0xffff1010101010101010)
127st6 0 (raw 0x00000000000000000000)
128st7 -inf (raw 0xffff0000000000000000)
129fctrl 0x37f 895
130fstat 0x0 0
131ftag 0xffff 65535
132fiseg 0x0 0
133fioff 0x0 0
134foseg 0x0 0
135fooff 0x0 0
136fop 0x0 0
137mxcsr 0x9fe8 [ OE PE DAZ IM DM ZM OM UM PM FZ ]
138ymm0 {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 = {0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
139ymm1 {v8_float = {0x2e000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x8000000000000000, 0x0, 0x0}, v32_int8 = {0x2e, 0x0, 0x50, 0x57, 0x44, 0x0, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x0, 0x73, 0x74, 0x64, 0x6f, 0x0 <repeats 16 times>}, v16_int16 = {0x2e, 0x5750, 0x44, 0x7473, 0x6964, 0x6e, 0x7473, 0x6f64, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x5750002e, 0x74730044, 0x6e6964, 0x6f647473, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x747300445750002e, 0x6f647473006e6964, 0x0, 0x0}, v2_int128 = {0x6f647473006e6964747300445750002e, 0x00000000000000000000000000000000}}
140ymm2 {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, 0x3f, 0x1, 0x0, 0x0, 0x40, 0x1, 0x0 <repeats 18 times>}, v16_int16 = {0x0, 0x0, 0x0, 0x3ff0, 0x13f, 0x0, 0x140, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x0, 0x3ff00000, 0x13f, 0x140, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x3ff0000000000000, 0x1400000013f, 0x0, 0x0}, v2_int128 = {0x000001400000013f3ff0000000000000, 0x00000000000000000000000000000000}}
141ymm3 {v8_float = {0xb4600000, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x3, 0x0, 0x0, 0x0}, v32_int8 = {0x18, 0x2d, 0x44, 0x54, 0xfb, 0x21, 0x9, 0x40, 0x0 <repeats 24 times>}, v16_int16 = {0x2d18, 0x5444, 0x21fb, 0x4009, 0x0 <repeats 12 times>}, v8_int32 = {0x54442d18, 0x400921fb, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x400921fb54442d18, 0x0, 0x0, 0x0}, v2_int128 = {0x0000000000000000400921fb54442d18, 0x00000000000000000000000000000000}}
142ymm4 {v8_float = {0x0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x1, 0x0, 0x0, 0x0}, v32_int8 = {0xa8, 0xf4, 0x97, 0x9b, 0x77, 0xe3, 0xf9, 0x3f, 0x0 <repeats 24 times>}, v16_int16 = {0xf4a8, 0x9b97, 0xe377, 0x3ff9, 0x0 <repeats 12 times>}, v8_int32 = {0x9b97f4a8, 0x3ff9e377, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x3ff9e3779b97f4a8, 0x0, 0x0, 0x0}, v2_int128 = {0x00000000000000003ff9e3779b97f4a8, 0x00000000000000000000000000000000}}
143ymm5 {v8_float = {0x0, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x2, 0x0, 0x0, 0x0}, v32_int8 = {0x69, 0x57, 0x14, 0x8b, 0xa, 0xbf, 0x5, 0x40, 0x0 <repeats 24 times>}, v16_int16 = {0x5769, 0x8b14, 0xbf0a, 0x4005, 0x0 <repeats 12 times>}, v8_int32 = {0x8b145769, 0x4005bf0a, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x4005bf0a8b145769, 0x0, 0x0, 0x0}, v2_int128 = {0x00000000000000004005bf0a8b145769, 0x00000000000000000000000000000000}}
144ymm6 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x0, 0x0, 0x0}, v32_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf8, 0x7f, 0x0 <repeats 24 times>}, v16_int16 = {0x0, 0x0, 0x0, 0x7ff8, 0x0 <repeats 12 times>}, v8_int32 = {0x0, 0x7ff80000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x7ff8000000000000, 0x0, 0x0, 0x0}, v2_int128 = {0x00000000000000007ff8000000000000, 0x00000000000000000000000000000000}}
145ymm7 {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 = {0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
146ymm8 {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 = {0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
147ymm9 {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 = {0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
148ymm10 {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 = {0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
149ymm11 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x66, 0x94, 0x48, 0xf, 0x11, 0x14, 0xe3, 0x39, 0x0 <repeats 24 times>}, v16_int16 = {0x9466, 0xf48, 0x1411, 0x39e3, 0x0 <repeats 12 times>}, v8_int32 = {0xf489466, 0x39e31411, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x39e314110f489466, 0x0, 0x0, 0x0}, v2_int128 = {0x000000000000000039e314110f489466, 0x00000000000000000000000000000000}}
150ymm12 {v8_float = {0x0, 0xffffffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0xf9, 0xc8, 0xde, 0xfc, 0xd1, 0x21, 0x89, 0xbf, 0x0 <repeats 24 times>}, v16_int16 = {0xc8f9, 0xfcde, 0x21d1, 0xbf89, 0x0 <repeats 12 times>}, v8_int32 = {0xfcdec8f9, 0xbf8921d1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xbf8921d1fcdec8f9, 0x0, 0x0, 0x0}, v2_int128 = {0x0000000000000000bf8921d1fcdec8f9, 0x00000000000000000000000000000000}}
151ymm13 {v8_float = {0x0, 0xffffffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0xf9, 0xc8, 0xde, 0xfc, 0xd1, 0x21, 0x89, 0xbf, 0x0 <repeats 24 times>}, v16_int16 = {0xc8f9, 0xfcde, 0x21d1, 0xbf89, 0x0 <repeats 12 times>}, v8_int32 = {0xfcdec8f9, 0xbf8921d1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xbf8921d1fcdec8f9, 0x0, 0x0, 0x0}, v2_int128 = {0x0000000000000000bf8921d1fcdec8f9, 0x00000000000000000000000000000000}}
152ymm14 {v8_float = {0x92854080, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x7f, 0xf5, 0xda, 0xce, 0xf0, 0x39, 0xc1, 0x3f, 0x0 <repeats 24 times>}, v16_int16 = {0xf57f, 0xceda, 0x39f0, 0x3fc1, 0x0 <repeats 12 times>}, v8_int32 = {0xcedaf57f, 0x3fc139f0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x3fc139f0cedaf57f, 0x0, 0x0, 0x0}, v2_int128 = {0x00000000000000003fc139f0cedaf57f, 0x00000000000000000000000000000000}}
153ymm15 {v8_float = {0xba340000, 0xffffffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x8d, 0x2e, 0x44, 0x54, 0xfb, 0x21, 0x89, 0xbf, 0x0 <repeats 24 times>}, v16_int16 = {0x2e8d, 0x5444, 0x21fb, 0xbf89, 0x0 <repeats 12 times>}, v8_int32 = {0x54442e8d, 0xbf8921fb, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xbf8921fb54442e8d, 0x0, 0x0, 0x0}, v2_int128 = {0x0000000000000000bf8921fb54442e8d, 0x00000000000000000000000000000000}}