==3155== Memcheck, a memory error detector ==3155== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==3155== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==3155== Command: ./build.linux/tvheadend -D -u hts -g video -c /home/hts/.hts/tvheadend ==3155== Parent PID: 3154 ==3155== ==3155== Invalid read of size 8 ==3155== at 0x7E456FD: _wordcopy_fwd_dest_aligned (wordcopy.c:205) ==3155== by 0x7E3F39E: __GI_memmove (memmove.c:76) ==3155== by 0x7E7AFBF: re_string_reconstruct (regex_internal.c:676) ==3155== by 0x7E80824: re_search_internal (regexec.c:815) ==3155== by 0x7E81942: regexec@@GLIBC_2.3.4 (regexec.c:253) ==3155== by 0x45DA53: autorec_cmp (dvr_autorec.c:101) ==3155== by 0x45E9F6: dvr_autorec_changed (dvr_autorec.c:1051) ==3155== by 0x45EAF9: dvr_autorec_update (dvr_autorec.c:1000) ==3155== by 0x460B2C: dvr_init (dvr_config.c:723) ==3155== by 0x40918E: main (main.c:856) ==3155== Address 0x117a29b0 is 48 bytes inside a block of size 52 alloc'd ==3155== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==3155== by 0x4C28D6F: realloc (vg_replace_malloc.c:632) ==3155== by 0x7E78534: re_string_realloc_buffers (regex_internal.c:143) ==3155== by 0x7E80513: re_search_internal (regex_internal.c:52) ==3155== by 0x7E81942: regexec@@GLIBC_2.3.4 (regexec.c:253) ==3155== by 0x45DA53: autorec_cmp (dvr_autorec.c:101) ==3155== by 0x45E9F6: dvr_autorec_changed (dvr_autorec.c:1051) ==3155== by 0x45EAF9: dvr_autorec_update (dvr_autorec.c:1000) ==3155== by 0x460B2C: dvr_init (dvr_config.c:723) ==3155== by 0x40918E: main (main.c:856) ==3155== ==3155== Invalid read of size 8 ==3155== at 0x7E456FD: _wordcopy_fwd_dest_aligned (wordcopy.c:205) ==3155== by 0x7E3F39E: __GI_memmove (memmove.c:76) ==3155== by 0x7E7B079: re_string_reconstruct (regex_internal.c:680) ==3155== by 0x7E80824: re_search_internal (regexec.c:815) ==3155== by 0x7E81942: regexec@@GLIBC_2.3.4 (regexec.c:253) ==3155== by 0x45DA53: autorec_cmp (dvr_autorec.c:101) ==3155== by 0x45E9F6: dvr_autorec_changed (dvr_autorec.c:1051) ==3155== by 0x45EAF9: dvr_autorec_update (dvr_autorec.c:1000) ==3155== by 0x460B2C: dvr_init (dvr_config.c:723) ==3155== by 0x40918E: main (main.c:856) ==3155== Address 0x1e836ea0 is 16 bytes inside a block of size 17 alloc'd ==3155== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==3155== by 0x4C28D6F: realloc (vg_replace_malloc.c:632) ==3155== by 0x7E7858B: re_string_realloc_buffers (regex_internal.c:158) ==3155== by 0x7E80513: re_search_internal (regex_internal.c:52) ==3155== by 0x7E81942: regexec@@GLIBC_2.3.4 (regexec.c:253) ==3155== by 0x45DA53: autorec_cmp (dvr_autorec.c:101) ==3155== by 0x45E9F6: dvr_autorec_changed (dvr_autorec.c:1051) ==3155== by 0x45EAF9: dvr_autorec_update (dvr_autorec.c:1000) ==3155== by 0x460B2C: dvr_init (dvr_config.c:723) ==3155== by 0x40918E: main (main.c:856) ==3155== ==3155== Warning: noted but unhandled ioctl 0x6f42 with no size/direction hints ==3155== This could cause spurious value errors to appear. ==3155== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper. ==3155== Warning: noted but unhandled ioctl 0x6f43 with no size/direction hints ==3155== This could cause spurious value errors to appear. ==3155== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper. ==3155== Warning: noted but unhandled ioctl 0x6f42 with no size/direction hints ==3155== This could cause spurious value errors to appear. ==3155== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper. ==3155== Thread 35: ==3155== Invalid read of size 8 ==3155== at 0x42FFF7: htsp_serve (htsp_server.c:2509) ==3155== by 0x4147D2: tcp_server_start (tcp.c:447) ==3155== by 0x412250: thread_wrapper (wrappers.c:125) ==3155== by 0x771CB4F: start_thread (pthread_create.c:304) ==3155== by 0x7E97E6C: clone (clone.S:112) ==3155== Address 0x11c30ca0 is 112 bytes inside a block of size 264 free'd ==3155== at 0x4C27D4E: free (vg_replace_malloc.c:427) ==3155== by 0x42FF27: htsp_serve (htsp_server.c:2488) ==3155== by 0x4147D2: tcp_server_start (tcp.c:447) ==3155== by 0x412250: thread_wrapper (wrappers.c:125) ==3155== by 0x771CB4F: start_thread (pthread_create.c:304) ==3155== by 0x7E97E6C: clone (clone.S:112) ==3155== ==3155== Invalid write of size 8 ==3155== at 0x43000F: htsp_serve (htsp_server.c:2510) ==3155== by 0x4147D2: tcp_server_start (tcp.c:447) ==3155== by 0x412250: thread_wrapper (wrappers.c:125) ==3155== by 0x771CB4F: start_thread (pthread_create.c:304) ==3155== by 0x7E97E6C: clone (clone.S:112) ==3155== Address 0x11c30ca8 is 120 bytes inside a block of size 264 free'd ==3155== at 0x4C27D4E: free (vg_replace_malloc.c:427) ==3155== by 0x42FF27: htsp_serve (htsp_server.c:2488) ==3155== by 0x4147D2: tcp_server_start (tcp.c:447) ==3155== by 0x412250: thread_wrapper (wrappers.c:125) ==3155== by 0x771CB4F: start_thread (pthread_create.c:304) ==3155== by 0x7E97E6C: clone (clone.S:112) ==3155== ==3155== Invalid write of size 8 ==3155== at 0x42FFEF: htsp_serve (htsp_server.c:2510) ==3155== by 0x4147D2: tcp_server_start (tcp.c:447) ==3155== by 0x412250: thread_wrapper (wrappers.c:125) ==3155== by 0x771CB4F: start_thread (pthread_create.c:304) ==3155== by 0x7E97E6C: clone (clone.S:112) ==3155== Address 0x11c30ca0 is 112 bytes inside a block of size 264 free'd ==3155== at 0x4C27D4E: free (vg_replace_malloc.c:427) ==3155== by 0x42FF27: htsp_serve (htsp_server.c:2488) ==3155== by 0x4147D2: tcp_server_start (tcp.c:447) ==3155== by 0x412250: thread_wrapper (wrappers.c:125) ==3155== by 0x771CB4F: start_thread (pthread_create.c:304) ==3155== by 0x7E97E6C: clone (clone.S:112) ==3155== ==3155== Invalid read of size 8 ==3155== at 0x4300A0: htsp_serve (htsp_server.c:2507) ==3155== by 0x4147D2: tcp_server_start (tcp.c:447) ==3155== by 0x412250: thread_wrapper (wrappers.c:125) ==3155== by 0x771CB4F: start_thread (pthread_create.c:304) ==3155== by 0x7E97E6C: clone (clone.S:112) ==3155== Address 0x11c30cb0 is 128 bytes inside a block of size 264 free'd ==3155== at 0x4C27D4E: free (vg_replace_malloc.c:427) ==3155== by 0x42FF27: htsp_serve (htsp_server.c:2488) ==3155== by 0x4147D2: tcp_server_start (tcp.c:447) ==3155== by 0x412250: thread_wrapper (wrappers.c:125) ==3155== by 0x771CB4F: start_thread (pthread_create.c:304) ==3155== by 0x7E97E6C: clone (clone.S:112) ==3155== ==3155== ==3155== HEAP SUMMARY: ==3155== in use at exit: 3,266 bytes in 209 blocks ==3155== total heap usage: 25,670,970 allocs, 25,670,761 frees, 7,730,759,393 bytes allocated ==3155== ==3155== Thread 1: ==3155== 23 bytes in 1 blocks are still reachable in loss record 1 of 4 ==3155== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==3155== by 0x7E3C971: strdup (strdup.c:43) ==3155== by 0x49A45A: timeshift_init (timeshift.c:72) ==3155== by 0x409153: main (main.c:839) ==3155== ==3155== 24 bytes in 1 blocks are definitely lost in loss record 2 of 4 ==3155== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==3155== by 0x510877F: CRYPTO_malloc (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0) ==3155== by 0x4E6E948: ??? (in /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0) ==3155== by 0x4E70888: SSL_COMP_get_compression_methods (in /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0) ==3155== by 0x4E75CA8: SSL_library_init (in /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0) ==3155== by 0x4090A4: main (main.c:795) ==3155== ==3155== 568 bytes in 1 blocks are still reachable in loss record 3 of 4 ==3155== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==3155== by 0x7E2433A: __fopen_internal (iofopen.c:76) ==3155== by 0xC5AF532: ??? ==3155== by 0xC5B01B5: ??? ==3155== by 0x7EA8EEF: __nss_getent_r (getnssent_r.c:171) ==3155== by 0x7E65C65: getgrent_r@@GLIBC_2.2.5 (getXXent_r.c:162) ==3155== by 0x7EA8B12: __nss_getent (getnssent.c:38) ==3155== by 0x7E65601: getgrent (getXXent.c:84) ==3155== by 0x408DCB: main (main.c:209) ==3155== ==3155== 2,651 bytes in 206 blocks are definitely lost in loss record 4 of 4 ==3155== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==3155== by 0x7E3C971: strdup (strdup.c:43) ==3155== by 0x4110F1: prop_write_values (prop.c:178) ==3155== by 0x40BBB1: idnode_class_write_values.isra.5 (idnode.c:1000) ==3155== by 0x40EB70: idnode_write0 (idnode.c:1022) ==3155== by 0x42A05F: service_load (service.c:1811) ==3155== by 0x42A536: service_create0 (service.c:859) ==3155== by 0x475E82: mpegts_service_create0 (mpegts_service.c:486) ==3155== by 0x480B4F: dvb_mux_create0 (mpegts_mux_dvb.c:682) ==3155== by 0x47F991: dvb_network_create0 (mpegts_network_dvb.c:562) ==3155== by 0x47FACE: dvb_network_init (mpegts_network_dvb.c:612) ==3155== by 0x46E2BF: mpegts_init (mpegts.c:37) ==3155== ==3155== LEAK SUMMARY: ==3155== definitely lost: 2,675 bytes in 207 blocks ==3155== indirectly lost: 0 bytes in 0 blocks ==3155== possibly lost: 0 bytes in 0 blocks ==3155== still reachable: 591 bytes in 2 blocks ==3155== suppressed: 0 bytes in 0 blocks ==3155== ==3155== For counts of detected and suppressed errors, rerun with: -v ==3155== ERROR SUMMARY: 25657 errors from 8 contexts (suppressed: 4 from 4) ==3155== could not unlink /tmp/vgdb-pipe-from-vgdb-to-3155-by-root-on-??? ==3155== could not unlink /tmp/vgdb-pipe-to-vgdb-from-3155-by-root-on-??? ==3155== could not unlink /tmp/vgdb-pipe-shared-mem-vgdb-3155-by-root-on-???