Project

General

Profile

Bug #3198 » gdb-1.txt

gdb with work machine glxgears core loaded - yellowrabbit2010, 07/17/2019 04:13 PM

 
<http://bugs.dragonflybsd.org/>...
Reading symbols from /usr/local/bin/glxgears...done.
[New process 1]
[New process 2]
[New process 3]
Core was generated by `glxgears'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000008008e0576 in memcpy () from /lib/libc.so.8
(gdb) bt
#0 0x00000008008e0576 in memcpy () from /lib/libc.so.8
#1 0x0000000801ccf6f7 in r600_create_vertex_fetch_shader (ctx=0x800e20000, count=2,
elements=0x7fffffdfbfd0) at r600_asm.c:2783
#2 0x0000000801b57137 in util_blitter_create (pipe=0x800e20000)
at util/u_blitter.c:302
#3 0x0000000801cd5ba8 in r600_create_context (screen=0x8049f0100, priv=0x0, flags=0)
at r600_pipe.c:231
#4 0x0000000801cd68bf in r600_screen_create (ws=0x800d80100, config=0x7fffffdfc1d8)
at r600_pipe.c:825
#5 0x0000000801ef200f in radeon_drm_winsys_create (fd=5, config=0x7fffffdfc1d8,
screen_create=0x801cd64be <r600_screen_create>) at radeon_drm_winsys.c:941
#6 0x000000080151503f in pipe_r600_create_screen (fd=5, config=0x7fffffdfc1d8)
at ../../../../src/gallium/auxiliary/target-helpers/drm_helper.h:144
#7 0x0000000801c5f91a in pipe_loader_drm_create_screen (dev=0x800da0300,
config=0x7fffffdfc1d8) at pipe_loader_drm.c:362
#8 0x0000000801c5ebe8 in pipe_loader_create_screen (dev=0x800da0300)
at pipe_loader.c:137
#9 0x0000000801aa7b90 in dri2_init_screen (sPriv=0x800d10430) at dri2.c:2130
#10 0x0000000801a9da8f in driCreateNewScreen2 (scrn=0, fd=4, extensions=0x800da0150,
driver_extensions=0x804465420 <galliumdrm_driver_extensions>,
driver_configs=0x7fffffdfcbe0, data=0x800dc00c0) at dri_util.c:153
#11 0x00000008005e28b4 in dri2CreateScreen (screen=0, priv=0x800d501a0)
at dri2_glx.c:1279
#12 0x00000008005a934d in AllocAndFetchScreenConfigs (dpy=0x800c70200,
priv=0x800d501a0) at glxext.c:826
#13 0x00000008005a975a in __glXInitialize (dpy=0x800c70200) at glxext.c:953
#14 0x00000008005a27a4 in GetGLXPrivScreenConfig (dpy=0x800c70200, scrn=0,
ppriv=0x7fffffdfce48, ppsc=0x7fffffdfce40) at glxcmds.c:174
#15 0x00000008005a4a40 in glXChooseVisual (dpy=0x800c70200, screen=0,
attribList=0x7fffffdfcf50) at glxcmds.c:1245
#16 0x00000000004038a8 in make_window (dpy=0x800c70200, name=0x404709 "glxgears",
x=0, y=0, width=300, height=300, winRet=0x7fffffdfd0d8, ctxRet=0x7fffffdfd0d0,
visRet=0x7fffffdfd0c8) at glxgears.c:520
#17 0x00000000004041c0 in main (argc=1, argv=0x7fffffdfd188) at glxgears.c:777
(gdb) f 1
#1 0x0000000801ccf6f7 in r600_create_vertex_fetch_shader (ctx=0x800e20000, count=2,
elements=0x7fffffdfbfd0) at r600_asm.c:2783
2783 memcpy(bytecode, bc.bytecode, fs_size);
(gdb) p bytecode
$1 = (uint32_t *) 0x804ba9000
(gdb) p bc.bytecode
$2 = (uint32_t *) 0x800cc9960
(gdb) p fs_size
$3 = 48
(gdb)

(5-5/14)