Comment 5 for bug 1244324

Revision history for this message
Maarten Lankhorst (mlankhorst) wrote :

And recordmydesktop is still reading in freed memory.

==2216== Invalid read of size 4
==2216== at 0x8CAA086: glamor_get_tex_format_type_from_pixmap (glamor_utils.h:1251)
==2216== by 0x8CAD173: glamor_download_sub_pixmap_to_cpu (glamor_pixmap.c:1074)
==2216== by 0x8CA8B93: _glamor_get_image (glamor_getimage.c:66)
==2216== by 0x8CA8D0B: glamor_get_image (glamor_getimage.c:92)
==2216== by 0x29C6D2: miSpriteGetImage (misprite.c:413)
==2216== by 0x1E8404: compGetImage (compinit.c:148)
==2216== by 0x1F6FBB: ProcShmGetImage (shm.c:688)
==2216== by 0x1F79CF: ProcShmDispatch (shm.c:1125)
==2216== by 0x15D0CD: Dispatch (dispatch.c:432)
==2216== by 0x14C5E9: main (main.c:298)
==2216== Address 0x21417010 is 16 bytes inside a block of size 120 free'd
==2216== at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==2216== by 0x229B31: FreePicture (picture.c:1479)
==2216== by 0x229CB3: PictureDestroyWindow (picture.c:73)
==2216== by 0x235DA9: damageDestroyWindow (damage.c:1646)
==2216== by 0x1EA320: compDestroyWindow (compwindow.c:590)
==2216== by 0x2110E5: DbeDestroyWindow (dbe.c:1389)
==2216== by 0x186019: FreeWindowResources (window.c:909)
==2216== by 0x188CB7: DeleteWindow (window.c:979)
==2216== by 0x17EE91: doFreeResource (resource.c:873)
==2216== by 0x17FEBB: FreeClientResources (resource.c:1139)
==2216== by 0x15C59E: CloseDownClient (dispatch.c:3402)
==2216== by 0x15D105: Dispatch (dispatch.c:444)
==2216==
(II) fail to get matched format for dfdfdfdf