[x264-devel] core dump on solaris 10/space with x264-snapshot-20100112-2245

Chris Brookes cbrookes at gmail.com
Sat Jan 16 06:14:06 CET 2010


2010/1/15 Håkan Hjort <hakan.hjort at gmail.com>:

> I think interesting info would be the the register values and the
> surrounding machine code.
> Not sure how to do it in dbx, using gdb it would be something like;
> info regs
> disassemble $pc-32 $pc+16
> p dequant_mf




t at 1 (l at 1) program terminated by signal SEGV (no mapping at the fault address)
Current function is x264_mb_encode_8x8_chroma
   59       int dmf = dequant_mf[i_qp%6][0];
(dbx) where
current thread: t at 1
=>[1] x264_mb_encode_8x8_chroma(h = 0xab340, b_inter = 0, i_qp = 19),
line 59 in "macroblock.c"
  [2] x264_macroblock_encode(h = 0xab340), line 892 in "macroblock.c"
  [3] x264_rd_cost_mb(h = 0xab340, i_lambda2 = 2925), line 145 in "rdo.c"
  [4] x264_macroblock_analyse(h = 0xab340), line 992 in "analyse.c"
  [5] x264_slice_write(h = 0xab340), line 1672 in "encoder.c"
  [6] x264_encoder_encode(h = 0xab340, pp_nal = 0xffbff18c, pi_nal =
0xffbff188, pic_in = 0x3f, pic_out = 0xffbff1e0), line 1904 in
"encoder.c"
  [7] main(argc = 0, argv = 0xa9a10), line 1236 in "x264.c"



(dbx) regs
current thread: t at 1
current frame:  [1]
g0-g3    0x00000000 0x00000000 0x00000000 0x00000000
g4-g7    0x00000000 0x000aef60 0x00000000 0xff362a00
o0-o3    0xefed4800 0x00000000 0xffbfb644 0x00002c00
o4-o7    0xfff70000 0x00750000 0xffbfb650 0x0000fff7
l0-l3    0xffbfb51b 0x000adf40 0x000ab340 0x00000002
l4-l7    0x0000007e 0xfffffffe 0x00000002 0x00020000
i0-i3    0x000ab340 0x00000000 0x00000075 0x000b1d40
i4-i7    0xfffffff7 0x00000000 0xffbfb7f0 0x0007ba00
y        0x00000000
ccr      0xfe001000
pc       0x0007a638:x264_mb_encode_8x8_chroma+0x5a0    ld       [%i3 + %o0], %l1
npc      0x0007a63c:x264_mb_encode_8x8_chroma+0x5a4    cmp      %l0, 0

(dbx) dis x264_mb_encode_8x8_chroma


0x0007a5b8: x264_mb_encode_8x8_chroma+0x0520:   sethi    %hi(0x3000), %o7
0x0007a5bc: x264_mb_encode_8x8_chroma+0x0524:   mov      1, %l3
0x0007a5c0: x264_mb_encode_8x8_chroma+0x0528:   or       %o7, 924, %o1
0x0007a5c4: x264_mb_encode_8x8_chroma+0x052c:   cmp      %o0, 0
0x0007a5c8: x264_mb_encode_8x8_chroma+0x0530:   be
x264_mb_encode_8x8_chroma+0x610        ! 0x7a6a8
0x0007a5cc: x264_mb_encode_8x8_chroma+0x0534:   st       %l3, [%i0 + %o1]
0x0007a5d0: x264_mb_encode_8x8_chroma+0x0538:   lduh     [%fp - 24], %l4
0x0007a5d4: x264_mb_encode_8x8_chroma+0x053c:   lduh     [%fp - 18], %l3
0x0007a5d8: x264_mb_encode_8x8_chroma+0x0540:   lduh     [%fp - 20], %o1
0x0007a5dc: x264_mb_encode_8x8_chroma+0x0544:   lduh     [%fp - 22], %o7
0x0007a5e0: x264_mb_encode_8x8_chroma+0x0548:   ld       [%fp - 268], %l0
0x0007a5e4: x264_mb_encode_8x8_chroma+0x054c:   sethi    %hi(0x2c00), %o3
0x0007a5e8: x264_mb_encode_8x8_chroma+0x0550:   sth      %l4, [%l0 + %o3]
0x0007a5ec: x264_mb_encode_8x8_chroma+0x0554:   ld       [%fp - 264], %l1
0x0007a5f0: x264_mb_encode_8x8_chroma+0x0558:   sll      %l4, 16, %o5
0x0007a5f4: x264_mb_encode_8x8_chroma+0x055c:   sll      %l3, 16, %l7
0x0007a5f8: x264_mb_encode_8x8_chroma+0x0560:   ld       [%fp - 224], %l2
0x0007a5fc: x264_mb_encode_8x8_chroma+0x0564:   ld       [%fp - 232], %l5
0x0007a600: x264_mb_encode_8x8_chroma+0x0568:   sll      %o7, 16, %o4
0x0007a604: x264_mb_encode_8x8_chroma+0x056c:   sll      %o1, 16, %g1
0x0007a608: x264_mb_encode_8x8_chroma+0x0570:   sra      %o5, 16, %i2
0x0007a60c: x264_mb_encode_8x8_chroma+0x0574:   sra      %o4, 16, %i4
0x0007a610: x264_mb_encode_8x8_chroma+0x0578:   sra      %g1, 16, %i5
0x0007a614: x264_mb_encode_8x8_chroma+0x057c:   sra      %l7, 16, %l6
0x0007a618: x264_mb_encode_8x8_chroma+0x0580:   ld       [%l2 + 2580], %i3
0x0007a61c: x264_mb_encode_8x8_chroma+0x0584:   add      %l5, -5, %l0
0x0007a620: x264_mb_encode_8x8_chroma+0x0588:   sth      %l3, [%l1 + 6]
0x0007a624: x264_mb_encode_8x8_chroma+0x058c:   sth      %o1, [%l1 + 2]
0x0007a628: x264_mb_encode_8x8_chroma+0x0590:   sth      %o7, [%l1 + 4]
0x0007a62c: x264_mb_encode_8x8_chroma+0x0594:   ld       [%fp - 244], %o0
0x0007a630: x264_mb_encode_8x8_chroma+0x0598:   sub      %i2, %i4, %l4
0x0007a634: x264_mb_encode_8x8_chroma+0x059c:   sub      %i5, %l6, %l5

0x0007a638: x264_mb_encode_8x8_chroma+0x05a0:   ld       [%i3 + %o0], %l1
0x0007a63c: x264_mb_encode_8x8_chroma+0x05a4:   cmp      %l0, 0

0x0007a640: x264_mb_encode_8x8_chroma+0x05a8:   add      %i2, %i4, %l3
0x0007a644: x264_mb_encode_8x8_chroma+0x05ac:   ble
x264_mb_encode_8x8_chroma+0x5bc        ! 0x7a654
0x0007a648: x264_mb_encode_8x8_chroma+0x05b0:   add      %i5, %l6, %l2
0x0007a64c: x264_mb_encode_8x8_chroma+0x05b4:   sll      %l1, %l0, %l1
0x0007a650: x264_mb_encode_8x8_chroma+0x05b8:   clr      %l0
0x0007a654: x264_mb_encode_8x8_chroma+0x05bc:   mov      %l1, %o1
0x0007a658: x264_mb_encode_8x8_chroma+0x05c0:   call     .umul [PLT]
 ! 0xa29d0
0x0007a65c: x264_mb_encode_8x8_chroma+0x05c4:   add      %l3, %l2, %o0
0x0007a660: x264_mb_encode_8x8_chroma+0x05c8:   neg      %l0, %l6
0x0007a664: x264_mb_encode_8x8_chroma+0x05cc:   sra      %o0, %l6, %i2
0x0007a668: x264_mb_encode_8x8_chroma+0x05d0:   mov      %l1, %o1
0x0007a66c: x264_mb_encode_8x8_chroma+0x05d4:   sth      %i2, [%fp - 176]
0x0007a670: x264_mb_encode_8x8_chroma+0x05d8:   call     .umul [PLT]
 ! 0xa29d0
0x0007a674: x264_mb_encode_8x8_chroma+0x05dc:   sub      %l3, %l2, %o0
0x0007a678: x264_mb_encode_8x8_chroma+0x05e0:   sra      %o0, %l6, %i4
0x0007a67c: x264_mb_encode_8x8_chroma+0x05e4:   mov      %l1, %o1
0x0007a680: x264_mb_encode_8x8_chroma+0x05e8:   sth      %i4, [%fp - 144]
0x0007a684: x264_mb_encode_8x8_chroma+0x05ec:   call     .umul [PLT]
 ! 0xa29d0
0x0007a688: x264_mb_encode_8x8_chroma+0x05f0:   add      %l4, %l5, %o0
0x0007a68c: x264_mb_encode_8x8_chroma+0x05f4:   sra      %o0, %l6, %i5
0x0007a690: x264_mb_encode_8x8_chroma+0x05f8:   sth      %i5, [%fp - 112]
0x0007a694: x264_mb_encode_8x8_chroma+0x05fc:   sub      %l4, %l5, %o0
0x0007a698: x264_mb_encode_8x8_chroma+0x0600:   call     .umul [PLT]
 ! 0xa29d0
0x0007a69c: x264_mb_encode_8x8_chroma+0x0604:   mov      %l1, %o1
0x0007a6a0: x264_mb_encode_8x8_chroma+0x0608:   sra      %o0, %l6, %o2
0x0007a6a4: x264_mb_encode_8x8_chroma+0x060c:   sth      %o2, [%fp - 80]
0x0007a6a8: x264_mb_encode_8x8_chroma+0x0610:   sethi    %hi(0x6000), %l1
0x0007a6ac: x264_mb_encode_8x8_chroma+0x0614:   or       %l1,
0x0000026c, %i3   ! 0x626c
0x0007a6b0: x264_mb_encode_8x8_chroma+0x0618:   ld       [%fp - 220], %o0
0x0007a6b4: x264_mb_encode_8x8_chroma+0x061c:   ld       [%i0 + %i3], %g1
0x0007a6b8: x264_mb_encode_8x8_chroma+0x0620:   call     %g1
0x0007a6bc: x264_mb_encode_8x8_chroma+0x0624:   add      %fp, -176, %o1
0x0007a6c0: x264_mb_encode_8x8_chroma+0x0628:   ba
x264_mb_encode_8x8_chroma+0x2c0        ! 0x7a358
0x0007a6c4: x264_mb_encode_8x8_chroma+0x062c:   ld       [%fp - 280], %o5
0x0007a6c8: x264_mb_encode_8x8_chroma+0x0630:   or       %o4, 505, %i5
0x0007a6cc: x264_mb_encode_8x8_chroma+0x0634:   clrb     [%i4 + %i5]
0x0007a6d0: x264_mb_encode_8x8_chroma+0x0638:   or       %o4, 506, %l2
0x0007a6d4: x264_mb_encode_8x8_chroma+0x063c:   clrb     [%i4 + %l2]
0x0007a6d8: x264_mb_encode_8x8_chroma+0x0640:   or       %o4, 513, %l3
0x0007a6dc: x264_mb_encode_8x8_chroma+0x0644:   or       %o4, 514, %l6
0x0007a6e0: x264_mb_encode_8x8_chroma+0x0648:   clrb     [%i4 + %l3]
0x0007a6e4: x264_mb_encode_8x8_chroma+0x064c:   cmp      %o0, 0
0x0007a6e8: x264_mb_encode_8x8_chroma+0x0650:   be
x264_mb_encode_8x8_chroma+0x2bc        ! 0x7a354


More information about the x264-devel mailing list