Skip to content

Instantly share code, notes, and snippets.

/mesa.log Secret

Created March 8, 2012 22:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/96c7d4ca92dd6523fce2 to your computer and use it in GitHub Desktop.
Save anonymous/96c7d4ca92dd6523fce2 to your computer and use it in GitHub Desktop.
(gdb) run wow.trace
Starting program: /home/idostyle/apitrace/build/glretrace wow.trace
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0xf641eb40 (LWP 19765)]
r300: DRM version: 2.12.0, Name: ATI RS480, ID: 0x5975, GB: 4, Z: 1
r300: GART size: 509 MB, VRAM size: 128 MB
r300: AA compression RAM: YES, Z compression RAM: YES, HiZ RAM: NO
[Thread 0xf641eb40 (LWP 19765) exited]
[New Thread 0xf641eb40 (LWP 19766)]
r300: DRM version: 2.12.0, Name: ATI RS480, ID: 0x5975, GB: 4, Z: 1
r300: GART size: 509 MB, VRAM size: 128 MB
r300: AA compression RAM: YES, Z compression RAM: YES, HiZ RAM: NO
draw/draw_llvm.c:160:create_jit_texture_type: Assertion `LLVMOffsetOfElement(target, texture_type, DRAW_JIT_TEXTURE_DATA) == __builtin_offsetof (struct draw_jit_texture, data)' failed.
Program received signal SIGTRAP, Trace/breakpoint trap.
_debug_assert_fail (
expr=0xf7541948 "LLVMOffsetOfElement(target, texture_type, DRAW_JIT_TEXTURE_DATA) == __builtin_offsetof (struct draw_jit_texture, data)",
file=0xf7541494 "draw/draw_llvm.c", line=160,
function=0xf75420b8 "create_jit_texture_type") at util/u_debug.c:281
281 }
(gdb) bt
#0 _debug_assert_fail (
expr=0xf7541948 "LLVMOffsetOfElement(target, texture_type, DRAW_JIT_TEXTURE_DATA) == __builtin_offsetof (struct draw_jit_texture, data)",
file=0xf7541494 "draw/draw_llvm.c", line=160,
function=0xf75420b8 "create_jit_texture_type") at util/u_debug.c:281
#1 0xf6b27c50 in create_jit_texture_type (gallivm=<optimized out>,
struct_name=<optimized out>) at draw/draw_llvm.c:158
#2 create_jit_types (llvm=0x83f9c40) at draw/draw_llvm.c:331
#3 0xf6b2b4f2 in get_context_ptr_type (llvm=0x83f9c40) at draw/draw_llvm.c:348
#4 draw_llvm_generate (llvm=0x83f9c40, variant=0x83a1b50, elts=0 '\000')
at draw/draw_llvm.c:1221
#5 0xf6b2b8ce in draw_llvm_create_variant (llvm=0x83f9c40, num_inputs=4,
key=0xffffcfb8) at draw/draw_llvm.c:451
#6 0xf6b2e630 in llvm_middle_end_prepare (middle=0x839a3e0, in_prim=5, opt=3,
max_vertices=0x8348f84) at draw/draw_pt_fetch_shade_pipeline_llvm.c:162
#7 0xf6a8d865 in vsplit_prepare (frontend=0x8348f68, in_prim=5,
middle=0x839a3e0, opt=3) at draw/draw_pt_vsplit.c:175
#8 0xf6a886f9 in draw_pt_arrays (draw=<optimized out>, prim=5, start=0,
count=4) at draw/draw_pt.c:111
#9 0xf6a88aa5 in draw_vbo (draw=0x82daef0, info=0xffffd52c)
at draw/draw_pt.c:501
#10 0xf686bd00 in r300_swtcl_draw_vbo (pipe=0x83b2c90, info=0xffffd52c)
at r300_render.c:855
#11 0xf686e73d in r300_stencilref_draw_vbo (pipe=0x83b2c90, info=0xffffd52c)
at r300_render_stencilref.c:110
#12 0xf696da2a in st_draw_vbo (ctx=0x8378078, arrays=0x83350b0,
prims=0x8333998, nr_prims=2, ib=0x0, index_bounds_valid=1 '\001',
min_index=0, max_index=7, tfb_vertcount=0x0)
at state_tracker/st_draw.c:1112
#13 0xf69645bc in vbo_exec_vtx_flush (exec=0x8333578, keepUnmapped=1 '\001')
at vbo/vbo_exec_draw.c:407
#14 0xf6958767 in vbo_exec_FlushVertices_internal (exec=0x8333578,
unmap=<optimized out>) at vbo/vbo_exec_api.c:444
#15 0xf6961618 in vbo_exec_FlushVertices (ctx=0x8378078, flags=1)
at vbo/vbo_exec_api.c:1195
#16 0xf6929c41 in _mesa_BindTexture (target=3553, texName=13)
at main/texobj.c:1123
#17 0x08081886 in __glBindTexture (target=3553, texture=13)
at /home/idostyle/apitrace/build/glproc.hpp:8968
#18 0x080c297d in retrace_glBindTexture (call=...)
at /home/idostyle/apitrace/build/glretrace_gl.cpp:5371
#19 0x081b4008 in retrace::Retracer::retrace (this=0xffffd7d4, call=...)
at /home/idostyle/apitrace/retrace.cpp:131
#20 0x0817741e in glretrace::display ()
at /home/idostyle/apitrace/glretrace_main.cpp:238
#21 0x08177bab in glretrace::main (argc=2, argv=0xffffd904)
at /home/idostyle/apitrace/glretrace_main.cpp:377
[..]
(gdb) p LLVMOffsetOfElement(target, texture_type, DRAW_JIT_TEXTURE_DATA)
$7 = 152
[..]
(gdb) cont
Continuing.
draw/draw_llvm.c:163:create_jit_texture_type: Assertion `LLVMOffsetOfElement(target, texture_type, DRAW_JIT_TEXTURE_MIN_LOD) == __builtin_offsetof (struct draw_jit_texture, min_lod)' failed.
Program received signal SIGTRAP, Trace/breakpoint trap.
_debug_assert_fail (
expr=0xf75419c0 "LLVMOffsetOfElement(target, texture_type, DRAW_JIT_TEXTURE_MIN_LOD) == __builtin_offsetof (struct draw_jit_texture, min_lod)",
file=0xf7541494 "draw/draw_llvm.c", line=163,
function=0xf75420b8 "create_jit_texture_type") at util/u_debug.c:281
281 }
(gdb)
Continuing.
draw/draw_llvm.c:166:create_jit_texture_type: Assertion `LLVMOffsetOfElement(target, texture_type, DRAW_JIT_TEXTURE_MAX_LOD) == __builtin_offsetof (struct draw_jit_texture, max_lod)' failed.
Program received signal SIGTRAP, Trace/breakpoint trap.
_debug_assert_fail (
expr=0xf7541a40 "LLVMOffsetOfElement(target, texture_type, DRAW_JIT_TEXTURE_MAX_LOD) == __builtin_offsetof (struct draw_jit_texture, max_lod)",
file=0xf7541494 "draw/draw_llvm.c", line=166,
function=0xf75420b8 "create_jit_texture_type") at util/u_debug.c:281
281 }
(gdb)
Continuing.
draw/draw_llvm.c:169:create_jit_texture_type: Assertion `LLVMOffsetOfElement(target, texture_type, DRAW_JIT_TEXTURE_LOD_BIAS) == __builtin_offsetof (struct draw_jit_texture, lod_bias)' failed.
Program received signal SIGTRAP, Trace/breakpoint trap.
_debug_assert_fail (
expr=0xf7541ac0 "LLVMOffsetOfElement(target, texture_type, DRAW_JIT_TEXTURE_LOD_BIAS) == __builtin_offsetof (struct draw_jit_texture, lod_bias)",
file=0xf7541494 "draw/draw_llvm.c", line=169,
function=0xf75420b8 "create_jit_texture_type") at util/u_debug.c:281
281 }
(gdb)
Continuing.
draw/draw_llvm.c:172:create_jit_texture_type: Assertion `LLVMOffsetOfElement(target, texture_type, DRAW_JIT_TEXTURE_BORDER_COLOR) == __builtin_offsetof (struct draw_jit_texture, border_color)' failed.
Program received signal SIGTRAP, Trace/breakpoint trap.
_debug_assert_fail (
expr=0xf7541b40 "LLVMOffsetOfElement(target, texture_type, DRAW_JIT_TEXTURE_BORDER_COLOR) == __builtin_offsetof (struct draw_jit_texture, border_color)",
file=0xf7541494 "draw/draw_llvm.c", line=172,
function=0xf75420b8 "create_jit_texture_type") at util/u_debug.c:281
281 }
(gdb)
Continuing.
draw/draw_llvm.c:174:create_jit_texture_type: Assertion `LLVMABISizeOfType(target, texture_type) == sizeof(struct draw_jit_texture)' failed.
Program received signal SIGTRAP, Trace/breakpoint trap.
_debug_assert_fail (
expr=0xf7541bc8 "LLVMABISizeOfType(target, texture_type) == sizeof(struct draw_jit_texture)", file=0xf7541494 "draw/draw_llvm.c", line=174,
function=0xf75420b8 "create_jit_texture_type") at util/u_debug.c:281
281 }
(gdb)
Continuing.
draw/draw_llvm.c:214:create_jit_context_type: Assertion `LLVMOffsetOfElement(target, context_type, 1) == __builtin_offsetof (struct draw_jit_context, gs_constants)' failed.
Program received signal SIGTRAP, Trace/breakpoint trap.
_debug_assert_fail (
expr=0xf7541c80 "LLVMOffsetOfElement(target, context_type, 1) == __builtin_offsetof (struct draw_jit_context, gs_constants)",
file=0xf7541494 "draw/draw_llvm.c", line=214,
function=0xf75420d0 "create_jit_context_type") at util/u_debug.c:281
281 }
(gdb)
Continuing.
draw/draw_llvm.c:216:create_jit_context_type: Assertion `LLVMOffsetOfElement(target, context_type, 2) == __builtin_offsetof (struct draw_jit_context, planes)' failed.
Program received signal SIGTRAP, Trace/breakpoint trap.
_debug_assert_fail (
expr=0xf7541cec "LLVMOffsetOfElement(target, context_type, 2) == __builtin_offsetof (struct draw_jit_context, planes)",
file=0xf7541494 "draw/draw_llvm.c", line=216,
function=0xf75420d0 "create_jit_context_type") at util/u_debug.c:281
281 }
(gdb)
Continuing.
draw/draw_llvm.c:219:create_jit_context_type: Assertion `LLVMOffsetOfElement(target, context_type, 4) == __builtin_offsetof (struct draw_jit_context, textures)' failed.
Program received signal SIGTRAP, Trace/breakpoint trap.
_debug_assert_fail (
expr=0xf7541d54 "LLVMOffsetOfElement(target, context_type, 4) == __builtin_offsetof (struct draw_jit_context, textures)",
file=0xf7541494 "draw/draw_llvm.c", line=219,
function=0xf75420d0 "create_jit_context_type") at util/u_debug.c:281
281 }
(gdb)
Continuing.
draw/draw_llvm.c:221:create_jit_context_type: Assertion `LLVMABISizeOfType(target, context_type) == sizeof(struct draw_jit_context)' failed.
Program received signal SIGTRAP, Trace/breakpoint trap.
_debug_assert_fail (
expr=0xf7541dbc "LLVMABISizeOfType(target, context_type) == sizeof(struct draw_jit_context)", file=0xf7541494 "draw/draw_llvm.c", line=221,
function=0xf75420d0 "create_jit_context_type") at util/u_debug.c:281
281 }
(gdb)
Continuing.
draw/draw_llvm.c:258:create_jit_vertex_buffer_type: Assertion `LLVMABISizeOfType(target, vb_type) == sizeof(struct pipe_vertex_buffer)' failed.
Program received signal SIGTRAP, Trace/breakpoint trap.
_debug_assert_fail (
expr=0xf7541ed8 "LLVMABISizeOfType(target, vb_type) == sizeof(struct pipe_vertex_buffer)", file=0xf7541494 "draw/draw_llvm.c", line=258,
function=0xf75420e8 "create_jit_vertex_buffer_type") at util/u_debug.c:281
281 }
(gdb)
Continuing.
warning: JITed object file architecture i386:x86-64 is not compatible with target architecture i386.
warning: JITed object file architecture i386:x86-64 is not compatible with target architecture i386.
Program received signal SIGSEGV, Segmentation fault.
0xf5b9e0d8 in ?? ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment