Occasionally, I'll get an OpenGL app (almost always a screensaver) that
will freeze up, leaving the console unusable. Numlock doesn't toggle,
etc. If I log in via serial console and kill the app, then all is well.
This seems to happen once every day or two.
Recently, I got a debuggable build of the DRI cvs running, and was
happily able to obtain a backtrace from the (apparently) frozen app.
Some of it looks a little weird, but I hope it's more useful to you
gurus than to me. Here it is:
#0 0x4072fd51 in _grSstStatus () from /usr/lib/libglide3.so.3
#1 0x00001000 in ?? ()
#2 0x401f06c2 in _tnl_render_quad_strip_verts (ctx=0x0, start=4096,
count=216, flags=2312) at tnl/t_vb_rendertmp.h:391
#3 0x401f134c in run_render (ctx=0x8076df8, stage=0x44aa6000)
#4 0x401d8e83 in _tnl_run_pipeline (ctx=0x8076df8) at t_pipeline.c:154
#5 0x401d715b in _tnl_run_cassette (ctx=0x4401, IM=0x1a00007)
#6 0x401d0da8 in execute_compiled_cassette (ctx=0x4401, data=0x1a00007)
#7 0x40112863 in execute_list (ctx=0x8076df8, list=134704632) at dlist.c:3999
#8 0x40112f4d in _mesa_CallList (list=2) at dlist.c:4837
#9 0x0804a7b1 in strcpy ()
#10 0x0804b694 in strcpy ()
#11 0x0804c1ab in strcpy ()
#12 0x0804e569 in strcpy ()
#13 0x0804a4cd in strcpy ()
#14 0x0804d340 in strcpy ()
#15 0x404446cf in __libc_start_main () from /lib/libc.so.6
It's hanging in glide, trying to read from the status register. Or,
equally likely, it's repeatedly calling that function, waiting for the
engine to become idle (or some such, I don't really know what I'm
talking about). The next line looks like garbage. Then we're in good
ole Mesa code. The only interesting thing I see here is that
_tnl_render_quad_strip_verts was called with a NULL ctx. Should that
ever happen? Is it the cause of the problem? Where might that occur?
Hope someone can help shed some insight on this, and get this bug fixed.
(This is a with a Voodoo4 4000 AGP, don't think I mentioned that).
In a time of universal deceit, telling the truth is a revolutionary act.
-- George Orwell
He's alive. He's alive! Oh, that fellow at RadioShack said I was mad!
Well, who's mad now?
-- Montgomery C. Burns