==1025== Memcheck, a memory error detector ==1025== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al. ==1025== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info ==1025== Command: /usr/bin/Xorg -core :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch ==1025== Parent PID: 998 ==1025== ==1025== Warning: noted but unhandled ioctl 0x4b51 with no size/direction hints ==1025== This could cause spurious value errors to appear. ==1025== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper. ==1025== Warning: noted but unhandled ioctl 0x6458 with no size/direction hints ==1025== This could cause spurious value errors to appear. ==1025== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper. ==1025== Syscall param ioctl(generic) points to uninitialised byte(s) ==1025== at 0x6C1F2F7: ioctl (syscall-template.S:81) ==1025== by 0x5B12363: drmIoctl (in /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0) ==1025== by 0x5B16214: drmModeGetProperty (in /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0) ==1025== by 0xAFBB4F8: sna_output_create_resources (sna_display.c:2379) ==1025== by 0x1DBDB7: xf86RandR12Init (xf86RandR12.c:1566) ==1025== by 0x1CFBF5: xf86CrtcScreenInit (xf86Crtc.c:770) ==1025== by 0xAFC3509: sna_screen_init (sna_driver.c:1034) ==1025== by 0x15D280: AddScreen (dispatch.c:3840) ==1025== by 0x19D997: InitOutput (xf86Init.c:929) ==1025== by 0x14C37A: main (main.c:204) ==1025== Address 0x7ff000878 is on thread 1's stack ==1025== ==1025== Warning: noted but unhandled ioctl 0x641e with no size/direction hints ==1025== This could cause spurious value errors to appear. ==1025== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper. ==1025== Syscall param ioctl(generic) points to unaddressable byte(s) ==1025== at 0x6C1F2F7: ioctl (syscall-template.S:81) ==1025== by 0xDEAAB2C: event_query_is_touchpad (eventcomm.c:236) ==1025== by 0xDEABB4C: EventAutoDevProbe (eventcomm.c:900) ==1025== by 0xDEA6BFE: SynapticsPreInit (synaptics.c:272) ==1025== by 0x1A8410: xf86NewInputDevice (xf86Xinput.c:846) ==1025== by 0x1BDED5: device_added (udev.c:231) ==1025== by 0x1BE422: config_udev_init (udev.c:391) ==1025== by 0x1BD428: config_init (config.c:48) ==1025== by 0x19C17B: InitInput (xf86Init.c:1017) ==1025== by 0x14C528: main (main.c:268) ==1025== Address 0x1 is not stack'd, malloc'd or (recently) free'd ==1025== ==1025== Syscall param ioctl(generic) points to unaddressable byte(s) ==1025== at 0x6C1F2F7: ioctl (syscall-template.S:81) ==1025== by 0xDEAAB69: event_query_is_touchpad (eventcomm.c:273) ==1025== by 0xDEABB4C: EventAutoDevProbe (eventcomm.c:900) ==1025== by 0xDEA6BFE: SynapticsPreInit (synaptics.c:272) ==1025== by 0x1A8410: xf86NewInputDevice (xf86Xinput.c:846) ==1025== by 0x1BDED5: device_added (udev.c:231) ==1025== by 0x1BE422: config_udev_init (udev.c:391) ==1025== by 0x1BD428: config_init (config.c:48) ==1025== by 0x19C17B: InitInput (xf86Init.c:1017) ==1025== by 0x14C528: main (main.c:268) ==1025== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1025== ==1025== Conditional jump or move depends on uninitialised value(s) ==1025== at 0xDEAC1EB: EventReadDevDimensions (eventcomm.c:756) ==1025== by 0xDEA6E05: SynapticsPreInit (synaptics.c:2969) ==1025== by 0x1A8410: xf86NewInputDevice (xf86Xinput.c:846) ==1025== by 0x1BDED5: device_added (udev.c:231) ==1025== by 0x1BE422: config_udev_init (udev.c:391) ==1025== by 0x1BD428: config_init (config.c:48) ==1025== by 0x19C17B: InitInput (xf86Init.c:1017) ==1025== by 0x14C528: main (main.c:268) ==1025== ==1025== Conditional jump or move depends on uninitialised value(s) ==1025== at 0xDEAC1F3: EventReadDevDimensions (eventcomm.c:762) ==1025== by 0xDEA6E05: SynapticsPreInit (synaptics.c:2969) ==1025== by 0x1A8410: xf86NewInputDevice (xf86Xinput.c:846) ==1025== by 0x1BDED5: device_added (udev.c:231) ==1025== by 0x1BE422: config_udev_init (udev.c:391) ==1025== by 0x1BD428: config_init (config.c:48) ==1025== by 0x19C17B: InitInput (xf86Init.c:1017) ==1025== by 0x14C528: main (main.c:268) ==1025== ==1025== Syscall param ioctl(generic) points to unaddressable byte(s) ==1025== at 0x6C1F2F7: ioctl (syscall-template.S:81) ==1025== by 0xDEABE74: EventDeviceOnHook (eventcomm.c:190) ==1025== by 0xDEA3D53: DeviceControl (synaptics.c:941) ==1025== by 0x15565B: EnableDevice (devices.c:397) ==1025== by 0x1A8811: xf86NewInputDevice (xf86Xinput.c:875) ==1025== by 0x1BDED5: device_added (udev.c:231) ==1025== by 0x1BE422: config_udev_init (udev.c:391) ==1025== by 0x1BD428: config_init (config.c:48) ==1025== by 0x19C17B: InitInput (xf86Init.c:1017) ==1025== by 0x14C528: main (main.c:268) ==1025== Address 0x1 is not stack'd, malloc'd or (recently) free'd ==1025== ==1025== Syscall param writev(vector[...]) points to uninitialised byte(s) ==1025== at 0x6C1F421: writev (writev.c:55) ==1025== by 0x2B17D6: _XSERVTransSocketWritev (Xtranssock.c:2157) ==1025== by 0x2ACFCC: FlushClient (io.c:912) ==1025== by 0x2AD49E: FlushAllOutput (io.c:655) ==1025== by 0x15CEB2: Dispatch (dispatch.c:454) ==1025== by 0x14C569: main (main.c:298) ==1025== Address 0xdc93111 is 49 bytes inside a block of size 4,096 alloc'd ==1025== at 0x4C2C494: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1025== by 0x2AD779: WriteToClient (io.c:1037) ==1025== by 0x15CC54: ProcEstablishConnection (dispatch.c:3605) ==1025== by 0x15D00D: Dispatch (dispatch.c:432) ==1025== by 0x14C569: main (main.c:298) ==1025== ==1025== Syscall param writev(vector[...]) points to uninitialised byte(s) ==1025== at 0x6C1F421: writev (writev.c:55) ==1025== by 0x2B17D6: _XSERVTransSocketWritev (Xtranssock.c:2157) ==1025== by 0x2ACFCC: FlushClient (io.c:912) ==1025== by 0x2AD63B: WriteToClient (io.c:827) ==1025== by 0xAD0B76D: DoGetFBConfigs.isra.9 (glxcmds.c:1103) ==1025== by 0xAD0FC29: __glXDispatch (glxext.c:572) ==1025== by 0x15D00D: Dispatch (dispatch.c:432) ==1025== by 0x14C569: main (main.c:298) ==1025== Address 0xe2b1a2c is 252 bytes inside a block of size 4,096 alloc'd ==1025== at 0x4C2C494: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1025== by 0x2AD779: WriteToClient (io.c:1037) ==1025== by 0x167611: WriteEventsToClient (events.c:5970) ==1025== by 0x25BBA2: XkbSendLegacyMapNotify (xkbEvents.c:117) ==1025== by 0x25B912: XkbCopyDeviceKeymap (xkbUtils.c:2025) ==1025== by 0x239F15: CopyKeyClass (exevents.c:233) ==1025== by 0x23A5AE: DeepCopyDeviceClasses (exevents.c:427) ==1025== by 0x23D07B: ChangeMasterDeviceClasses (exevents.c:723) ==1025== by 0x23D23C: UpdateDeviceState (exevents.c:803) ==1025== by 0x23DA85: ProcessOtherEvent (exevents.c:1699) ==1025== by 0x2657CC: ProcessKeyboardEvent (xkbPrKeyEv.c:165) ==1025== by 0x28C34C: mieqProcessDeviceEvent (mieq.c:565) ==1025== ==1025== Invalid read of size 8 ==1025== at 0xAFC1A03: wait_for_shadow (sna_display.c:4382) ==1025== by 0xAF9639D: sna_drawable_use_bo (sna_accel.c:3525) ==1025== by 0xAFA222B: sna_copy_boxes (sna_accel.c:5702) ==1025== by 0xAF7C183: sna_do_copy (sna_accel.c:6296) ==1025== by 0xAF7C47A: sna_copy_area (sna_accel.c:6377) ==1025== by 0x238E29: damageCopyArea (damage.c:827) ==1025== by 0x159560: ProcCopyArea (dispatch.c:1626) ==1025== by 0x15D00D: Dispatch (dispatch.c:432) ==1025== by 0x14C569: main (main.c:298) ==1025== Address 0xee7b438 is 8 bytes inside a block of size 24 free'd ==1025== at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1025== by 0xAFC1855: wait_for_shadow (sna_display.c:4424) ==1025== by 0xAF8C441: sna_pixmap_move_to_gpu (sna_accel.c:3742) ==1025== by 0xB061DCB: __sna_dri_copy_region (sna_dri.c:746) ==1025== by 0xB062503: chain_swap (sna_dri.c:1302) ==1025== by 0xB064759: sna_dri_vblank_handler (sna_dri.c:1402) ==1025== by 0xAFC002E: sna_mode_wakeup (sna_display.c:4707) ==1025== by 0xAFC18F7: wait_for_shadow (sna_display.c:4368) ==1025== by 0xAF9639D: sna_drawable_use_bo (sna_accel.c:3525) ==1025== by 0xAFA222B: sna_copy_boxes (sna_accel.c:5702) ==1025== by 0xAF7C183: sna_do_copy (sna_accel.c:6296) ==1025== by 0xAF7C47A: sna_copy_area (sna_accel.c:6377) ==1025== ==1025== Invalid read of size 2 ==1025== at 0xAFB21B0: sna_blt_copy_boxes (sna_blt.c:3393) ==1025== by 0xB018762: gen3_render_copy_boxes (gen3_render.c:5582) ==1025== by 0xAFC1A65: wait_for_shadow (sna_display.c:4405) ==1025== by 0xAF9639D: sna_drawable_use_bo (sna_accel.c:3525) ==1025== by 0xAFA222B: sna_copy_boxes (sna_accel.c:5702) ==1025== by 0xAF7C183: sna_do_copy (sna_accel.c:6296) ==1025== by 0xAF7C47A: sna_copy_area (sna_accel.c:6377) ==1025== by 0x238E29: damageCopyArea (damage.c:827) ==1025== by 0x159560: ProcCopyArea (dispatch.c:1626) ==1025== by 0x15D00D: Dispatch (dispatch.c:432) ==1025== by 0x14C569: main (main.c:298) ==1025== Address 0xee7b430 is 0 bytes inside a block of size 24 free'd ==1025== at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1025== by 0xAFC1855: wait_for_shadow (sna_display.c:4424) ==1025== by 0xAF8C441: sna_pixmap_move_to_gpu (sna_accel.c:3742) ==1025== by 0xB061DCB: __sna_dri_copy_region (sna_dri.c:746) ==1025== by 0xB062503: chain_swap (sna_dri.c:1302) ==1025== by 0xB064759: sna_dri_vblank_handler (sna_dri.c:1402) ==1025== by 0xAFC002E: sna_mode_wakeup (sna_display.c:4707) ==1025== by 0xAFC18F7: wait_for_shadow (sna_display.c:4368) ==1025== by 0xAF9639D: sna_drawable_use_bo (sna_accel.c:3525) ==1025== by 0xAFA222B: sna_copy_boxes (sna_accel.c:5702) ==1025== by 0xAF7C183: sna_do_copy (sna_accel.c:6296) ==1025== by 0xAF7C47A: sna_copy_area (sna_accel.c:6377) ==1025== ==1025== Invalid read of size 2 ==1025== at 0xAFB21CD: sna_blt_copy_boxes (sna_blt.c:3394) ==1025== by 0xB018762: gen3_render_copy_boxes (gen3_render.c:5582) ==1025== by 0xAFC1A65: wait_for_shadow (sna_display.c:4405) ==1025== by 0xAF9639D: sna_drawable_use_bo (sna_accel.c:3525) ==1025== by 0xAFA222B: sna_copy_boxes (sna_accel.c:5702) ==1025== by 0xAF7C183: sna_do_copy (sna_accel.c:6296) ==1025== by 0xAF7C47A: sna_copy_area (sna_accel.c:6377) ==1025== by 0x238E29: damageCopyArea (damage.c:827) ==1025== by 0x159560: ProcCopyArea (dispatch.c:1626) ==1025== by 0x15D00D: Dispatch (dispatch.c:432) ==1025== by 0x14C569: main (main.c:298) ==1025== Address 0xee7b432 is 2 bytes inside a block of size 24 free'd ==1025== at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1025== by 0xAFC1855: wait_for_shadow (sna_display.c:4424) ==1025== by 0xAF8C441: sna_pixmap_move_to_gpu (sna_accel.c:3742) ==1025== by 0xB061DCB: __sna_dri_copy_region (sna_dri.c:746) ==1025== by 0xB062503: chain_swap (sna_dri.c:1302) ==1025== by 0xB064759: sna_dri_vblank_handler (sna_dri.c:1402) ==1025== by 0xAFC002E: sna_mode_wakeup (sna_display.c:4707) ==1025== by 0xAFC18F7: wait_for_shadow (sna_display.c:4368) ==1025== by 0xAF9639D: sna_drawable_use_bo (sna_accel.c:3525) ==1025== by 0xAFA222B: sna_copy_boxes (sna_accel.c:5702) ==1025== by 0xAF7C183: sna_do_copy (sna_accel.c:6296) ==1025== by 0xAF7C47A: sna_copy_area (sna_accel.c:6377) ==1025== ==1025== Invalid read of size 8 ==1025== at 0xAFB220B: sna_blt_copy_boxes (sna_blt.c:3402) ==1025== by 0xB018762: gen3_render_copy_boxes (gen3_render.c:5582) ==1025== by 0xAFC1A65: wait_for_shadow (sna_display.c:4405) ==1025== by 0xAF9639D: sna_drawable_use_bo (sna_accel.c:3525) ==1025== by 0xAFA222B: sna_copy_boxes (sna_accel.c:5702) ==1025== by 0xAF7C183: sna_do_copy (sna_accel.c:6296) ==1025== by 0xAF7C47A: sna_copy_area (sna_accel.c:6377) ==1025== by 0x238E29: damageCopyArea (damage.c:827) ==1025== by 0x159560: ProcCopyArea (dispatch.c:1626) ==1025== by 0x15D00D: Dispatch (dispatch.c:432) ==1025== by 0x14C569: main (main.c:298) ==1025== Address 0xee7b430 is 0 bytes inside a block of size 24 free'd ==1025== at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1025== by 0xAFC1855: wait_for_shadow (sna_display.c:4424) ==1025== by 0xAF8C441: sna_pixmap_move_to_gpu (sna_accel.c:3742) ==1025== by 0xB061DCB: __sna_dri_copy_region (sna_dri.c:746) ==1025== by 0xB062503: chain_swap (sna_dri.c:1302) ==1025== by 0xB064759: sna_dri_vblank_handler (sna_dri.c:1402) ==1025== by 0xAFC002E: sna_mode_wakeup (sna_display.c:4707) ==1025== by 0xAFC18F7: wait_for_shadow (sna_display.c:4368) ==1025== by 0xAF9639D: sna_drawable_use_bo (sna_accel.c:3525) ==1025== by 0xAFA222B: sna_copy_boxes (sna_accel.c:5702) ==1025== by 0xAF7C183: sna_do_copy (sna_accel.c:6296) ==1025== by 0xAF7C47A: sna_copy_area (sna_accel.c:6377) ==1025== ==1025== Invalid read of size 8 ==1025== at 0xAFC1AD8: wait_for_shadow (sna_display.c:4419) ==1025== by 0xAF9639D: sna_drawable_use_bo (sna_accel.c:3525) ==1025== by 0xAFA222B: sna_copy_boxes (sna_accel.c:5702) ==1025== by 0xAF7C183: sna_do_copy (sna_accel.c:6296) ==1025== by 0xAF7C47A: sna_copy_area (sna_accel.c:6377) ==1025== by 0x238E29: damageCopyArea (damage.c:827) ==1025== by 0x159560: ProcCopyArea (dispatch.c:1626) ==1025== by 0x15D00D: Dispatch (dispatch.c:432) ==1025== by 0x14C569: main (main.c:298) ==1025== Address 0xee7b440 is 16 bytes inside a block of size 24 free'd ==1025== at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1025== by 0xAFC1855: wait_for_shadow (sna_display.c:4424) ==1025== by 0xAF8C441: sna_pixmap_move_to_gpu (sna_accel.c:3742) ==1025== by 0xB061DCB: __sna_dri_copy_region (sna_dri.c:746) ==1025== by 0xB062503: chain_swap (sna_dri.c:1302) ==1025== by 0xB064759: sna_dri_vblank_handler (sna_dri.c:1402) ==1025== by 0xAFC002E: sna_mode_wakeup (sna_display.c:4707) ==1025== by 0xAFC18F7: wait_for_shadow (sna_display.c:4368) ==1025== by 0xAF9639D: sna_drawable_use_bo (sna_accel.c:3525) ==1025== by 0xAFA222B: sna_copy_boxes (sna_accel.c:5702) ==1025== by 0xAF7C183: sna_do_copy (sna_accel.c:6296) ==1025== by 0xAF7C47A: sna_copy_area (sna_accel.c:6377) ==1025== ==1025== Invalid read of size 8 ==1025== at 0xAFC1830: wait_for_shadow (regionstr.h:161) ==1025== by 0xAF9639D: sna_drawable_use_bo (sna_accel.c:3525) ==1025== by 0xAFA222B: sna_copy_boxes (sna_accel.c:5702) ==1025== by 0xAF7C183: sna_do_copy (sna_accel.c:6296) ==1025== by 0xAF7C47A: sna_copy_area (sna_accel.c:6377) ==1025== by 0x238E29: damageCopyArea (damage.c:827) ==1025== by 0x159560: ProcCopyArea (dispatch.c:1626) ==1025== by 0x15D00D: Dispatch (dispatch.c:432) ==1025== by 0x14C569: main (main.c:298) ==1025== Address 0xee7b438 is 8 bytes inside a block of size 24 free'd ==1025== at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1025== by 0xAFC1855: wait_for_shadow (sna_display.c:4424) ==1025== by 0xAF8C441: sna_pixmap_move_to_gpu (sna_accel.c:3742) ==1025== by 0xB061DCB: __sna_dri_copy_region (sna_dri.c:746) ==1025== by 0xB062503: chain_swap (sna_dri.c:1302) ==1025== by 0xB064759: sna_dri_vblank_handler (sna_dri.c:1402) ==1025== by 0xAFC002E: sna_mode_wakeup (sna_display.c:4707) ==1025== by 0xAFC18F7: wait_for_shadow (sna_display.c:4368) ==1025== by 0xAF9639D: sna_drawable_use_bo (sna_accel.c:3525) ==1025== by 0xAFA222B: sna_copy_boxes (sna_accel.c:5702) ==1025== by 0xAF7C183: sna_do_copy (sna_accel.c:6296) ==1025== by 0xAF7C47A: sna_copy_area (sna_accel.c:6377) ==1025== ==1025== Invalid free() / delete / delete[] / realloc() ==1025== at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1025== by 0xAFC1855: wait_for_shadow (sna_display.c:4424) ==1025== by 0xAF9639D: sna_drawable_use_bo (sna_accel.c:3525) ==1025== by 0xAFA222B: sna_copy_boxes (sna_accel.c:5702) ==1025== by 0xAF7C183: sna_do_copy (sna_accel.c:6296) ==1025== by 0xAF7C47A: sna_copy_area (sna_accel.c:6377) ==1025== by 0x238E29: damageCopyArea (damage.c:827) ==1025== by 0x159560: ProcCopyArea (dispatch.c:1626) ==1025== by 0x15D00D: Dispatch (dispatch.c:432) ==1025== by 0x14C569: main (main.c:298) ==1025== Address 0xee7b430 is 0 bytes inside a block of size 24 free'd ==1025== at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1025== by 0xAFC1855: wait_for_shadow (sna_display.c:4424) ==1025== by 0xAF8C441: sna_pixmap_move_to_gpu (sna_accel.c:3742) ==1025== by 0xB061DCB: __sna_dri_copy_region (sna_dri.c:746) ==1025== by 0xB062503: chain_swap (sna_dri.c:1302) ==1025== by 0xB064759: sna_dri_vblank_handler (sna_dri.c:1402) ==1025== by 0xAFC002E: sna_mode_wakeup (sna_display.c:4707) ==1025== by 0xAFC18F7: wait_for_shadow (sna_display.c:4368) ==1025== by 0xAF9639D: sna_drawable_use_bo (sna_accel.c:3525) ==1025== by 0xAFA222B: sna_copy_boxes (sna_accel.c:5702) ==1025== by 0xAF7C183: sna_do_copy (sna_accel.c:6296) ==1025== by 0xAF7C47A: sna_copy_area (sna_accel.c:6377) ==1025== ==1025== ==1025== HEAP SUMMARY: ==1025== in use at exit: 6,117,140 bytes in 45,641 blocks ==1025== total heap usage: 197,651 allocs, 152,011 frees, 48,836,953 bytes allocated ==1025== ==1025== LEAK SUMMARY: ==1025== definitely lost: 1,233 bytes in 19 blocks ==1025== indirectly lost: 802 bytes in 6 blocks ==1025== possibly lost: 57,703 bytes in 437 blocks ==1025== still reachable: 6,057,402 bytes in 45,179 blocks ==1025== suppressed: 0 bytes in 0 blocks ==1025== Rerun with --leak-check=full to see details of leaked memory ==1025== ==1025== For counts of detected and suppressed errors, rerun with: -v ==1025== Use --track-origins=yes to see where uninitialised values come from ==1025== ERROR SUMMARY: 82 errors from 15 contexts (suppressed: 2 from 2)