http://bugs.freedesktop.org/show_bug.cgi?id=7205
------- Comment #28 from [EMAIL PROTECTED] 2007-03-13 09:51 PST ------- With pretty current git (63169ce52d354b4345dcfc46b89f0ea88379718f 2007-03-08 08:20:19), the Xserver (this time the whole suite compiled with -O0) segfaults with the test case, at least on x86_64: Program received signal SIGSEGV, Segmentation fault. 0x00002b015de121e9 in xmesa_delete_framebuffer (fb=0x1259310) at xm_buffer.c:368 #0 0x00002b015de121e9 in xmesa_delete_framebuffer (fb=0x1259310) at xm_buffer.c:368 #1 0x00002b015dbdeac6 in _mesa_unreference_framebuffer (fb=0xac0838) at framebuffer.c:292 #2 0x00002b015dc03160 in _mesa_free_context_data (ctx=0xac0660) at context.c:1416 #3 0x00002b015de1067c in XMesaDestroyContext (c=0xac0660) at xm_api.c:1586 #4 0x00002b015de00247 in __glXMesaContextDestroy (baseContext=0xab2460) at xf86glx.c:187 #5 0x00002b015b857eac in __glXFreeContext (cx=0xab2460) at glxext.c:242 #6 0x00002b015b857c21 in ContextGone (cx=0xab2460, id=2097156) at glxext.c:121 #7 0x000000000043547e in FreeResourceByType (id=2097156, type=33, skipFree=0) at resource.c:622 #8 0x00002b015b84f04d in __glXDisp_DestroyContext (cl=0xab1790, pc=0xaaf500 "\217\004\002") at glxcmds.c:288 #9 0x00002b015b858590 in __glXDispatch (client=0xaaf100) at glxext.c:551 #10 0x0000000000564941 in XaceCatchExtProc (client=0xaaf100) at xace.c:299 #11 0x000000000044bd41 in Dispatch () at dispatch.c:503 #12 0x0000000000432949 in main (argc=1, argv=0x7fff5145ce08, envp=0x7fff5145ce18) at main.c:467 frame #0: xm_buffer.c:368 363 XMesaBuffer b = XMESA_BUFFER(fb); 364 365 #ifdef XFree86Server 366 int client = 0; 367 if (b->frontxrb->drawable) 368 client = CLIENT_ID(b->frontxrb->drawable->id); 369 #endif 370 371 if (b->num_alloced > 0) { 372 /* If no other buffer uses this X colormap then free the colors. */ frame #1: framebuffer.c:292 287 (*fb)->RefCount--; 288 deleteFlag = ((*fb)->RefCount == 0); 289 _glthread_UNLOCK_MUTEX((*fb)->Mutex); 290 291 if (deleteFlag) 292 (*fb)->Delete(*fb); 293 294 *fb = NULL; 295 } 296 } (gdb) print b->frontxrb->drawable $2 = (XMesaDrawable) 0x2b015e136010 (gdb) print b->frontxrb->drawable->id Cannot access memory at address 0x2b015e136018 (gdb) print b->frontxrb $10 = (struct xmesa_renderbuffer *) 0xfd1620 (gdb) print *b->frontxrb $11 = {Base = {Mutex = 0, ClassID = 0, Name = 0, RefCount = 2, Width = 4096, Height = 4096, InternalFormat = 6408, _ActualFormat = 0, _BaseFormat = 6408, DataType = 5121, RedBits = 5 '\005', GreenBits = 6 '\006', BlueBits = 5 '\005', AlphaBits = 8 '\b', IndexBits = 0 '\0', DepthBits = 0 '\0', StencilBits = 0 '\0', Data = 0x0, Wrapped = 0xfd1620, Delete = 0x2b015de11e11 <xmesa_delete_renderbuffer>, AllocStorage = 0x2b015de11e28 <xmesa_alloc_front_storage>, GetPointer = 0x2b015dc397e5 <nop_get_pointer>, GetRow = 0x2b015ddae8ec <get_row_rgba>, GetValues = 0x2b015ddb0346 <get_values_rgba>, PutRow = 0x2b015dd97d13 <put_row_DITHER_5R6G5B_pixmap>, PutRowRGB = 0x2b015dd983c5 <put_row_rgb_DITHER_5R6G5B_pixmap>, PutMonoRow = 0x2b015dda9b29 <put_mono_row_TRUEDITHER_pixmap>, PutValues = 0x2b015dda63b4 <put_values_DITHER_5R6G5B_pixmap>, PutMonoValues = 0x2b015ddabc56 <put_mono_values_TRUEDITHER_pixmap>}, Parent = 0x1259310, drawable = 0x2b015e136010, pixmap = 0x2b015e136010, ximage = 0x0, origin1 = 0x0, width1 = 0, origin2 = 0x0, width2 = 0, origin3 = 0x0, width3 = 0, origin4 = 0x0, width4 = 0, bottom = 4095, clearFunc = 0x2b015de00eeb <clear_pixmap>} -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev