Project

General

Profile

Bug #2500 » tvheadend-valgrind.log

Stéphane Bidoul, 2015-03-05 20:54

 
1
==29009== Memcheck, a memory error detector
2
==29009== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
3
==29009== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
4
==29009== Command: /usr/local/bin/tvheadend -u hts -g video
5
==29009== Parent PID: 18368
6
==29009== 
7
==29009== Syscall param socketcall.send(msg) points to uninitialised byte(s)
8
==29009==    at 0x4301E88: send (socket.S:100)
9
==29009==    by 0x40383DC: ioctl (in /opt/lib/libmediaclient.so)
10
==29009==    by 0x80EA854: linuxdvb_adapter_add (linuxdvb_adapter.c:264)
11
==29009==    by 0x80EADD7: linuxdvb_adapter_scan (linuxdvb_adapter.c:407)
12
==29009==    by 0x6276642E: ???
13
==29009==  Address 0xbeecc62c is on thread 1's stack
14
==29009== 
15
==29009== Syscall param socketcall.send(msg) points to uninitialised byte(s)
16
==29009==    at 0x4301E88: send (socket.S:100)
17
==29009==    by 0x40383DC: ioctl (in /opt/lib/libmediaclient.so)
18
==29009==    by 0x80EC341: linuxdvb_frontend_tune0 (linuxdvb_frontend.c:1348)
19
==29009==    by 0x80EFA4F: linuxdvb_satconf_start_mux (linuxdvb_satconf.c:845)
20
==29009==    by 0x80ED515: linuxdvb_frontend_start_mux (linuxdvb_frontend.c:346)
21
==29009==    by 0x80CC7BD: mpegts_mux_instance_start (mpegts_mux.c:230)
22
==29009==    by 0x80CCAD6: mpegts_mux_start1 (mpegts_mux.c:645)
23
==29009==    by 0x8070903: subscription_create_from_mux (subscriptions.c:779)
24
==29009==  Address 0xbeecbb28 is on thread 1's stack
25
==29009== 
26
==29009== Syscall param socketcall.send(msg) points to uninitialised byte(s)
27
==29009==    at 0x4301E88: send (socket.S:100)
28
==29009==    by 0x40383DC: ioctl (in /opt/lib/libmediaclient.so)
29
==29009==    by 0x80EF2F6: linuxdvb_diseqc_send (linuxdvb_satconf.c:1432)
30
==29009==    by 0x80F0058: linuxdvb_switch_tune (linuxdvb_switch.c:189)
31
==29009==    by 0x80EF6CD: linuxdvb_satconf_ele_tune (linuxdvb_satconf.c:764)
32
==29009==    by 0x80ED515: linuxdvb_frontend_start_mux (linuxdvb_frontend.c:346)
33
==29009==    by 0x80CC7BD: mpegts_mux_instance_start (mpegts_mux.c:230)
34
==29009==    by 0x80CCAD6: mpegts_mux_start1 (mpegts_mux.c:645)
35
==29009==    by 0x8070903: subscription_create_from_mux (subscriptions.c:779)
36
==29009==  Address 0xbeecbce9 is on thread 1's stack
37
==29009== 
38
==29009== Syscall param socketcall.send(msg) points to uninitialised byte(s)
39
==29009==    at 0x4301E88: send (socket.S:100)
40
==29009==    by 0x40383DC: ioctl (in /opt/lib/libmediaclient.so)
41
==29009==    by 0x80EC341: linuxdvb_frontend_tune0 (linuxdvb_frontend.c:1348)
42
==29009==    by 0x80ED446: linuxdvb_frontend_tune1 (linuxdvb_frontend.c:1394)
43
==29009==    by 0x80EF728: linuxdvb_satconf_ele_tune (linuxdvb_satconf.c:810)
44
==29009==    by 0x80ED515: linuxdvb_frontend_start_mux (linuxdvb_frontend.c:346)
45
==29009==    by 0x80CC7BD: mpegts_mux_instance_start (mpegts_mux.c:230)
46
==29009==    by 0x80CCAD6: mpegts_mux_start1 (mpegts_mux.c:645)
47
==29009==    by 0x8070903: subscription_create_from_mux (subscriptions.c:779)
48
==29009==  Address 0xbeecb888 is on thread 1's stack
49
==29009== 
50
==29009== Syscall param socketcall.send(msg) points to uninitialised byte(s)
51
==29009==    at 0x4301E88: send (socket.S:100)
52
==29009==    by 0x40383DC: ioctl (in /opt/lib/libmediaclient.so)
53
==29009==    by 0x80ECB0A: linuxdvb_frontend_monitor (linuxdvb_frontend.c:540)
54
==29009==    by 0x804E5D6: main (main.c:410)
55
==29009==  Address 0xbeeccb94 is on thread 1's stack
56
==29009== 
57
==29009== Syscall param socketcall.send(msg) points to uninitialised byte(s)
58
==29009==    at 0x4301E88: send (socket.S:100)
59
==29009==    by 0x40383DC: ioctl (in /opt/lib/libmediaclient.so)
60
==29009==    by 0x80ED090: linuxdvb_frontend_monitor (linuxdvb_frontend.c:806)
61
==29009==    by 0x804E5D6: main (main.c:410)
62
==29009==  Address 0xbeeccb9a is on thread 1's stack
63
==29009== 
64
==29009== Syscall param socketcall.send(msg) points to uninitialised byte(s)
65
==29009==    at 0x4301E88: send (socket.S:100)
66
==29009==    by 0x40383DC: ioctl (in /opt/lib/libmediaclient.so)
67
==29009==    by 0x80ED050: linuxdvb_frontend_monitor (linuxdvb_frontend.c:816)
68
==29009==    by 0x804E5D6: main (main.c:410)
69
==29009==  Address 0xbeeccb90 is on thread 1's stack
70
==29009== 
71
==29009== Thread 13:
72
==29009== Invalid read of size 4
73
==29009==    at 0x806C425: streaming_pad_deliver (streaming.c:337)
74
==29009==    by 0x80C9041: mpegts_input_thread (mpegts_input.c:1054)
75
==29009==    by 0x80584B4: thread_wrapper (wrappers.c:145)
76
==29009==    by 0x4438FDD: clone (clone.S:130)
77
==29009==  Address 0x7dfc988 is 80 bytes inside a block of size 200 free'd
78
==29009==    at 0x402B06C: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
79
==29009==    by 0x80C95B8: mpegts_input_table_thread (mpegts_input.c:1157)
80
==29009==    by 0x80584B4: thread_wrapper (wrappers.c:145)
81
==29009==    by 0x4438FDD: clone (clone.S:130)
82
==29009== 
83
==29009== Invalid read of size 4
84
==29009==    at 0x806C458: streaming_pad_deliver (streaming.c:339)
85
==29009==    by 0x80C9041: mpegts_input_thread (mpegts_input.c:1054)
86
==29009==    by 0x80584B4: thread_wrapper (wrappers.c:145)
87
==29009==    by 0x4438FDD: clone (clone.S:130)
88
==29009==  Address 0x7dfc99c is 100 bytes inside a block of size 200 free'd
89
==29009==    at 0x402B06C: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
90
==29009==    by 0x80C95B8: mpegts_input_table_thread (mpegts_input.c:1157)
91
==29009==    by 0x80584B4: thread_wrapper (wrappers.c:145)
92
==29009==    by 0x4438FDD: clone (clone.S:130)
93
==29009== 
94
==29009== Invalid read of size 4
95
==29009==    at 0x806C44B: streaming_pad_deliver (streaming.c:337)
96
==29009==    by 0x80C9041: mpegts_input_thread (mpegts_input.c:1054)
97
==29009==    by 0x80584B4: thread_wrapper (wrappers.c:145)
98
==29009==    by 0x4438FDD: clone (clone.S:130)
99
==29009==  Address 0xff9a06fb is not stack'd, malloc'd or (recently) free'd
100
==29009== 
101
==29009== 
102
==29009== Process terminating with default action of signal 11 (SIGSEGV)
103
==29009==  Access not within mapped region at address 0xFF9A06FB
104
==29009==    at 0x806C44B: streaming_pad_deliver (streaming.c:337)
105
==29009==    by 0x80C9041: mpegts_input_thread (mpegts_input.c:1054)
106
==29009==    by 0x80584B4: thread_wrapper (wrappers.c:145)
107
==29009==    by 0x4438FDD: clone (clone.S:130)
108
==29009==  If you believe this happened as a result of a stack
109
==29009==  overflow in your program's main thread (unlikely but
110
==29009==  possible), you can try to increase the size of the
111
==29009==  main thread stack using the --main-stacksize= flag.
112
==29009==  The main thread stack size used in this run was 8388608.
113
==29009== 
114
==29009== HEAP SUMMARY:
115
==29009==     in use at exit: 56,320,863 bytes in 766,835 blocks
116
==29009==   total heap usage: 37,439,687 allocs, 36,672,852 frees, 8,140,975,567 bytes allocated
117
==29009== 
118
==29009== LEAK SUMMARY:
119
==29009==    definitely lost: 80 bytes in 2 blocks
120
==29009==    indirectly lost: 240 bytes in 20 blocks
121
==29009==      possibly lost: 3,744 bytes in 26 blocks
122
==29009==    still reachable: 56,316,799 bytes in 766,787 blocks
123
==29009==         suppressed: 0 bytes in 0 blocks
124
==29009== Rerun with --leak-check=full to see details of leaked memory
125
==29009== 
126
==29009== For counts of detected and suppressed errors, rerun with: -v
127
==29009== Use --track-origins=yes to see where uninitialised values come from
128
==29009== ERROR SUMMARY: 57751 errors from 10 contexts (suppressed: 0 from 0)
129
==29009== could not unlink /tmp/vgdb-pipe-from-vgdb-to-29009-by-root-on-???
130
==29009== could not unlink /tmp/vgdb-pipe-to-vgdb-from-29009-by-root-on-???
131
==29009== could not unlink /tmp/vgdb-pipe-shared-mem-vgdb-29009-by-root-on-???
(2-2/2)