Skip to content

Instantly share code, notes, and snippets.

@bwhite
Created December 5, 2010 01:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bwhite/728662 to your computer and use it in GitHub Desktop.
Save bwhite/728662 to your computer and use it in GitHub Desktop.
From https://github.com/OpenKinect/libfreenect master, only change was to add -g during build. This is output from valgrind ./glview
[Stream 80] Lost 3 packets
[Stream 80] Inconsistent flag 82 with 161 packets in buf (162 total), resyncing...
raw acceleration: -28 -283 738 mks acceleration: -0.335270 -3.388623 8.836762[Stream 70] Invalid magic c2ff
[Stream 70] Invalid magic c2ff
raw acceleration: -31 -283 746 mks acceleration: -0.371192 -3.388623 8.932553[Stream 80] Invalid magic 031c
[Stream 80] Lost 1 packets
[Stream 80] Lost 3 packets
raw acceleration: -28 -283 734 mks acceleration: -0.335270 -3.388623 8.788866[Stream 80] Invalid magic 1715
[Stream 80] Lost 1 packets
[Stream 80] Lost 4 packets
raw acceleration: -31 -283 730 mks acceleration: -0.371192 -3.388623 8.740970[Stream 70] Invalid magic 10ff
[Stream 70] Invalid magic 10ff
raw acceleration: -32 -275 738 mks acceleration: -0.383166 -3.292831 8.836762[Stream 80] Invalid magic 2735
[Stream 80] Lost 1 packets
[Stream 80] Lost 3 packets
==11570== Thread 2:
==11570== Invalid write of size 1
==11570== at 0x40274BD: memcpy (mc_replace_strmem.c:497)
==11570== by 0x402CDB3: stream_process (cameras.c:132)
==11570== by 0x402D630: video_process (cameras.c:444)
==11570== by 0x402EC0D: iso_callback (usb_libusb10.c:187)
==11570== by 0x42F76B0: ??? (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x42F90CC: ??? (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x42F6D44: ??? (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x42F7510: libusb_handle_events_timeout (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x42F75B1: libusb_handle_events (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x42F7E8C: libusb_control_transfer (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x402EFD1: fnusb_control (usb_libusb10.c:260)
==11570== by 0x402C62F: freenect_update_tilt_state (tilt.c:52)
==11570== Address 0x627b308 is 0 bytes after a block of size 307,200 alloc'd
==11570== at 0x4025BD3: malloc (vg_replace_malloc.c:236)
==11570== by 0x402CED2: stream_initbufs (cameras.c:167)
==11570== by 0x402E05B: freenect_start_video (cameras.c:632)
==11570== by 0x804A742: freenect_threadfunc (in /home/brandyn/playground/libfreebuffix0/libfreenect/build/bin/glview)
==11570== by 0x42B7CC8: start_thread (pthread_create.c:304)
==11570== by 0x43D06BD: clone (clone.S:130)
==11570==
==11570== Invalid write of size 1
==11570== at 0x40274C5: memcpy (mc_replace_strmem.c:497)
==11570== by 0x402CDB3: stream_process (cameras.c:132)
==11570== by 0x402D630: video_process (cameras.c:444)
==11570== by 0x402EC0D: iso_callback (usb_libusb10.c:187)
==11570== by 0x42F76B0: ??? (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x42F90CC: ??? (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x42F6D44: ??? (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x42F7510: libusb_handle_events_timeout (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x42F75B1: libusb_handle_events (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x42F7E8C: libusb_control_transfer (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x402EFD1: fnusb_control (usb_libusb10.c:260)
==11570== by 0x402C62F: freenect_update_tilt_state (tilt.c:52)
==11570== Address 0x627b309 is 1 bytes after a block of size 307,200 alloc'd
==11570== at 0x4025BD3: malloc (vg_replace_malloc.c:236)
==11570== by 0x402CED2: stream_initbufs (cameras.c:167)
==11570== by 0x402E05B: freenect_start_video (cameras.c:632)
==11570== by 0x804A742: freenect_threadfunc (in /home/brandyn/playground/libfreebuffix0/libfreenect/build/bin/glview)
==11570== by 0x42B7CC8: start_thread (pthread_create.c:304)
==11570== by 0x43D06BD: clone (clone.S:130)
==11570==
==11570== Invalid write of size 1
==11570== at 0x40274CE: memcpy (mc_replace_strmem.c:497)
==11570== by 0x402CDB3: stream_process (cameras.c:132)
==11570== by 0x402D630: video_process (cameras.c:444)
==11570== by 0x402EC0D: iso_callback (usb_libusb10.c:187)
==11570== by 0x42F76B0: ??? (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x42F90CC: ??? (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x42F6D44: ??? (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x42F7510: libusb_handle_events_timeout (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x42F75B1: libusb_handle_events (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x42F7E8C: libusb_control_transfer (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x402EFD1: fnusb_control (usb_libusb10.c:260)
==11570== by 0x402C62F: freenect_update_tilt_state (tilt.c:52)
==11570== Address 0x627b30a is 2 bytes after a block of size 307,200 alloc'd
==11570== at 0x4025BD3: malloc (vg_replace_malloc.c:236)
==11570== by 0x402CED2: stream_initbufs (cameras.c:167)
==11570== by 0x402E05B: freenect_start_video (cameras.c:632)
==11570== by 0x804A742: freenect_threadfunc (in /home/brandyn/playground/libfreebuffix0/libfreenect/build/bin/glview)
==11570== by 0x42B7CC8: start_thread (pthread_create.c:304)
==11570== by 0x43D06BD: clone (clone.S:130)
==11570==
==11570== Invalid write of size 1
==11570== at 0x40274D7: memcpy (mc_replace_strmem.c:497)
==11570== by 0x402CDB3: stream_process (cameras.c:132)
==11570== by 0x402D630: video_process (cameras.c:444)
==11570== by 0x402EC0D: iso_callback (usb_libusb10.c:187)
==11570== by 0x42F76B0: ??? (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x42F90CC: ??? (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x42F6D44: ??? (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x42F7510: libusb_handle_events_timeout (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x42F75B1: libusb_handle_events (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x42F7E8C: libusb_control_transfer (in /lib/libusb-1.0.so.0.0.0)
==11570== by 0x402EFD1: fnusb_control (usb_libusb10.c:260)
==11570== by 0x402C62F: freenect_update_tilt_state (tilt.c:52)
==11570== Address 0x627b30b is 3 bytes after a block of size 307,200 alloc'd
==11570== at 0x4025BD3: malloc (vg_replace_malloc.c:236)
==11570== by 0x402CED2: stream_initbufs (cameras.c:167)
==11570== by 0x402E05B: freenect_start_video (cameras.c:632)
==11570== by 0x804A742: freenect_threadfunc (in /home/brandyn/playground/libfreebuffix0/libfreenect/build/bin/glview)
==11570== by 0x42B7CC8: start_thread (pthread_create.c:304)
==11570== by 0x43D06BD: clone (clone.S:130)
==11570==
raw acceleration: -32 -283 762 mks acceleration: -0.383166 -3.388623 9.124136[Stream 70] Invalid magic ceff
[Stream 70] Invalid magic cfff
raw acceleration: -24 -275 746 mks acceleration: -0.287374 -3.292831 8.932553[Stream 80] Invalid magic 1a29
[Stream 80] Lost 1 packets
[Stream 80] Lost 3 packets
raw acceleration: -24 -283 746 mks acceleration: -0.287374 -3.388623 8.932553[Stream 80] Invalid magic 1924
[Stream 80] Lost 1 packets
[Stream 80] Lost 4 packets
raw acceleration: -28 -275 730 mks acceleration: -0.335270 -3.292831 8.740970[Stream 70] Invalid magic 29ff
[Stream 70] Invalid magic 2aff
raw acceleration: -32 -275 754 mks acceleration: -0.383166 -3.292831 9.028344[Stream 80] Invalid magic 1a26
[Stream 80] Lost 1 packets
[Stream 80] Lost 3 packets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment