Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==16193== Memcheck, a memory error detector
- ==16193== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
- ==16193== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
- ==16193== Command: ./vnc2mpg -b 200000 -o out.avi 192.168.64.213:5900
- ==16193==
- 06/11/2012 17:38:36 VNC server supports protocol version 3.3 (viewer 3.8)
- 06/11/2012 17:38:36 Selected Security Scheme 1
- 06/11/2012 17:38:36 No authentication needed
- 06/11/2012 17:38:36 Desktop name "Qt for Embedded Linux VNC Server"
- 06/11/2012 17:38:36 Connected to VNC server, using protocol version 3.3
- 06/11/2012 17:38:36 VNC server default format:
- 06/11/2012 17:38:36 24 bits per pixel.
- 06/11/2012 17:38:36 Least significant byte first in each pixel.
- 06/11/2012 17:38:36 TRUE colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
- ==16193== Syscall param write(buf) points to uninitialised byte(s)
- ==16193== at 0x6A08C40: __write_nocancel (syscall-template.S:82)
- ==16193== by 0x54CB1E2: WriteToRFBServer (in /usr/lib/libvncclient.so.0.0.0)
- ==16193== by 0x54C144F: SetFormatAndEncodings (in /usr/lib/libvncclient.so.0.0.0)
- ==16193== by 0x54CC167: rfbInitClient (in /usr/lib/libvncclient.so.0.0.0)
- ==16193== by 0x402698: main (in /home/tuxx/vnc2mpg)
- ==16193== Address 0x7ff0001a1 is on thread 1's stack
- ==16193==
- ==16193== Syscall param write(buf) points to uninitialised byte(s)
- ==16193== at 0x6A08C40: __write_nocancel (syscall-template.S:82)
- ==16193== by 0x54CB1E2: WriteToRFBServer (in /usr/lib/libvncclient.so.0.0.0)
- ==16193== by 0x54C18ED: SetFormatAndEncodings (in /usr/lib/libvncclient.so.0.0.0)
- ==16193== by 0x54CC167: rfbInitClient (in /usr/lib/libvncclient.so.0.0.0)
- ==16193== by 0x402698: main (in /home/tuxx/vnc2mpg)
- ==16193== Address 0x7ff0001c1 is on thread 1's stack
- ==16193==
- Output #0, avi, to 'out.avi':
- Stream #0.0: Video: flashsv, bgr24, 1024x768, q=2-31, 200 kb/s, 90k tbn, 16 tbc
- ==16193== Thread 3:
- ==16193== Invalid read of size 2
- ==16193== at 0x5267EB0: ??? (in /usr/lib/libswscale.so.0.11.0)
- ==16193== by 0x5290565: ??? (in /usr/lib/libswscale.so.0.11.0)
- ==16193== by 0x52A23B7: sws_scale (in /usr/lib/libswscale.so.0.11.0)
- ==16193== by 0x401B57: write_video_frame (in /home/tuxx/vnc2mpg)
- ==16193== by 0x402144: encode_loop (in /home/tuxx/vnc2mpg)
- ==16193== by 0x6A00D8B: start_thread (pthread_create.c:304)
- ==16193== by 0x6F1BFDC: clone (clone.S:112)
- ==16193== Address 0xd2ae080 is 0 bytes after a block of size 1,572,864 alloc'd
- ==16193== at 0x4C28FAC: malloc (vg_replace_malloc.c:236)
- ==16193== by 0x401874: alloc_picture (in /home/tuxx/vnc2mpg)
- ==16193== by 0x401A21: open_video (in /home/tuxx/vnc2mpg)
- ==16193== by 0x401E29: movie_open (in /home/tuxx/vnc2mpg)
- ==16193== by 0x401FB5: resize (in /home/tuxx/vnc2mpg)
- ==16193== by 0x54CC18C: rfbInitClient (in /usr/lib/libvncclient.so.0.0.0)
- ==16193== by 0x402698: main (in /home/tuxx/vnc2mpg)
- ==16193==
- ==16193== Invalid write of size 1
- ==16193== at 0x5267EBE: ??? (in /usr/lib/libswscale.so.0.11.0)
- ==16193== by 0x5290565: ??? (in /usr/lib/libswscale.so.0.11.0)
- ==16193== by 0x52A23B7: sws_scale (in /usr/lib/libswscale.so.0.11.0)
- ==16193== by 0x401B57: write_video_frame (in /home/tuxx/vnc2mpg)
- ==16193== by 0x402144: encode_loop (in /home/tuxx/vnc2mpg)
- ==16193== by 0x6A00D8B: start_thread (pthread_create.c:304)
- ==16193== by 0x6F1BFDC: clone (clone.S:112)
- ==16193== Address 0xd12e040 is 0 bytes after a block of size 2,359,296 alloc'd
- ==16193== at 0x4C28FAC: malloc (vg_replace_malloc.c:236)
- ==16193== by 0x401874: alloc_picture (in /home/tuxx/vnc2mpg)
- ==16193== by 0x4019B5: open_video (in /home/tuxx/vnc2mpg)
- ==16193== by 0x401E29: movie_open (in /home/tuxx/vnc2mpg)
- ==16193== by 0x401FB5: resize (in /home/tuxx/vnc2mpg)
- ==16193== by 0x54CC18C: rfbInitClient (in /usr/lib/libvncclient.so.0.0.0)
- ==16193== by 0x402698: main (in /home/tuxx/vnc2mpg)
- ==16193==
- ==16193== Invalid write of size 1
- ==16193== at 0x5267ED3: ??? (in /usr/lib/libswscale.so.0.11.0)
- ==16193== by 0x5290565: ??? (in /usr/lib/libswscale.so.0.11.0)
- ==16193== by 0x52A23B7: sws_scale (in /usr/lib/libswscale.so.0.11.0)
- ==16193== by 0x401B57: write_video_frame (in /home/tuxx/vnc2mpg)
- ==16193== by 0x402144: encode_loop (in /home/tuxx/vnc2mpg)
- ==16193== by 0x6A00D8B: start_thread (pthread_create.c:304)
- ==16193== by 0x6F1BFDC: clone (clone.S:112)
- ==16193== Address 0xd12e042 is 2 bytes after a block of size 2,359,296 alloc'd
- ==16193== at 0x4C28FAC: malloc (vg_replace_malloc.c:236)
- ==16193== by 0x401874: alloc_picture (in /home/tuxx/vnc2mpg)
- ==16193== by 0x4019B5: open_video (in /home/tuxx/vnc2mpg)
- ==16193== by 0x401E29: movie_open (in /home/tuxx/vnc2mpg)
- ==16193== by 0x401FB5: resize (in /home/tuxx/vnc2mpg)
- ==16193== by 0x54CC18C: rfbInitClient (in /usr/lib/libvncclient.so.0.0.0)
- ==16193== by 0x402698: main (in /home/tuxx/vnc2mpg)
- ==16193==
- ==16193== Invalid write of size 1
- ==16193== at 0x5267ED6: ??? (in /usr/lib/libswscale.so.0.11.0)
- ==16193== by 0x5290565: ??? (in /usr/lib/libswscale.so.0.11.0)
- ==16193== by 0x52A23B7: sws_scale (in /usr/lib/libswscale.so.0.11.0)
- ==16193== by 0x401B57: write_video_frame (in /home/tuxx/vnc2mpg)
- ==16193== by 0x402144: encode_loop (in /home/tuxx/vnc2mpg)
- ==16193== by 0x6A00D8B: start_thread (pthread_create.c:304)
- ==16193== by 0x6F1BFDC: clone (clone.S:112)
- ==16193== Address 0xd12e041 is 1 bytes after a block of size 2,359,296 alloc'd
- ==16193== at 0x4C28FAC: malloc (vg_replace_malloc.c:236)
- ==16193== by 0x401874: alloc_picture (in /home/tuxx/vnc2mpg)
- ==16193== by 0x4019B5: open_video (in /home/tuxx/vnc2mpg)
- ==16193== by 0x401E29: movie_open (in /home/tuxx/vnc2mpg)
- ==16193== by 0x401FB5: resize (in /home/tuxx/vnc2mpg)
- ==16193== by 0x54CC18C: rfbInitClient (in /usr/lib/libvncclient.so.0.0.0)
- ==16193== by 0x402698: main (in /home/tuxx/vnc2mpg)
- ==16193==
- ==16193==
- ==16193== Process terminating with default action of signal 11 (SIGSEGV)
- ==16193== Bad permissions for mapped region at address 0xD2EE000
- ==16193== at 0x5267EB0: ??? (in /usr/lib/libswscale.so.0.11.0)
- ==16193== by 0x5290565: ??? (in /usr/lib/libswscale.so.0.11.0)
- ==16193== by 0x52A23B7: sws_scale (in /usr/lib/libswscale.so.0.11.0)
- ==16193== by 0x401B57: write_video_frame (in /home/tuxx/vnc2mpg)
- ==16193== by 0x402144: encode_loop (in /home/tuxx/vnc2mpg)
- ==16193== by 0x6A00D8B: start_thread (pthread_create.c:304)
- ==16193== by 0x6F1BFDC: clone (clone.S:112)
- ==16193==
- ==16193== HEAP SUMMARY:
- ==16193== in use at exit: 31,989,715 bytes in 166 blocks
- ==16193== total heap usage: 191 allocs, 25 frees, 31,992,146 bytes allocated
- ==16193==
- ==16193== LEAK SUMMARY:
- ==16193== definitely lost: 0 bytes in 0 blocks
- ==16193== indirectly lost: 0 bytes in 0 blocks
- ==16193== possibly lost: 605 bytes in 3 blocks
- ==16193== still reachable: 31,989,110 bytes in 163 blocks
- ==16193== suppressed: 0 bytes in 0 blocks
- ==16193== Rerun with --leak-check=full to see details of leaked memory
- ==16193==
- ==16193== For counts of detected and suppressed errors, rerun with: -v
- ==16193== Use --track-origins=yes to see where uninitialised values come from
- ==16193== ERROR SUMMARY: 130392 errors from 6 contexts (suppressed: 4 from 4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement