Bug 299804 - vex amd64->IR: unhandled instruction bytes: 0xC5 0xFB 0x2A 0xC2 0xC5 0xFB 0x59 0x5
Summary: vex amd64->IR: unhandled instruction bytes: 0xC5 0xFB 0x2A 0xC2 0xC5 0xFB 0x5...
Status: RESOLVED DUPLICATE of bug 273475
Alias: None
Product: valgrind
Classification: Developer tools
Component: vex (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-11 09:33 UTC by David Sveningsson
Modified: 2012-05-11 09:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Sveningsson 2012-05-11 09:33:21 UTC
--19054-- REDIR: 0x3fed683240 (strcat) redirected to 0x4802667 (_vgnU_ifunc_wrapper)
==19054== Adding active redirection:
--19054--     new: 0x3fed6954f0 (__strcat_sse2_unalig) R-> (2003.0) 0x04a08d7a strcat
--19054-- REDIR: 0x3fed6954f0 (__strcat_sse2_unaligned) redirected to 0x4a08d7a (strcat)
vex amd64->IR: unhandled instruction bytes: 0xC5 0xFB 0x2A 0xC2 0xC5 0xFB 0x59 0x5
==19054== valgrind: Unrecognised instruction at address 0x7978db6.
==19054==    at 0x7978DB6: _XimParseStringFile (in /usr/lib64/libX11.so.6.3.0)
==19054==    by 0x79775C8: _XimLocalOpenIM (in /usr/lib64/libX11.so.6.3.0)
==19054==    by 0x7975FCF: _XimOpenIM (in /usr/lib64/libX11.so.6.3.0)
==19054==    by 0x4E9642F: create_aux_windows (SDL_x11video.c:499)
==19054==    by 0x4E9708C: X11_VideoInit (SDL_x11video.c:704)
==19054==    by 0x4E89AA9: SDL_VideoInit (SDL_video.c:246)
==19054==    by 0x4E6C9A5: SDL_InitSubSystem (SDL.c:89)
==19054==    by 0x4E6CA4B: SDL_Init (SDL.c:162)
==19054==    ...
==19054== Your program just tried to execute an instruction that Valgrind
==19054== did not recognise.  There are two possible reasons for this.
==19054== 1. Your program has a bug and erroneously jumped to a non-code
==19054==    location.  If you are running Memcheck and you just saw a
==19054==    warning about a bad jump, it's probably your program's fault.
==19054== 2. The instruction is legitimate but Valgrind doesn't handle it,
==19054==    i.e. it's Valgrind's fault.  If you think this is the case or
==19054==    you are not sure, please let us know and we'll try to fix it.
==19054== Either way, Valgrind will now raise a SIGILL signal which will
==19054== probably kill your program.
==19054== 
==19054== Process terminating with default action of signal 4 (SIGILL)
==19054==  Illegal opcode at address 0x7978DB6
==19054==    at 0x7978DB6: _XimParseStringFile (in /usr/lib64/libX11.so.6.3.0)
==19054==    by 0x79775C8: _XimLocalOpenIM (in /usr/lib64/libX11.so.6.3.0)
==19054==    by 0x7975FCF: _XimOpenIM (in /usr/lib64/libX11.so.6.3.0)
==19054==    by 0x4E9642F: create_aux_windows (SDL_x11video.c:499)
==19054==    by 0x4E9708C: X11_VideoInit (SDL_x11video.c:704)
==19054==    by 0x4E89AA9: SDL_VideoInit (SDL_video.c:246)
==19054==    by 0x4E6C9A5: SDL_InitSubSystem (SDL.c:89)
==19054==    by 0x4E6CA4B: SDL_Init (SDL.c:162)
==19054==    ...
--19054-- Caught __NR_exit; running __libc_freeres()


Reproducible: Always




# cat /proc/cpuinfo
processor       : 7
vendor_id       : GenuineIntel
cpu family      : 6
model           : 42
model name      : Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
stepping        : 7
microcode       : 0x17
cpu MHz         : 3401.000
cache size      : 8192 KB
physical id     : 0
siblings        : 8
core id         : 3
cpu cores       : 4
apicid          : 7
initial apicid  : 7
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
bogomips        : 6822.91
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:
[snip]

# grep CFLAGS /etc/make.conf
CFLAGS="-march=native -Os -pipe -msse3 -g -ggdb"
# gcc -v 2>&1 | grep "gcc version"
gcc version 4.6.3 (Gentoo 4.6.3 p1.0, pie-0.5.1) 
# uname -a
Linux nanako 3.3.1-gentoo #3 SMP Wed Apr 11 00:24:54 CEST 2012 x86_64 Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz GenuineIntel GNU/Linux
Comment 1 Tom Hughes 2012-05-11 09:38:23 UTC

*** This bug has been marked as a duplicate of bug 273475 ***