Ticket #1412: gdb-ffmpeg_g-dirac.log

File gdb-ffmpeg_g-dirac.log, 13.7 KB (added by jamal, 4 years ago)

gdb output

Line 
1$ gdb ./ffmpeg_g.exe
2GNU gdb (GDB) 7.1.90.20100730-cvs
3Copyright (C) 2010 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" and "show warranty" for details.
7This GDB was configured as "x86_64-w64-mingw32".
8For bug reporting instructions, please see:
9<http://www.gnu.org/software/gdb/bugs/>...
10Reading symbols from D:\msys\1.0\home\jamal\ffmpeg/./ffmpeg_g.exe...done.
11
12(gdb) r -i bbb-tr1000.ts -vcodec zlib -an asd.mkv
13Starting program: D:\msys\1.0\home\jamal\ffmpeg/./ffmpeg_g.exe -i bbb-tr1000.ts -vcodec zlib -an asd.mkv
14[New Thread 2876.0xd9c]
15ffmpeg version N-41291-g02ff89a Copyright (c) 2000-2012 the FFmpeg developers
16  built on Jun  4 2012 17:54:17 with gcc 4.7.0
17  configuration: --enable-gpl --disable-protocols --disable-network --enable-protocol=file --enable-cross-compile --cross-prefix=x86_64-w64-mingw32- --target-os=mingw32 --arch=x86_64 --cpu=amdfam10 --prefix=/mingw
18  libavutil      51. 56.100 / 51. 56.100
19  libavcodec     54. 23.100 / 54. 23.100
20  libavformat    54.  6.101 / 54.  6.101
21  libavdevice    54.  0.100 / 54.  0.100
22  libavfilter     2. 78.100 /  2. 78.100
23  libswscale      2.  1.100 /  2.  1.100
24  libswresample   0. 15.100 /  0. 15.100
25  libpostproc    52.  0.100 / 52.  0.100
26[dirac @ 0000000004AC4980] Error in dirac_decode_data_unit
27    Last message repeated 18 times
28[mpegts @ 0000000004AA00A0] max_analyze_duration 5000000 reached at 5016000
29[mpegts @ 0000000004AA00A0] PES packet size mismatch
30Input #0, mpegts, from 'bbb-tr1000.ts':
31  Duration: 00:09:56.12, start: 61835.685522, bitrate: 1373 kb/s
32  Program 1
33    Stream #0:0[0x44]: Video: dirac (drac / 0x63617264), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 28.28 fps, 24 tbr, 90k tbn, 24 tbc
34    Stream #0:1[0x45]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16, 256 kb/s
35File 'asd.mkv' already exists. Overwrite ? [y/N] y
36w:640 h:360 pixfmt:yuv420p tb:1/90000 sar:1/1 sws_param:flags=2
37[ffmpeg_buffersink @ 0000000004AA8B40] No opaque field provided
38[format @ 0000000004AA0900] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format'
39[auto-inserted scaler 0 @ 0000000004AA1400] w:640 h:360 fmt:yuv420p sar:1/1 -> w:640 h:360 fmt:bgr24 sar:1/1 flags:0x4
40Output #0, matroska, to 'asd.mkv':
41  Metadata:
42    encoder         : Lavf54.6.101
43    Stream #0:0: Video: zlib (ZLIB / 0x42494C5A), bgr24, 640x360 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 1k tbn, 24 tbc
44Stream mapping:
45  Stream #0:0 -> #0:0 (dirac -> zlib)
46Press [q] to stop, [?] for help
47[dirac @ 0000000004AC4980] Error in dirac_decode_data_unit
48Error while decoding stream #0:0: Error number -1 occurred
49[dirac @ 0000000004AC4980] Error in dirac_decode_data_unit
50Error while decoding stream #0:0: Error number -1 occurred
51[dirac @ 0000000004AC4980] Error in dirac_decode_data_unit
52Error while decoding stream #0:0: Error number -1 occurred
53[dirac @ 0000000004AC4980] Error in dirac_decode_data_unit
54Error while decoding stream #0:0: Error number -1 occurred
55[dirac @ 0000000004AC4980] Error in dirac_decode_data_unit
56Error while decoding stream #0:0: Error number -1 occurred
57[dirac @ 0000000004AC4980] Error in dirac_decode_data_unit
58Error while decoding stream #0:0: Error number -1 occurred
59[dirac @ 0000000004AC4980] Error in dirac_decode_data_unit
60Error while decoding stream #0:0: Error number -1 occurred
61[dirac @ 0000000004AC4980] Error in dirac_decode_data_unit
62Error while decoding stream #0:0: Error number -1 occurred
63[dirac @ 0000000004AC4980] Error in dirac_decode_data_unit
64Error while decoding stream #0:0: Error number -1 occurred
65[dirac @ 0000000004AC4980] Error in dirac_decode_data_unit
66Error while decoding stream #0:0: Error number -1 occurred
67[dirac @ 0000000004AC4980] Error in dirac_decode_data_unit
68Error while decoding stream #0:0: Error number -1 occurred
69[dirac @ 0000000004AC4980] Error in dirac_decode_data_unit
70Error while decoding stream #0:0: Error number -1 occurred
71[dirac @ 0000000004AC4980] Error in dirac_decode_data_unit
72Error while decoding stream #0:0: Error number -1 occurred
73[dirac @ 0000000004AC4980] Error in dirac_decode_data_unit
74Error while decoding stream #0:0: Error number -1 occurred
75[dirac @ 0000000004AC4980] Error in dirac_decode_data_unit
76Error while decoding stream #0:0: Error number -1 occurred
77[dirac @ 0000000004AC4980] Error in dirac_decode_data_unit
78Error while decoding stream #0:0: Error number -1 occurred
79[dirac @ 0000000004AC4980] Error in dirac_decode_data_unit
80Error while decoding stream #0:0: Error number -1 occurred
81[dirac @ 0000000004AC4980] Error in dirac_decode_data_unit
82Error while decoding stream #0:0: Error number -1 occurred
83[dirac @ 0000000004AC4980] Error in dirac_decode_data_unit
84Error while decoding stream #0:0: Error number -1 occurred
85
86Program received signal SIGSEGV, Segmentation fault.
870x0000000000b04975 in ff_add_rect_clamped_sse2.loop ()
88(gdb) bt
89#0  0x0000000000b04975 in ff_add_rect_clamped_sse2.loop ()
90#1  0x0000000000819ab8 in dirac_decode_frame_internal (s=0x642db40) at libavcodec/diracdec.c:1612
91#2  0x0000000000821b13 in dirac_decode_data_unit (avctx=0x4ac4980, data=0x64339e0, data_size=0x22e56c, pkt=Unhandled dwarf expression opcode 0xf3) at libavcodec/diracdec.c:1818
92#3  dirac_decode_frame (avctx=0x4ac4980, data=0x64339e0, data_size=0x22e56c, pkt=Unhandled dwarf expression opcode 0xf3) at libavcodec/diracdec.c:1869
93#4  0x0000000000526e4b in avcodec_decode_video2 (avctx=0x4ac4980, picture=0x64339e0, got_picture_ptr=0x22e56c, avpkt=0x22e590) at libavcodec/utils.c:1464
94#5  0x00000000004076e0 in decode_video (ist=Unhandled dwarf expression opcode 0xf3) at ffmpeg.c:2563
95#6  output_packet (ist=Unhandled dwarf expression opcode 0xf3) at ffmpeg.c:2737
96#7  0x0000000000b9d22f in transcode (argc=<value optimized out>, argv=<value optimized out>) at ffmpeg.c:3580
97#8  main (argc=<value optimized out>, argv=<value optimized out>) at ffmpeg.c:5880
98(gdb) disass $pc-32,$pc+32
99Dump of assembler code from 0xb04955 to 0xb04995:
100   0x0000000000b04955 <ff_add_rect_clamped_sse2.loop+3>:        adc    %dh,%bl
101   0x0000000000b04957 <ff_add_rect_clamped_sse2.loop+5>:        movq   (%rdx,%r11,2),%mm1
102   0x0000000000b0495c <ff_add_rect_clamped_sse2.loop+10>:       paddw  %xmm0,%xmm1
103   0x0000000000b04960 <ff_add_rect_clamped_sse2.loop+14>:       psraw  $0x6,%xmm1
104   0x0000000000b04965 <ff_add_rect_clamped_sse2.loop+19>:       movdqu 0x10(%rdx,%r11,2),%xmm2
105   0x0000000000b0496c <ff_add_rect_clamped_sse2.loop+26>:       paddw  %xmm0,%xmm2
106   0x0000000000b04970 <ff_add_rect_clamped_sse2.loop+30>:       psraw  $0x6,%xmm2
107=> 0x0000000000b04975 <ff_add_rect_clamped_sse2.loop+35>:       paddw  (%r9,%r11,2),%xmm1
108   0x0000000000b0497b <ff_add_rect_clamped_sse2.loop+41>:       paddw  0x10(%r9,%r11,2),%xmm2
109   0x0000000000b04982 <ff_add_rect_clamped_sse2.loop+48>:       packuswb %xmm2,%xmm1
110   0x0000000000b04986 <ff_add_rect_clamped_sse2.loop+52>:       movdqa %xmm1,(%rcx,%r11,1)
111   0x0000000000b0498c <ff_add_rect_clamped_sse2.loop+58>:       jg     0xb04952<ff_add_rect_clamped_sse2.loop>
112   0x0000000000b0498e <ff_add_rect_clamped_sse2.loop+60>:       lea    (%rdx,%r8,2),%rdx
113   0x0000000000b04992 <ff_add_rect_clamped_sse2.loop+64>:       add    %r8,%rcx
114End of assembler dump.
115(gdb) info all-registers
116rax            0x5      5
117rbx            0x6600ae4        106957540
118rcx            0x6501c50        105913424
119rdx            0x6601024        106958884
120rsi            0x6600550        106956112
121rdi            0x4f     79
122rbp            0x4af12b6        0x4af12b6
123rsp            0x22dd78 0x22dd78
124r8             0x2a0    672
125r9             0x800060766c600  2251825707664896
126r10            0x4000300000280  1125912791745152
127r11            0x270    624
128r12            0x280    640
129r13            0x642db40        105044800
130r14            0x6      6
131r15            0xfffffffe       4294967294
132rip            0xb04975 0xb04975 <ff_add_rect_clamped_sse2.loop+35>
133eflags         0x10202  [ IF RF ]
134cs             0x33     51
135ss             0x202002b        33685547
136ds             0x0      0
137es             0x0      0
138fs             0x0      0
139gs             0x2b0000 2818048
140st0            -nan(0x8080808080808080) (raw 0xffff8080808080808080)
141st1            -nan(0x8080808080808080) (raw 0xffff8080808080808080)
142st2            -nan(0x8282828282828282) (raw 0xffff8282828282828282)
143st3            -nan(0x000008282)        (raw 0xffff0000000000008282)
144st4            -inf     (raw 0xffff0000000000000000)
145st5            -nan(0x8282828200000000) (raw 0xffff8282828200000000)
146st6            -nan(0x8484848383838383) (raw 0xffff8484848383838383)
147st7            24       (raw 0x4003c000000000000000)
148fctrl          0x4020037f       1075839871
149fstat          0xff4020 16728096
150ftag           0xff     255
151fiseg          0x0      0
152fioff          0x0      0
153foseg          0x0      0
154fooff          0x0      0
155fop            0x0      0
156xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x20, 0x0, 0x20, 0x0, 0x20, 0x0, 0x20, 0x0, 0x20, 0x0, 0x20, 0x0, 0x20, 0x0, 0x20, 0x0}, v8_int16 = {0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20}, v4_int32 = {0x200020, 0x200020, 0x200020, 0x200020}, v2_int64 = {0x20002000200020, 0x20002000200020}, uint128 = 0x00200020002000200020002000200020}
157xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0}, v8_int16 = {0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80}, v4_int32 = {0x800080, 0x800080, 0x800080, 0x800080}, v2_int64 = {0x80008000800080, 0x80008000800080}, uint128 = 0x00800080008000800080008000800080}
158xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0}, v8_int16 = {0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80}, v4_int32 = {0x800080, 0x800080, 0x800080, 0x800080}, v2_int64 = {0x80008000800080, 0x80008000800080}, uint128 = 0x00800080008000800080008000800080}
159xmm3           {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 = 0x00000000000000000000000000000000}
160xmm4           {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 = 0x00000000000000000000000000000000}
161xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0}, v8_int16 = {0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80}, v4_int32 = {0x800080, 0x800080, 0x800080, 0x800080}, v2_int64 = {0x80008000800080, 0x80008000800080}, uint128 = 0x00800080008000800080008000800080}
162xmm6           {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 = 0x00000000000000000000000000000000}
163xmm7           {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 = 0x00000000000000000000000000000000}
164xmm8           {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 = 0x00000000000000000000000000000000}
165xmm9           {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 = 0x00000000000000000000000000000000}
166xmm10          {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 = 0x00000000000000000000000000000000}
167xmm11          {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 = 0x00000000000000000000000000000000}
168xmm12          {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 = 0x00000000000000000000000000000000}
169xmm13          {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 = 0x00000000000000000000000000000000}
170xmm14          {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 = 0x00000000000000000000000000000000}
171xmm15          {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 = 0x00000000000000000000000000000000}
172mxcsr          0x1fa0   [ PE IM DM ZM OM UM PM ]
173(gdb)