On Thu, Mar 28, 2002 at 12:53:06PM -0800, Ian Romanick wrote:

> #0  0x4309fb0a in CreateContext (dpy=0x8075708, vis=0x0, shareList=0x0,
>     allowDirect=1, contextID=0) at glxcmds.c:165
> #1  0x4309fc5d in glXCreateContext (dpy=0x8075708, vis=0x0, shareList=0x0,
>     allowDirect=1) at glxcmds.c:206
> 
> It dies because it dereferences vis, which is NULL.  The man page for
> glXCreateContext doesn't say anything about the expected behavior if vis is
> NULL.  Should it return NULL or ... ?

I worked around this problem by making CreateContext retun NULL if vis =
NULL.  This allows Maya to load.

The bad news is that it dies shortly thereafter with an assertion failure in
Mesa.  The only seems to happen when I re-size the window.  Maya seems to
expect 1280x1024, but I'm running @ 1152x864.  If I hit the "maximize"
button to shrink it to my screen, wham!

maya.bin: t_imm_api.c:328: _tnl_end: Assertion ctx->Driver.NeedFlush & 0x1' failed

Program received signal SIGABRT, Aborted.
0x432b2d51 in __kill () from /lib/libc.so.6
(gdb) bt
#0  0x432b2d51 in __kill () from /lib/libc.so.6
#1  0x432b2acd in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x432b4138 in abort () at ../sysdeps/generic/abort.c:88
#3  0x432ac179 in __assert_fail (
    assertion=0x47040ff8 "ctx->Driver.NeedFlush & 0x1",
        file=0x47040fa4 "t_imm_api.c", line=328, function=0x47040fef "_tnl_end")
    at assert.c:74
#4  0x46fb3f37 in _tnl_end (ctx=0x890e1d0) at t_imm_api.c:328
#5  0x46fb4031 in _tnl_End () at t_imm_api.c:387

-- 
Tell that to the Marines!

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to