Created
December 5, 2010 00:08
-
-
Save bwhite/728619 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brandyn@router:~/projects/libfreenect/examples$ LD_LIBRARY_PATH="../build/lib" valgrind ./cvdemo | |
==7897== Memcheck, a memory error detector | |
==7897== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. | |
==7897== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info | |
==7897== Command: ./cvdemo | |
==7897== | |
[Stream 70] Expected 1748 data bytes, but got 1908. Dropping... | |
[Stream 70] Expected 1748 data bytes, but got 1908. Dropping... | |
[Stream 70] Expected 1748 data bytes, but got 1908. Dropping... | |
[Stream 70] Expected 1748 data bytes, but got 1908. Dropping... | |
[Stream 70] Expected 1748 data bytes, but got 1908. Dropping... | |
[Stream 70] Expected 1748 data bytes, but got 1908. Dropping... | |
[Stream 70] Expected 1748 data bytes, but got 1908. Dropping... | |
[Stream 70] Expected 1748 data bytes, but got 1908. Dropping... | |
[Stream 70] Expected 1748 data bytes, but got 1908. Dropping... | |
[Stream 70] Expected 1748 data bytes, but got 1908. Dropping... | |
[Stream 70] Expected 1748 data bytes, but got 1908. Dropping... | |
[Stream 70] Expected 1748 data bytes, but got 1908. Dropping... | |
[Stream 70] Expected 1748 data bytes, but got 1908. Dropping... | |
==7897== Thread 2: | |
==7897== Invalid write of size 1 | |
==7897== at 0x40274BD: memcpy (mc_replace_strmem.c:497) | |
==7897== by 0x46A7DB3: stream_process (cameras.c:132) | |
==7897== by 0x46A8A30: video_process (cameras.c:478) | |
==7897== by 0x46AA125: iso_callback (usb_libusb10.c:187) | |
==7897== by 0x46B26B0: ??? (in /lib/libusb-1.0.so.0.0.0) | |
==7897== by 0x46B40CC: ??? (in /lib/libusb-1.0.so.0.0.0) | |
==7897== by 0x46B1D44: ??? (in /lib/libusb-1.0.so.0.0.0) | |
==7897== by 0x46B2510: libusb_handle_events_timeout (in /lib/libusb-1.0.so.0.0.0) | |
==7897== by 0x46B25B1: libusb_handle_events (in /lib/libusb-1.0.so.0.0.0) | |
==7897== by 0x46A9C3F: fnusb_process_events (usb_libusb10.c:66) | |
==7897== by 0x46A71F9: freenect_process_events (core.c:61) | |
==7897== by 0x402C0F1: init (in /home/brandyn/projects/libfreenect/build/lib/libfreenect_sync.so.0.0.1) | |
==7897== Address 0x72c5db0 is 0 bytes after a block of size 307,200 alloc'd | |
==7897== at 0x4025BD3: malloc (vg_replace_malloc.c:236) | |
==7897== by 0x46A7ED2: stream_initbufs (cameras.c:167) | |
==7897== by 0x46A9481: freenect_start_video (cameras.c:671) | |
==7897== by 0x402C2D3: change_video_format (in /home/brandyn/projects/libfreenect/build/lib/libfreenect_sync.so.0.0.1) | |
==7897== by 0x402C618: setup_kinect (in /home/brandyn/projects/libfreenect/build/lib/libfreenect_sync.so.0.0.1) | |
==7897== by 0x402C752: freenect_sync_get_video (in /home/brandyn/projects/libfreenect/build/lib/libfreenect_sync.so.0.0.1) | |
==7897== by 0x435E2CC: freenect_sync_get_rgb_cv (libfreenect_cv.c:21) | |
==7897== by 0x804CFC9: main (cvdemo.c:59) | |
==7897== | |
==7897== Invalid write of size 1 | |
==7897== at 0x40274C5: memcpy (mc_replace_strmem.c:497) | |
==7897== by 0x46A7DB3: stream_process (cameras.c:132) | |
==7897== by 0x46A8A30: video_process (cameras.c:478) | |
==7897== by 0x46AA125: iso_callback (usb_libusb10.c:187) | |
==7897== by 0x46B26B0: ??? (in /lib/libusb-1.0.so.0.0.0) | |
==7897== by 0x46B40CC: ??? (in /lib/libusb-1.0.so.0.0.0) | |
==7897== by 0x46B1D44: ??? (in /lib/libusb-1.0.so.0.0.0) | |
==7897== by 0x46B2510: libusb_handle_events_timeout (in /lib/libusb-1.0.so.0.0.0) | |
==7897== by 0x46B25B1: libusb_handle_events (in /lib/libusb-1.0.so.0.0.0) | |
==7897== by 0x46A9C3F: fnusb_process_events (usb_libusb10.c:66) | |
==7897== by 0x46A71F9: freenect_process_events (core.c:61) | |
==7897== by 0x402C0F1: init (in /home/brandyn/projects/libfreenect/build/lib/libfreenect_sync.so.0.0.1) | |
==7897== Address 0x72c5db1 is 1 bytes after a block of size 307,200 alloc'd | |
==7897== at 0x4025BD3: malloc (vg_replace_malloc.c:236) | |
==7897== by 0x46A7ED2: stream_initbufs (cameras.c:167) | |
==7897== by 0x46A9481: freenect_start_video (cameras.c:671) | |
==7897== by 0x402C2D3: change_video_format (in /home/brandyn/projects/libfreenect/build/lib/libfreenect_sync.so.0.0.1) | |
==7897== by 0x402C618: setup_kinect (in /home/brandyn/projects/libfreenect/build/lib/libfreenect_sync.so.0.0.1) | |
==7897== by 0x402C752: freenect_sync_get_video (in /home/brandyn/projects/libfreenect/build/lib/libfreenect_sync.so.0.0.1) | |
==7897== by 0x435E2CC: freenect_sync_get_rgb_cv (libfreenect_cv.c:21) | |
==7897== by 0x804CFC9: main (cvdemo.c:59) | |
==7897== | |
==7897== Invalid write of size 1 | |
==7897== at 0x40274CE: memcpy (mc_replace_strmem.c:497) | |
==7897== by 0x46A7DB3: stream_process (cameras.c:132) | |
==7897== by 0x46A8A30: video_process (cameras.c:478) | |
==7897== by 0x46AA125: iso_callback (usb_libusb10.c:187) | |
==7897== by 0x46B26B0: ??? (in /lib/libusb-1.0.so.0.0.0) | |
==7897== by 0x46B40CC: ??? (in /lib/libusb-1.0.so.0.0.0) | |
==7897== by 0x46B1D44: ??? (in /lib/libusb-1.0.so.0.0.0) | |
==7897== by 0x46B2510: libusb_handle_events_timeout (in /lib/libusb-1.0.so.0.0.0) | |
==7897== by 0x46B25B1: libusb_handle_events (in /lib/libusb-1.0.so.0.0.0) | |
==7897== by 0x46A9C3F: fnusb_process_events (usb_libusb10.c:66) | |
==7897== by 0x46A71F9: freenect_process_events (core.c:61) | |
==7897== by 0x402C0F1: init (in /home/brandyn/projects/libfreenect/build/lib/libfreenect_sync.so.0.0.1) | |
==7897== Address 0x72c5db2 is 2 bytes after a block of size 307,200 alloc'd | |
==7897== at 0x4025BD3: malloc (vg_replace_malloc.c:236) | |
==7897== by 0x46A7ED2: stream_initbufs (cameras.c:167) | |
==7897== by 0x46A9481: freenect_start_video (cameras.c:671) | |
==7897== by 0x402C2D3: change_video_format (in /home/brandyn/projects/libfreenect/build/lib/libfreenect_sync.so.0.0.1) | |
==7897== by 0x402C618: setup_kinect (in /home/brandyn/projects/libfreenect/build/lib/libfreenect_sync.so.0.0.1) | |
==7897== by 0x402C752: freenect_sync_get_video (in /home/brandyn/projects/libfreenect/build/lib/libfreenect_sync.so.0.0.1) | |
==7897== by 0x435E2CC: freenect_sync_get_rgb_cv (libfreenect_cv.c:21) | |
==7897== by 0x804CFC9: main (cvdemo.c:59) | |
==7897== | |
==7897== Invalid write of size 1 | |
==7897== at 0x40274D7: memcpy (mc_replace_strmem.c:497) | |
==7897== by 0x46A7DB3: stream_process (cameras.c:132) | |
==7897== by 0x46A8A30: video_process (cameras.c:478) | |
==7897== by 0x46AA125: iso_callback (usb_libusb10.c:187) | |
==7897== by 0x46B26B0: ??? (in /lib/libusb-1.0.so.0.0.0) | |
==7897== by 0x46B40CC: ??? (in /lib/libusb-1.0.so.0.0.0) | |
==7897== by 0x46B1D44: ??? (in /lib/libusb-1.0.so.0.0.0) | |
==7897== by 0x46B2510: libusb_handle_events_timeout (in /lib/libusb-1.0.so.0.0.0) | |
==7897== by 0x46B25B1: libusb_handle_events (in /lib/libusb-1.0.so.0.0.0) | |
==7897== by 0x46A9C3F: fnusb_process_events (usb_libusb10.c:66) | |
==7897== by 0x46A71F9: freenect_process_events (core.c:61) | |
==7897== by 0x402C0F1: init (in /home/brandyn/projects/libfreenect/build/lib/libfreenect_sync.so.0.0.1) | |
==7897== Address 0x72c5db3 is 3 bytes after a block of size 307,200 alloc'd | |
==7897== at 0x4025BD3: malloc (vg_replace_malloc.c:236) | |
==7897== by 0x46A7ED2: stream_initbufs (cameras.c:167) | |
==7897== by 0x46A9481: freenect_start_video (cameras.c:671) | |
==7897== by 0x402C2D3: change_video_format (in /home/brandyn/projects/libfreenect/build/lib/libfreenect_sync.so.0.0.1) | |
==7897== by 0x402C618: setup_kinect (in /home/brandyn/projects/libfreenect/build/lib/libfreenect_sync.so.0.0.1) | |
==7897== by 0x402C752: freenect_sync_get_video (in /home/brandyn/projects/libfreenect/build/lib/libfreenect_sync.so.0.0.1) | |
==7897== by 0x435E2CC: freenect_sync_get_rgb_cv (libfreenect_cv.c:21) | |
==7897== by 0x804CFC9: main (cvdemo.c:59) | |
==7897== | |
^C^C==7897== Thread 1: | |
==7897== Invalid free() / delete / delete[] | |
==7897== at 0x40257ED: free (vg_replace_malloc.c:366) | |
==7897== by 0x44828C3: free_mem (in /lib/libc-2.12.1.so) | |
==7897== by 0x4482389: __libc_freeres (in /lib/libc-2.12.1.so) | |
==7897== by 0x40204B3: _vgnU_freeres (vg_preloaded.c:62) | |
==7897== by 0x4422DF5: poll (poll.c:87) | |
==7897== by 0x4FD6A1A: g_poll (in /lib/libglib-2.0.so.0.2600.0) | |
==7897== by 0x4FC943B: ??? (in /lib/libglib-2.0.so.0.2600.0) | |
==7897== by 0x4FC9847: g_main_context_iteration (in /lib/libglib-2.0.so.0.2600.0) | |
==7897== by 0x4914FC2: gtk_main_iteration_do (in /usr/lib/libgtk-x11-2.0.so.0.2200.0) | |
==7897== by 0x40591E5: cvWaitKey (in /usr/lib/libhighgui.so.2.1.0) | |
==7897== by 0x4377CE6: (below main) (libc-start.c:226) | |
==7897== Address 0x467f390 is not stack'd, malloc'd or (recently) free'd | |
==7897== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment