Colin Guthrie wrote:
Eric Anholt wrote:
Could you get a gdb backtrace?

Hmm it seems that whenever the machine is locked up and I attach gdb to the process it just prints:
"Redelivering pending alarm clock"
And then gdb freeze :s

I've attached gdb to X process before the lockup this time and will see what happens when it next occurs.

OK, got a good 'un. Hopefully this is understandable. Please let me know if you prefer to do this via BZ. I'm happy either way as I read this list quite often.

Col

--

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]
(gdb) continue
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x00007ff123d7b694 in __lll_lock_wait () from /lib64/libpthread.so.0
(gdb) info threads
* 1 Thread 0x7ff12455d6f0 (LWP 22427)  0x00007ff123d7b694 in __lll_lock_wait () 
from /lib64/libpthread.so.0
(gdb) bt
#0  0x00007ff123d7b694 in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007ff123d76f34 in _L_lock_100 () from /lib64/libpthread.so.0
#2  0x00007ff123d76941 in pthread_mutex_lock () from /lib64/libpthread.so.0
#3  0x00007ff120d1a664 in dri_fake_bo_exec (bo=0x2e853c0, used=1304, 
cliprects=0x1799210, num_cliprects=1, DR4=0) at intel_bufmgr_fake.c:1060
#4  0x00007ff10fe13d1f in _intel_batchbuffer_flush (batch=0x1ec1ec0, 
file=<value optimized out>, line=<value optimized out>) at 
intel_batchbuffer.c:152
#5  0x00007ff10fe27812 in i915_emit_state (intel=0x1952a20) at i915_vtbl.c:345
#6  0x00007ff10fe3bef1 in intelRenderStart (ctx=0x1952a20) at intel_tris.c:998
#7  0x00007ff10fadb370 in run_render (ctx=0x17805c0, stage=0x80) at 
tnl/t_vb_render.c:275
#8  0x00007ff10fad2374 in _tnl_run_pipeline (ctx=0x1952a20) at 
tnl/t_pipeline.c:158
#9  0x00007ff10fe45810 in intelRunPipeline (ctx=0x1952a20) at intel_tris.c:987
#10 0x00007ff10fad2ef9 in _tnl_draw_prims (ctx=0x1952a20, arrays=<value 
optimized out>, prim=0x7fff2c5ab3e0, nr_prims=1, ib=0x0, min_index=0, 
max_index=3) at tnl/t_draw.c:402
#11 0x00007ff10faca2a9 in vbo_exec_DrawArrays (mode=7, start=0, count=4) at 
vbo/vbo_exec_array.c:267
#12 0x00007ff12180781d in ?? () from 
/usr/lib64/xorg/modules/extensions//libglx.so
#13 0x00007ff121801cb6 in ?? () from 
/usr/lib64/xorg/modules/extensions//libglx.so
#14 0x00007ff121805e32 in ?? () from 
/usr/lib64/xorg/modules/extensions//libglx.so
#15 0x0000000000447464 in Dispatch () at dispatch.c:454
#16 0x000000000042d64d in main (argc=10, argv=0x7fff2c5ab6c8, envp=<value 
optimized out>) at main.c:441
(gdb) bt full
#0  0x00007ff123d7b694 in __lll_lock_wait () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x00007ff123d76f34 in _L_lock_100 () from /lib64/libpthread.so.0
No symbol table info available.
#2  0x00007ff123d76941 in pthread_mutex_lock () from /lib64/libpthread.so.0
No symbol table info available.
#3  0x00007ff120d1a664 in dri_fake_bo_exec (bo=0x2e853c0, used=1304, 
cliprects=0x1799210, num_cliprects=1, DR4=0) at intel_bufmgr_fake.c:1060
        bufmgr_fake = (dri_bufmgr_fake *) 0x1780530
        batch = {start = 24643008, used = 0, DR1 = 48780224, DR4 = 0, 
num_cliprects = 24643008, cliprects = 0x1952a20}
        ret = -1
        retry_count = 0
        __PRETTY_FUNCTION__ = "dri_fake_bo_exec"
#4  0x00007ff10fe13d1f in _intel_batchbuffer_flush (batch=0x1ec1ec0, 
file=<value optimized out>, line=<value optimized out>) at 
intel_batchbuffer.c:152
        intel = (struct intel_context *) 0x1952a20
        used = 1304
        was_locked = 0 '\0'
#5  0x00007ff10fe27812 in i915_emit_state (intel=0x1952a20) at i915_vtbl.c:345
        i915 = (struct i915_context *) 0x1952a20
        state = (struct i915_hw_state *) 0x1967530
        i = <value optimized out>
        count = 0
        aper_count = 1
        dirty = <value optimized out>
        aper_array = {0x2e853c0, 0x17f6be0, 0x100000000, 0x1952a20, 0x179efe0, 
0xfffffff0, 0x1952a20, 0x12, 0x904480, 0x7ff10fe24473, 0x3f64ee6f3f7e8809}
        __FUNCTION__ = "i915_emit_state"
#6  0x00007ff10fe3bef1 in intelRenderStart (ctx=0x1952a20) at intel_tris.c:998
No locals.
#7  0x00007ff10fadb370 in run_render (ctx=0x17805c0, stage=0x80) at 
tnl/t_vb_render.c:275
        tnl = (TNLcontext *) 0x1b42b10
        tab = <value optimized out>
        pass = <value optimized out>
#8  0x00007ff10fad2374 in _tnl_run_pipeline (ctx=0x1952a20) at 
tnl/t_pipeline.c:158
        tnl = (TNLcontext *) 0x1b42b10
        i = 10
#9  0x00007ff10fe45810 in intelRunPipeline (ctx=0x1952a20) at intel_tris.c:987
        intel = (struct intel_context *) 0x1952a20
#10 0x00007ff10fad2ef9 in _tnl_draw_prims (ctx=0x1952a20, arrays=<value 
optimized out>, prim=0x7fff2c5ab3e0, nr_prims=1, ib=0x0, min_index=0, 
max_index=3) at tnl/t_draw.c:402
        bo = {0x0, 0x0, 0x0, 0x0, 0x0, 0x7fff2c5ab2e0, 0x7fff2c5ab360, 
0x7fff2c5ab4f8, 0x7fff2c5ab4e0, 0x7fff2c5ab460, 0x1902710, 0xff0a000000000000, 
0x0, 0x195dcf0, 0x2e85d80, 0x7ff10faabf26, 0x1952a20, 0x2, 0x195dcf0, 
0x7ff10fac5727, 0x1bc59e0, 0x7ff10fac5479, 0x0, 0x1952a20, 0x1952a20, 
0x7ff10fe1e3da, 0x179efe0, 0x1952a20, 0x1965310, 0x7ff10fa921e0, 0x1952a20, 
0x1952a20, 
  0x1b2e7a0}
        nr_bo = 0
        tnl = (TNLcontext *) 0x1b42b10
#11 0x00007ff10faca2a9 in vbo_exec_DrawArrays (mode=7, start=0, count=4) at 
vbo/vbo_exec_array.c:267
        ctx = (GLcontext *) 0x1952a20
        prim = {{mode = 7, indexed = 0, begin = 1, end = 1, weak = 0, pad = 0, 
start = 0, count = 4}}
#12 0x00007ff12180781d in ?? () from 
/usr/lib64/xorg/modules/extensions//libglx.so
No symbol table info available.
#13 0x00007ff121801cb6 in ?? () from 
/usr/lib64/xorg/modules/extensions//libglx.so
No symbol table info available.
#14 0x00007ff121805e32 in ?? () from 
/usr/lib64/xorg/modules/extensions//libglx.so
No symbol table info available.
#15 0x0000000000447464 in Dispatch () at dispatch.c:454
        result = <value optimized out>
        client = (ClientPtr) 0x1922820
        nready = 0
        start_tick = 53340
#16 0x000000000042d64d in main (argc=10, argv=0x7fff2c5ab6c8, envp=<value 
optimized out>) at main.c:441
        i = 1
        error = 0
        xauthfile = <value optimized out>
        alwaysCheckForInput = {0, 1}
(gdb) 

_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to