Skip to content

Instantly share code, notes, and snippets.

@ckarrie
Created December 12, 2016 17:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ckarrie/5248d9ffed425f999fcb90984f5dd4b1 to your computer and use it in GitHub Desktop.
2016-12-12 17:59:19.079 [ ERROR] mpegts: log buffer full
2016-12-12 17:59:24.795 [ INFO] capmt: rpi2-1 inactive
2016-12-12 17:59:24.859 [ INFO] capmt: rpi2-1: mode 5 IP address 192.168.178.37 port 9000 destroyed
=================================================================
==8381==ERROR: AddressSanitizer: heap-use-after-free on address 0x616000b49d80 at pc 0x7f3f36c54800 bp 0x7fffdf937130 sp 0x7fffdf937128
WRITE of size 8 at 0x616000b49d80 thread T0
==8381==WARNING: Can't read from symbolizer at fd 3
#0 0x7f3f36c547ff in channel_delete /home/waldmeister/src/tvheadend/src/channels.c:1065
#1 0x7f3f36c5ff34 in channel_done /home/waldmeister/src/tvheadend/src/channels.c:1172
#2 0x7f3f36a43555 in main /home/waldmeister/src/tvheadend/src/main.c:1297
#3 0x7f3f334f3f44 (/lib/x86_64-linux-gnu/libc.so.6+0x21f44)
#4 0x7f3f36a2bf3c in _start (/home/waldmeister/src/tvheadend/build.linux/tvheadend+0x4f3f3c)
0x616000b49d80 is located 256 bytes inside of 552-byte region [0x616000b49c80,0x616000b49ea8)
freed by thread T0 here:
#0 0x7f3f36a15cd9 in __interceptor_free (/home/waldmeister/src/tvheadend/build.linux/tvheadend+0x4ddcd9)
#1 0x7f3f36c5c565 in channel_delete /home/waldmeister/src/tvheadend/src/channels.c:1092
#2 0x7f3f36c5ff34 in channel_done /home/waldmeister/src/tvheadend/src/channels.c:1172
#3 0x7f3f36a43555 in main /home/waldmeister/src/tvheadend/src/main.c:1297
#4 0x7f3f334f3f44 (/lib/x86_64-linux-gnu/libc.so.6+0x21f44)
previously allocated by thread T0 here:
#0 0x7f3f36a15f29 in calloc (/home/waldmeister/src/tvheadend/build.linux/tvheadend+0x4ddf29)
#1 0x7f3f36c5d230 in channel_init /home/waldmeister/src/tvheadend/src/channels.c:1146
#2 0x7f3f36a41857 in main /home/waldmeister/src/tvheadend/src/main.c:1202
#3 0x7f3f334f3f44 (/lib/x86_64-linux-gnu/libc.so.6+0x21f44)
SUMMARY: AddressSanitizer: heap-use-after-free /home/waldmeister/src/tvheadend/src/channels.c:1065 channel_delete
Shadow bytes around the buggy address:
0x0c2c80161360: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0c2c80161370: 00 00 00 00 00 fa fa fa fa fa fa fa fa fa fa fa
0x0c2c80161380: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c2c80161390: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x0c2c801613a0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
=>0x0c2c801613b0:[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x0c2c801613c0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x0c2c801613d0: fd fd fd fd fd fa fa fa fa fa fa fa fa fa fa fa
0x0c2c801613e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c2c801613f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0c2c80161400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
ASan internal: fe
==8381==ABORTING
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment