On Fri, Jun 06, 2003 at 04:49:15PM -0700, Nathaniel Gray wrote:
> I'm resending this since it didn't seem to get any response on dri-user.  
> Maybe it belongs on dri-devel.
>
[...]
> Program received signal SIGSEGV, Segmentation fault.
> 0x00000000 in ?? ()
> (gdb) bt
> #0  0x00000000 in ?? ()
> #1  0x40448a97 in radeonCreateContext (glVisual=0x804bcc8,
>     driContextPriv=0x80539b8, sharedContextPrivate=0x0) at 
> radeon_context.c:412
> #2  0x4034cffb in driCreateContext (dpy=0x804bcc8, vis=0x804e470,
>     sharedPrivate=0x0, pctx=0x804fd9c, fbconfig=0xbffff030) at 
> dri_util.c:1007
> #3  0x4006f7c8 in CreateContext () from /usr/X11R6/lib/libGL.so.1
> #4  0x4006f8e8 in glXCreateContext () from /usr/X11R6/lib/libGL.so.1
> #5  0x0804a3c6 in XOpenDisplay ()
> #6  0x0804a692 in XOpenDisplay ()
> #7  0x402067f7 in __libc_start_main () from /lib/i686/libc.so.6

This is a different problem than John Sheu and Jason Cook have been
experienced. 

>From the BT above it seems that a null pointer is being called, but
looking to the caller code that situation seems to be perfectly
accounted:


     rmesa->get_ust = (PFNGLXGETUSTPROC) glXGetProcAddress( "__glXGetUST" );
     if ( rmesa->get_ust == NULL ) {
        rmesa->get_ust = get_ust_nop;
     }
  
->   (*rmesa->get_ust)( & rmesa->swap_ust );

Can anypody what's at fault here?  Is the '*' in '*rmesa->get_ust'
necessary?

This code hasn't been changed in sometime, so the only plausible
explanation I can think of is some kind of compiler bug or something
like that...

José Fonseca


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to