https://bugs.kde.org/show_bug.cgi?id=412338
Bug ID: 412338 Summary: vex x86->IR: unhandled instruction bytes: 0xF 0x3F 0x7 0xB Product: valgrind Version: 3.12.0 Platform: unspecified OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: memcheck Assignee: jsew...@acm.org Reporter: christian.fr...@mitel.com Target Milestone: --- SUMMARY I get the valgrind logs below when running our 32bit program on an x64_x86 platform. The code that is being run is a function from a statically linked secure library that tries to determine if we are running on virtualized hardware. Sep 25 13:51:20 chrvmcd valgrind[20129]: vex x86->IR: unhandled instruction bytes: 0xF 0x3F 0x7 0xB Sep 25 13:51:20 chrvmcd valgrind[20129]: ==20129== valgrind: Unrecognised instruction at address 0x9e35823. .... Sep 25 13:51:20 chrvmcd valgrind[20129]: vex x86->IR: unhandled instruction bytes: 0xF 0xB 0x78 0x65 Sep 25 13:51:20 chrvmcd valgrind[20129]: ==20129== valgrind: Unrecognised instruction at address 0x9e3556d. STEPS TO REPRODUCE 1. Invoke program with the command "/usr/bin/valgrind --tool=memcheck --undef-value-errors=no /sysro/mn3300lx" 2. 3. OBSERVED RESULT Get the error logs mentioned above and the function that was run returns an unexpected value. But the program continues to run. EXPECTED RESULT The function should return 2 in the success case. SOFTWARE/OS VERSIONS Linux chrvmcd 3.10.0-957.21.3.el7.x86_64 #1 SMP Tue Jun 18 16:35:19 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux ADDITIONAL INFORMATION Unfortunately we have only seen this error when running our program and so we don't have a reproduction scenario you could run. Output from valgrind using the "-v" option: Sep 25 16:08:42 chrvmcd valgrind[30125]: ==30125== Memcheck, a memory error detector Sep 25 16:08:42 chrvmcd valgrind[30125]: ==30125== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. Sep 25 16:08:42 chrvmcd valgrind[30125]: ==30125== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info Sep 25 16:08:42 chrvmcd valgrind[30125]: ==30125== Command: /sysro/mn3300lx Sep 25 16:08:42 chrvmcd valgrind[30125]: ==30125== Sep 25 16:08:42 chrvmcd valgrind[30125]: --30125-- Valgrind options: Sep 25 16:08:42 chrvmcd valgrind[30125]: --30125-- -v Sep 25 16:08:42 chrvmcd valgrind[30125]: --30125-- --tool=memcheck Sep 25 16:08:42 chrvmcd valgrind[30125]: --30125-- --undef-value-errors=no Sep 25 16:08:42 chrvmcd valgrind[30125]: --30125-- Contents of /proc/version: Sep 25 16:08:42 chrvmcd valgrind[30125]: --30125-- Linux version 3.10.0-957.21.3.el7.x86_64 (mockbu...@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Tue Jun 18 16:35:19 UTC 2019 Sep 25 16:08:42 chrvmcd valgrind[30125]: --30125-- Sep 25 16:08:42 chrvmcd valgrind[30125]: --30125-- Arch and hwcaps: X86, LittleEndian, x86-mmxext-sse1-sse2-sse3 Sep 25 16:08:42 chrvmcd valgrind[30125]: --30125-- Page sizes: currently 4096, max supported 4096 Sep 25 16:08:42 chrvmcd valgrind[30125]: --30125-- Valgrind library directory: /usr/lib/valgrind Sep 25 16:08:42 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/ld-2.17.so Sep 25 16:08:42 chrvmcd valgrind[30125]: --30125-- Reading syms from /sysro/mn3300lx Sep 25 16:09:00 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/valgrind/memcheck-x86-linux Sep 25 16:09:00 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:00 chrvmcd valgrind[30125]: --30125-- object doesn't have a dynamic symbol table Sep 25 16:09:00 chrvmcd valgrind[30125]: --30125-- Scheduler: using generic scheduler lock implementation. Sep 25 16:09:00 chrvmcd valgrind[30125]: --30125-- Reading suppressions file: /usr/lib/valgrind/default.supp Sep 25 16:09:00 chrvmcd valgrind[30125]: ==30125== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-30125-by-voiceadmin-on-??? Sep 25 16:09:00 chrvmcd valgrind[30125]: ==30125== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-30125-by-voiceadmin-on-??? Sep 25 16:09:00 chrvmcd valgrind[30125]: ==30125== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-30125-by-voiceadmin-on-??? Sep 25 16:09:00 chrvmcd valgrind[30125]: ==30125== Sep 25 16:09:00 chrvmcd valgrind[30125]: ==30125== TO CONTROL THIS PROCESS USING vgdb (which you probably Sep 25 16:09:00 chrvmcd valgrind[30125]: ==30125== don't want to do, unless you know exactly what you're doing, Sep 25 16:09:00 chrvmcd valgrind[30125]: ==30125== or are doing some strange experiment): Sep 25 16:09:00 chrvmcd valgrind[30125]: ==30125== /usr/lib/valgrind/../../bin/vgdb --pid=30125 ...command... Sep 25 16:09:00 chrvmcd valgrind[30125]: ==30125== Sep 25 16:09:00 chrvmcd valgrind[30125]: ==30125== TO DEBUG THIS PROCESS USING GDB: start GDB like this Sep 25 16:09:00 chrvmcd valgrind[30125]: ==30125== /path/to/gdb /sysro/mn3300lx Sep 25 16:09:00 chrvmcd valgrind[30125]: ==30125== and then give GDB the following command Sep 25 16:09:00 chrvmcd valgrind[30125]: ==30125== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=30125 Sep 25 16:09:00 chrvmcd valgrind[30125]: ==30125== --pid is optional if only one valgrind process is running Sep 25 16:09:00 chrvmcd valgrind[30125]: ==30125== Sep 25 16:09:00 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4019e20 (ld-linux.so.2:strlen) redirected to 0x38057162 (???) Sep 25 16:09:00 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4019be0 (ld-linux.so.2:index) redirected to 0x3805713d (???) Sep 25 16:09:00 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/valgrind/vgpreload_core-x86-linux.so Sep 25 16:09:00 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so Sep 25 16:09:00 chrvmcd valgrind[30125]: ==30125== WARNING: new redirection conflicts with existing -- ignoring it Sep 25 16:09:00 chrvmcd valgrind[30125]: --30125-- old: 0x04019e20 (strlen ) R-> (0000.0) 0x38057162 ??? Sep 25 16:09:00 chrvmcd valgrind[30125]: --30125-- new: 0x04019e20 (strlen ) R-> (2007.0) 0x0402dfb0 strlen Sep 25 16:09:00 chrvmcd valgrind[30125]: --30125-- Reading syms from /sysro/libMcdShim.so Sep 25 16:09:00 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libMiSSL.so.12.11.0.4 Sep 25 16:09:00 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libMnLib.so.12.11.0.4 Sep 25 16:09:00 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libMiLib.so.12.11.0.4 Sep 25 16:09:01 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libOtpLogs.so.12.11.0.4 Sep 25 16:09:01 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libGPACT.so.12.11.0.4 Sep 25 16:09:01 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libDataServices.so.12.11.0.4 Sep 25 16:09:01 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libAudioProc.so.12.11.0.4 Sep 25 16:09:01 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libGPMS.so.12.11.0.4 Sep 25 16:09:01 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libAYTShim.so.12.11.0.4 Sep 25 16:09:01 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libMSPLogClientLib.so.12.11.0.4 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libpthread-2.17.so Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libutil-2.17.so Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libdl-2.17.so Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libresolv-2.17.so Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libcurl.so.4.3.0 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libssl.so.1.0.2k Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libcrypto.so.1.0.2k Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libnetsnmp.so.31.0.2 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libnetsnmpagent.so.31.0.2 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libnetsnmphelpers.so.31.0.2 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libblkid.so.1.1.0 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libsystemd.so.0.6.0 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libicuuc.so.50.1.2 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libicui18n.so.50.1.2 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libldap_r-2.4.so.2.10.7 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/liblber-2.4.so.2.10.7 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libstdc++.so.6.0.19 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libm-2.17.so Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libgcc_s-4.8.5-20150702.so.1 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libc-2.17.so Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/librt-2.17.so Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libidn.so.11.6.11 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libssh2.so.1.0.1 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libssl3.so Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libsmime3.so Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libnss3.so Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libnssutil3.so Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libplds4.so Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libplc4.so Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libnspr4.so Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libgssapi_krb5.so.2.2 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libkrb5.so.3.3 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libk5crypto.so.3.1 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libcom_err.so.2.1 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libldap-2.4.so.2.10.7 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libz.so.1.2.7 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libwrap.so.0.7.6 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/perl5/CORE/libperl.so Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libnsl-2.17.so Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libcrypt-2.17.so Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libuuid.so.1.3.0 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libcap.so.2.22 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libselinux.so.1 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/liblzma.so.5.2.2 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/liblz4.so.1.7.5 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libgcrypt.so.11.8.2 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libgpg-error.so.0.10.0 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libdw-0.172.so Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libicudata.so.50.1.2 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libsasl2.so.3.0.0 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libkrb5support.so.0.1 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libkeyutils.so.1.5 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libfreebl3.so Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libattr.so.1.1.0 Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:02 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libpcre.so.1.2.0 Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libelf-0.172.so Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- Reading syms from /usr/lib/libbz2.so.1.0.6 Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- object doesn't have a symbol table Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f808c0 (libc.so.6:strnlen) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f81cf0 (libc.so.6:strncasecmp) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f87810 (libc.so.6:memrchr) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f9bbc0 (libc.so.6:wcslen) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f81df0 (libc.so.6:memcpy) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f7fcc0 (libc.so.6:strcat) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f80170 (libc.so.6:strcpy) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f807c0 (libc.so.6:strlen) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f81840 (libc.so.6:memset) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f81290 (libc.so.6:memchr) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f81790 (libc.so.6:memmove) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x5012f60 (libc.so.6:__memmove_chk) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f9a7b0 (libc.so.6:strstr) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f800c0 (libc.so.6:strcmp) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f80980 (libc.so.6:strncpy) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f81470 (libc.so.6:bcmp) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f809d0 (libc.so.6:rindex) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f7fec0 (libc.so.6:index) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f80940 (libc.so.6:strncmp) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f81cb0 (libc.so.6:strcasecmp) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f83140 (libc.so.6:rawmemchr) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f80f80 (libc.so.6:strspn) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f80bd0 (libc.so.6:strpbrk) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f818e0 (libc.so.6:mempcpy) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f81ae0 (libc.so.6:stpcpy) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f80250 (libc.so.6:strcspn) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x5012f20 (libc.so.6:__memcpy_chk) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f808f0 (libc.so.6:strncat) redirected to 0x40255db (_vgnU_ifunc_wrapper) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f80800 (libc.so.6:__GI_strlen) redirected to 0x402df30 (__GI_strlen) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f9a160 (libc.so.6:__GI_strstr) redirected to 0x40324f0 (strstr) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f80a10 (libc.so.6:__GI_strrchr) redirected to 0x402d980 (__GI_strrchr) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f7ad30 (libc.so.6:malloc) redirected to 0x402b20f (malloc) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f812d0 (libc.so.6:__GI_memchr) redirected to 0x402f300 (__GI_memchr) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f81e40 (libc.so.6:__GI_memcpy) redirected to 0x402fbc0 (__GI_memcpy) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f7b100 (libc.so.6:free) redirected to 0x402c284 (free) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f80100 (libc.so.6:__GI_strcmp) redirected to 0x402f130 (__GI_strcmp) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4dffc70 (libstdc++.so.6:operator new(unsigned int)) redirected to 0x402b7fc (operator new(unsigned int)) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f87af0 (libc.so.6:__strlen_sse2_bsf) redirected to 0x402df10 (strlen) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x504c250 (libc.so.6:__memcpy_ssse3) redirected to 0x402f8d0 (memcpy) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x5060720 (libc.so.6:__memcmp_ssse3) redirected to 0x4030cf0 (bcmp) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f814b0 (libc.so.6:__GI_memcmp) redirected to 0x4030b10 (__GI_memcmp) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x5058830 (libc.so.6:__strcmp_ssse3) redirected to 0x402f0e0 (strcmp) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f7b6a0 (libc.so.6:calloc) redirected to 0x402ce6e (calloc) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f87d70 (libc.so.6:__strcpy_ssse3) redirected to 0x402dff0 (strcpy) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x504b140 (libc.so.6:__memset_sse2) redirected to 0x4031530 (memset) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4dfdad0 (libstdc++.so.6:operator delete(void*)) redirected to 0x402c6f4 (operator delete(void*)) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4dffd90 (libstdc++.so.6:operator new[](unsigned int)) redirected to 0x402be70 (operator new[](unsigned int)) Sep 25 16:09:03 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f895c0 (libc.so.6:__strncpy_ssse3) redirected to 0x402e1b0 (strncpy) Sep 25 16:09:04 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f83250 (libc.so.6:strchrnul) redirected to 0x4031df0 (strchrnul) Sep 25 16:09:05 chrvmcd valgrind[30125]: --30125-- REDIR: 0x5050230 (libc.so.6:__memmove_ssse3) redirected to 0x4031600 (memmove) Sep 25 16:09:05 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f879f0 (libc.so.6:__GI_strncmp) redirected to 0x402e790 (__GI_strncmp) Sep 25 16:09:05 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f98f90 (libc.so.6:__memchr_sse2_bsf) redirected to 0x402f2c0 (memchr) Sep 25 16:09:05 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4dfdb20 (libstdc++.so.6:operator delete[](void*)) redirected to 0x402cb64 (operator delete[](void*)) Sep 25 16:09:07 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f817e0 (libc.so.6:__GI_memmove) redirected to 0x4031850 (__GI_memmove) Sep 25 16:09:07 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f81930 (libc.so.6:__GI_mempcpy) redirected to 0x4032030 (__GI_mempcpy) Sep 25 16:09:07 chrvmcd valgrind[30125]: will run the scripts in the following order: Sep 25 16:09:07 chrvmcd valgrind[30125]: s01init Sep 25 16:09:07 chrvmcd valgrind[30125]: s05debug Sep 25 16:09:07 chrvmcd valgrind[30125]: s08e2tconfig Sep 25 16:09:07 chrvmcd valgrind[30125]: s09ExternalLdap Sep 25 16:09:07 chrvmcd valgrind[30125]: s09sdsAlarm Sep 25 16:09:07 chrvmcd valgrind[30125]: s10startup Sep 25 16:09:07 chrvmcd valgrind[30125]: ==30592== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-30592-by-voiceadmin-on-??? Sep 25 16:09:07 chrvmcd valgrind[30125]: ==30592== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-30592-by-voiceadmin-on-??? Sep 25 16:09:07 chrvmcd valgrind[30125]: ==30592== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-30592-by-voiceadmin-on-??? Sep 25 16:09:07 chrvmcd valgrind[30125]: ==30592== Sep 25 16:09:07 chrvmcd valgrind[30125]: ==30592== TO CONTROL THIS PROCESS USING vgdb (which you probably Sep 25 16:09:07 chrvmcd valgrind[30125]: ==30592== don't want to do, unless you know exactly what you're doing, Sep 25 16:09:07 chrvmcd valgrind[30125]: ==30592== or are doing some strange experiment): Sep 25 16:09:07 chrvmcd valgrind[30125]: ==30592== /usr/lib/valgrind/../../bin/vgdb --pid=30592 ...command... Sep 25 16:09:07 chrvmcd valgrind[30125]: ==30592== Sep 25 16:09:07 chrvmcd valgrind[30125]: ==30592== TO DEBUG THIS PROCESS USING GDB: start GDB like this Sep 25 16:09:07 chrvmcd valgrind[30125]: ==30592== /path/to/gdb /sysro/mn3300lx Sep 25 16:09:07 chrvmcd valgrind[30125]: ==30592== and then give GDB the following command Sep 25 16:09:07 chrvmcd valgrind[30125]: ==30592== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=30592 Sep 25 16:09:07 chrvmcd valgrind[30125]: ==30592== --pid is optional if only one valgrind process is running Sep 25 16:09:07 chrvmcd valgrind[30125]: ==30592== ........ Sep 25 16:09:12 chrvmcd valgrind[30125]: --30125-- REDIR: 0x5063b30 (libc.so.6:__strnlen_sse2) redirected to 0x402deb0 (strnlen) Sep 25 16:09:13 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f2fd80 (libc.so.6:putenv) redirected to 0x4032a50 (putenv) Sep 25 16:09:15 chrvmcd valgrind[30125]: Reboot - Don't delete chksmdta.db (Checksum Database File) Sep 25 16:09:15 chrvmcd valgrind[30125]: vex x86->IR: unhandled instruction bytes: 0xF 0x3F 0x7 0xB Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== valgrind: Unrecognised instruction at address 0x9e35823. Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== at 0x9E35823: milk_virtualization_detected (in /sysro/mn3300lx) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x89089A1: GetProductInfo(ProductInfo_t&) (ProductInfo.cpp:234) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x9396C80: ESMLogsClient::Initialize() (ESMLogsClient.cpp:207) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x939782F: OtpLogsClient (Otp_Logs_Client.cpp:283) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x9256E65: ML_Database::Start() (MLDatabase.cpp:20158) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x9923943: ManagementLayerCoordinator::Init() (ManagementLayerCoordinator.cpp:2981) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x9923B4E: StartUpMLC_Init (ManagementLayerCoordinator.cpp:8718) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x891AD19: ExecCmd(char*) (mcd_term.cpp:443) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x891AE26: ExecuteCommand(void*) (mcd_term.cpp:476) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x40FED8B: OSACommonThreadEntry (OsaThreads.cpp:505) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x40FED8B: CPlusPlusLinuxCallbackProc (OsaThreads.cpp:2230) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x40CC3E0: LinuxCallbackProc (LinuxCallbackProc.c:32) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x44FBB4B: start_thread (in /usr/lib/libpthread-2.17.so) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== Your program just tried to execute an instruction that Valgrind Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== did not recognise. There are two possible reasons for this. Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== 1. Your program has a bug and erroneously jumped to a non-code Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== location. If you are running Memcheck and you just saw a Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== warning about a bad jump, it's probably your program's fault. Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== 2. The instruction is legitimate but Valgrind doesn't handle it, Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== i.e. it's Valgrind's fault. If you think this is the case or Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== you are not sure, please let us know and we'll try to fix it. Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== Either way, Valgrind will now raise a SIGILL signal which will Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== probably kill your program. Sep 25 16:09:15 chrvmcd valgrind[30125]: vex x86->IR: unhandled instruction bytes: 0xF 0xB 0x78 0x65 Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== valgrind: Unrecognised instruction at address 0x9e3556d. Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== at 0x9E3556D: vm_cpuid(unsigned long*, unsigned long*, unsigned long*, unsigned long*) (in /sysro/mn3300lx) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x9E35BA3: milk_virtualization_detected (in /sysro/mn3300lx) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x89089A1: GetProductInfo(ProductInfo_t&) (ProductInfo.cpp:234) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x9396C80: ESMLogsClient::Initialize() (ESMLogsClient.cpp:207) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x939782F: OtpLogsClient (Otp_Logs_Client.cpp:283) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x9256E65: ML_Database::Start() (MLDatabase.cpp:20158) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x9923943: ManagementLayerCoordinator::Init() (ManagementLayerCoordinator.cpp:2981) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x9923B4E: StartUpMLC_Init (ManagementLayerCoordinator.cpp:8718) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x891AD19: ExecCmd(char*) (mcd_term.cpp:443) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x891AE26: ExecuteCommand(void*) (mcd_term.cpp:476) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x40FED8B: OSACommonThreadEntry (OsaThreads.cpp:505) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x40FED8B: CPlusPlusLinuxCallbackProc (OsaThreads.cpp:2230) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== by 0x40CC3E0: LinuxCallbackProc (LinuxCallbackProc.c:32) Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== Your program just tried to execute an instruction that Valgrind Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== did not recognise. There are two possible reasons for this. Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== 1. Your program has a bug and erroneously jumped to a non-code Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== location. If you are running Memcheck and you just saw a Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== warning about a bad jump, it's probably your program's fault. Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== 2. The instruction is legitimate but Valgrind doesn't handle it, Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== i.e. it's Valgrind's fault. If you think this is the case or Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== you are not sure, please let us know and we'll try to fix it. Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== Either way, Valgrind will now raise a SIGILL signal which will Sep 25 16:09:15 chrvmcd valgrind[30125]: ==30125== probably kill your program. Sep 25 16:09:15 chrvmcd valgrind[30125]: --30125-- REDIR: 0x4f87bc0 (libc.so.6:__GI_strncpy) redirected to 0x402e300 (__GI_strncpy) Sep 25 16:09:15 chrvmcd valgrind[30125]: --30125-- REDIR: 0x504c240 (libc.so.6:__memcpy_chk_ssse3) redirected to 0x40323f0 (__memcpy_chk) Sep 25 16:09:16 chrvmcd valgrind[30125]: ==30717== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-30717-by-voiceadmin-on-??? Sep 25 16:09:16 chrvmcd valgrind[30125]: ==30717== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-30717-by-voiceadmin-on-??? Sep 25 16:09:16 chrvmcd valgrind[30125]: ==30717== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-30717-by-voiceadmin-on-??? Sep 25 16:09:16 chrvmcd valgrind[30125]: ==30717== Sep 25 16:09:16 chrvmcd valgrind[30125]: ==30717== TO CONTROL THIS PROCESS USING vgdb (which you probably Sep 25 16:09:16 chrvmcd valgrind[30125]: ==30717== don't want to do, unless you know exactly what you're doing, Sep 25 16:09:16 chrvmcd valgrind[30125]: ==30717== or are doing some strange experiment): Sep 25 16:09:16 chrvmcd valgrind[30125]: ==30717== /usr/lib/valgrind/../../bin/vgdb --pid=30717 ...command... Sep 25 16:09:16 chrvmcd valgrind[30125]: ==30717== Sep 25 16:09:16 chrvmcd valgrind[30125]: ==30717== TO DEBUG THIS PROCESS USING GDB: start GDB like this Sep 25 16:09:16 chrvmcd valgrind[30125]: ==30717== /path/to/gdb /sysro/mn3300lx Sep 25 16:09:16 chrvmcd valgrind[30125]: ==30717== and then give GDB the following command Sep 25 16:09:16 chrvmcd valgrind[30125]: ==30717== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=30717 Sep 25 16:09:16 chrvmcd valgrind[30125]: ==30717== --pid is optional if only one valgrind process is running Sep 25 16:09:16 chrvmcd valgrind[30125]: ==30717== -- You are receiving this mail because: You are watching all bug changes.