Comment 18 for bug 1819650

Revision history for this message
Sean Young (sean-young) wrote :

pi@raspberrypi:~/dtv-scan-tables/dvb-t $ valgrind dvbv5-zap -c dvb_channel.conf -v --lna=-1 'CBBC' -P -o - > /dev/null
==2702== Memcheck, a memory error detector
==2702== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==2702== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==2702== Command: dvbv5-zap -c dvb_channel.conf -v --lna=-1 CBBC -P -o -
==2702==
using demux 'dvb0.demux0'
reading channels from file 'dvb_channel.conf'
service has pid type 05: 7103
tuning to 490000000 Hz
pass all PID's to TS
  dvb_set_pesfilter 8192
==2702== Warning: noted but unhandled ioctl 0x6f2d with no size/direction hints.
==2702== This could cause spurious value errors to appear.
==2702== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
Lock (0x1f) Quality= Good Signal= -45.74dBm C/N= 0.12dB UCB= 30 postBER= 2.93Lock (0x1f) Quality= Good Signal= -46.07dBm C/N= 0.12dB UCB= 30 postBER= 0 PER= 43.9x10^-6
Lock (0x1f) Quality= Good Signal= -46.03dBm C/N= 0.12dB UCB= 30 postBER= 0 PER= 43.9x10^-6
Record to file '-' started
^Creceived 28375404 bytes
Lock (0x1f) Quality= Poor Signal= -46.11dBm C/N= 0.03dB UCB= 4294967266 postBER= 0 PER= 33.7x10^3
==2702== Invalid free() / delete / delete[] / realloc()
==2702== at 0x4848B8C: free (vg_replace_malloc.c:530)
==2702== by 0x491A717: free_dvb_dev (in /usr/lib/arm-linux-gnueabihf/libdvbv5.so.0.0.0)
==2702== Address 0x4b7d248 is 0 bytes inside a block of size 28 free'd
==2702== at 0x4848B8C: free (vg_replace_malloc.c:530)
==2702== by 0x491C7B7: dvb_v5_free (in /usr/lib/arm-linux-gnueabihf/libdvbv5.so.0.0.0)
==2702== Block was alloc'd at
==2702== at 0x4847568: malloc (vg_replace_malloc.c:299)
==2702== by 0x49E6933: strdup (strdup.c:42)
==2702== by 0x491BDD3: ??? (in /usr/lib/arm-linux-gnueabihf/libdvbv5.so.0.0.0)
==2702==
==2702==
==2702== HEAP SUMMARY:
==2702== in use at exit: 8,194 bytes in 3 blocks
==2702== total heap usage: 1,407 allocs, 1,405 frees, 997,100 bytes allocated
==2702==
==2702== LEAK SUMMARY:
==2702== definitely lost: 2 bytes in 1 blocks
==2702== indirectly lost: 0 bytes in 0 blocks
==2702== possibly lost: 0 bytes in 0 blocks
==2702== still reachable: 8,192 bytes in 2 blocks
==2702== suppressed: 0 bytes in 0 blocks
==2702== Rerun with --leak-check=full to see details of leaked memory
==2702==
==2702== For counts of detected and suppressed errors, rerun with: -v
==2702== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 6 from 3)