NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Native X (8.1/amd64) crashing with gvim-gtk3



(or maybe just any gnome3 program)

It is quite repeatable for me: start gvim with a file, move cursor down
so that it scrolls. Sometimes it crashes even earlier.

Stack backtrace (great to have full debug files available!)

Program received signal SIGSEGV, Segmentation fault.
0x000076ca23b0ee90 in emit_primitive_identity_mask (sna=<optimized out>, 
    op=0x7f7fff788ce0, r=0x7f7fff788cd0)
    at /usr/xsrc/external/mit/xf86-video-intel/dist/src/sna/gen4_vertex.c:854
854     /usr/xsrc/external/mit/xf86-video-intel/dist/src/sna/gen4_vertex.c: No such file or directory.
(gdb) bt
#0  0x000076ca23b0ee90 in emit_primitive_identity_mask (sna=<optimized out>, 
    op=0x7f7fff788ce0, r=0x7f7fff788cd0)
    at /usr/xsrc/external/mit/xf86-video-intel/dist/src/sna/gen4_vertex.c:854
#1  0x000076ca23a6feaf in glyphs0_to_dst (sna=sna@entry=0x76ca2d301000, 
    op=op@entry=3 '\003', src=src@entry=0x76ca27908b00, 
    dst=dst@entry=0x76ca27908980, src_x=0, src_x@entry=2, src_y=0, 
    src_y@entry=69, nlist=<optimized out>, nlist@entry=1, 
    list=list@entry=0x7f7fff7890d0, glyphs=0x7f7fff7895e0, 
    glyphs@entry=0x7f7fff7894d0)
    at /usr/xsrc/external/mit/xf86-video-intel/dist/src/sna/sna_glyphs.c:906
#2  0x000076ca23a74862 in sna_glyphs (op=3 '\003', src=0x76ca27908b00, 
    dst=0x76ca27908980, mask=0x0, src_x=<optimized out>, 
    src_y=<optimized out>, nlist=1, list=0x7f7fff7890d0, glyphs=0x7f7fff7894d0)
    at /usr/xsrc/external/mit/xf86-video-intel/dist/src/sna/sna_glyphs.c:1998
#3  0x000000015b56ebbf in damageGlyphs (op=<optimized out>, 
    pSrc=0x76ca27908b00, pDst=0x76ca27908980, maskFormat=0x0, 
    xSrc=<optimized out>, ySrc=<optimized out>, nlist=1, list=0x7f7fff7890d0, 
    glyphs=0x7f7fff7894d0)
    at /usr/xsrc/external/mit/xorg-server/dist/miext/damage/damage.c:569
#4  0x000000015b554b71 in ?? ()
#5  0x000000015b486b84 in Dispatch ()
#6  0x000000015b45a505 in dix_main ()
#7  0x000000015b45a05b in ___start ()
#8  0x000076ca2de31000 in ?? ()
#9  0x0000000000000005 in ?? ()
#10 0x00007f7fff78a3c8 in ?? ()
#11 0x00007f7fff78a3d9 in ?? ()
#12 0x00007f7fff78a3dc in ?? ()
#13 0x00007f7fff78a3e1 in ?? ()
#14 0x00007f7fff78a3e7 in ?? ()
#15 0x0000000000000000 in ?? ()
(gdb) info locals
dst = {p = {x = 274, y = 69}, f = 6.33703319e-39}
msk_x = 584
msk_y = 32
w = <optimized out>
h = <optimized out>
v = 0x76ca2d6dcff0
(gdb) print *op
$1 = {blt = 0x76ca23aeb52c <gen4_render_composite_blt>, 
  box = 0x76ca23aeb895 <gen4_render_composite_box>, 
  boxes = 0x76ca23aea420 <gen4_render_composite_boxes>, thread_boxes = 0x0, 
  done = 0x76ca23ae69ae <gen4_render_composite_done>, damage = 0x0, op = 8, 
  dst = {pixmap = 0x76ca2818df00, format = 537036936, bo = 0x76ca2a347800, 
    x = 0, y = 0, width = 644, height = 704}, src = {bo = 0x76ca2cf8ea60, 
    transform = 0x0, width = 1, height = 1, pict_format = 537036936, 
    card_format = 192, filter = 0, repeat = 1, is_affine = 1, is_solid = 1, 
    is_linear = 0, is_opaque = 1, alpha_fixup = 0, rb_reversed = 0, offset = {
      0, 0}, scale = {1, 1}, embedded_transform = {matrix = {{0, 0, 0}, {0, 0, 
          0}, {0, 0, 0}}}, u = {linear = {dx = 0, dy = 0, offset = 0}, gen2 = {
        pixel = 0}, gen3 = {type = 0, mode = 0, constants = 0}}}, mask = {
    bo = 0x76ca2d7d4840, transform = 0x0, width = 1024, height = 1024, 
    pict_format = 537036936, card_format = 192, filter = 0, repeat = 0, 
    is_affine = 1, is_solid = 0, is_linear = 0, is_opaque = 0, 
    alpha_fixup = 0, rb_reversed = 0, offset = {0, 0}, scale = {0.0009765625, 
      0.0009765625}, embedded_transform = {matrix = {{0, 0, 0}, {0, 0, 0}, {0, 
          0, 0}}}, u = {linear = {dx = 0, dy = 0, offset = 0}, gen2 = {
        pixel = 0}, gen3 = {type = 0, mode = 0, constants = 0}}}, 
  is_affine = 1, has_component_alpha = 1, need_magic_ca_pass = 1, 
  rb_reversed = 0, floats_per_vertex = 4, floats_per_rect = 12, 
  prim_emit = 0x76ca23b0ede9 <emit_primitive_identity_mask>, 
  emit_boxes = 0x76ca23b0eeeb <emit_boxes_identity_mask>, redirect = {
    real_bo = 0x0, real_damage = 0x0, damage = 0x0, box = {x1 = 0, y1 = 0, 
      x2 = 0, y2 = 0}}, u = {blt = {src_pixmap = 0x900000006, sx = 0, sy = 0, 
      inplace = 0, overwrites = 0, bpp = 0, alu = 0, cmd = 0, br13 = 0, 
      pitch = {0, 0}, pixel = 0, bo = {0x0, 0x0}}, gen3 = {constants = {
        8.40779079e-45, 1.26116862e-44, 0, 0, 0, 0, 0, 0}, num_constants = 0}, 
    gen4 = {wm_kernel = 6, ve_id = 9}, gen5 = {wm_kernel = 6, ve_id = 0}, 
    gen6 = {flags = 6}, gen7 = {flags = 6}, gen8 = {flags = 6}}, priv = 0x0}
(gdb) print v[7]
$2 = 0
(gdb) print v[3]
$3 = 0.0390625
(gdb) print  op->mask.scale[1] 
$4 = 0.0009765625
(gdb) 

In version 1.1.1.3 there is this, and all subexpressions from line 854
seem to be ok, at least gdb can print values.

 850         dst.p.x = r->dst.x + r->width;
 851         dst.p.y = r->dst.y + r->height;
 852         v[0] = dst.f;
 853         v[2] = (msk_x + w) * op->mask.scale[0];
 854         v[7] = v[3] = (msk_y + h) * op->mask.scale[1];
 855 
 856         dst.p.x = r->dst.x;

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- "What good is a Ring of Power
\X/ rhialto/at/falu.nl      -- if you're unable...to Speak." - Agent Elrond

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index