Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x2ab26f2884b0 (LWP 7146)] do_row (format=, srcWidth=, srcRowA=0x0, srcRowB=0x1000, dstWidth=512, dstRow=0x283d200) at main/mipmap.c:162 162 dst[i][0] = (rowA[j][0] + rowA[k][0] + (gdb) bt #0 do_row (format=, srcWidth=, srcRowA=0x0, srcRowB=0x1000, dstWidth=512, dstRow=0x283d200) at main/mipmap.c:162 #1 0x00002ab280fcfab9 in make_2d_mipmap (format=0x4, border=0, srcWidth=1024, srcHeight=1024, srcPtr=0x0, dstWidth=512, dstHeight=512, dstPtr=0x283d200 "") at main/mipmap.c:561 #2 0x00002ab280fd09cf in _mesa_generate_mipmap (ctx=0x18ed340, target=3553, texUnit=, texObj=0x1744f00) at main/mipmap.c:1134 #3 0x00002ab280fb3e77 in _mesa_GenerateMipmapEXT (target=3553) at main/fbobject.c:1547 #4 0x00002ab26f6c3a40 in __glXDisp_Render (cl=, pc=0x1750274 "\b") at ../../../GL/glx/glxcmds.c:1778 #5 0x00002ab26f6c76a0 in __glXDispatch (client=0x1369820) at ../../../GL/glx/glxext.c:492 #6 0x00000000005093b7 in XaceCatchExtProc (client=0x1369820) at ../../Xext/xace.c:310 #7 0x000000000044adfe in Dispatch () at ../../dix/dispatch.c:465 #8 0x000000000043289a in main (argc=10, argv=0x7fff3e177e28, envp=) at ../../dix/main.c:444 (gdb) bt full #0 do_row (format=, srcWidth=, srcRowA=0x0, srcRowB=0x1000, dstWidth=512, dstRow=0x283d200) at main/mipmap.c:162 i = 1 j = 2 k = 3 k0 = colStride = 2 #1 0x00002ab280fcfab9 in make_2d_mipmap (format=0x4, border=0, srcWidth=1024, srcHeight=1024, srcPtr=0x0, dstWidth=512, dstHeight=512, dstPtr=0x283d200 "") at main/mipmap.c:561 bpt = 4 srcWidthNB = 1024 dstWidthNB = 512 dstHeightNB = 512 srcRowStride = 4096 dstRowStride = 2048 srcA = (const GLubyte *) 0x2000
srcB = (const GLubyte *) 0x3000
dst = (GLubyte *) 0x283da00 "" row = 1 #2 0x00002ab280fd09cf in _mesa_generate_mipmap (ctx=0x18ed340, target=3553, texUnit=, texObj=0x1744f00) at main/mipmap.c:1134 dstImage = (struct gl_texture_image *) 0x17b7fc0 srcWidth = 1024 srcHeight = 1024 dstDepth = 1 border = 0 srcImage = (const struct gl_texture_image *) 0x0 srcDepth = 1 dstWidth = 512 dstHeight = 512 srcImage = (const struct gl_texture_image *) 0x2ab28137b0a0 convertFormat = (const struct gl_texture_format *) 0x2ab28137b0a0 srcData = (const GLubyte *) 0x0 dstData = (GLubyte *) 0x283d200 "" level = 1 maxLevels = __PRETTY_FUNCTION__ = "_mesa_generate_mipmap" #3 0x00002ab280fb3e77 in _mesa_GenerateMipmapEXT (target=3553) at main/fbobject.c:1547 texUnit = (struct gl_texture_unit *) 0x18f87d8 texObj = (struct gl_texture_object *) 0x1744f00 ctx = (GLcontext *) 0x4 #4 0x00002ab26f6c3a40 in __glXDisp_Render (cl=, pc=0x1750274 "\b") at ../../../GL/glx/glxcmds.c:1778 entry = {bytes = 8, varsize = 0} extra = 512 proc = (__GLXdispatchRenderProcPtr) 0x2ab26f6cbfb0 <__glXDisp_GenerateMipmapEXT> err = 0 client = (ClientPtr) 0x1369820 left = 136 cmdlen = 8 error = 0 commandsDone = 6 glxc = (__GLXcontext *) 0xa07600 ---Type to continue, or q to quit--- sw = #5 0x00002ab26f6c76a0 in __glXDispatch (client=0x1369820) at ../../../GL/glx/glxext.c:492 stuff = (xGLXSingleReq *) 0x175022c opcode = proc = (__GLXdispatchSingleProcPtr) 0x2ab26f6c3970 <__glXDisp_Render> cl = (__GLXclientState *) 0x1369978 retval = 1 #6 0x00000000005093b7 in XaceCatchExtProc (client=0x1369820) at ../../Xext/xace.c:310 major = 156 ext = rec = {client = 0x1369820, ext = 0x844240, access_mode = 16777216, status = 0} #7 0x000000000044adfe in Dispatch () at ../../dix/dispatch.c:465 clientReady = result = client = (ClientPtr) 0x1369820 nready = 0 start_tick = 640 #8 0x000000000043289a in main (argc=10, argv=0x7fff3e177e28, envp=) at ../../dix/main.c:444 pScreen = i = 1 error = 0 xauthfile = alwaysCheckForInput = {0, 1} (gdb)