Valgrind will not run a locally compiled copy of Wine on Arch Linux. Strangely, Valgrind does work with the Wine from the package manager, and Wine compiled on Ubuntu is also OK. The problem may be related to Bug 384156. To reproduce, run the following commands: git clone git://source.winehq.org/git/wine.git cd wine ./configure make valgrind --trace-children=yes ./wine notepad Result: vex x86->IR: unhandled instruction bytes: 0x67 0xE8 0x1B 0xDA ==20705== valgrind: Unrecognised instruction at address 0x5ea1d3f. ==20705== at 0x5EA1D3F: ??? (in /usr/lib32/libglib-2.0.so.0.5600.0) ==20705== by 0x400F902: call_init.part.0 (in /usr/lib32/ld-2.27.so) ==20705== by 0x400FA01: _dl_init (in /usr/lib32/ld-2.27.so) ==20705== by 0x401384F: dl_open_worker (in /usr/lib32/ld-2.27.so) ==20705== by 0x4387699: _dl_catch_exception (in /usr/lib32/libc-2.27.so) ==20705== by 0x40130E5: _dl_open (in /usr/lib32/ld-2.27.so) ==20705== by 0x442EC62: ??? (in /usr/lib32/libdl-2.27.so) ==20705== by 0x4387699: _dl_catch_exception (in /usr/lib32/libc-2.27.so) ==20705== by 0x438772F: _dl_catch_error (in /usr/lib32/libc-2.27.so) ==20705== by 0x442F400: ??? (in /usr/lib32/libdl-2.27.so) ==20705== by 0x442ED05: dlopen (in /usr/lib32/libdl-2.27.so) ==20705== by 0x4044774: wine_dlopen (loader.c:1041)
A fix for this was landed on 2018-03-16. See https://bugs.kde.org/show_bug.cgi?id=384230#c8 *** This bug has been marked as a duplicate of bug 384230 ***