[Dri-devel] Re: [Mesa3d-users] XQueryExtension problem ?
Sérgio Monteiro Basto wrote: Hi I find on internet morpheus-0.3 project. and had had this problem: #gdb morpheus GNU gdb Red Hat Linux (5.3.90-0.20030710.41rh) This GDB was configured as i386-redhat-linux-gnu...Using host libthread_db library /lib/libthread_db.so.1. (gdb) run Starting program: /usr/local/bin/morpheus [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 7185)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 7185)] 0x40328227 in XQueryExtension () from /usr/X11R6/lib/libX11.so.6 (gdb) bt #0 0x40328227 in XQueryExtension () from /usr/X11R6/lib/libX11.so.6 #1 0x404c07b3 in glXQueryExtension (dpy=0x0, errorBase=0x0, eventBase=0x0) at glxcmds.c:758 #2 0x40470884 in gdk_gl_query () from /usr/lib/libgtkgl.so.5 #3 0x0804b8d4 in main (argc=1, argv=0x40473150) at main.c:189 The gdk_gl_query function comes in gtkglarea-1.2.2-17 rpm. finding gdk_gl_query in code, only this lines in ./src/main.c if( gdk_gl_query() == FALSE ) { g_print( no OpenGL capability\n ); return 0; } Well, I deleted this 4 lines from code and morpheus works well. I try this with mesa from cvs+savage dri and in other computer with XFree4.4 from cvs and with X.org R6.7 compiled from sources, the difference was when morpheus runed with XFree4.4 instead of Segmentation fault, gdk_gl_query() return FALSE. I'm cross-replying to the DRI list in case anyone there is familiar with the problem. Though, I don't really understand what you're saying at the end. -Brian --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Dri-devel] Re: [Mesa3d-users] XQueryExtension problem ?
The gdk_gl_query function comes in gtkglarea-1.2.2-17 rpm. finding gdk_gl_query in code, only this lines in ./src/main.c if( gdk_gl_query() == FALSE ) { g_print( no OpenGL capability\n ); return 0; } Well, I deleted this 4 lines from code and morpheus works well. I try this with mesa from cvs+savage dri and in other computer with XFree4.4 from cvs and with X.org R6.7 compiled from sources, the difference was when morpheus runed with XFree4.4 instead of Segmentation fault, gdk_gl_query() return FALSE. I'm cross-replying to the DRI list in case anyone there is familiar with the problem. Though, I don't really understand what you're saying at the end. I test in my laptop with dri cvs trunk savage drive. and at work, on one desktop P4 xenon with one SIS 671FX, I try 2 differents sources Xfree4.4cvs and X.org R6.7 plus SIS drive 20040424. with X.org, gdk_gl_query() give segmentation fault, with Xfree4.4cvs returns FALSE, that is not wight either. all with Fedora Core 1 OS Thanks, -- Sérgio M. B. --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [Dri-devel] Re: [Mesa3d-users] XQueryExtension problem ?
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 7185)] 0x40328227 in XQueryExtension () from /usr/X11R6/lib/libX11.so.6 (gdb) bt #0 0x40328227 in XQueryExtension () from /usr/X11R6/lib/libX11.so.6 #1 0x404c07b3 in glXQueryExtension (dpy=0x0, errorBase=0x0, eventBase=0x0) at glxcmds.c:758 #2 0x40470884 in gdk_gl_query () from /usr/lib/libgtkgl.so.5 #3 0x0804b8d4 in main (argc=1, argv=0x40473150) at main.c:189 The NULL dpy pointer passed to glXQueryExtension seems suspicious. --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel