Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
docker start tvh.debug ; docker logs -f tvh.debug
tvh.debug
+ trap _cleanup TERM INT QUIT HUP
++ stat -c %u /crash
+ crash_uid=101
++ stat -c %g /crash
+ crash_gid=44
++ stat -c %a /crash
+ crash_rwx=772
+ '[' '' ']'
+ '[' 1616 ']'
+ groupmod -o -g 1616 hts
+ chown -R hts:hts /config
++ stat -c %u:%g /recordings
+ '[' 101:44 = 0:0 ']'
+ dpkg-reconfigure -f noninteractive tzdata
Current default time zone: 'Europe/London'
Local time is now: Mon Aug 24 09:28:47 BST 2015.
Universal Time is now: Mon Aug 24 08:28:47 UTC 2015.
+ '[' eth0 ']'
+ echo 'Waiting for pipework to bring up eth0...'
+ pipework --wait -i eth0
Waiting for pipework to bring up eth0...
+ ulimit -c unlimited
+ echo 'Set: ulimit -c unlimited'
Set: ulimit -c unlimited
++ tvheadend --version
++ cut '-d ' -f 3
+ tvh_version=4.0.5-17~g15506ea
++ cat /proc/sys/kernel/core_pattern
+ core_pattern_orig=/crash/%e-4.0.5-17~g15506ea.t%t.core.new
+ core_pattern=/crash/%e-4.0.5-17~g15506ea.t%t.core.new
+ echo /crash/%e-4.0.5-17~g15506ea.t%t.core.new
+ '[' 0 -ne 0 ']'
++ cat /proc/sys/kernel/core_pattern
++ grep -v -e '^/crash/.*.core.new'
+ '[' '' ']'
+ echo 'Set: core_pattern=/crash/%e-4.0.5-17~g15506ea.t%t.core.new'
+ echo 'uname -a:'
+ uname -a
Set: core_pattern=/crash/%e-4.0.5-17~g15506ea.t%t.core.new
uname -a:
Linux a0b6f38adb07 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:32 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
+ dmesg
+ echo 'Saved: dmesg --> /crash/dmesg.new'
+ umask 0
+ _tvheadend_args='-u hts -g hts -c /config --dump --logfile /crash/tvheadend.log --satip_xml http://192.168.1.22:8080/desc.xml --bindaddr 192.168.2.3'
Saved: dmesg --> /crash/dmesg.new
++ ps -o pid= -C tvheadend
+ valgrind --leak-check=full --show-reachable=yes /usr/bin/tvheadend -u hts -g hts -c /config --dump --logfile /crash/tvheadend.log --satip_xml http://192.168.1.22:8080/desc.xml --bindaddr 192.168.2.3
++ tr -d ' '
++ head -1
+ tvh_pid=
+ '[' '' ']'
+ exit 1
/debug.sh exited 1
==130== Memcheck, a memory error detector
==130== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==130== Using Valgrind-3.10.0.SVN and LibVEX; rerun with -h for copyright info
==130== Command: /usr/bin/tvheadend -u hts -g hts -c /config --dump --logfile /crash/tvheadend.log --satip_xml http://192.168.1.22:8080/desc.xml --bindaddr 192.168.2.3
==130==
==130== Jump to the invalid address stated on the next line
==130== at 0x5A6: ???
==130== by 0x4005B58: open_verify.constprop.6 (dl-load.c:1930)
==130== by 0x40061CE: open_path (dl-load.c:2216)
==130== by 0x4008F19: _dl_map_object (dl-load.c:2447)
==130== by 0x400D601: openaux (dl-deps.c:63)
==130== by 0x400FFF3: _dl_catch_error (dl-error.c:187)
==130== by 0x400DD04: _dl_map_object_deps (dl-deps.c:254)
==130== by 0x400315C: dl_main (rtld.c:1742)
==130== by 0x4017564: _dl_sysdep_start (dl-sysdep.c:249)
==130== by 0x4004CF7: _dl_start (rtld.c:332)
==130== by 0x40012D7: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==130== by 0xD: ???
==130== Address 0x5a6 is not stack'd, malloc'd or (recently) free'd
==130==
==130==
==130== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==130== Bad permissions for mapped region at address 0x5A6
==130== at 0x5A6: ???
==130== by 0x4005B58: open_verify.constprop.6 (dl-load.c:1930)
==130== by 0x40061CE: open_path (dl-load.c:2216)
==130== by 0x4008F19: _dl_map_object (dl-load.c:2447)
==130== by 0x400D601: openaux (dl-deps.c:63)
==130== by 0x400FFF3: _dl_catch_error (dl-error.c:187)
==130== by 0x400DD04: _dl_map_object_deps (dl-deps.c:254)
==130== by 0x400315C: dl_main (rtld.c:1742)
==130== by 0x4017564: _dl_sysdep_start (dl-sysdep.c:249)
==130== by 0x4004CF7: _dl_start (rtld.c:332)
==130== by 0x40012D7: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==130== by 0xD: ???
==130==
==130== HEAP SUMMARY:
==130== in use at exit: 0 bytes in 0 blocks
==130== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==130==
==130== All heap blocks were freed -- no leaks are possible
==130==
==130== For counts of detected and suppressed errors, rerun with: -v
==130== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
id@emachines-e520:~/docker-images$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment