Ticket #3630: 2

File 2, 14.3 KB (added by Reventlov, 12 years ago)

GDB output

Line 
1[Hyperion]/home/reventlov# gdb ffserver 2014-05-09 19:38:56
2GNU gdb (GDB) 7.7.1
3Copyright (C) 2014 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. Type "show copying"
7and "show warranty" for details.
8This GDB was configured as "x86_64-unknown-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/>.
14For help, type "help".
15Type "apropos word" to search for commands related to "word"...
16Reading symbols from ffserver...(no debugging symbols found)...done.
17(gdb) r -f /etc/ffserver.conf
18Starting program: /usr/bin/ffserver -f /etc/ffserver.conf
19warning: Could not load shared library symbols for linux-vdso.so.1.
20Do you need "set solib-search-path" or "set sysroot"?
21[Thread debugging using libthread_db enabled]
22Using host libthread_db library "/usr/lib/libthread_db.so.1".
23ffserver version 2.2.2 Copyright (c) 2000-2014 the FFmpeg developers
24 built on May 9 2014 19:36:15 with gcc 4.9.0 (GCC) 20140507 (prerelease)
25 configuration: --prefix=/usr --disable-static --enable-debug=3 --disable-stripping --enable-avresample --enable-dxva2 --enable-fontconfig --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-pic --enable-postproc --enable-runtime-cpudetect --enable-shared --enable-swresample --enable-vdpau --enable-version3 --enable-x11grab
26 libavutil 52. 66.100 / 52. 66.100
27 libavcodec 55. 52.102 / 55. 52.102
28 libavformat 55. 33.100 / 55. 33.100
29 libavdevice 55. 10.100 / 55. 10.100
30 libavfilter 4. 2.100 / 4. 2.100
31 libavresample 1. 2. 0 / 1. 2. 0
32 libswscale 2. 5.102 / 2. 5.102
33 libswresample 0. 18.100 / 0. 18.100
34 libpostproc 52. 3.100 / 52. 3.100
35Fri May 9 19:39:10 2014 FFserver started.
36Fri May 9 19:39:53 2014 81.56.33.69 - - [DESCRIBE] "rtsp://aa.bbb.c.ddd:5454/rtsp.mpg RTSP/1.0" 200 456
37Fri May 9 19:39:53 2014 81.56.33.69:28708 - - "PLAY rtsp.mpg/streamid=0 RTP/UDP"
38Fri May 9 19:39:53 2014 81.56.33.69:28710 - - "PLAY rtsp.mpg/streamid=1 RTP/UDP"
39Fri May 9 19:40:02 2014 81.56.33.69 - - [TEARDOWN] "rtsp://aa.bbb.c.ddd:5454/rtsp.mpg/ RTSP/1.0" 200 984
40Fri May 9 19:40:05 2014 81.56.33.69 - - [DESCRIBE] "rtsp://aa.bbb.c.ddd:5454/rtsp.mpg RTSP/1.0" 200 456
41Fri May 9 19:40:05 2014 81.56.33.69:11636 - - "PLAY rtsp.mpg/streamid=0 RTP/UDP"
42Fri May 9 19:40:05 2014 81.56.33.69:11638 - - "PLAY rtsp.mpg/streamid=1 RTP/UDP"
43Fri May 9 19:40:05 2014 81.56.33.69 - - [SETUP] "rtsp://aa.bbb.c.ddd:5454/rtsp.mpg/streamid=1 RTSP/1.0" 200 800
44Fri May 9 19:40:07 2014 81.56.33.69 - - [DESCRIBE] "rtsp://aa.bbb.c.ddd:5454/rtsp.mpg RTSP/1.0" 200 456
45Fri May 9 19:40:07 2014 81.56.33.69:7740 - - "PLAY rtsp.mpg/streamid=0 RTP/UDP"
46Fri May 9 19:40:07 2014 81.56.33.69:7742 - - "PLAY rtsp.mpg/streamid=1 RTP/UDP"
47Fri May 9 19:40:10 2014 81.56.33.69 - - [TEARDOWN] "rtsp://aa.bbb.c.ddd:5454/rtsp.mpg/ RTSP/1.0" 200 980
48Fri May 9 19:40:11 2014 81.56.33.69 - - [DESCRIBE] "rtsp://aa.bbb.c.ddd:5454/rtsp.mpg RTSP/1.0" 200 456
49Fri May 9 19:40:12 2014 81.56.33.69:23176 - - "PLAY rtsp.mpg/streamid=0 RTP/UDP"
50Fri May 9 19:40:12 2014 81.56.33.69:23178 - - "PLAY rtsp.mpg/streamid=1 RTP/UDP"
51Fri May 9 19:40:13 2014 81.56.33.69 - - [TEARDOWN] "rtsp://aa.bbb.c.ddd:5454/rtsp.mpg/ RTSP/1.0" 200 984
52Fri May 9 19:40:15 2014 81.56.33.69 - - [DESCRIBE] "rtsp://aa.bbb.c.ddd:5454/rtsp.mpg RTSP/1.0" 200 456
53Fri May 9 19:40:15 2014 81.56.33.69:26160 - - "PLAY rtsp.mpg/streamid=0 RTP/UDP"
54Fri May 9 19:40:15 2014 81.56.33.69:26162 - - "PLAY rtsp.mpg/streamid=1 RTP/UDP"
55Fri May 9 19:40:19 2014 81.56.33.69 - - [TEARDOWN] "rtsp://aa.bbb.c.ddd:5454/rtsp.mpg/ RTSP/1.0" 200 984
56Fri May 9 19:40:21 2014 81.56.33.69 - - [DESCRIBE] "rtsp://aa.bbb.c.ddd:5454/rtsp.mpg RTSP/1.0" 200 456
57Fri May 9 19:40:21 2014 81.56.33.69:30226 - - "PLAY rtsp.mpg/streamid=0 RTP/UDP"
58Fri May 9 19:40:21 2014 81.56.33.69:30228 - - "PLAY rtsp.mpg/streamid=1 RTP/UDP"
59Fri May 9 19:40:23 2014 81.56.33.69 - - [PLAY] "rtsp://aa.bbb.c.ddd:5454/rtsp.mpg/ RTSP/1.0" 200 892
60Fri May 9 19:40:25 2014 81.56.33.69 - - [DESCRIBE] "rtsp://aa.bbb.c.ddd:5454/rtsp.mpg RTSP/1.0" 200 456
61Fri May 9 19:40:26 2014 81.56.33.69:30716 - - "PLAY rtsp.mpg/streamid=0 RTP/UDP"
62Fri May 9 19:40:26 2014 81.56.33.69:30718 - - "PLAY rtsp.mpg/streamid=1 RTP/UDP"
63Fri May 9 19:40:26 2014 81.56.33.69 - - [PLAY] "rtsp://aa.bbb.c.ddd:5454/rtsp.mpg/ RTSP/1.0" 200 892
64Fri May 9 19:40:28 2014 81.56.33.69 - - [DESCRIBE] "rtsp://aa.bbb.c.ddd:5454/rtsp.mpg RTSP/1.0" 200 456
65Fri May 9 19:40:28 2014 81.56.33.69:23876 - - "PLAY rtsp.mpg/streamid=0 RTP/UDP"
66Fri May 9 19:40:28 2014 81.56.33.69:23878 - - "PLAY rtsp.mpg/streamid=1 RTP/UDP"
67
68Program received signal SIGSEGV, Segmentation fault.
690x00007ffff7564c16 in avio_flush () from /usr/lib/libavformat.so.55
70(gdb) bt
71#0 0x00007ffff7564c16 in avio_flush () from /usr/lib/libavformat.so.55
72#1 0x00007ffff75d4f6a in av_write_trailer () from /usr/lib/libavformat.so.55
73#2 0x000000000040de20 in ?? ()
74#3 0x0000000000411f80 in ?? ()
75#4 0x00000000004123c7 in ?? ()
76#5 0x0000000000407b4c in ?? ()
77#6 0x00007ffff5396000 in __libc_start_main () from /usr/lib/libc.so.6
78#7 0x0000000000407f96 in ?? ()
79(gdb) disass $pc-32,$pc+32
80Dump of assembler code from 0x7ffff7564bf6 to 0x7ffff7564c36:
81 0x00007ffff7564bf6 <avio_flush+102>: mov 0x60(%rbx),%edi
82 0x00007ffff7564bf9 <avio_flush+105>: sub %rsi,%rdx
83 0x00007ffff7564bfc <avio_flush+108>: callq *%rax
84 0x00007ffff7564bfe <avio_flush+110>: mov 0x8(%rbx),%rsi
85 0x00007ffff7564c02 <avio_flush+114>: mov %rax,0x60(%rbx)
86 0x00007ffff7564c06 <avio_flush+118>: mov %rsi,0x68(%rbx)
87 0x00007ffff7564c0a <avio_flush+122>: jmp 0x7ffff7564ba6 <avio_flush+22>
88 0x00007ffff7564c0c <avio_flush+124>: nopl 0x0(%rax)
89 0x00007ffff7564c10 <avio_flush+128>: mov 0x28(%rdi),%rdi
90 0x00007ffff7564c14 <avio_flush+132>: mov %ebp,%edx
91=> 0x00007ffff7564c16 <avio_flush+134>: callq *%rax
92 0x00007ffff7564c18 <avio_flush+136>: test %eax,%eax
93 0x00007ffff7564c1a <avio_flush+138>: jns 0x7ffff7564bd6 <avio_flush+70>
94 0x00007ffff7564c1c <avio_flush+140>: mov %eax,0x78(%rbx)
95 0x00007ffff7564c1f <avio_flush+143>: jmp 0x7ffff7564bd6 <avio_flush+70>
96 0x00007ffff7564c21 <avio_flush+145>: nopl 0x0(%rax)
97 0x00007ffff7564c28 <avio_flush+152>: mov 0x8(%rbx),%rsi
98 0x00007ffff7564c2c <avio_flush+156>: jmpq 0x7ffff7564ba6 <avio_flush+22>
99 0x00007ffff7564c31: data32 data32 data32 data32 data32 nopw %cs:0x0(%rax,%rax,1)
100End of assembler dump.
101(gdb) info all-registers
102rax 0x2c697246203a6574 3200214655737423220
103rbx 0x700e60 7343712
104rcx 0x0 0
105rdx 0x400 1024
106rsi 0x0 0
107rdi 0x6553430a0d4b4f20 7301253131349479200
108rbp 0x5053545200000400 0x5053545200000400
109rsp 0x7fffffffb010 0x7fffffffb010
110r8 0x0 0
111r9 0x6257c0 6444992
112r10 0x0 0
113r11 0x246 582
114r12 0x8000000000000000 -9223372036854775808
115r13 0x702d98 7351704
116r14 0x7fffffffb038 140737488334904
117r15 0x749380 7639936
118rip 0x7ffff7564c16 0x7ffff7564c16 <avio_flush+134>
119eflags 0x10246 [ PF ZF IF RF ]
120cs 0x33 51
121ss 0x2b 43
122ds 0x0 0
123es 0x0 0
124fs 0x0 0
125---Type <return> to continue, or q <return> to quit---
126gs 0x0 0
127st0 0 (raw 0x00000000000000000000)
128st1 0 (raw 0x00000000000000000000)
129st2 0 (raw 0x00000000000000000000)
130st3 0 (raw 0x00000000000000000000)
131st4 0 (raw 0x00000000000000000000)
132st5 0 (raw 0x00000000000000000000)
133st6 0 (raw 0x00000000000000000000)
134st7 0 (raw 0x00000000000000000000)
135fctrl 0x37f 895
136fstat 0x0 0
137ftag 0xffff 65535
138fiseg 0x0 0
139fioff 0x0 0
140foseg 0x0 0
141fooff 0x0 0
142fop 0x0 0
143xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0xff, 0xff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0x0, 0x0, 0x0, 0x0},
144 v8_int16 = {0x0, 0xffff, 0x0, 0x0, 0x0, 0xff00, 0x0, 0x0}, v4_int32 = {0xffff0000, 0x0, 0xff000000, 0x0}, v2_int64 = {0xffff0000, 0xff000000},
145 uint128 = 0x00000000ff00000000000000ffff0000}
146xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x25 <repeats 16 times>}, v8_int16 = {0x2525, 0x2525, 0x2525, 0x2525, 0x2525,
147 0x2525, 0x2525, 0x2525}, v4_int32 = {0x25252525, 0x25252525, 0x25252525, 0x25252525}, v2_int64 = {0x2525252525252525, 0x2525252525252525},
148 uint128 = 0x25252525252525252525252525252525}
149---Type <return> to continue, or q <return> to quit---
150xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x0}, v16_int8 = {0x72, 0x74, 0x73, 0x70, 0x2e, 0x6d, 0x70, 0x67, 0x0, 0x0, 0x0, 0x0,
151 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x7472, 0x7073, 0x6d2e, 0x6770, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x70737472, 0x67706d2e, 0x0, 0x0}, v2_int64 = {0x67706d2e70737472,
152 0x0}, uint128 = 0x000000000000000067706d2e70737472}
153xmm3 {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},
154 v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
155xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0xff, 0x0 <repeats 13 times>}, v8_int16 = {0x0, 0xff, 0x0, 0x0, 0x0, 0x0,
156 0x0, 0x0}, v4_int32 = {0xff0000, 0x0, 0x0, 0x0}, v2_int64 = {0xff0000, 0x0}, uint128 = 0x00000000000000000000000000ff0000}
157xmm5 {v4_float = {0x0, 0xffffffff, 0x0, 0x0}, v2_double = {0xffffffffffffffff, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0xbf, 0x0, 0x0, 0x0, 0x0,
158 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0xbff0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0xbff00000, 0x0, 0x0}, v2_int64 = {0xbff0000000000000, 0x0},
159 uint128 = 0x0000000000000000bff0000000000000}
160xmm6 {v4_float = {0x0, 0xffffffff, 0x0, 0x0}, v2_double = {0xffffffffffffffff, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0xbf, 0x0, 0x0, 0x0, 0x0,
161 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0xbff0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0xbff00000, 0x0, 0x0}, v2_int64 = {0xbff0000000000000, 0x0},
162 uint128 = 0x0000000000000000bff0000000000000}
163xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x3f, 0x0 <repeats 12 times>}, v8_int16 = {0x0, 0x3f00, 0x0, 0x0,
164 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x3f000000, 0x0, 0x0, 0x0}, v2_int64 = {0x3f000000, 0x0}, uint128 = 0x0000000000000000000000003f000000}
165xmm8 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x37, 0x35, 0x62, 0x63, 0x30, 0x61, 0x65, 0x31, 0x31, 0x65, 0x38, 0x38, 0x38, 0x61,
166 0xd, 0xa}, v8_int16 = {0x3537, 0x6362, 0x6130, 0x3165, 0x6531, 0x3838, 0x6138, 0xa0d}, v4_int32 = {0x63623537, 0x31656130, 0x38386531, 0xa0d6138}, v2_int64 = {
167 0x3165613063623537, 0xa0d613838386531}, uint128 = 0x0a0d6138383865313165613063623537}
168xmm9 {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},
169 v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
170xmm10 {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},
171 v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
172xmm11 {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},
173---Type <return> to continue, or q <return> to quit---
174 v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
175xmm12 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x0, 0x0, 0x0, 0xff, 0x0, 0x0, 0x0, 0xff, 0x0, 0x0,
176 0x0, 0xff, 0x0, 0x0, 0x0, 0xff}, v8_int16 = {0x0, 0xff00, 0x0, 0xff00, 0x0, 0xff00, 0x0, 0xff00}, v4_int32 = {0xff000000, 0xff000000, 0xff000000, 0xff000000},
177 v2_int64 = {0xff000000ff000000, 0xff000000ff000000}, uint128 = 0xff000000ff000000ff000000ff000000}
178xmm13 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x34, 0x29, 0x37, 0x3d, 0x9, 0xba, 0x38, 0xbc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
179 0x0}, v8_int16 = {0x2934, 0x3d37, 0xba09, 0xbc38, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x3d372934, 0xbc38ba09, 0x0, 0x0}, v2_int64 = {0xbc38ba093d372934, 0x0},
180 uint128 = 0x0000000000000000bc38ba093d372934}
181xmm14 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x8e, 0x85, 0x83, 0xe8, 0xf0, 0x24, 0x53, 0x3c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
182 0x0}, v8_int16 = {0x858e, 0xe883, 0x24f0, 0x3c53, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xe883858e, 0x3c5324f0, 0x0, 0x0}, v2_int64 = {0x3c5324f0e883858e, 0x0},
183 uint128 = 0x00000000000000003c5324f0e883858e}
184xmm15 {v4_float = {0x0, 0xffffffff, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xf6, 0x8f, 0xee, 0x21, 0xa8, 0x74, 0xd3, 0xbf, 0x0, 0x0, 0x0, 0x0, 0x0,
185 0x0, 0x0, 0x0}, v8_int16 = {0x8ff6, 0x21ee, 0x74a8, 0xbfd3, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x21ee8ff6, 0xbfd374a8, 0x0, 0x0}, v2_int64 = {0xbfd374a821ee8ff6,
186 0x0}, uint128 = 0x0000000000000000bfd374a821ee8ff6}
187mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ]
188(gdb)
189