Open GoogleCodeExporter opened 9 years ago
./libyuv_unittest.sh --gtest_filter=libyuvTest.ARGBRect_Unaligned DEBUG MODE ENABLED (bypass acl) Note: Google Test filter = libyuvTest.ARGBRect_Unaligned [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from libyuvTest [ RUN ] libyuvTest.ARGBRect_Unaligned ** Signal 11 from untrusted code: pc=403b002d8d30 (gdb) bt #0 0x00000000002d8d30 in ARGBSetRow_C () #1 0x00000000002c8de0 in ARGBRect () #2 0x00000000001de100 in libyuv::TestARGBRect(int, int, int, int, int, int, int) () #3 0x00000000001deb20 in libyuv::libyuvTest_ARGBRect_Unaligned_Test::TestBody() () #4 0x000000000032a5e0 in HandleSehExceptionsInMethodIfSupported<testing::Test, void> (location=<optimized out>, method=<optimized out>, object=<optimized out>) at gtest.cc:2364 #5 testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void> ( object=0xfefcadc8, method=<optimized out>, location=0x1005a465 "the test body") at gtest.cc:2400 #6 0x0000000000317c60 in testing::Test::Run (this=0xfefcadc8) at gtest.cc:2437 #7 0x0000000000317e80 in testing::TestInfo::Run (this=0xfefdd240) at gtest.cc:2612 #8 0x0000000000318420 in testing::TestCase::Run (this=0xfefe06d8) at gtest.cc:2730 #9 0x00000000003188a0 in testing::internal::UnitTestImpl::RunAllTests ( this=0xfefe0588) at gtest.cc:4604 #10 0x0000000000316b00 in HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (location=<optimized out>, method=<optimized out>, object=<optimized out>) at gtest.cc:2364 #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ( method=<optimized out>, object=<optimized out>, location=<optimized out>) at gtest.cc:2400 #12 testing::UnitTest::Run (this=<optimized out>) at gtest.cc:4225 #13 0x00000000002a6de0 in main () (gdb) disassemble Dump of assembler code for function ARGBSetRow_C: 0x00000000002d8c80 <+0>: test %edx,%edx 0x00000000002d8c82 <+2>: push %rbx 0x00000000002d8c83 <+3>: mov %edi,%edi 0x00000000002d8c85 <+5>: jle 0x2d8da0 <ARGBSetRow_C+288> 0x00000000002d8c8b <+11>: mov %edi,%r8d 0x00000000002d8c8e <+14>: and $0xf,%r8d 0x00000000002d8c92 <+18>: shr $0x2,%r8d 0x00000000002d8c96 <+22>: neg %r8d 0x00000000002d8c99 <+25>: and $0x3,%r8d 0x00000000002d8c9d <+29>: cmp %edx,%r8d 0x00000000002d8ca0 <+32>: cmova %edx,%r8d 0x00000000002d8ca4 <+36>: test %r8d,%r8d 0x00000000002d8ca7 <+39>: je 0x2d8dc0 <ARGBSetRow_C+320> 0x00000000002d8cad <+45>: mov %edi,%ecx 0x00000000002d8caf <+47>: xor %eax,%eax 0x00000000002d8cb1 <+49>: data32 data32 data32 data32 data32 nopw %cs:0x0(%rax,%rax,1) 0x00000000002d8cc0 <+64>: add $0x1,%eax 0x00000000002d8cc3 <+67>: mov %ecx,%r9d 0x00000000002d8cc6 <+70>: add $0x4,%ecx 0x00000000002d8cc9 <+73>: cmp %eax,%r8d 0x00000000002d8ccc <+76>: mov %r9d,%r9d 0x00000000002d8ccf <+79>: mov %esi,(%r15,%r9,1) 0x00000000002d8cd3 <+83>: ja 0x2d8cc0 <ARGBSetRow_C+64> 0x00000000002d8cd5 <+85>: cmp %r8d,%edx 0x00000000002d8cd8 <+88>: je 0x2d8da0 <ARGBSetRow_C+288> 0x00000000002d8cde <+94>: xchg %ax,%ax 0x00000000002d8ce0 <+96>: mov %edx,%ebx 0x00000000002d8ce2 <+98>: sub %r8d,%ebx 0x00000000002d8ce5 <+101>: mov %ebx,%r10d 0x00000000002d8ce8 <+104>: shr $0x2,%r10d 0x00000000002d8cec <+108>: lea 0x0(,%r10,4),%r11d 0x00000000002d8cf4 <+116>: test %r11d,%r11d 0x00000000002d8cf7 <+119>: je 0x2d8d60 <ARGBSetRow_C+224> 0x00000000002d8cf9 <+121>: mov %esi,-0x4(%rsp) 0x00000000002d8cfd <+125>: nopl (%rax) 0x00000000002d8d00 <+128>: lea (%rdi,%r8,4),%r8d 0x00000000002d8d04 <+132>: xor %ecx,%ecx 0x00000000002d8d06 <+134>: movd -0x4(%rsp),%xmm1 0x00000000002d8d0c <+140>: pshufd $0x0,%xmm1,%xmm0 0x00000000002d8d11 <+145>: data32 data32 data32 data32 data32 nopw %cs:0x0(%rax,%rax,1) 0x00000000002d8d20 <+160>: add $0x1,%ecx 0x00000000002d8d23 <+163>: mov %r8d,%r9d 0x00000000002d8d26 <+166>: add $0x10,%r8d 0x00000000002d8d2a <+170>: cmp %r10d,%ecx 0x00000000002d8d2d <+173>: mov %r9d,%r9d => 0x00000000002d8d30 <+176>: movdqa %xmm0,(%r15,%r9,1)
Original issue reported on code.google.com by sbc@google.com on 19 May 2015 at 11:10
sbc@google.com
Original issue reported on code.google.com by
sbc@google.com
on 19 May 2015 at 11:10