Changes between Initial Version and Version 1 of Ticket #713, comment 2


Ignore:
Timestamp:
Dec 6, 2011, 8:53:34 PM (8 years ago)
Author:
Andrea3000
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #713, comment 2

    initial v1  
    55This is the commit which introduced the issue: 13b7781ec8d475513c1ee40a6e481763b728a71e
    66
    7 For what is about the backtrace, I don't understand how can I use "gdb ffmpeg_g" as long as I'm using FFmpeg only as an API..
    8 Sorry but I'm a newbie..
    9 
     7Here is backtrace, disassembly and output:
     8
     9{{{
     10Program received signal EXC_BAD_ACCESS, Could not access memory.
     11Reason: KERN_INVALID_ADDRESS at address: 0x000000012b395000
     12[Switching to process 64984]
     130x0000000100591c26 in yv12touyvy_MMX2 () at vector.tcc:300
     14300               this->_M_impl._M_end_of_storage = __new_start + __len;
     15(gdb) bt
     16#0  0x0000000100591c26 in yv12touyvy_MMX2 () at vector.tcc:300
     17#1  0x0000000100581489 in planarToUyvyWrapper () at vector.tcc:300
     18#2  0x000000012b297400 in ?? ()
     19#3  0x4040404040404040 in ?? ()
     20Current language:  auto; currently objective-c++
     21(gdb) disass $pc-32,$pc+32
     22Dump of assembler code for function yv12touyvy_MMX2:
     230x0000000100591bc0 <yv12touyvy_MMX2+0>: push   %rbp
     240x0000000100591bc1 <yv12touyvy_MMX2+1>: push   %rbx
     250x0000000100591bc2 <yv12touyvy_MMX2+2>: mov    %r9d,%ebp
     260x0000000100591bc5 <yv12touyvy_MMX2+5>: sar    %r8d
     270x0000000100591bc8 <yv12touyvy_MMX2+8>: movslq %r8d,%r8
     280x0000000100591bcb <yv12touyvy_MMX2+11>:        test   %r9d,%r9d
     290x0000000100591bce <yv12touyvy_MMX2+14>:        jle    0x100591c7b <yv12touyvy_MMX2+187>
     300x0000000100591bd4 <yv12touyvy_MMX2+20>:        movslq 0x18(%rsp),%r9
     310x0000000100591bd9 <yv12touyvy_MMX2+25>:        movslq 0x28(%rsp),%r11
     320x0000000100591bde <yv12touyvy_MMX2+30>:        xor    %r10d,%r10d
     330x0000000100591be1 <yv12touyvy_MMX2+33>:        movslq 0x20(%rsp),%rbx
     340x0000000100591be6 <yv12touyvy_MMX2+38>:        jmp    0x100591c02 <yv12touyvy_MMX2+66>
     350x0000000100591be8 <yv12touyvy_MMX2+40>:        nopl   0x0(%rax,%rax,1)
     360x0000000100591bf0 <yv12touyvy_MMX2+48>:        inc    %r10d
     370x0000000100591bf3 <yv12touyvy_MMX2+51>:        cmp    %ebp,%r10d
     380x0000000100591bf6 <yv12touyvy_MMX2+54>:        je     0x100591c7b <yv12touyvy_MMX2+187>
     390x0000000100591bfc <yv12touyvy_MMX2+60>:        add    %r9,%rdi
     400x0000000100591bff <yv12touyvy_MMX2+63>:        add    %r11,%rcx
     410x0000000100591c02 <yv12touyvy_MMX2+66>:        xor    %rax,%rax
     420x0000000100591c05 <yv12touyvy_MMX2+69>:        nopl   0x0(%rax,%rax,1)
     430x0000000100591c0a <yv12touyvy_MMX2+74>:        nopw   0x0(%rax,%rax,1)
     440x0000000100591c10 <yv12touyvy_MMX2+80>:        prefetchnta 0x20(%rdi,%rax,2)
     450x0000000100591c15 <yv12touyvy_MMX2+85>:        prefetchnta 0x20(%rsi,%rax,1)
     460x0000000100591c1a <yv12touyvy_MMX2+90>:        prefetchnta 0x20(%rdx,%rax,1)
     470x0000000100591c1f <yv12touyvy_MMX2+95>:        movq   (%rsi,%rax,1),%mm0
     480x0000000100591c23 <yv12touyvy_MMX2+99>:        movq   %mm0,%mm2
     490x0000000100591c26 <yv12touyvy_MMX2+102>:       movq   (%rdx,%rax,1),%mm1
     500x0000000100591c2a <yv12touyvy_MMX2+106>:       punpcklbw %mm1,%mm0
     510x0000000100591c2d <yv12touyvy_MMX2+109>:       punpckhbw %mm1,%mm2
     520x0000000100591c30 <yv12touyvy_MMX2+112>:       movq   (%rdi,%rax,2),%mm3
     530x0000000100591c34 <yv12touyvy_MMX2+116>:       movq   0x8(%rdi,%rax,2),%mm5
     540x0000000100591c39 <yv12touyvy_MMX2+121>:       movq   %mm0,%mm4
     550x0000000100591c3c <yv12touyvy_MMX2+124>:       movq   %mm2,%mm6
     560x0000000100591c3f <yv12touyvy_MMX2+127>:       punpcklbw %mm3,%mm0
     570x0000000100591c42 <yv12touyvy_MMX2+130>:       punpckhbw %mm3,%mm4
     580x0000000100591c45 <yv12touyvy_MMX2+133>:       punpcklbw %mm5,%mm2
     590x0000000100591c48 <yv12touyvy_MMX2+136>:       punpckhbw %mm5,%mm6
     600x0000000100591c4b <yv12touyvy_MMX2+139>:       movntq %mm0,(%rcx,%rax,4)
     610x0000000100591c4f <yv12touyvy_MMX2+143>:       movntq %mm4,0x8(%rcx,%rax,4)
     620x0000000100591c54 <yv12touyvy_MMX2+148>:       movntq %mm2,0x10(%rcx,%rax,4)
     630x0000000100591c59 <yv12touyvy_MMX2+153>:       movntq %mm6,0x18(%rcx,%rax,4)
     640x0000000100591c5e <yv12touyvy_MMX2+158>:       add    $0x8,%rax
     650x0000000100591c62 <yv12touyvy_MMX2+162>:       cmp    %r8,%rax
     660x0000000100591c65 <yv12touyvy_MMX2+165>:       jb     0x100591c10 <yv12touyvy_MMX2+80>
     670x0000000100591c67 <yv12touyvy_MMX2+167>:       test   $0x1,%r10b
     680x0000000100591c6b <yv12touyvy_MMX2+171>:       je     0x100591bf0 <yv12touyvy_MMX2+48>
     690x0000000100591c6d <yv12touyvy_MMX2+173>:       add    %rbx,%rsi
     700x0000000100591c70 <yv12touyvy_MMX2+176>:       add    %rbx,%rdx
     710x0000000100591c73 <yv12touyvy_MMX2+179>:       inc    %r10d
     720x0000000100591c76 <yv12touyvy_MMX2+182>:       cmp    %ebp,%r10d
     730x0000000100591c79 <yv12touyvy_MMX2+185>:       jne    0x100591bfc <yv12touyvy_MMX2+60>
     740x0000000100591c7b <yv12touyvy_MMX2+187>:       emms   
     750x0000000100591c7d <yv12touyvy_MMX2+189>:       sfence
     760x0000000100591c80 <yv12touyvy_MMX2+192>:       pop    %rbx
     770x0000000100591c81 <yv12touyvy_MMX2+193>:       pop    %rbp
     780x0000000100591c82 <yv12touyvy_MMX2+194>:       retq   
     790x0000000100591c83 <yv12touyvy_MMX2+195>:       nopw   0x0(%rax,%rax,1)
     800x0000000100591c89 <yv12touyvy_MMX2+201>:       nopl   0x0(%rax)
     81End of assembler dump.
     82(gdb) info all-registers
     83rax            0x280    640
     84rbx            0x3c0    960
     85rcx            0x11dde6400      4796081152
     86rdx            0x12b394d80      5020142976
     87rsi            0x12b316480      5019624576
     88rdi            0x12b299200      5019111936
     89rbp            0x440    0x440
     90rsp            0x120e3aa98      0x120e3aa98
     91r8             0x3c0    960
     92r9             0x780    1920
     93r10            0x43c    1084
     94r11            0xf00    3840
     95r12            0x0      0
     96r13            0x1021ef800      4330551296
     97r14            0x11     17
     98r15            0x3c0    960
     99rip            0x100591c26      0x100591c26 <yv12touyvy_MMX2+102>
     100eflags         0x10287  66183
     101cs             0x2b     43
     102ss             0x0      0
     103ds             0x0      0
     104es             0x0      0
     105fs             0x23     35
     106gs             0xf      15
     107st0            -nan(0x7a7a7a7a7a7a7a7a) (raw 0xffff7a7a7a7a7a7a7a7a)
     108st1            <invalid float value>    (raw 0xffff0000000000000000)
     109st2            -nan(0x7a7a7a7a7a7a7a7a) (raw 0xffff7a7a7a7a7a7a7a7a)
     110st3            -nan(0x8e8e8e8e8e8e8e8e) (raw 0xffff8e8e8e8e8e8e8e8e)
     111st4            -nan(0x8e008e7a8e008e7a) (raw 0xffff8e008e7a8e008e7a)
     112st5            -nan(0x8e8e8e8e8e8e8e8f) (raw 0xffff8e8e8e8e8e8e8e8f)
     113st6            -nan(0x8e008e7a8e008e7a) (raw 0xffff8e008e7a8e008e7a)
     114st7            2        (raw 0x40008000000000000000)
     115fctrl          0x37f    895
     116fstat          0x4000   16384
     117ftag           0x2aaa   10922
     118fiseg          0x2b     43
     119fioff          0x8701692a       -2029950678
     120foseg          0x23     35
     121fooff          0x20e3a6b8       551790264
     122fop            0x55d    1373
     123xmm0           {
     124  v4_float = {0, 0, 4.53125, 0},
     125  v2_double = {0, 1088},
     126  v16_int8 = {0, 0, 0, 0, 0, 0, 0, 0, 64, -111, 0, 0, 0, 0, 0, 0},
     127  v8_int16 = {0, 0, 0, 0, 16529, 0, 0, 0},
     128  v4_int32 = {0, 0, 1083244544, 0},
     129  v2_int64 = {0, 4652499890050433024},
     130  uint128 = 37184
     131}       (raw 0x00000000000091400000000000000000)
     132xmm1           {
     133  v4_float = {0, 0, 4.53125, 0},
     134  v2_double = {0, 1088},
     135  v16_int8 = {0, 0, 0, 0, 0, 0, 0, 0, 64, -111, 0, 0, 0, 0, 0, 0},
     136  v8_int16 = {0, 0, 0, 0, 16529, 0, 0, 0},
     137  v4_int32 = {0, 0, 1083244544, 0},
     138  v2_int64 = {0, 4652499890050433024},
     139  uint128 = 37184
     140}       (raw 0x00000000000091400000000000000000)
     141xmm2           {
     142  v4_float = {0, 0, 5.2331543, 0},
     143  v2_double = {0, 3003},
     144  v16_int8 = {0, 0, 0, 0, 0, 0, 0, 0, 64, -89, 118, 0, 0, 0, 0, 0},
     145  v8_int16 = {0, 0, 0, 0, 16551, 30208, 0, 0},
     146  v4_int32 = {0, 0, 1084716544, 0},
     147  v2_int64 = {0, 4658822081910145024},
     148  uint128 = 7776064
     149}       (raw 0x000000000076a7400000000000000000)
     150xmm3           {
     151  v4_float = {1.30577099e+36, 2.1059141e+37, 2.09757384e+37, 1.30579135e+36},
     152  v2_double = {6.5386757897991892e+286, 2.9109276065644548e+296},
     153  v16_int8 = {123, 123, 123, 123, 125, 125, 125, 125, 125, 124, 124, 124, 123, 123, 124, 124},
     154  v8_int16 = {31611, 31611, 32125, 32125, 32124, 31868, 31611, 31868},
     155  v4_int32 = {2071690107, 2105376125, 2105310332, 2071690364},
     156  v2_int64 = {8897841259117116797, 9042239025942592636},
     157  uint128 = 0x7b7b7b7b7d7d7d7d7d7c7c7c7b7b7c7c
     158}       (raw 0x7c7c7b7b7c7c7c7d7d7d7d7d7b7b7b7b)
     159xmm4           {
     160  v4_float = {1.30577099e+36, 1.30577099e+36, 1.30577099e+36, 2.1059141e+37},
     161  v2_double = {6.5386757613253666e+286, 6.5386757897991892e+286},
     162  v16_int8 = {123 <repeats 12 times>, 125, 125, 125, 125},
     163  v8_int16 = {31611, 31611, 31611, 31611, 31611, 31611, 32125, 32125},
     164  v4_int32 = {2071690107, 2071690107, 2071690107, 2105376125},
     165  v2_int64 = {8897841259083430779, 8897841259117116797},
     166  uint128 = 0x7b7b7b7b7b7b7b7b7b7b7b7b7d7d7d7d
     167}       (raw 0x7d7d7d7d7b7b7b7b7b7b7b7b7b7b7b7b)
     168xmm5           {
     169  v4_float = {3.7956544e+25, 9.24099228e+23, 5.63560025e-06, -5.25562337e+32},
     170  v2_double = {3.3282210898181474e+202, 5.0971145433431912e-45},
     171  v16_int8 = {105, -5, 44, -29, 103, 67, -81, -123, 54, -67, 25, 112, -11, -49, 76, 60},
     172  v8_int16 = {27131, 11491, 26435, -20603, 14013, 6512, -2609, 19516},
     173  v4_int32 = {1778068707, 1732489093, 918362480, -170963908},
     174  v2_int64 = {7636746948338495365, 3944336821597457468},
     175  uint128 = 0x69fb2ce36743af8536bd1970f5cf4c3c
     176}       (raw 0x3c4ccff57019bd3685af4367e32cfb69)
     177xmm6           {
     178  v4_float = {-221650272, -1.19395729e-08, 2.05909728e-07, 0.000163621356},
     179  v2_double = {-3.1893469237096725e+64, 1.8539696798410024e-56},
     180  v16_int8 = {-51, 83, 97, -42, -78, 77, 30, -52, 52, 93, 24, 9, 57, 43, -111, -58},
     181  v8_int16 = {-12973, 25046, -19891, 7884, 13405, 6153, 14635, -28218},
     182  v4_int32 = {-850173482, -1303568692, 878516233, 959156678},
     183  v2_int64 = {-3651467298125046068, 3773198490699272646},
     184  uint128 = 0xcd5361d6b24d1ecc345d1809392b91c6
     185}       (raw 0xc6912b3909185d34cc1e4db2d66153cd)
     186xmm7           {
     187  v4_float = {9.25334131e+37, 348784.812, -2.42001909e-28, 6.92919744e+16},
     188  v2_double = {3.6469880178186947e+301, -6.8585696613434697e-224},
     189  v16_int8 = {126, -117, 58, -109, 72, -86, 78, 26, -111, -103, 99, 14, 91, 118, 44, -81},
     190  v8_int16 = {32395, 14995, 18602, 19994, -28263, 25358, 23414, 11439},
     191  v4_int32 = {2123053715, 1219120666, -1852218610, 1534471343},
     192  v2_int64 = {9118446274795425306, -7955218353458107217},
     193  uint128 = 0x7e8b3a9348aa4e1a9199630e5b762caf
     194}       (raw 0xaf2c765b0e6399911a4eaa48933a8b7e)
     195xmm8           {
     196  v4_float = {0, 0, 0, 0},
     197  v2_double = {0, 0},
     198  v16_int8 = {0 <repeats 16 times>},
     199  v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0},
     200  v4_int32 = {0, 0, 0, 0},
     201  v2_int64 = {0, 0},
     202  uint128 = 0
     203}       (raw 0x00000000000000000000000000000000)
     204xmm9           {
     205  v4_float = {0, 0, 0, 0},
     206  v2_double = {0, 0},
     207  v16_int8 = {0 <repeats 16 times>},
     208  v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0},
     209  v4_int32 = {0, 0, 0, 0},
     210  v2_int64 = {0, 0},
     211  uint128 = 0
     212}       (raw 0x00000000000000000000000000000000)
     213xmm10          {
     214  v4_float = {0, 0, 0, 0},
     215  v2_double = {0, 0},
     216  v16_int8 = {0 <repeats 16 times>},
     217  v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0},
     218  v4_int32 = {0, 0, 0, 0},
     219  v2_int64 = {0, 0},
     220  uint128 = 0
     221}       (raw 0x00000000000000000000000000000000)
     222xmm11          {
     223  v4_float = {0, 0, 0, 0},
     224  v2_double = {0, 0},
     225  v16_int8 = {0 <repeats 16 times>},
     226  v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0},
     227  v4_int32 = {0, 0, 0, 0},
     228  v2_int64 = {0, 0},
     229  uint128 = 0
     230}       (raw 0x00000000000000000000000000000000)
     231xmm12          {
     232  v4_float = {0, 0, 0, 0},
     233  v2_double = {0, 0},
     234  v16_int8 = {0 <repeats 16 times>},
     235  v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0},
     236  v4_int32 = {0, 0, 0, 0},
     237  v2_int64 = {0, 0},
     238  uint128 = 0
     239}       (raw 0x00000000000000000000000000000000)
     240xmm13          {
     241  v4_float = {0, 0, 0, 0},
     242  v2_double = {0, 0},
     243  v16_int8 = {0 <repeats 16 times>},
     244  v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0},
     245  v4_int32 = {0, 0, 0, 0},
     246  v2_int64 = {0, 0},
     247  uint128 = 0
     248}       (raw 0x00000000000000000000000000000000)
     249xmm14          {
     250  v4_float = {0, 0, 0, 0},
     251  v2_double = {0, 0},
     252  v16_int8 = {0 <repeats 16 times>},
     253  v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0},
     254  v4_int32 = {0, 0, 0, 0},
     255  v2_int64 = {0, 0},
     256  uint128 = 0
     257}       (raw 0x00000000000000000000000000000000)
     258xmm15          {
     259  v4_float = {0, 0, 0, 0},
     260  v2_double = {0, 0},
     261  v16_int8 = {0 <repeats 16 times>},
     262  v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0},
     263  v4_int32 = {0, 0, 0, 0},
     264  v2_int64 = {0, 0},
     265  uint128 = 0
     266}       (raw 0x00000000000000000000000000000000)
     267mxcsr          0x1fa0   8096
     268}}}
     269
     270