Ticket #2911: gdb-20140412.log

File gdb-20140412.log, 13.3 KB (added by arkanis, 12 years ago)

gdb output

Line 
1$ gdb ./ffmpeg_g :(
2GNU gdb (GDB) 7.5-ubuntu
3Copyright (C) 2012 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-linux-gnu".
9For bug reporting instructions, please see:
10<http://www.gnu.org/software/gdb/bugs/>...
11Reading symbols from /home/steven/projects/events.mi/obs/ffmpeg-dev/ffmpeg_g...rdone.
12(gdb) r -report -v 9 -loglevel 99 -listen 1 -i rtmp://192.168.17.2/test/app test.mp4
13Starting program: /home/steven/projects/events.mi/obs/ffmpeg-dev/ffmpeg_g -report -v 9 -loglevel 99 -listen 1 -i rtmp://192.168.17.2/test/app test.mp4
14[Thread debugging using libthread_db enabled]
15Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
16ffmpeg started on 2014-04-12 at 20:31:23
17Report written to "ffmpeg-20140412-203123.log"
18ffmpeg version git-2014-04-12-e89f3d0 Copyright (c) 2000-2014 the FFmpeg developers
19 built on Apr 12 2014 19:55:05 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
20 configuration:
21 libavutil 52. 75.100 / 52. 75.100
22 libavcodec 55. 58.103 / 55. 58.103
23 libavformat 55. 37.100 / 55. 37.100
24 libavdevice 55. 13.100 / 55. 13.100
25 libavfilter 4. 4.100 / 4. 4.100
26 libswscale 2. 6.100 / 2. 6.100
27 libswresample 0. 18.100 / 0. 18.100
28Splitting the commandline.
29Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
30Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
31Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
32Reading option '-listen' ... matched as AVOption 'listen' with argument '1'.
33Reading option '-i' ... matched as input file with argument 'rtmp://192.168.17.2/test/app'.
34Reading option 'test.mp4' ... matched as output file.
35Finished splitting the commandline.
36Parsing a group of options: global .
37Applying option report (generate a report) with argument 1.
38Applying option v (set logging level) with argument 9.
39Successfully parsed a group of options.
40Parsing a group of options: input file rtmp://192.168.17.2/test/app.
41Successfully parsed a group of options.
42Opening an input file: rtmp://192.168.17.2/test/app.
43[rtmp @ 0x18d6ae0] Proto = rtmp, path = /test/app, app = test, fname = app
44[rtmp @ 0x18d6ae0] Unable to read command string
45
46Program received signal SIGSEGV, Segmentation fault.
470x00007ffff656d818 in main_arena () from /lib/x86_64-linux-gnu/libc.so.6
48(gdb) bt
49#0 0x00007ffff656d818 in main_arena () from /lib/x86_64-linux-gnu/libc.so.6
50#1 0x00000000004efba7 in ff_check_interrupt (cb=0x18d70f0) at libavformat/avio.c:466
51#2 retry_transfer_wrapper (transfer_func=0x7ffff656d868 <main_arena+296>, size_min=1, size=1,
52 buf=0x7fffffffd43f "", h=0x18d70c0) at libavformat/avio.c:301
53#3 ffurl_read (h=h@entry=0x18d70c0, buf=buf@entry=0x7fffffffd43f "", size=size@entry=1)
54 at libavformat/avio.c:334
55#4 0x00000000005eb63b in ff_rtmp_packet_read (h=0x18d70c0, p=p@entry=0x7fffffffd490, chunk_size=128,
56 prev_pkt=prev_pkt@entry=0x18d6b90, nb_prev_pkt=nb_prev_pkt@entry=0x18d6ba0) at libavformat/rtmppkt.c:158
57#5 0x0000000000591f29 in get_packet (s=s@entry=0x18d6ae0, for_header=0) at libavformat/rtmpproto.c:2262
58#6 0x0000000000592081 in rtmp_read (s=0x18d6ae0, buf=0x18d79a0 "", size=32768) at libavformat/rtmpproto.c:2628
59#7 0x00000000004efbcc in retry_transfer_wrapper (transfer_func=0x592030 <rtmp_read>, size_min=1, size=32768,
60 buf=0x18d79a0 "", h=0x18d6ae0) at libavformat/avio.c:303
61#8 ffurl_read (h=0x18d6ae0, buf=0x18d79a0 "", size=32768) at libavformat/avio.c:334
62#9 0x00000000004f0761 in fill_buffer (s=s@entry=0x18d7000) at libavformat/aviobuf.c:449
63#10 0x00000000004f395a in avio_read (s=s@entry=0x18d7000, buf=<optimized out>, size=size@entry=2048)
64 at libavformat/aviobuf.c:530
65#11 0x00000000005c6734 in av_probe_input_buffer2 (pb=0x18d7000, fmt=0x18d63c8,
66 filename=filename@entry=0x7fffffffe38f "rtmp://192.168.17.2/test/app", logctx=logctx@entry=0x18d63c0,
67 offset=offset@entry=0, max_probe_size=1048576) at libavformat/utils.c:388
68#12 0x00000000005d0375 in init_input (options=0x7fffffffd6f0,
69 filename=0x7fffffffe38f "rtmp://192.168.17.2/test/app", s=0x18d63c0) at libavformat/utils.c:473
70#13 avformat_open_input (ps=ps@entry=0x7fffffffd7c8,
71 filename=filename@entry=0x7fffffffe38f "rtmp://192.168.17.2/test/app", fmt=fmt@entry=0x0,
72 options=0x18c7328) at libavformat/utils.c:535
73#14 0x0000000000474dac in open_input_file (o=o@entry=0x7fffffffd910, filename=<optimized out>)
74 at ffmpeg_opt.c:844
75#15 0x000000000046f304 in open_files (inout=inout@entry=0xd8e89f "input",
76 open_file=open_file@entry=0x474ac0 <open_input_file>, l=<optimized out>, l=<optimized out>)
77 at ffmpeg_opt.c:2610
78#16 0x0000000000476573 in ffmpeg_parse_options (argc=argc@entry=11, argv=argv@entry=0x7fffffffdfe8)
79 at ffmpeg_opt.c:2647
80#17 0x0000000000467448 in main (argc=11, argv=0x7fffffffdfe8) at ffmpeg.c:3720
81(gdb) disass $pc-32,$pc+32
82Dump of assembler code from 0x7ffff656d7f8 to 0x7ffff656d838:
83 0x00007ffff656d7f8 <main_arena+184>: rex
84 0x00007ffff656d7f9 <main_arena+185>: repnz mov (%rcx),%eax
85 0x00007ffff656d7fc <main_arena+188>: add %al,(%rax)
86 0x00007ffff656d7fe <main_arena+190>: add %al,(%rax)
87 0x00007ffff656d800 <main_arena+192>: rex
88 0x00007ffff656d801 <main_arena+193>: repnz mov (%rcx),%eax
89 0x00007ffff656d804 <main_arena+196>: add %al,(%rax)
90 0x00007ffff656d806 <main_arena+198>: add %al,(%rax)
91 0x00007ffff656d808 <main_arena+200>: clc
92 0x00007ffff656d809 <main_arena+201>: xlat %ds:(%rbx)
93 0x00007ffff656d80a <main_arena+202>: push %rsi
94 0x00007ffff656d80b <main_arena+203>: idiv %bh
95 0x00007ffff656d80d <main_arena+205>: jg 0x7ffff656d80f <main_arena+207>
96 0x00007ffff656d80f <main_arena+207>: add %bh,%al
97 0x00007ffff656d811 <main_arena+209>: xlat %ds:(%rbx)
98 0x00007ffff656d812 <main_arena+210>: push %rsi
99 0x00007ffff656d813 <main_arena+211>: idiv %bh
100 0x00007ffff656d815 <main_arena+213>: jg 0x7ffff656d817 <main_arena+215>
101 0x00007ffff656d817 <main_arena+215>: add %cl,(%rax)
102 0x00007ffff656d819 <main_arena+217>: fcoms -0xa(%rsi)
103 0x00007ffff656d81c <main_arena+220>: (bad)
104 0x00007ffff656d81d <main_arena+221>: jg 0x7ffff656d81f <main_arena+223>
105 0x00007ffff656d81f <main_arena+223>: add %cl,(%rax)
106 0x00007ffff656d821 <main_arena+225>: fcoms -0xa(%rsi)
107 0x00007ffff656d824 <main_arena+228>: (bad)
108 0x00007ffff656d825 <main_arena+229>: jg 0x7ffff656d827 <main_arena+231>
109 0x00007ffff656d827 <main_arena+231>: add %ah,%al
110 0x00007ffff656d829 <main_arena+233>: jo 0x7ffff656d7b8 <main_arena+120>
111 0x00007ffff656d82b <main_arena+235>: add %eax,(%rax)
112 0x00007ffff656d82d <main_arena+237>: add %al,(%rax)
113 0x00007ffff656d82f <main_arena+239>: add %ah,%al
114 0x00007ffff656d831 <main_arena+241>: jo 0x7ffff656d7c0 <main_arena+128>
115 0x00007ffff656d833 <main_arena+243>: add %eax,(%rax)
116 0x00007ffff656d835 <main_arena+245>: add %al,(%rax)
117 0x00007ffff656d837 <main_arena+247>: add %ch,(%rax)
118End of assembler dump.
119(gdb) info all-registers
120rax 0x7ffff656d818 140737326274584
121rbx 0x18d70c0 26046656
122rcx 0x18d6b90 26045328
123rdx 0x1 1
124rsi 0x7fffffffd43f 140737488344127
125rdi 0x7ffff656d818 140737326274584
126rbp 0x7fffffffd43f 0x7fffffffd43f
127rsp 0x7fffffffd3e8 0x7fffffffd3e8
128r8 0x18d6ba0 26045344
129r9 0x0 0
130r10 0x7ffff62f3100 140737323675904
131r11 0x206 518
132r12 0x1 1
133r13 0x7ffff656d868 140737326274664
134r14 0x5 5
135r15 0x0 0
136rip 0x7ffff656d818 0x7ffff656d818 <main_arena+216>
137eflags 0x10206 [ PF IF RF ]
138cs 0x33 51
139ss 0x2b 43
140ds 0x0 0
141es 0x0 0
142fs 0x0 0
143gs 0x0 0
144st0 0 (raw 0x00000000000000000000)
145st1 0 (raw 0x00000000000000000000)
146st2 0 (raw 0x00000000000000000000)
147st3 0 (raw 0x00000000000000000000)
148st4 0 (raw 0x00000000000000000000)
149st5 0 (raw 0x00000000000000000000)
150st6 0 (raw 0x00000000000000000000)
151st7 0 (raw 0x00000000000000000000)
152fctrl 0x37f 895
153fstat 0x0 0
154ftag 0xffff 65535
155fiseg 0x0 0
156fioff 0x0 0
157foseg 0x0 0
158fooff 0x0 0
159fop 0x0 0
160xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x0}, v16_int8 = {0x0, 0x0,
161---Type <return> to continue, or q <return> to quit---
162 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0,
163 0xff00, 0xffff, 0xffff, 0x0, 0x0}, v4_int32 = {0x0, 0xff000000, 0xffffffff, 0x0}, v2_int64 = {
164 0xff00000000000000, 0xffffffff}, uint128 = 0x00000000ffffffffff00000000000000}
165xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0xff, 0xff, 0xff,
166 0x0, 0x0, 0x0, 0x1, 0x1, 0x0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xff00, 0xffff, 0x0, 0x100, 0x1,
167 0x101, 0x0, 0x0}, v4_int32 = {0xffffff00, 0x1000000, 0x1010001, 0x0}, v2_int64 = {0x1000000ffffff00,
168 0x1010001}, uint128 = 0x000000000101000101000000ffffff00}
169xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000},
170 v16_int8 = {0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x0, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74},
171 v8_int16 = {0x696d, 0x656d, 0x745f, 0x7079, 0x65, 0x7865, 0x6f70, 0x7472}, v4_int32 = {0x656d696d,
172 0x7079745f, 0x78650065, 0x74726f70}, v2_int64 = {0x7079745f656d696d, 0x74726f7078650065},
173 uint128 = 0x74726f70786500657079745f656d696d}
174xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>},
175 v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
176 uint128 = 0x00000000000000000000000000000000}
177xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>},
178 v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
179 uint128 = 0x00000000000000000000000000000000}
180xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>},
181 v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
182 uint128 = 0x00000000000000000000000000000000}
183xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>},
184 v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
185 uint128 = 0x00000000000000000000000000000000}
186xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>},
187 v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
188 uint128 = 0x00000000000000000000000000000000}
189xmm8 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>},
190 v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
191 uint128 = 0x00000000000000000000000000000000}
192xmm9 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>},
193 v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
194 uint128 = 0x00000000000000000000000000000000}
195xmm10 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>},
196 v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
197 uint128 = 0x00000000000000000000000000000000}
198xmm11 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>},
199 v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
200 uint128 = 0x00000000000000000000000000000000}
201xmm12 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>},
202 v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
203---Type <return> to continue, or q <return> to quit---
204 uint128 = 0x00000000000000000000000000000000}
205xmm13 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>},
206 v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
207 uint128 = 0x00000000000000000000000000000000}
208xmm14 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>},
209 v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
210 uint128 = 0x00000000000000000000000000000000}
211xmm15 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>},
212 v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
213 uint128 = 0x00000000000000000000000000000000}
214mxcsr 0x1f80 [ IM DM ZM OM UM PM ]