Hi, while testing exp-ptrcheck valgrind crashes on an assertion failure. arthur@Chani:~/src/freedroid/src$ uname -a Linux Chani 2.6.35-ARCH #1 SMP PREEMPT Wed Sep 29 08:45:18 CEST 2010 x86_64 AMD Athlon(tm) II X4 620 Processor AuthenticAMD GNU/Linux arthur@Chani:~/src/freedroid/src$ valgrind -v --tool=exp-ptrcheck ./freedroidRPG -wqnr0 ==31520== exp-ptrcheck, a heap, stack and global array overrun detector ==31520== NOTE: This is an Experimental-Class Valgrind Tool ==31520== Copyright (C) 2003-2010, and GNU GPL'd, by OpenWorks Ltd et al. ==31520== Using Valgrind-3.6.0 and LibVEX; rerun with -h for copyright info ==31520== Command: ./freedroidRPG -wqnr0 ==31520== --31520-- Valgrind options: --31520-- -v --31520-- --tool=exp-ptrcheck --31520-- Contents of /proc/version: --31520-- Linux version 2.6.35-ARCH (tobias@T-POWA-LX) (gcc version 4.5.1 (GCC) ) #1 SMP PREEMPT Wed Sep 29 08:45:18 CEST 2010 --31520-- Arch and hwcaps: AMD64, amd64-sse3-cx16-lzcnt --31520-- Page sizes: currently 4096, max supported 4096 --31520-- Valgrind library directory: /usr/lib/valgrind --31520-- Reading syms from /mnt/data/src/freedroid/src/freedroidRPG (0x400000) --31520-- warning: addVar: unknown size (SkillSubsetMap) --31520-- warning: addVar: unknown size (free_waypoints) --31520-- warning: addVar: unknown size (dist) --31520-- warning: addVar: unknown size (idx) --31520-- warning: addVar: unknown size (vis) --31520-- warning: addVar: unknown size (seen) --31520-- warning: addVar: unknown size (vis) --31520-- Reading syms from /lib/ld-2.12.1.so (0x4000000) --31520-- Reading syms from /usr/lib/valgrind/exp-ptrcheck-amd64-linux (0x38000000) --31520-- object doesn't have a symbol table --31520-- object doesn't have a dynamic symbol table --31520-- Reading suppressions file: /usr/lib/valgrind/default.supp --31520-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so (0x4a21000) --31520-- object doesn't have a symbol table --31520-- Reading syms from /usr/lib/valgrind/vgpreload_exp-ptrcheck-amd64-linux.so (0x4c22000) --31520-- object doesn't have a symbol table --31520-- REDIR: 0x4016020 (index) redirected to 0x4c26080 (index) --31520-- REDIR: 0x40161d0 (strcmp) redirected to 0x4c26390 (strcmp) --31520-- REDIR: 0x4016200 (strlen) redirected to 0x4c26150 (strlen) --31520-- Reading syms from /usr/lib/libvorbis.so.0.4.4 (0x4e28000) --31520-- Reading syms from /usr/lib/libogg.so.0.7.0 (0x5053000) --31520-- Reading syms from /usr/lib/libSDL_mixer-1.2.so.0.10.1 (0x5258000) --31520-- Reading syms from /usr/lib/libSDL_image-1.2.so.0.8.2 (0x54a6000) --31520-- Reading syms from /usr/lib/libpng14.so.14.4.0 (0x56c2000) --31520-- object doesn't have a symbol table --31520-- Reading syms from /usr/lib/libz.so.1.2.5 (0x58eb000) --31520-- Reading syms from /usr/lib/libjpeg.so.8.0.2 (0x5b03000) --31520-- Reading syms from /lib/libm-2.12.1.so (0x5d3c000) --31520-- object doesn't have a symbol table --31520-- Reading syms from /usr/lib/libSDL-1.2.so.0.11.3 (0x5fbe000) --31520-- Reading syms from /lib/libpthread-2.12.1.so (0x6256000) --31520-- Reading syms from /lib/libc-2.12.1.so (0x6778000) --31520-- object doesn't have a symbol table --31520-- Reading syms from /lib/libdl-2.12.1.so (0x6ad5000) --31520-- object doesn't have a symbol table --31520-- Reading syms from /usr/lib/libnvidia-tls.so.260.19.12 (0x6cd9000) --31520-- object doesn't have a symbol table --31520-- Reading syms from /usr/lib/libX11.so.6.3.0 (0x8ac6000) --31520-- object doesn't have a symbol table --31520-- Reading syms from /usr/lib/libXext.so.6.4.0 (0x8e03000) --31520-- Reading syms from /usr/lib/libxcb.so.1.1.0 (0x9015000) --31520-- object doesn't have a symbol table --31520-- Reading syms from /usr/lib/libXau.so.6.0.0 (0x9230000) --31520-- object doesn't have a symbol table --31520-- Reading syms from /usr/lib/libXdmcp.so.6.0.0 (0x9432000) --31520-- REDIR: 0x67f51f0 (rindex) redirected to 0x4c25e70 (rindex) --31520-- REDIR: 0x67f3700 (strlen) redirected to 0x4c260f0 (strlen) --31520-- REDIR: 0x67edf00 (malloc) redirected to 0x4c25b80 (malloc) --31520-- REDIR: 0x67f7b40 (memcpy) redirected to 0x4c26490 (memcpy) --31520-- REDIR: 0x67ef070 (calloc) redirected to 0x4c24200 (calloc) --31520-- REDIR: 0xffffffffff600000 (???) redirected to 0x38029183 (???) --31520-- REDIR: 0x67fa0c0 (rawmemchr) redirected to 0x4c26820 (rawmemchr) --31520-- REDIR: 0x67f6060 (memchr) redirected to 0x4c26450 (memchr) --31520-- REDIR: 0x67f38e0 (strncmp) redirected to 0x4c261f0 (strncmp) Hello, this is FreedroidRPG, version 0.13+. This seems to be a 'stable' release, so no exit on floating point exceptions. -Signal Handling------------------------------------------------------ Setting up signal handlers for internal backtrace: Now catching SIGSEGV: YES Now catching FPE (if raised, that is!): YES --31520-- REDIR: 0x67f1d50 (strcmp) redirected to 0x4c262d0 (strcmp) --31520-- REDIR: 0x67f5b10 (strstr) redirected to 0x4c26860 (strstr) --31520-- REDIR: 0x67ee410 (free) redirected to 0x4c24ce0 (free) exp-ptrcheck: sg_main.c:560 (add_blocks_to_StackTree): Assertion '!already_present' failed. ==31520== at 0x380139B7: ??? (in /usr/lib/valgrind/exp-ptrcheck-amd64-linux) ==31520== by 0x38013B91: ??? (in /usr/lib/valgrind/exp-ptrcheck-amd64-linux) ==31520== by 0x3800BB34: ??? (in /usr/lib/valgrind/exp-ptrcheck-amd64-linux) ==31520== by 0x3800D2C1: ??? (in /usr/lib/valgrind/exp-ptrcheck-amd64-linux) ==31520== by 0x404AA1D7F: ??? ==31520== by 0x117F5: ??? ==31520== by 0x38C370DF: ??? ==31520== by 0x404732F67: ??? ==31520== by 0x404732F2F: ??? ==31520== by 0x38C370CF: ??? ==31520== by 0x46E0EF: read_configuration_for_freedroid (savestruct.c:799) sched status: running_tid=1 Thread 1: status = VgTs_Runnable ==31520== at 0x46E105: read_configuration_for_freedroid (savestruct.c:801) ==31520== by 0x44945B: LoadGameConfig (misc.c:1135) ==31520== by 0x43EE8A: InitFreedroid (init.c:1708) ==31520== by 0x454226: main (main.c:170) Note: see also the FAQ in the source distribution. It contains workarounds to several common problems. In particular, if Valgrind aborted or crashed after identifying problems in your program, there's a good chance that fixing those problems will prevent Valgrind aborting or crashing, especially if it happened in m_mallocfree.c. If that doesn't help, please report this bug to: www.valgrind.org In the bug report, send all the above text, the valgrind version, and what OS and version you are using. Thanks. arthur@Chani:~/src/freedroid/src$ I realize this may not be quite enough for you to reproduce and fix the problem. I'll provide any required information.
Uh, I can't fix this without some way to reproduce it. Can you supply an easy repro case?
An easy (for me) reproduction case is latest FreedroidRPG which exhibits the problem. http://sourceforge.net/projects/freedroid/files/freedroidRPG/freedroidRPG-0.14/freedroidrpg-0.14.1.tar.gz/download This is an SDL game - so it needs libSDL among other little things. Build it and do as I did in the bug report. I will see if I can get a minimap application that reproduces the problem, but no guarantee upon the timing. Thanks for looking into this.
i can reproduce it -- Fedora 16/x64 -- installed debuginfo -- latest V from trunk -- 12380 / 2245 $ cat 255603.c #include <string.h> #include <dlfcn.h> int main() { char istr[] = "any text"; char ostr[10]; strncpy(ostr, istr, sizeof(ostr)-1); dlopen("/usr/lib64/libao.so.4.0.0", 1); /* any valid lib */ return 0; } $ gcc -O0 -Wall -Wextra -g 255603.c -ldl $ valgrind --tool=exp-sgcheck ./a.out ==24607== exp-sgcheck, a stack and global array overrun detector ==24607== NOTE: This is an Experimental-Class Valgrind Tool ==24607== Copyright (C) 2003-2011, and GNU GPL'd, by OpenWorks Ltd et al. ==24607== Using Valgrind-3.8.0.SVN and LibVEX; rerun with -h for copyright info ==24607== Command: ./a.out ==24607== exp-sgcheck: sg_main.c:560 (add_blocks_to_StackTree): Assertion '!already_present' failed. ==24607== at 0x38021E76: report_and_quit (m_libcassert.c:210) ==24607== by 0x3802201C: vgPlain_assert_fail (m_libcassert.c:284) ==24607== by 0x3801A274: add_blocks_to_StackTree (sg_main.c:560) ==24607== by 0x3801A391: shadowStack_new_frame (sg_main.c:1875) ==24607== by 0x406426B6B: ??? ==24607== by 0x1092D: ??? ==24607== by 0x38C9EAFF: ??? ==24607== by 0x38017B3F: ??? (h_main.c:141) ==24607== by 0x402EE8F1F: ??? ==24607== by 0x38C9EAEF: ??? ==24607== by 0x3A0A019A5F: memcpy (memcpy.S:227) sched status: running_tid=1 Thread 1: status = VgTs_Runnable ==24607== at 0x3A0A00DABB: _dl_map_object_deps (dl-deps.c:672) ==24607== by 0x3A0A013700: dl_open_worker (dl-open.c:262) ==24607== by 0x3A0A00F005: _dl_catch_error (dl-error.c:178) ==24607== by 0x3A0A013179: _dl_open (dl-open.c:575) ==24607== by 0x3A0A800F25: dlopen_doit (dlopen.c:67) ==24607== by 0x3A0A00F005: _dl_catch_error (dl-error.c:178) ==24607== by 0x3A0A80152E: _dlerror_run (dlerror.c:164) ==24607== by 0x3A0A800FC0: dlopen@@GLIBC_2.2.5 (dlopen.c:88) ==24607== by 0x4005A4: main (255603.c:10) Note: see also the FAQ in the source distribution. It contains workarounds to several common problems. In particular, if Valgrind aborted or crashed after identifying problems in your program, there's a good chance that fixing those problems will prevent Valgrind aborting or crashing, especially if it happened in m_mallocfree.c. If that doesn't help, please report this bug to: www.valgrind.org In the bug report, send all the above text, the valgrind version, and what OS and version you are using. Thanks.
current valgrind rev.12496/2275 reports the same valgrind --tool=exp-sgcheck --enable-sg-checks=no ./a.out # no crash, no errs
Fedora 18 / Arch and hwcaps: AMD64, amd64-sse3-cx16 current V from trunk revs. 13290 / 2686 w/o debuginfo PASS with debuginfo installed FAIL test from c#3 $ gcc -O0 -Wall -Wextra -g 255603.c -ldl $ valgrind -v --tool=exp-sgcheck --read-var-info=yes ./a.out [...] exp-sgcheck: sg_main.c:560 (add_blocks_to_StackTree): Assertion '!already_present' failed. exp-sgcheck: �j� ==16493== at 0x3800B67F: report_and_quit (m_libcassert.c:235) ==16493== by 0x3800B7D6: vgPlain_assert_fail (m_libcassert.c:315) ==16493== by 0x38003200: add_blocks_to_StackTree (sg_main.c:560) ==16493== by 0x38004721: shadowStack_new_frame.isra.12 (sg_main.c:1875) ==16493== by 0x806ABA436: ??? ==16493== by 0x802F86ECF: ??? sched status: running_tid=1 Thread 1: status = VgTs_Runnable ==16493== at 0x3AF8A0D8C4: _dl_map_object_deps (dl-deps.c:636) ==16493== by 0x3AF8A13134: dl_open_worker (dl-open.c:262) ==16493== by 0x3AF8A0EDC5: _dl_catch_error (dl-error.c:177) ==16493== by 0x3AF8A12C0B: _dl_open (dl-open.c:653) ==16493== by 0x3AF9201025: dlopen_doit (dlopen.c:66) ==16493== by 0x3AF8A0EDC5: _dl_catch_error (dl-error.c:177) ==16493== by 0x3AF920163B: _dlerror_run (dlerror.c:163) ==16493== by 0x3AF92010C0: dlopen@@GLIBC_2.2.5 (dlopen.c:87) ==16493== by 0x40064C: main (255603.c:8)
Valgrind 3.10.1 Debian testing on amd64-linux This can be triggered by running any program that calls gethostbyname(): $ valgrind --tool=exp-sgcheck telnet bugs.kde.org ==23495== exp-sgcheck, a stack and global array overrun detector ==23495== NOTE: This is an Experimental-Class Valgrind Tool ==23495== Copyright (C) 2003-2013, and GNU GPL'd, by OpenWorks Ltd et al. ==23495== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info ==23495== Command: telnet bugs.kde.org ==23495== --23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 exp-sgcheck: sg_main.c:560 (add_blocks_to_StackTree): Assertion '!already_present' failed. host stacktrace: ==23495== at 0x3808071F: show_sched_status_wrk (m_libcassert.c:319) ==23495== by 0x38080834: report_and_quit (m_libcassert.c:390) ==23495== by 0x380809B6: vgPlain_assert_fail (m_libcassert.c:455) ==23495== by 0x38076E7B: add_blocks_to_StackTree (sg_main.c:560) ==23495== by 0x380781DE: shadowStack_new_frame.isra.22 (sg_main.c:1875) ==23495== by 0x806528EA1: ??? ==23495== by 0x802B7DEEF: ??? ==23495== by 0x3807485F: ??? (h_main.c:376) ==23495== by 0x5251E3A: __nscd_get_mapping (nscd_helper.c:286) sched status: running_tid=1 Thread 1: status = VgTs_Runnable ==23495== at 0x5251E78: __nscd_get_mapping (nscd_helper.c:293) ==23495== by 0x525225B: __nscd_get_map_ref (nscd_helper.c:443) ==23495== by 0x524F7A5: nscd_gethst_r (nscd_gethst_r.c:160) ==23495== by 0x524FFC8: __nscd_gethostbyname_r (nscd_gethst_r.c:47) ==23495== by 0x5231A55: gethostbyname_r@@GLIBC_2.2.5 (getXXbyYY_r.c:196) ==23495== by 0x5231105: gethostbyname (getXXbyYY.c:116) ==23495== by 0x40F077: ??? (in /usr/bin/telnet.netkit) ==23495== by 0x408EF8: ??? (in /usr/bin/telnet.netkit) ==23495== by 0x407872: ??? (in /usr/bin/telnet.netkit) ==23495== by 0x402457: ??? (in /usr/bin/telnet.netkit) ==23495== by 0x515BB44: (below main) (libc-start.c:287) Note: see also the FAQ in the source distribution. It contains workarounds to several common problems. In particular, if Valgrind aborted or crashed after identifying problems in your program, there's a good chance that fixing those problems will prevent Valgrind aborting or crashing, especially if it happened in m_mallocfree.c. If that doesn't help, please report this bug to: www.valgrind.org In the bug report, send all the above text, the valgrind version, and what OS and version you are using. Thanks.
Björn Stenberg 2015-06-30 14:14:46 UTC Comment 6 describes what I see best. Commenting out a call to gethostbyname() and then a call to getpwnam() let exp-sgcheck run . Failed on getpwnam(): /home/stew/valgrind-3.12.0/coregrind/valgrind --tool=exp-sgcheck --trace-children=yes -v ./server/LCDd -c ./LCDd.conf -f ==1016== exp-sgcheck, a stack and global array overrun detector ==1016== NOTE: This is an Experimental-Class Valgrind Tool ==1016== Copyright (C) 2003-2013, and GNU GPL'd, by OpenWorks Ltd et al. ==1016== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info ==1016== Command: ./server/LCDd -c ./LCDd.conf -f ==1016== --1016-- Valgrind options: --1016-- --tool=exp-sgcheck --1016-- --trace-children=yes --1016-- -v --1016-- Contents of /proc/version: --1016-- Linux version 3.16.36 (root@rattle) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Fri Oct 21 07:14:56 PDT 2016 --1016-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-rdtscp-sse3 --1016-- Page sizes: currently 4096, max supported 4096 --1016-- Valgrind library directory: /usr/lib/valgrind --1016-- Reading syms from /root/cf-ss-swap/lcdproc-0.5.7-ss-20161207-TN/server/LCDd --1016-- Reading syms from /lib/x86_64-linux-gnu/ld-2.19.so --1016-- Considering /lib/x86_64-linux-gnu/ld-2.19.so .. --1016-- .. CRC mismatch (computed 60000291 wanted 8b33a7a7) --1016-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.19.so .. --1016-- .. CRC is valid --1016-- warning: addVar: unknown size (loadcmds) --1016-- warning: addVar: unknown size (loadcmds) --1016-- warning: addVar: unknown size (loadcmds) --1016-- warning: addVar: unknown size (loadcmds) --1016-- warning: addVar: unknown size (loadcmds) --1016-- warning: addVar: unknown size (loadcmds) --1016-- warning: addVar: unknown size (loadcmds) --1016-- warning: addVar: unknown size (loadcmds) --1016-- warning: addVar: unknown size (loadcmds) --1016-- warning: addVar: unknown size (loadcmds) --1016-- Reading syms from /usr/lib/valgrind/exp-sgcheck-amd64-linux --1016-- Considering /usr/lib/valgrind/exp-sgcheck-amd64-linux .. --1016-- .. CRC mismatch (computed ae57864a wanted 616ea344) --1016-- Considering /usr/lib/debug/usr/lib/valgrind/exp-sgcheck-amd64-linux .. --1016-- .. CRC is valid --1016-- object doesn't have a dynamic symbol table --1016-- Scheduler: using generic scheduler lock implementation. --1016-- Reading suppressions file: /usr/lib/valgrind/default.supp ==1016== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-1016-by-root-on-??? ==1016== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-1016-by-root-on-??? ==1016== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-1016-by-root-on-??? ==1016== ==1016== TO CONTROL THIS PROCESS USING vgdb (which you probably ==1016== don't want to do, unless you know exactly what you're doing, ==1016== or are doing some strange experiment): ==1016== /usr/lib/valgrind/../../bin/vgdb --pid=1016 ...command... ==1016== ==1016== TO DEBUG THIS PROCESS USING GDB: start GDB like this ==1016== /path/to/gdb ./server/LCDd ==1016== and then give GDB the following command ==1016== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=1016 ==1016== --pid is optional if only one valgrind process is running ==1016== --1016-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --1016-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --1016-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --1016-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --1016-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --1016-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --1016-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --1016-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --1016-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --1016-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --1016-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --1016-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --1016-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --1016-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --1016-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --1016-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --1016-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so --1016-- Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so .. --1016-- .. CRC mismatch (computed 9771ef88 wanted e8eb00cf) --1016-- Considering /usr/lib/debug/usr/lib/valgrind/vgpreload_core-amd64-linux.so .. --1016-- .. CRC is valid --1016-- Reading syms from /usr/lib/valgrind/vgpreload_exp-sgcheck-amd64-linux.so --1016-- Considering /usr/lib/valgrind/vgpreload_exp-sgcheck-amd64-linux.so .. --1016-- .. CRC mismatch (computed 751e41e5 wanted 6fd813ce) --1016-- Considering /usr/lib/debug/usr/lib/valgrind/vgpreload_exp-sgcheck-amd64-linux.so .. --1016-- .. CRC is valid ==1016== WARNING: new redirection conflicts with existing -- ignoring it --1016-- old: 0x040176d0 (index ) R-> (0000.0) 0x04c2a8f0 index --1016-- new: 0x040176d0 (index ) R-> (0000.0) 0x04c2a8b0 strchr --1016-- REDIR: 0x40176d0 (ld-linux-x86-64.so.2:index) redirected to 0x4c2a8f0 (index) --1016-- REDIR: 0x40178f0 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c2abf0 (strcmp) --1016-- REDIR: 0x4017920 (ld-linux-x86-64.so.2:strlen) redirected to 0x4c2a9d0 (strlen) --1016-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.19.so --1016-- Considering /lib/x86_64-linux-gnu/libpthread-2.19.so .. --1016-- .. CRC mismatch (computed 280b7aee wanted 21120dbf) --1016-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libpthread-2.19.so .. --1016-- .. CRC is valid --1016-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.19.so --1016-- Considering /lib/x86_64-linux-gnu/libdl-2.19.so .. --1016-- .. CRC mismatch (computed b76b883c wanted c261d240) --1016-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.19.so .. --1016-- .. CRC is valid --1016-- Reading syms from /lib/x86_64-linux-gnu/libc-2.19.so --1016-- Considering /lib/x86_64-linux-gnu/libc-2.19.so .. --1016-- .. CRC mismatch (computed 15777026 wanted 3c8210d6) --1016-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.19.so .. --1016-- .. CRC is valid ==1016== WARNING: new redirection conflicts with existing -- ignoring it --1016-- old: 0x052cef70 (index ) R-> (0000.0) 0x04c2a7b0 index --1016-- new: 0x052cef70 (index ) R-> (0000.0) 0x04c2a770 strchr ==1016== WARNING: new redirection conflicts with existing -- ignoring it --1016-- old: 0x052d0c10 (strlen ) R-> (0000.0) 0x04c2a970 strlen --1016-- new: 0x052d0c10 (strlen ) R-> (0000.0) 0x04c2a990 __GI_strlen ==1016== WARNING: new redirection conflicts with existing -- ignoring it --1016-- old: 0x052d2910 (rindex ) R-> (0000.0) 0x04c2a6e0 rindex --1016-- new: 0x052d2910 (rindex ) R-> (0000.0) 0x04c2a6b0 strrchr ==1016== WARNING: new redirection conflicts with existing -- ignoring it --1016-- old: 0x052d2910 (rindex ) R-> (0000.0) 0x04c2a6e0 rindex --1016-- new: 0x052d2910 (rindex ) R-> (0000.0) 0x04c2a710 __GI_strrchr ==1016== WARNING: new redirection conflicts with existing -- ignoring it --1016-- old: 0x052d2910 (rindex ) R-> (0000.0) 0x04c2a6e0 rindex --1016-- new: 0x052d2910 (rindex ) R-> (0000.0) 0x04c2a6b0 strrchr ==1016== WARNING: new redirection conflicts with existing -- ignoring it --1016-- old: 0x052db540 (rawmemchr ) R-> (0000.0) 0x04c2b3f0 rawmemchr --1016-- new: 0x052db540 (rawmemchr ) R-> (0000.0) 0x04c2b410 __GI___rawmemchr --1016-- REDIR: 0x52d4590 (libc.so.6:memcpy@GLIBC_2.2.5) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) --1016-- REDIR: 0x52d2910 (libc.so.6:rindex) redirected to 0x4c2a6e0 (rindex) --1016-- REDIR: 0x52cb930 (libc.so.6:calloc) redirected to 0x4c29970 (calloc) --1016-- REDIR: 0x52d0c10 (libc.so.6:strlen) redirected to 0x4c2a970 (strlen) --1016-- REDIR: 0x52cafc0 (libc.so.6:malloc) redirected to 0x4c27890 (malloc) --1016-- REDIR: 0x52d0650 (libc.so.6:strcpy) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) --1016-- REDIR: 0x52e5be0 (libc.so.6:__strcpy_sse2_unaligned) redirected to 0x4c2aa10 (strcpy) --1016-- REDIR: 0x52cefa0 (libc.so.6:__GI_strchr) redirected to 0x4c2a7f0 (__GI_strchr) --1016-- REDIR: 0x52cf1c0 (libc.so.6:strcmp) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) --1016-- REDIR: 0x52e0d70 (libc.so.6:__strcmp_sse2_unaligned) redirected to 0x4c2ab50 (strcmp) --1016-- REDIR: 0x52cb600 (libc.so.6:free) redirected to 0x4c28b00 (free) --1016-- REDIR: 0xffffffffff600400 (???:???) redirected to 0x38092e4d (vgPlain_amd64_linux_REDIR_FOR_vtime) --1016-- REDIR: 0x52d0690 (libc.so.6:__GI_strcpy) redirected to 0x4c2aa40 (__GI_strcpy) --1016-- REDIR: 0x52cf200 (libc.so.6:__GI_strcmp) redirected to 0x4c2aba0 (__GI_strcmp) --1016-- REDIR: 0x52cb690 (libc.so.6:realloc) redirected to 0x4c29b90 (realloc) LCDd 0.5.7, LCDproc Protocol 0.3 Part of the LCDproc suite Copyright (C) 1998-2014 William Ferrell, Selene Scriven and many other contributors This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. --1016-- Reading syms from /root/cf-ss-swap/lcdproc-0.5.7-ss-20161207-TN/server/drivers/CF63oddtf.so --1016-- Reading syms from /usr/lib/x86_64-linux-gnu/libsensors.so.4.3.2 --1016-- object doesn't have a symbol table --1016-- Reading syms from /lib/x86_64-linux-gnu/libm-2.19.so --1016-- Considering /lib/x86_64-linux-gnu/libm-2.19.so .. --1016-- .. CRC mismatch (computed 7d093d0d wanted d5c6ebc4) --1016-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libm-2.19.so .. --1016-- .. CRC is valid --1016-- REDIR: 0x52cef70 (libc.so.6:index) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) ==1016== WARNING: new redirection conflicts with existing -- ignoring it --1016-- old: 0x052cefa0 (__GI_strchr ) R-> (0000.0) 0x04c2a7f0 __GI_strchr --1016-- new: 0x052cefa0 (__GI_strchr ) R-> (0000.0) 0x04c2a7b0 index --1016-- REDIR: 0x52d9790 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) --1016-- REDIR: 0x52d1030 (libc.so.6:strncmp) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) ==1016== WARNING: new redirection conflicts with existing -- ignoring it --1016-- old: 0x052cefa0 (__GI_strchr ) R-> (0000.0) 0x04c2a7f0 __GI_strchr --1016-- new: 0x052cefa0 (__GI_strchr ) R-> (0000.0) 0x04c2a7b0 index ==1016== WARNING: new redirection conflicts with existing -- ignoring it --1016-- old: 0x052cefa0 (__GI_strchr ) R-> (0000.0) 0x04c2a7f0 __GI_strchr --1016-- new: 0x052cefa0 (__GI_strchr ) R-> (0000.0) 0x04c2a7b0 index --1016-- REDIR: 0x52d3a20 (libc.so.6:strstr) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) --1016-- REDIR: 0x4018770 (ld-linux-x86-64.so.2:stpcpy) redirected to 0x4c2b3c0 (stpcpy) --1016-- REDIR: 0xffffffffff600000 (???:???) redirected to 0x38092e43 (vgPlain_amd64_linux_REDIR_FOR_vgettimeofday) --1016-- REDIR: 0x52e1020 (libc.so.6:__memcpy_sse2_unaligned) redirected to 0x4c2acd0 (memcpy) --1016-- REDIR: 0x52db540 (libc.so.6:rawmemchr) redirected to 0x4c2b3f0 (rawmemchr) --1016-- REDIR: 0x52d3c60 (libc.so.6:memchr) redirected to 0x4c2ac90 (memchr) --1016-- REDIR: 0x52d0dd0 (libc.so.6:strnlen) redirected to 0x4c2a930 (strnlen) --1016-- REDIR: 0x536e6c0 (libc.so.6:__strncmp_sse42) redirected to 0x4c2aa70 (strncmp) --1016-- REDIR: 0x52d1080 (libc.so.6:__GI_strncmp) redirected to 0x4c2aae0 (__GI_strncmp) ==1016== Invalid read of size 4 ==1016== at 0x5A1311D: csv_init (CF63oddtf.c:6905) ==1016== by 0x5A0C8DA: spawn_clones (CF63oddtf.c:4867) ==1016== by 0x59FF480: CF63oddtf_init (CF63oddtf.c:638) ==1016== by 0x4155DD: driver_load (driver.c:153) ==1016== by 0x4147B1: drivers_load_driver (drivers.c:85) ==1016== by 0x40824A: init_drivers (main.c:670) ==1016== by 0x407474: main (main.c:237) ==1016== Address 0x5c1d940 expected vs actual: ==1016== Expected: unknown ==1016== Actual: global array "order" of size 244 in object with soname "NONE" ==1016== exp-sgcheck: sg_main.c:560 (add_blocks_to_StackTree): Assertion '!already_present' failed. host stacktrace: ==1016== at 0x3807BD8F: show_sched_status_wrk (m_libcassert.c:319) ==1016== by 0x3807BE84: report_and_quit (m_libcassert.c:390) ==1016== by 0x3807C006: vgPlain_assert_fail (m_libcassert.c:455) ==1016== by 0x3807225B: add_blocks_to_StackTree (sg_main.c:560) ==1016== by 0x380735BE: shadowStack_new_frame.isra.22 (sg_main.c:1875) ==1016== by 0x805F6D449: ??? ==1016== by 0x802C7DEEF: ??? ==1016== by 0x3806FE6F: ??? (h_main.c:141) ==1016== by 0x536935A: __nscd_get_mapping (nscd_helper.c:286) sched status: running_tid=1 Thread 1: status = VgTs_Runnable ==1016== at 0x5369398: __nscd_get_mapping (nscd_helper.c:293) ==1016== by 0x536977B: __nscd_get_map_ref (nscd_helper.c:443) ==1016== by 0x5366097: nscd_getpw_r (nscd_getpw_r.c:95) ==1016== by 0x536645F: __nscd_getpwnam_r (nscd_getpw_r.c:51) ==1016== by 0x5308120: getpwnam_r@@GLIBC_2.2.5 (getXXbyYY_r.c:196) ==1016== by 0x5307A0E: getpwnam (getXXbyYY.c:116) ==1016== by 0x40832B: drop_privs (main.c:708) ==1016== by 0x4074F1: main (main.c:247) Thread 2: status = VgTs_WaitSys ==1016== at 0x5343BAB: __lll_lock_wait_private (lowlevellock.S:95) ==1016== by 0x5333533: _L_lock_499 (syslog.c:464) ==1016== by 0x5332FD5: __vsyslog_chk (syslog.c:258) ==1016== by 0x418FED: report (report.c:58) ==1016== by 0x5A09F4D: listen_packets (CF63oddtf.c:3952) ==1016== by 0x4E360A3: start_thread (pthread_create.c:309) Thread 3: status = VgTs_Init ==1016== at 0x53375F1: clone (clone.S:81) Note: see also the FAQ in the source distribution. =============================================================================== Failed @ Gethostbyname =============================================================================== root@rattle:~/cf-ss-swap/lcdproc-0.5.7-ss-20161207-TN# /home/stew/valgrind-3.12.0/coregrind/valgrind --tool=exp-sgcheck --trace-children=yes -v ./server/LCDd -c ./LCDd.conf -f ==4224== exp-sgcheck, a stack and global array overrun detector ==4224== NOTE: This is an Experimental-Class Valgrind Tool ==4224== Copyright (C) 2003-2013, and GNU GPL'd, by OpenWorks Ltd et al. ==4224== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info ==4224== Command: ./server/LCDd -c ./LCDd.conf -f ==4224== --4224-- Valgrind options: --4224-- --tool=exp-sgcheck --4224-- --trace-children=yes --4224-- -v --4224-- Contents of /proc/version: --4224-- Linux version 3.16.36 (root@rattle) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Fri Oct 21 07:14:56 PDT 2016 --4224-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-rdtscp-sse3 --4224-- Page sizes: currently 4096, max supported 4096 --4224-- Valgrind library directory: /usr/lib/valgrind --4224-- Reading syms from /root/cf-ss-swap/lcdproc-0.5.7-ss-20161207-TN/server/LCDd --4224-- Reading syms from /lib/x86_64-linux-gnu/ld-2.19.so --4224-- Considering /lib/x86_64-linux-gnu/ld-2.19.so .. --4224-- .. CRC mismatch (computed 60000291 wanted 8b33a7a7) --4224-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.19.so .. --4224-- .. CRC is valid --4224-- warning: addVar: unknown size (loadcmds) --4224-- warning: addVar: unknown size (loadcmds) --4224-- warning: addVar: unknown size (loadcmds) --4224-- warning: addVar: unknown size (loadcmds) --4224-- warning: addVar: unknown size (loadcmds) --4224-- warning: addVar: unknown size (loadcmds) --4224-- warning: addVar: unknown size (loadcmds) --4224-- warning: addVar: unknown size (loadcmds) --4224-- warning: addVar: unknown size (loadcmds) --4224-- warning: addVar: unknown size (loadcmds) --4224-- Reading syms from /usr/lib/valgrind/exp-sgcheck-amd64-linux --4224-- Considering /usr/lib/valgrind/exp-sgcheck-amd64-linux .. --4224-- .. CRC mismatch (computed ae57864a wanted 616ea344) --4224-- Considering /usr/lib/debug/usr/lib/valgrind/exp-sgcheck-amd64-linux .. --4224-- .. CRC is valid --4224-- object doesn't have a dynamic symbol table --4224-- Scheduler: using generic scheduler lock implementation. --4224-- Reading suppressions file: /usr/lib/valgrind/default.supp ==4224== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-4224-by-root-on-??? ==4224== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-4224-by-root-on-??? ==4224== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-4224-by-root-on-??? ==4224== ==4224== TO CONTROL THIS PROCESS USING vgdb (which you probably ==4224== don't want to do, unless you know exactly what you're doing, ==4224== or are doing some strange experiment): ==4224== /usr/lib/valgrind/../../bin/vgdb --pid=4224 ...command... ==4224== ==4224== TO DEBUG THIS PROCESS USING GDB: start GDB like this ==4224== /path/to/gdb ./server/LCDd ==4224== and then give GDB the following command ==4224== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=4224 ==4224== --pid is optional if only one valgrind process is running ==4224== --4224-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --4224-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --4224-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --4224-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --4224-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --4224-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --4224-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --4224-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --4224-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --4224-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --4224-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --4224-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --4224-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --4224-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --4224-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --4224-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93 --4224-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so --4224-- Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so .. --4224-- .. CRC mismatch (computed 9771ef88 wanted e8eb00cf) --4224-- Considering /usr/lib/debug/usr/lib/valgrind/vgpreload_core-amd64-linux.so .. --4224-- .. CRC is valid --4224-- Reading syms from /usr/lib/valgrind/vgpreload_exp-sgcheck-amd64-linux.so --4224-- Considering /usr/lib/valgrind/vgpreload_exp-sgcheck-amd64-linux.so .. --4224-- .. CRC mismatch (computed 751e41e5 wanted 6fd813ce) --4224-- Considering /usr/lib/debug/usr/lib/valgrind/vgpreload_exp-sgcheck-amd64-linux.so .. --4224-- .. CRC is valid ==4224== WARNING: new redirection conflicts with existing -- ignoring it --4224-- old: 0x040176d0 (index ) R-> (0000.0) 0x04c2a8f0 index --4224-- new: 0x040176d0 (index ) R-> (0000.0) 0x04c2a8b0 strchr --4224-- REDIR: 0x40176d0 (ld-linux-x86-64.so.2:index) redirected to 0x4c2a8f0 (index) --4224-- REDIR: 0x40178f0 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c2abf0 (strcmp) --4224-- REDIR: 0x4017920 (ld-linux-x86-64.so.2:strlen) redirected to 0x4c2a9d0 (strlen) --4224-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.19.so --4224-- Considering /lib/x86_64-linux-gnu/libpthread-2.19.so .. --4224-- .. CRC mismatch (computed 280b7aee wanted 21120dbf) --4224-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libpthread-2.19.so .. --4224-- .. CRC is valid --4224-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.19.so --4224-- Considering /lib/x86_64-linux-gnu/libdl-2.19.so .. --4224-- .. CRC mismatch (computed b76b883c wanted c261d240) --4224-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.19.so .. --4224-- .. CRC is valid --4224-- Reading syms from /lib/x86_64-linux-gnu/libc-2.19.so --4224-- Considering /lib/x86_64-linux-gnu/libc-2.19.so .. --4224-- .. CRC mismatch (computed 15777026 wanted 3c8210d6) --4224-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.19.so .. --4224-- .. CRC is valid ==4224== WARNING: new redirection conflicts with existing -- ignoring it --4224-- old: 0x052cef70 (index ) R-> (0000.0) 0x04c2a7b0 index --4224-- new: 0x052cef70 (index ) R-> (0000.0) 0x04c2a770 strchr ==4224== WARNING: new redirection conflicts with existing -- ignoring it --4224-- old: 0x052d0c10 (strlen ) R-> (0000.0) 0x04c2a970 strlen --4224-- new: 0x052d0c10 (strlen ) R-> (0000.0) 0x04c2a990 __GI_strlen ==4224== WARNING: new redirection conflicts with existing -- ignoring it --4224-- old: 0x052d2910 (rindex ) R-> (0000.0) 0x04c2a6e0 rindex --4224-- new: 0x052d2910 (rindex ) R-> (0000.0) 0x04c2a6b0 strrchr ==4224== WARNING: new redirection conflicts with existing -- ignoring it --4224-- old: 0x052d2910 (rindex ) R-> (0000.0) 0x04c2a6e0 rindex --4224-- new: 0x052d2910 (rindex ) R-> (0000.0) 0x04c2a710 __GI_strrchr ==4224== WARNING: new redirection conflicts with existing -- ignoring it --4224-- old: 0x052d2910 (rindex ) R-> (0000.0) 0x04c2a6e0 rindex --4224-- new: 0x052d2910 (rindex ) R-> (0000.0) 0x04c2a6b0 strrchr ==4224== WARNING: new redirection conflicts with existing -- ignoring it --4224-- old: 0x052db540 (rawmemchr ) R-> (0000.0) 0x04c2b3f0 rawmemchr --4224-- new: 0x052db540 (rawmemchr ) R-> (0000.0) 0x04c2b410 __GI___rawmemchr --4224-- REDIR: 0x52d4590 (libc.so.6:memcpy@GLIBC_2.2.5) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) --4224-- REDIR: 0x52d2910 (libc.so.6:rindex) redirected to 0x4c2a6e0 (rindex) --4224-- REDIR: 0x52cb930 (libc.so.6:calloc) redirected to 0x4c29970 (calloc) --4224-- REDIR: 0x52d0c10 (libc.so.6:strlen) redirected to 0x4c2a970 (strlen) --4224-- REDIR: 0x52cafc0 (libc.so.6:malloc) redirected to 0x4c27890 (malloc) --4224-- REDIR: 0x52d0650 (libc.so.6:strcpy) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) --4224-- REDIR: 0x52e5be0 (libc.so.6:__strcpy_sse2_unaligned) redirected to 0x4c2aa10 (strcpy) --4224-- REDIR: 0x52cefa0 (libc.so.6:__GI_strchr) redirected to 0x4c2a7f0 (__GI_strchr) --4224-- REDIR: 0x52cf1c0 (libc.so.6:strcmp) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) --4224-- REDIR: 0x52e0d70 (libc.so.6:__strcmp_sse2_unaligned) redirected to 0x4c2ab50 (strcmp) --4224-- REDIR: 0x52cb600 (libc.so.6:free) redirected to 0x4c28b00 (free) --4224-- REDIR: 0xffffffffff600400 (???:???) redirected to 0x38092e4d (vgPlain_amd64_linux_REDIR_FOR_vtime) --4224-- REDIR: 0x52d0690 (libc.so.6:__GI_strcpy) redirected to 0x4c2aa40 (__GI_strcpy) --4224-- REDIR: 0x52cf200 (libc.so.6:__GI_strcmp) redirected to 0x4c2aba0 (__GI_strcmp) --4224-- REDIR: 0x52cb690 (libc.so.6:realloc) redirected to 0x4c29b90 (realloc) LCDd 0.5.7, LCDproc Protocol 0.3 Part of the LCDproc suite Copyright (C) 1998-2014 William Ferrell, Selene Scriven and many other contributors This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. --4224-- Reading syms from /root/cf-ss-swap/lcdproc-0.5.7-ss-20161207-TN/server/drivers/CF63oddtf.so --4224-- Reading syms from /usr/lib/x86_64-linux-gnu/libsensors.so.4.3.2 --4224-- object doesn't have a symbol table --4224-- Reading syms from /lib/x86_64-linux-gnu/libm-2.19.so --4224-- Considering /lib/x86_64-linux-gnu/libm-2.19.so .. --4224-- .. CRC mismatch (computed 7d093d0d wanted d5c6ebc4) --4224-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libm-2.19.so .. --4224-- .. CRC is valid --4224-- REDIR: 0x52cef70 (libc.so.6:index) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) ==4224== WARNING: new redirection conflicts with existing -- ignoring it --4224-- old: 0x052cefa0 (__GI_strchr ) R-> (0000.0) 0x04c2a7f0 __GI_strchr --4224-- new: 0x052cefa0 (__GI_strchr ) R-> (0000.0) 0x04c2a7b0 index --4224-- REDIR: 0x52d9790 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) --4224-- REDIR: 0x52d1030 (libc.so.6:strncmp) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) ==4224== WARNING: new redirection conflicts with existing -- ignoring it --4224-- old: 0x052cefa0 (__GI_strchr ) R-> (0000.0) 0x04c2a7f0 __GI_strchr --4224-- new: 0x052cefa0 (__GI_strchr ) R-> (0000.0) 0x04c2a7b0 index ==4224== WARNING: new redirection conflicts with existing -- ignoring it --4224-- old: 0x052cefa0 (__GI_strchr ) R-> (0000.0) 0x04c2a7f0 __GI_strchr --4224-- new: 0x052cefa0 (__GI_strchr ) R-> (0000.0) 0x04c2a7b0 index --4224-- REDIR: 0x52d3a20 (libc.so.6:strstr) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) --4224-- REDIR: 0x4018770 (ld-linux-x86-64.so.2:stpcpy) redirected to 0x4c2b3c0 (stpcpy) --4224-- REDIR: 0xffffffffff600000 (???:???) redirected to 0x38092e43 (vgPlain_amd64_linux_REDIR_FOR_vgettimeofday) --4224-- REDIR: 0x52e1020 (libc.so.6:__memcpy_sse2_unaligned) redirected to 0x4c2acd0 (memcpy) --4224-- REDIR: 0x52db540 (libc.so.6:rawmemchr) redirected to 0x4c2b3f0 (rawmemchr) --4224-- REDIR: 0x52d1080 (libc.so.6:__GI_strncmp) redirected to 0x4c2aae0 (__GI_strncmp) --4224-- REDIR: 0x52d3c60 (libc.so.6:memchr) redirected to 0x4c2ac90 (memchr) --4224-- REDIR: 0x52d0dd0 (libc.so.6:strnlen) redirected to 0x4c2a930 (strnlen) --4224-- REDIR: 0x536e6c0 (libc.so.6:__strncmp_sse42) redirected to 0x4c2aa70 (strncmp) exp-sgcheck: sg_main.c:560 (add_blocks_to_StackTree): Assertion '!already_present' failed. host stacktrace: ==4224== at 0x3807BD8F: show_sched_status_wrk (m_libcassert.c:319) ==4224== by 0x3807BE84: report_and_quit (m_libcassert.c:390) ==4224== by 0x3807C006: vgPlain_assert_fail (m_libcassert.c:455) ==4224== by 0x3807225B: add_blocks_to_StackTree (sg_main.c:560) ==4224== by 0x380735BE: shadowStack_new_frame.isra.22 (sg_main.c:1875) ==4224== by 0x805FB4A59: ??? ==4224== by 0x802C7DEEF: ??? ==4224== by 0x3806FECF: ??? (h_main.c:376) ==4224== by 0x536935A: __nscd_get_mapping (nscd_helper.c:286) sched status: running_tid=1 Thread 1: status = VgTs_Runnable ==4224== at 0x5369398: __nscd_get_mapping (nscd_helper.c:293) ==4224== by 0x536977B: __nscd_get_map_ref (nscd_helper.c:443) ==4224== by 0x5366CC5: nscd_gethst_r (nscd_gethst_r.c:160) ==4224== by 0x53674E8: __nscd_gethostbyname_r (nscd_gethst_r.c:47) ==4224== by 0x5349035: gethostbyname_r@@GLIBC_2.2.5 (getXXbyYY_r.c:196) ==4224== by 0x53486E5: gethostbyname (getXXbyYY.c:116) ==4224== by 0x417423: sock_init_sockaddr (sockets.c:53) ==4224== by 0x417506: sock_connect (sockets.c:84) ==4224== by 0x5A11CC9: hdd_init (CF63oddtf.c:6414) ==4224== by 0x59FF4AC: CF63oddtf_init (CF63oddtf.c:625) ==4224== by 0x41540E: driver_load (driver.c:153) ==4224== by 0x4145E2: drivers_load_driver (drivers.c:85) ==4224== by 0x40811A: init_drivers (main.c:670) ==4224== by 0x407344: main (main.c:237) Thread 2: status = VgTs_WaitSys ==4224== at 0x4E3D18D: ??? (syscall-template.S:81) ==4224== by 0x5A0A495: listen_packets (CF63oddtf.c:3950) ==4224== by 0x4E360A3: start_thread (pthread_create.c:309) Note: see also the FAQ in the source distribution.
*** Bug 332577 has been marked as a duplicate of this bug. ***
Fixed in commit 621cde90f7d23e916d3ce2716df02d261a72f5f3
*** Bug 409162 has been marked as a duplicate of this bug. ***