[Bug 63632] New: RS880 + mesa/llvm heads - segfault

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

 



Priority medium
Bug ID 63632
Assignee dri-devel@lists.freedesktop.org
Summary RS880 + mesa/llvm heads - segfault
Severity normal
Classification Unclassified
OS Linux (All)
Reporter adf.lists@gmail.com
Hardware x86-64 (AMD64)
Status NEW
Version git
Component Drivers/Gallium/r600
Product Mesa

With current mesa and llvm heads I get a segfault running anything, R600_LLVM=0
is OK.

Haven't had time to bisect what with the extra hassle of two trees with inter
dependencies.

I did find a recent working 

mesa on 

commit 1d6eb23f2dc1bb53636802cb698e6788ca0a26ac
Author: Roland Scheidegger <sroland@vmware.com>
Date:   Mon Apr 15 03:57:23 2013 +0200

    gallivm: fix small but severe bug in handling multiple lod level strides

llvm on the commit before 

commit ef1762b6a1d3353790bdb415788e7d8963e70372
Author: Nico Rieck <nico.rieck@gmail.com>
Date:   Sun Apr 14 21:18:36 2013 +0000

    Use object file specific section type for initial text section

with llvm on that commit and mesa on above I get 

/mnt/sdb1/Src64/llvm/include/llvm/MC/MCStreamer.h:224: void
llvm::MCStreamer::SwitchSection(const llvm::MCSection*): Assertion `Section &&
"Cannot switch to a null section!"' failed

With both on head I segfault

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff1e9b68c in r600_bytecode_from_byte_stream (num_bytes=0, bytes=0x0,
ctx=0x7fffffffc670) at r600_shader.c:593
593             ctx->bc->nstack = bytes[bytes_read++];
(gdb) bt
#0  0x00007ffff1e9b68c in r600_bytecode_from_byte_stream (num_bytes=0,
bytes=0x0, ctx=0x7fffffffc670) at r600_shader.c:593
#1  r600_shader_from_tgsi (rscreen=0x634630, pipeshader=0x61da70, key=...) at
r600_shader.c:1558
#2  0x00007ffff1e9dd73 in r600_pipe_shader_create (ctx=0x6478f0,
shader=0x61da70, key=...) at r600_shader.c:132
#3  0x00007ffff1eb06db in r600_shader_select (ctx=0x6478f0, sel=0x61d910,
dirty=0x0) at r600_state_common.c:747
#4  0x00007ffff1eb0876 in r600_create_shader_state (ctx=0x6478f0,
pipe_shader_type=0, state=<optimized out>) at r600_state_common.c:794
#5  0x00007ffff1dc2f16 in ureg_create_shader (ureg=0x618fa0, pipe=0x6478f0,
so=0x0) at tgsi/tgsi_ureg.c:1701
#6  0x00007ffff1de8172 in ureg_create_shader_with_so_and_destroy (so=0x0,
pipe=0x6478f0, p=0x618fa0) at ./tgsi/tgsi_ureg.h:131
#7  util_make_vertex_passthrough_shader_with_so (pipe=0x6478f0, num_attribs=2,
semantic_names=0x7fffffffdd70, semantic_indexes=0x7fffffffdd80, so=0x0) at
util/u_simple_shaders.c:98
#8  0x00007ffff1dcf4a6 in util_blitter_create (pipe=0x6478f0) at
util/u_blitter.c:301
#9  0x00007ffff1e8e59c in r600_create_context (screen=0x634630, priv=0x0) at
r600_pipe.c:466
#10 0x00007ffff1cf7a56 in st_api_create_context (stapi=<optimized out>,
smapi=0x633e60, attribs=0x7fffffffdee0, error=0x7fffffffdf0c,
shared_stctxi=0x0) at ../../src/mesa/state_tracker/st_manager.c:633
#11 0x00007ffff1ebdbf3 in dri_create_context (api=<optimized out>,
visual=0x6388e0, cPriv=<optimized out>, major_version=<optimized out>,
minor_version=<optimized out>, flags=<optimized out>, error=0x7fffffffdfdc, 
    sharedContextPrivate=0x0) at dri_context.c:122
#12 0x00007ffff1bc36aa in dri2CreateContextAttribs (screen=0x633ca0,
api=<optimized out>, config=0x6388e0, shared=<optimized out>,
num_attribs=<optimized out>, attribs=<optimized out>, error=0x7fffffffdfdc,
data=""
    at ../../../../src/mesa/drivers/dri/common/dri_util.c:288
#13 0x00007ffff1bc37dd in dri2CreateNewContextForAPI (screen=<optimized out>,
api=<optimized out>, config=<optimized out>, shared=<optimized out>,
data="" out>) at ../../../../src/mesa/drivers/dri/common/dri_util.c:306
#14 0x00007ffff716dd88 in dri2_create_context (base=0x617290,
config_base=0x642ac0, shareList=<optimized out>, renderType=<optimized out>) at
dri2_glx.c:230
#15 0x00007ffff7142b8e in CreateContext (dpy=0x604050, generic_id=185,
config=0x642ac0, shareList_user=0x0, allowDirect=<optimized out>, code=24,
renderType=32788, screen=0) at glxcmds.c:274
#16 0x00007ffff7142dba in glXCreateNewContext (dpy=<optimized out>,
fbconfig=<optimized out>, renderType=<optimized out>, shareList=<optimized
out>, allowDirect=<optimized out>) at glxcmds.c:1591
#17 0x00007ffff73cdf61 in fghCreateNewContext (window=<optimized out>) at
freeglut_window.c:458
#18 0x00007ffff73ce81b in fgOpenWindow (window=0x6139e0, title=0x402f20
"Gears", positionUse=0 '\000', x=-1, y=-1, sizeUse=1 '\001', w=300, h=300,
gameMode=0 '\000', isSubWindow=0 '\000') at freeglut_window.c:1228
#19 0x00007ffff73cd182 in fgCreateWindow (parent=0x0, title=0x402f20 "Gears",
positionUse=0 '\000', x=-1, y=-1, sizeUse=1 '\001', w=300, h=300, gameMode=0
'\000', isMenu=0 '\000') at freeglut_structure.c:108
#20 0x00007ffff73cea12 in glutCreateWindow (title=0x402f20 "Gears") at
freeglut_window.c:1583
#21 0x0000000000401553 in main (argc=1, argv=0x7fffffffe568) at gears.c:391


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux