From b08074afb22751d7c1086c565232f3633f9cc046 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Wed, 8 Jul 2015 09:22:40 +0000 Subject: [PATCH] Roughly classify all the bugs in 3_10_BUGSTATUS.txt. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15401 --- NEWS | 6 + docs/internals/3_10_BUGSTATUS.txt | 377 +++++++++++++----------------- 2 files changed, 168 insertions(+), 215 deletions(-) diff --git a/NEWS b/NEWS index 035de411e0..e340a9eabd 100644 --- a/NEWS +++ b/NEWS @@ -205,10 +205,12 @@ where XXXXXX is the bug number as listed below. 344621 Fix memcheck/tests/err_disable4 test on OS X 344686 Fix suppression for pthread_rwlock_init on OS X 10.10 344702 Fix missing libobjc suppressions on OS X 10.10 + == 344543 344936 Fix unhandled syscall: unix:473 (readlinkat) on OS X 10.10 344939 Fix memcheck/tests/xml1 on OS X 10.10 345016 helgrind/tests/locked_vs_unlocked2 is failing sometimes 345079 Fix build problems in VEX/useful/test_main.c +345126 Incorrect handling of VIDIOC_G_AUDIO and G_AUDOUT 345215 Performance improvements for the register allocator 345394 Fix memcheck/tests/strchr on OS X 345637 Fix memcheck/tests/sendmsg on OS X @@ -216,6 +218,7 @@ where XXXXXX is the bug number as listed below. 345824 Fix aspacem segment mismatch: seen with none/tests/bigcode 345887 Fix an assertion in the address space manager 345928 amd64: callstack only contains current function for small stacks +345987 MIPS64: Implement cavium LHX instruction 346267 Compiler warnings for PPC64 code on call to LibVEX_GuestPPC64_get_XER() and LibVEX_GuestPPC64_get_CR() 346270 Regression tests none/tests/jm_vec/isa_2_07 and @@ -225,9 +228,12 @@ where XXXXXX is the bug number as listed below. 346416 Add support for LL_IOC_PATH2FID and LL_IOC_GETPARENT Lustre ioctls 346474 PPC64 Power 8, spr TEXASRU register not supported 346487 Compiler generates "note" about a future ABI change for PPC64 +346562 MIPS64: lwl/lwr instructions are performing 64bit loads + and causing spurious "invalid read of size 8" warnings 346801 Fix link error on OS X: _vgModuleLocal_sf_maybe_extend_stack 347151 Fix suppression for pthread_rwlock_init on OS X 10.8 347233 Fix memcheck/tests/strchr on OS X 10.10 (Haswell) +347322 Power PC regression test cleanup 347379 valgrind --leak-check=full memleak errors from system libraries on OS X 10.8 == 217236 347389 unhandled syscall: 373 (Linux ARM syncfs) diff --git a/docs/internals/3_10_BUGSTATUS.txt b/docs/internals/3_10_BUGSTATUS.txt index f3779a228f..af90aa2fd8 100644 --- a/docs/internals/3_10_BUGSTATUS.txt +++ b/docs/internals/3_10_BUGSTATUS.txt @@ -4,14 +4,14 @@ go in here. === VEX/amd64 ========================================================== +338602 AVX2 bit in CPUID missing + need to do XSAVE, XRSTOR + 339218 AVX2 binaries compiled with the Intel compiler fail to run under Valgrind 3.10.0 FIXME: should we enable this now? == 338602 -338602 AVX2 bit in CPUID missing - need to do XSAVE, XRSTOR - 339596 vex amd64->IR: 0x8F 0xE8 0x78 0xCD 0xC1 0x4 0xC5 0xF9 XOP/FMA -- should take @@ -27,6 +27,22 @@ go in here. 342988 INT 80 not recognised on amd64 +346476 vex amd64->IR: 0xC5 0xFD 0xC2 0xC1 0x10 0xC5 0xFD 0x29 + (various AVX CMP variants) + +346912 callgrind bails out on vpmaskmovd instruction + I think this is fixed now. Need to check. + +347698 3.10.1 doesn't recognize cmpsd generated by DynASM + +347885 unhandled instruction bytes: 0xD6 0xF 0x84 0x1B (SALC amd64) + +348387 Valgrind does not recognize a variant of the VCMPPD instruction + +348574 vex amd64->IR pcmpistri SSE4.2 instruction is unsupported + +349304 vex amd64->IR: 0xF 0x33 0x89 0x45 0xFC 0x89 0x55 0xF8 + === VEX/arm ============================================================ 335618 mov.w rN, pc/sp (ARM32) @@ -44,8 +60,22 @@ go in here. maybe easy fix? but doesn't run natively either +345984 disInstr(arm): unhandled instruction: 0xEE193F1E + +345985 disInstr(arm): unhandled instruction: 0xF2200150 + +346665 valgrind: the 'impossible' happened: LibVEX called failure_exit(). + armv6 probable failure + +348377 Unsupported ARM instruction: yield + +348536 ARM32: Unhandled instructions 0xEE190F1D & 0xEC510F1E + == 331178 + === VEX/arm64 ========================================================== +345177 arm64: prfm (reg) not implemented + === VEX/x86 ============================================================ 339416 unhandled instruction bytes 0xC5 0xF1 0xEF 0xC9 @@ -57,6 +87,20 @@ go in here. 342192 Unhandled instruction on OS X 10.9 in libsystem_m.dylib possibly a wontfix +344139 vex x86->IR: 0x36 0x8A 0x18 0x22 (and many other examples) + stack segment overrides + +344547 vex x86->IR: 0xC5 0xF8 0x77 0xE9 + avx on x86 + +345261 Unsupported instruction 0xC5 0xFB 0x10 0x44 (vmovsd + 0x8(%esp),%xmm0) + avx on x86 + +348749 guest_generic_x87.c:458: bad ? : operator + +349891 vex x86->IR: unhandled instruction bytes: 0xF3 0xF 0xB8 0xC9 + === VEX/mips =========================================================== 340777 Illegal instruction on mips (ar71xx) @@ -64,10 +108,21 @@ go in here. 341997 MIPS64: Cavium OCTEON instructions - immediate operand handled incorrectly +344524 store conditional of guest applications always fail (Octeon3(MIPS) + discussed, complex, partial fix available + +346031 MIPS: Implement support for the CvmCount register (rhwr %0, 31) + has patch + +346411 MIPS: SysRes::_valEx handling is incorrect + === VEX/ppc ============================================================ 342610 disInstr(ppc): declined to decode an AltiVec insn. +348334 valgrind does not simulate dcbfl - then my program terminates + I think this is actually fixed, and needs closing. + === VEX/s390x ========================================================== 342841 s390x unrecognized instruction fiebra @@ -101,6 +156,24 @@ go in here. 343099 Linux setns syscall wrapper missing, unhandled syscall: 308 HAS PATCH. Check that mayBlock is enabled. +344886 V should not try to extend a sigaltstack + +345077 linux syscall execveat support (linux 3.19) + +345338 TIOCGSERIAL and TIOCSSERIAL ioctl support on Linux + has patch + +345414 WARNING: unhandled syscall: 317 (sys_seccomp) + +348269 support of mmap for huge pages is broken at least on amd64 + +348616 Wine/valgrind: Warning: noted but unhandled ioctl 0x5390 with + no size/direction hints. (DVD_READ_STRUCT) + +349034 Add Lustre ioctls LL_IOC_GROUP_LOCK and LL_IOC_GROUP_UNLOCK + +349952 Valgrind terminates process upon a call to remap_file_pages + === Debuginfo reader =================================================== 327427 ifunc crash when symbols are discarded @@ -115,6 +188,15 @@ go in here. 340854 valgrind-di-server: allow specification of multiple paths has patch, unclear if Right Thing To Do +344052 Cost of dynamically loaded library is not properly linked to + source code lines if the library is unloaded before exit + This is the usual "debuginfo not available after dlclose" problem + +345975 Artificial functions in backtrace + more Dwarf complexity + +348345 Assertion fails for negative lineno + === Tools/Memcheck ===================================================== 339499 memcheck does not always detect access beyond mmaped page @@ -130,6 +212,20 @@ go in here. 342683 memory past the brk limit is not initially inaccessible/unaddressable +345307 Please suppress warning about "still reachable" memory + when using libstdc++ from gcc 5 + +345751 OS X: Incorrect result for operator Iop_Add32 and Iop_Add64 + due to mce.useLLVMworkarounds = True + +345753 OS X: sanityCheckFail: exiting due to bad IR for Iop_AddF64 + IR type error; should look at it + +345811 annotate also FP for memcheck dirty helpers + has patch, should commit + +349879 [PATCH] memcheck: add handwritten assembly for helperc_LOADV* + === Tools/DRD ========================================================== === Tools/Helgrind ===================================================== @@ -140,6 +236,8 @@ go in here. == LK_rdwr' failed. against 3.8.1 +345121 helgrind/tests/hg05_race2 fails intermittently + === Tools/SGCheck ====================================================== 340021 sgcheck tool does not work properly on ARM @@ -168,9 +266,28 @@ go in here. 342356 MIPS: determine page size at runtime Has patch; could possibly land? +345763 MIPS N32 ABI support + various patches, no upstream action so far + +348924 MIPS: Load doubles through memory so the code compiles with the FPXX ABI + +=== other/ppc ========================================================== + +346185 Fix typo saving altivec register v24 + +347686 Patch set to cleanup PPC64 regtests + === other/arm ========================================================== +348252 ARM: test vcvt_fixed_float_VFP causes compiler errors + +348325 Valgrind becomes noisy when compiled with gcc 4.9 + === other/s390 ========================================================= +=== other/tilegx ======================================================= + +345921 Add TileGX instruction set test in non/tests/tilegx/ + === other/Android ====================================================== 339605 vgpreload_helgrind-arm-linux.so is not liked to libc.so @@ -219,6 +336,24 @@ go in here. 343663 [OSX Yosemite 10.10.1] The memcheck tool always reports a leak regardless of the simplicity of the program. +344416 'make regtest' does not work cleanly on OS X + meta-bug + +348565 unknown warning options on clang/osx: + Wmissing-parameter-type Wold-style-declaration + +348909 Support OS X 10.11 (El Capitan) + +349128 Access not within mapped region in _pthread_find_thread (OS X 10.11) + +349129 memcheck/tests/wrap6 fails on OS X 10.11 + +349521 Valgrind misses some line numbers in output on OS X 10.11 + +349769 clang/osx: ld: warning: -read_only_relocs cannot be used with x86_64 + +349804 wine/osx: mmap-FIXED(0x1000, 1073741824) failed in UME (load_segment2) + === other/Win32 ======================================================= 211529 valgrind doesn't show proper call stacks for programs compiled @@ -227,7 +362,14 @@ go in here. 342117 Valgrind hangs after loading PDB file for MSVC compiled Firefox under Wine +344382 Memcheck has high false error rates on MSVC2013 compiled, + optimised, code in progress + fixed, but preffed off + === GDB server ========================================================= + +348358 describe should show info about main stack guard page + === Output ============================================================= 339405 Adds ability to invoke a script in order to determine a @@ -262,6 +404,8 @@ go in here. 343715 valgrind hangs after vgdb help request +349790 Clean up of the hardware capability checking utilities. + === Uncategorised/build================================================= 339215 Valgrind 3.10.0 contain 2013 in copyrights notice @@ -278,6 +422,19 @@ go in here. 343553 e500 chip now supports it? and,how about armv5 +344019 new tool: trackptr to track pointer usage + +344401 x32 ABI support + +345248 add support for Solaris OS in valgrind + +348279 Replace asm with __asm__ (for -std=c99). + Probably wontfix; queried + +348342 Valgrind does not support android-x86_64 + +349954 Cannot start memcheck: permission denied + ======================================================================== ======================================================================== ======================================================================== @@ -293,218 +450,8 @@ arm64 critical regtest fails: ======================================================================== ======================================================================== -Tue 3 Feb 00:14:18 CET 2015 - Check: space recovery in aspacemgr segnames array re-implemented? - -344019 new tool: trackptr to track pointer usage -no action so far - -344052 Cost of dynamically loaded library is not properly linked to - source code lines if the library is unloaded before exit - -344139 vex x86->IR: 0x36 0x8A 0x18 0x22 (and many other examples) -stack segment overrides - -344337 OS X 10.10 unhandled syscall - -344382 Memcheck has high false error rates on MSVC2013 compiled, - optimised, code in progress -fixed, but preffed off - -344401 x32 ABI support -no action - -344416 'make regtest' does not work cleanly on OS X -meta-bug - -344512 unhandled syscal: unix:349 - -344524 store conditional of guest applications always fail (Octeon3(MIPS) -discussed, partial fix available - -344543 --leak-check=full memleak errors from system libraries in OS X 10.10.2 -can possibly close - -344547 vex x86->IR: 0xC5 0xF8 0x77 0xE9 -avx on x86 - -344560 Stack traces missing penultimate frame -has plausible patch - -Thu 5 Mar 18:08:27 CET 2015 - -344886 V should not try to extend a sigaltstack -unclear what the situation is - -344936 unhandled syscall: unix:473 (readlinkat) on OS X 10.10 - -345077 linux syscall execveat support (linux 3.19) -has patch - -345121 helgrind/tests/hg05_race2 fails intermittently - -345126 Incorrect handling of VIDIOC_G_AUDIO and G_AUDOUT -has patch - -345177 arm64: prfm (reg) not implemented - -345248 add support for Solaris OS in valgrind - -345261 Unsupported instruction 0xC5 0xFB 0x10 0x44 (vmovsd - 0x8(%esp),%xmm0) -avx on x86 - -345307 Please suppress warning about "still reachable" memory - when using libstdc++ from gcc 5 - -345338 TIOCGSERIAL and TIOCSSERIAL ioctl support on Linux -has patch - -345414 I get the following when I ran valgrind WARNING: - unhandled syscall: 317 -sys_seccomp - -345751 OS X: Incorrect result for operator Iop_Add32 and Iop_Add64 -due to mce.useLLVMworkarounds = True - -345753 OS X: sanityCheckFail: exiting due to bad IR for Iop_AddF64 -IR type error; should look at it - -345763 MIPS N32 ABI support -various patches, no upstream action so far - -345811 annotate also FP for memcheck dirty helpers -has patch, should commit - -345824 aspacem segment mismatch on OS X: seen with none/tests/bigcode -but also for s390-linux; confusing - -345921 Add TileGX instruction set test in non/tests/tilegx/ - -345928 amd64: callstack only contains current function for small stacks -has patch, but needs further investigation - -345929 Crash when running with `--gen-suppressions=yes` after - entering 'y' to confirm -probable easy fix - -345975 Artificial functions in backtrace -more Dwarf complexity - -345984 disInstr(arm): unhandled instruction: 0xEE193F1E - -345985 disInstr(arm): unhandled instruction: 0xF2200150 - -345987 MIPS64: Implement cavium LHX instruction -has patches - -346023 valgrind crashes when run over mono program -roundsd, sse 4.1, x86 - -346031 MIPS: Implement support for the CvmCount register (rhwr %0, 31) -has patch - -346185 Fix typo saving altivec register v24 -has patch - -346411 MIPS: SysRes::_valEx handling is incorrect - -346476 vex amd64->IR: 0xC5 0xFD 0xC2 0xC1 0x10 0xC5 0xFD 0x29 - -346562 MIPS64: lwl/lwr instructions are performing 64bit loads - and causing spurious "invalid read of size 8" warnings -has patch - -346665 valgrind: the 'impossible' happened: LibVEX called failure_exit(). -armv6 probable failure - -Tue 28 Apr 13:48:40 CEST 2015 - -346912 callgrind bails out on vpmaskmovd instruction - -347198 vex x86->IR: unhandled instruction bytes: 0x66 0xF 0x3A 0x63 - -347233 Fix memcheck/tests/strchr on OS X 10.10 (Haswell) - -347322 Power PC regression test cleanup - -Fri 8 May 11:52:14 CEST 2015 - -347686 Patch set to cleanup PPC64 regtests - -347698 3.10.1 doesn't recognize cmpsd generated by DynASM - -347885 unhandled instruction bytes: 0xD6 0xF 0x84 0x1B (SALC amd64) - -Tue 19 May 11:22:52 CEST 2015 - -347982 Undefined symbols for architecture x86_64: "_global", referenced from: _test_so_global in tls_so-tls_so.o (OSX Yosemite) - -347988 Memcheck: the 'impossible' happened: unexpected size for Addr (OSX/wine) - -347991 false positive when using intrinsic fortran function "present" -probable invalid - -348252 ARM: test vcvt_fixed_float_VFP causes compiler errors - -348269 support of mmap for huge pages is broken at least on amd64 - -348279 Replace asm with __asm__ (for -std=c99). - -348325 Valgrind becomes noisy when compiled with gcc 4.9 - -348334 valgrind does not simulate dcbfl - then my program terminates - -348342 Valgrind does not support android-x86_64 - -348345 Assertion fails for negative lineno - -348358 describe should show info about main stack guard page - -348377 Unsupported ARM instruction: yield - -348387 Valgrind does not recognize a variant of the VCMPPD instruction - -348536 Unhandled instructions - -348565 unknown warning options on clang/osx: Wmissing-parameter-type Wold-style-declaration - -348574 vex amd64->IR pcmpistri SSE4.2 instruction is unsupported - -348616 Wine/valgrind: Warning: noted but unhandled ioctl 0x5390 with no size/direction hints. (DVD_READ_STRUCT) - -Fri 5 Jun 13:41:51 CEST 2015 - -348749 guest_generic_x87.c:458: bad ? : operator - -348909 Support OS X 10.11 (El Capitan) - -348924 MIPS: Load doubles through memory so the code compiles with the FPXX ABI - -349034 Add Lustre ioctls LL_IOC_GROUP_LOCK and LL_IOC_GROUP_UNLOCK - -349128 Access not within mapped region in _pthread_find_thread (OS X 10.11) - -349129 memcheck/tests/wrap6 fails on OS X 10.11 - -349304 vex amd64->IR: 0xF 0x33 0x89 0x45 0xFC 0x89 0x55 0xF8 - -349521 Valgrind misses some line numbers in output - -349769 clang/osx: ld: warning: -read_only_relocs cannot be used with x86_64 - -349790 Clean up of the hardware capability checking utilities. - -349804 valgrind/osx: running wine's unit tests under valgrind fails with: - loader/wine: Undefined error: 0 - -349879 [PATCH] memcheck: add handwritten assembly for helperc_LOADV* - -349891 vex x86->IR: unhandled instruction bytes: 0xF3 0xF 0xB8 0xC9 - -349952 Valgrind terminates process upon a call to remap_file_pages - -349954 Cannot start memcheck: permission denied +Check: missing copyright notices in include/vki/*xen*.h +Check: 346411 MIPS: SysRes::_valEx handling is incorrect Tue 7 Jul 15:27:23 CEST 2015 -- 2.47.3