Debian Codegraph @

docs/html/dist.news.old.html

raw
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4 <title>3. OLDER NEWS</title>
5 <link rel="stylesheet" type="text/css" href="vg_basic.css">
6 <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
7 <link rel="home" href="index.html" title="Valgrind Documentation">
8 <link rel="up" href="dist.html" title="Valgrind Distribution Documents">
9 <link rel="prev" href="dist.news.html" title="2. NEWS">
10 <link rel="next" href="dist.readme.html" title="4. README">
11 </head>
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <div><table class="nav" width="100%" cellspacing="3" cellpadding="3" border="0" summary="Navigation header"><tr>
14 <td width="22px" align="center" valign="middle"><a accesskey="p" href="dist.news.html"><img src="images/prev.png" width="18" height="21" border="0" alt="Prev"></a></td>
15 <td width="25px" align="center" valign="middle"><a accesskey="u" href="dist.html"><img src="images/up.png" width="21" height="18" border="0" alt="Up"></a></td>
16 <td width="31px" align="center" valign="middle"><a accesskey="h" href="index.html"><img src="images/home.png" width="27" height="20" border="0" alt="Up"></a></td>
17 <th align="center" valign="middle">Valgrind Distribution Documents</th>
18 <td width="22px" align="center" valign="middle"><a accesskey="n" href="dist.readme.html"><img src="images/next.png" width="18" height="21" border="0" alt="Next"></a></td>
19 </tr></table></div>
20 <div class="chapter">
21 <div class="titlepage"><div><div><h1 class="title">
22 <a name="dist.news.old"></a>3. OLDER NEWS</h1></div></div></div>
23 <div class="literallayout"><p><br>
24       Release 3.18.0 (15 Oct 2021)<br>
25 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
26 <br>
27 This release supports X86/Linux, AMD64/Linux, ARM32/Linux, ARM64/Linux,<br>
28 PPC32/Linux, PPC64BE/Linux, PPC64LE/Linux, S390X/Linux, MIPS32/Linux,<br>
29 MIPS64/Linux, ARM/Android, ARM64/Android, MIPS32/Android, X86/Android,<br>
30 X86/Solaris, AMD64/Solaris, AMD64/MacOSX 10.12, X86/FreeBSD and<br>
31 AMD64/FreeBSD.  There is also preliminary support for X86/macOS 10.13,<br>
32 AMD64/macOS 10.13 and nanoMIPS/Linux.<br>
33 <br>
34 * ==================== CORE CHANGES ===================<br>
35 <br>
36 * The libiberty demangler has been updated, which brings support for<br>
37   Rust v0 name demangling. [Update: alas, due to a bug, this support<br>
38   isn't working in 3.18.0.]<br>
39 <br>
40 * __libc_freeres isn't called anymore after the program receives a<br>
41   fatal signal. Causing some internal glibc resources to hang around,<br>
42   but preventing any crashes after the program has ended.<br>
43 <br>
44 * The DWARF reader is now very much faster at startup when just<br>
45   --read-inline-info=yes (the default in most cases) is given.<br>
46 <br>
47 * glibc 2.34, which moved various functions from libpthread.so into<br>
48   libc.so, is now supported.<br>
49 <br>
50 * ================== PLATFORM CHANGES =================<br>
51 <br>
52 * arm64:<br>
53 <br>
54   - v8.2 scalar and vector FABD, FACGE, FACGT and FADD.<br>
55   - v8.2 FP compare &amp; conditional compare instructions.<br>
56   - Zero variants of v8.2 FP compare instructions.<br>
57 <br>
58 * s390:<br>
59 <br>
60   - Support the miscellaneous-instruction-extensions facility 3 and<br>
61     the vector-enhancements facility 2.  This enables programs<br>
62     compiled with "-march=arch13" or "-march=z15" to be executed<br>
63     under Valgrind.<br>
64 <br>
65 * ppc64:<br>
66 <br>
67   - ISA 3.1 support is now complete<br>
68   - ISA 3.0 support for the darn instruction added.<br>
69   - ISA 3.0 support for the vector system call instruction scv added.<br>
70   - ISA 3.0 support for the copy, paste and cpabort instructions added.<br>
71  <br>
72 * Support for X86/FreeBSD and AMD64/FreeBSD has been added.<br>
73 <br>
74 * ==================== OTHER CHANGES ====================<br>
75 <br>
76 * Memcheck on amd64: minor fixes to remove some false positive<br>
77   undef-value errors<br>
78 <br>
79 * ==================== FIXED BUGS ====================<br>
80 <br>
81 The following bugs have been fixed or resolved.  Note that "n-i-bz"<br>
82 stands for "not in bugzilla" -- that is, a bug that was reported to us<br>
83 but never got a bugzilla entry.  We encourage you to file bugs in<br>
84 bugzilla (https://bugs.kde.org/enter_bug.cgi?product=valgrind) rather<br>
85 than mailing the developers (or mailing lists) directly -- bugs that<br>
86 are not entered into bugzilla tend to get forgotten about or ignored.<br>
87 <br>
88 208531  [PATCH]: FreeBSD support for valgrind<br>
89 368960  WARNING: unhandled amd64-linux syscall: 163 (acct)<br>
90 407589  [Linux] Add support for C11 aligned_alloc() and GNU reallocarray()<br>
91 423963  Error in child thread when CLONE_PIDFD is used<br>
92 426148  crash with "impossible happened" when running BPF CO-RE programs<br>
93 429375  PPC ISA 3.1 support is missing, part 9<br>
94 431157  PPC_FEATURE2_SCV needs to be masked in AT_HWCAP2<br>
95 431306  Update demangler to support Rust v0 name mangling<br>
96 432387  s390x: z15 instructions support<br>
97 433437  FreeBSD support, part 1<br>
98 433438  FreeBSD support, part 2<br>
99 433439  FreeBSD support, part 3<br>
100 433469  FreeBSD support, part 4<br>
101 433473  FreeBSD support, part 5<br>
102 433477  FreeBSD support, part 6<br>
103 433479  FreeBSD support, part 7<br>
104 433504  FreeBSD support, part 8<br>
105 433506  FreeBSD support, part 9<br>
106 433507  FreeBSD support, part 10<br>
107 433508  FreeBSD support, part 11<br>
108 433510  FreeBSD support, part 12<br>
109 433801  PPC ISA 3.1 support is missing, part 10 (ISA 3.1 support complete)<br>
110 433863  s390x: memcheck/tests/s390x/{cds,cs,csg} failures<br>
111 434296  s390x: False-positive memcheck diagnostics from vector string<br>
112         instructions<br>
113 434840  PPC64 darn instruction not supported<br>
114 435665  PPC ISA 3.0 copy, paste, cpabort instructions are not supported <br>
115 435908  valgrind tries to fetch from deubginfod for files which already<br>
116         have debug information<br>
117 438871  unhandled instruction bytes: 0xF3 0x49 0xF 0x6F 0x9C 0x24 0x60 0x2<br>
118 439046  valgrind is unusably large when linked with lld<br>
119 439090  Implement close_range(2)<br>
120 439326  Valgrind 3.17.0 won't compile with Intel 2021 oneAPI compilers<br>
121 439590  glibc-2.34 breaks suppressions against obj:*/lib*/libc-2.*so*<br>
122 440670  unhandled ppc64le-linux syscall: 252 statfs64 and 253 fstatfs64<br>
123 440906  Fix impossible constraint issue in P10 testcase.<br>
124 441512  Remove a unneeded / unnecessary prefix check.<br>
125 441534  Update the expected output for test_isa_3_1_VRT.<br>
126 442061  very slow execution under Fedora 34 (readdwarf3)<br>
127 443031  Gcc -many change requires explicit .machine directives<br>
128 443033  Add support for the ISA 3.0 mcrxrx instruction<br>
129 443034  Sraw, srawi, srad, sradi, mfs<br>
130 443178  Powerpc, test jm-mfspr expected output needs to be updated.<br>
131 443179  Need new test for the lxvx and stxvx instructions on ISA 2.07 and<br>
132         ISA 3.0 systems.<br>
133 443180  The subnormal test and the ISA 3.0 test generate compiler warnings<br>
134 443314  In the latest GIT version, Valgrind with "--trace-flags" crashes<br>
135         at "al" register<br>
136 443605  Don't call final_tidyup (__libc_freeres) on FatalSignal<br>
137 <br>
138 To see details of a given bug, visit<br>
139   https://bugs.kde.org/show_bug.cgi?id=XXXXXX<br>
140 where XXXXXX is the bug number as listed below.<br>
141 <br>
142 (3.18.0.RC1: 12 Oct 2021)<br>
143 (3.18.0:     15 Oct 2021)<br>
144 <br>
145 <br>
146 <br>
147 Release 3.17.0 (19 Mar 2021)<br>
148 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
149 <br>
150 3.17.0 fixes a number of bugs and adds some functional changes: support for<br>
151 GCC 11, Clang 11, DWARF5 debuginfo, the 'debuginfod' debuginfo server, and<br>
152 some new instructions for Arm64, S390 and POWER.  There are also some tool<br>
153 updates.<br>
154 <br>
155 This release supports X86/Linux, AMD64/Linux, ARM32/Linux, ARM64/Linux,<br>
156 PPC32/Linux, PPC64BE/Linux, PPC64LE/Linux, S390X/Linux, MIPS32/Linux,<br>
157 MIPS64/Linux, ARM/Android, ARM64/Android, MIPS32/Android, X86/Android,<br>
158 X86/Solaris, AMD64/Solaris and AMD64/MacOSX 10.12.  There is also preliminary<br>
159 support for X86/macOS 10.13, AMD64/macOS 10.13 and nanoMIPS/Linux.<br>
160 <br>
161 * ==================== CORE CHANGES ===================<br>
162 <br>
163 * DWARF version 5 support.  Valgrind can now read DWARF version 5 debuginfo as<br>
164   produced by GCC 11.<br>
165 <br>
166 * Valgrind now supports debuginfod, an HTTP server for distributing ELF/DWARF<br>
167   debugging information. When a debuginfo file cannot be found locally,<br>
168   Valgrind is able to query debuginfod servers for the file using its<br>
169   build-id. See the user manual for more information about debuginfod support.<br>
170 <br>
171 * ================== PLATFORM CHANGES =================<br>
172 <br>
173 * arm64:<br>
174 <br>
175   - Inaccuracies resulting from double-rounding in the simulation of<br>
176     floating-point multiply-add/subtract instructions have been fixed.  These<br>
177     should now behave exactly as the hardware does.<br>
178 <br>
179   - Partial support for the ARM v8.2 instruction set.  v8.2 support work is<br>
180     ongoing.  Support for the half-word variants of at least the following<br>
181     instructions has been added:<br>
182        FABS &lt;Hd&gt;, &lt;Hn&gt;<br>
183        FABS &lt;Vd&gt;.&lt;T&gt;, &lt;Vn&gt;.&lt;T&gt;<br>
184        FNEG &lt;Hd&gt;, &lt;Hn&gt;<br>
185        FNEG &lt;Vd&gt;.&lt;T&gt;, &lt;Vn&gt;.&lt;T&gt;<br>
186        FSQRT &lt;Hd&gt;, &lt;Hn&gt;<br>
187        FSQRT &lt;Vd&gt;.&lt;T&gt;, &lt;Vn&gt;.&lt;T&gt;<br>
188        FADDP<br>
189 <br>
190 * s390:<br>
191 <br>
192   - Implement the new instructions/features that were added to z/Architecture<br>
193     with the vector-enhancements facility 1.  Also cover the instructions from<br>
194     the vector-packed-decimal facility that are defined outside the chapter<br>
195     "Vector Decimal Instructions", but not the ones from that chapter itself.<br>
196 <br>
197     For a detailed list of newly supported instructions see the updates to<br>
198     `docs/internals/s390-opcodes.csv'.<br>
199 <br>
200     Since the miscellaneous instruction extensions facility 2 was already<br>
201     added in Valgrind 3.16.0, this completes the support necessary to run<br>
202     general programs built with `--march=z14' under Valgrind.  The<br>
203     vector-packed-decimal facility is currently not exploited by the standard<br>
204     toolchain and libraries.<br>
205 <br>
206 * ppc64:<br>
207 <br>
208   - Various bug fixes.  Fix for the sync field to limit setting just two of<br>
209     the two bits in the L-field. Fix the write size for the stxsibx and<br>
210     stxsihx instructions.  Fix the modsw and modsd instructions.<br>
211 <br>
212   - Partial support for ISA 3.1 has been added.  Support for the VSX PCV mask<br>
213     instructions, bfloat16 GER instructions, and bfloat16 to/from float 32-bit<br>
214     conversion instructions are still missing.<br>
215 <br>
216 * ==================== TOOL CHANGES ====================<br>
217 <br>
218 * General tool changes<br>
219 <br>
220   - All the tools and their vgpreload libraries are now installed under<br>
221     libexec because they cannot be executed directly and should be run through<br>
222     the valgrind executable. This should be an internal, not user visible,<br>
223     change, but might impact valgrind packagers.<br>
224 <br>
225   - The --track-fds option now respects -q, --quiet and won't output anything<br>
226     if no file descriptors are leaked. It also won't report the standard stdin<br>
227     (0), stdout (1) or stderr (2) descriptors as being leaked with<br>
228     --trace-fds=yes anymore. To track whether the standard file descriptors<br>
229     are still open at the end of the program run use --trace-fds=all.<br>
230 <br>
231 * DHAT:<br>
232 <br>
233   - DHAT has been extended, with two new modes of operation. The new<br>
234     --mode=copy flag triggers copy profiling, which records calls to memcpy,<br>
235     strcpy, and similar functions. The new --mode=ad-hoc flag triggers ad hoc<br>
236     profiling, which records calls to the DHAT_AD_HOC_EVENT client request in<br>
237     the new dhat/dhat.h file. This is useful for learning more about hot code<br>
238     paths. See the user manual for more information about the new modes.<br>
239 <br>
240   - Because of these changes, DHAT's file format has changed. DHAT output<br>
241     files produced with earlier versions of DHAT will not work with this<br>
242     version of DHAT's viewer, and DHAT output files produced with this version<br>
243     of DHAT will not work with earlier versions of DHAT's viewer.<br>
244 <br>
245 * ==================== FIXED BUGS ====================<br>
246 <br>
247 The following bugs have been fixed or resolved.  Note that "n-i-bz"<br>
248 stands for "not in bugzilla" -- that is, a bug that was reported to us<br>
249 but never got a bugzilla entry.  We encourage you to file bugs in<br>
250 bugzilla (https://bugs.kde.org/enter_bug.cgi?product=valgrind) rather<br>
251 than mailing the developers (or mailing lists) directly -- bugs that<br>
252 are not entered into bugzilla tend to get forgotten about or ignored.<br>
253 <br>
254 To see details of a given bug, visit<br>
255   https://bugs.kde.org/show_bug.cgi?id=XXXXXX<br>
256 where XXXXXX is the bug number as listed below.<br>
257 <br>
258 140178  open("/proc/self/exe", ...); doesn't quite work<br>
259 140939 --track-fds reports leakage of stdout/in/err and doesn't respect -q<br>
260 217695  malloc/calloc/realloc/memalign failure doesn't set errno to ENOMEM<br>
261 338633  gdbserver_tests/nlcontrolc.vgtest hangs on arm64<br>
262 345077  linux syscall execveat support (linux 3.19)<br>
263 361770  Missing F_ADD_SEALS<br>
264 369029  handle linux syscalls sched_getattr and sched_setattr<br>
265 384729  __libc_freeres inhibits cross-platform valgrind<br>
266 388787  Support for C++17 new/delete<br>
267 391853  Makefile.all.am:L247 and @SOLARIS_UNDEF_LARGESOURCE@ being empty<br>
268 396656  Warnings while reading debug info<br>
269 397605  ioctl FICLONE mishandled<br>
270 401416  Compile failure with openmpi 4.0<br>
271 408663  Suppression file for musl libc<br>
272 404076  s390x: z14 vector instructions not implemented<br>
273 410743  shmat() calls for 32-bit programs fail when running in 64-bit valgrind<br>
274         (actually affected all x86 and nanomips regardless of host bitness)<br>
275 413547  regression test does not check for Arm 64 features.<br>
276 414268  Enable AArch64 feature detection and decoding for v8.x instructions<br>
277 415293  Incorrect call-graph tracking due to new _dl_runtime_resolve_xsave*<br>
278 422174  unhandled instruction bytes: 0x48 0xE9 (REX prefixed JMP instruction)<br>
279 422261  platform selection fails for unqualified client name<br>
280 422623  epoll_ctl warns for uninitialized padding on non-amd64 64bit arches<br>
281 423021  PPC:  Add missing ISA 3.0 documentation link and HWCAPS test.<br>
282 423195  PPC ISA 3.1 support is missing, part 1<br>
283 423361  Adds io_uring support on arm64/aarch64 (and all other arches)<br>
284 424012  crash with readv/writev having invalid but not NULL arg2 iovec<br>
285 424298  amd64: Implement RDSEED<br>
286 425232  PPC ISA 3.1 support is missing, part 2<br>
287 425820  Failure to recognize vpcmpeqq as a dependency breaking idiom.<br>
288 426014  arm64: implement fmadd and fmsub as Iop_MAdd/Sub<br>
289 426123  PPC ISA 3.1 support is missing, part 3<br>
290 426144  Fix "condition variable has not been initialized" on Fedora 33.<br>
291 427400  PPC ISA 3.1 support is missing, part 4<br>
292 427401  PPC ISA 3.1 support is missing, part 5<br>
293 427404  PPC ISA 3.1 support is missing, part 6<br>
294 427870  lmw, lswi and related PowerPC insns aren't allowed on ppc64le<br>
295 427787  Support new faccessat2 linux syscall (439)<br>
296 427969  debuginfo section duplicates a section in the main ELF file<br>
297 428035  drd: Unbreak the musl build<br>
298 428648  s390_emit_load_mem panics due to 20-bit offset for vector load<br>
299 428716  cppcheck detects potential leak in VEX/useful/smchash.c<br>
300 428909  helgrind: need to intercept duplicate libc definitions for Fedora 33<br>
301 429352  PPC ISA 3.1 support is missing, part 7<br>
302 429354  PPC ISA 3.1 support is missing, part 8<br>
303 429692  unhandled ppc64le-linux syscall: 147 (getsid)<br>
304 429864  s390x: C++ atomic test_and_set yields false-positive memcheck<br>
305         diagnostics<br>
306 429952  Errors when building regtest with clang<br>
307 430354  ppc stxsibx and stxsihx instructions write too much data<br>
308 430429  valgrind.h doesn't compile on s390x with clang<br>
309 430485  expr_is_guardable doesn't handle Iex_Qop<br>
310 431556  Complete arm64 FADDP v8.2 instruction support<br>
311 432102  Add support for DWARF5 as produced by GCC11<br>
312 432161  Addition of arm64 v8.2 FADDP, FNEG and FSQRT<br>
313 432381  drd: Process STACK_REGISTER client requests<br>
314 432552  [AArch64] invalid error emitted for pre-decremented byte/hword addresses<br>
315 432672  vg_regtest: test-specific environment variables not reset between tests<br>
316 432809  VEX should support REX.W + POPF<br>
317 432861  PPC modsw and modsd give incorrect results for 1 mod 12<br>
318 432870  gdbserver_tests:nlcontrolc hangs with newest glibc2.33 x86-64<br>
319 432215  Add debuginfod functionality<br>
320 433323  Use pkglibexecdir as vglibdir<br>
321 433500  DRD regtest faulures when libstdc++ and libgcc debuginfo are installed<br>
322 433629  valgrind/README has type "abd" instead of "and"<br>
323 433641  Rust std::sys::unix::fs::try_statx Syscall param fstatat(file_name)<br>
324 433898  arm64: Handle sp, lr, fp as DwReg in CfiExpr<br>
325 434193  GCC 9+ inlined strcmp causes "Conditional jump or move [..] value" report<br>
326 n-i-bz  helgrind: If hg_cli__realloc fails, return NULL.<br>
327 n-i-bz  arm64 front end: avoid Memcheck false positives relating to CPUID<br>
328 <br>
329 (3.17.0.RC1: 13 Mar 2021)<br>
330 (3.17.0.RC2: 17 Mar 2021)<br>
331 (3.17.0:     19 Mar 2021)<br>
332 <br>
333 <br>
334 <br>
335 Release 3.16.1 (22 June 2020)<br>
336 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
337 <br>
338 3.16.1 fixes two critical bugs discovered after 3.16.0 was frozen.  It also<br>
339 fixes character encoding problems in the documentation HTML.<br>
340 <br>
341 422677  PPC sync instruction L field should only be 2 bits in ISA 3.0<br>
342 422715  32-bit x86: vex: the `impossible' happened: expr_is_guardable: unhandled expr<br>
343 <br>
344 (3.16.1, 22 June 2020, 36d6727e1d768333a536f274491e5879cab2c2f7)<br>
345 <br>
346 <br>
347 <br>
348 Release 3.16.0 (27 May 2020)<br>
349 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
350 <br>
351 3.16.0 is a feature release with many improvements and the usual collection of<br>
352 bug fixes.<br>
353 <br>
354 This release supports X86/Linux, AMD64/Linux, ARM32/Linux, ARM64/Linux,<br>
355 PPC32/Linux, PPC64BE/Linux, PPC64LE/Linux, S390X/Linux, MIPS32/Linux,<br>
356 MIPS64/Linux, ARM/Android, ARM64/Android, MIPS32/Android, X86/Android,<br>
357 X86/Solaris, AMD64/Solaris and AMD64/MacOSX 10.12.  There is also preliminary<br>
358 support for X86/macOS 10.13, AMD64/macOS 10.13 and nanoMIPS/Linux.<br>
359 <br>
360 * ==================== CORE CHANGES ===================<br>
361 <br>
362 * It is now possible to dynamically change the value of many command line<br>
363   options while your program (or its children) are running under Valgrind.<br>
364 <br>
365   To see the list of dynamically changeable options, run<br>
366      "valgrind --help-dyn-options".<br>
367 <br>
368   You can change the options from the shell by using vgdb to launch<br>
369   the monitor command "v.clo &lt;clo option&gt;...".<br>
370   The same monitor command can be used from a gdb connected<br>
371   to the valgrind gdbserver.<br>
372   Your program can also change the dynamically changeable options using<br>
373   the client request VALGRIND_CLO_CHANGE(option).<br>
374 <br>
375 * ================== PLATFORM CHANGES =================<br>
376 <br>
377 * MIPS: preliminary support for nanoMIPS instruction set has been added.<br>
378 <br>
379 * ==================== TOOL CHANGES ====================<br>
380 <br>
381 * DHAT:<br>
382 <br>
383   - The implicit memcpy done by each call to realloc now counts towards the<br>
384     read and write counts of resized heap blocks, making those counts higher<br>
385     and more accurate.<br>
386 <br>
387 * Cachegrind:<br>
388 <br>
389   - cg_annotate's --auto and --show-percs options now default to 'yes', because<br>
390     they are usually wanted.<br>
391 <br>
392 * Callgrind:<br>
393 <br>
394   - callgrind_annotate's --auto and --show-percs options now default to 'yes',<br>
395     because they are usually wanted.<br>
396 <br>
397   - The command option --collect-systime has been enhanced to specify<br>
398     the unit used to record the elapsed time spent during system calls.<br>
399     The command option now accepts the values no|yes|msec|usec|nsec,<br>
400     where yes is a synonym of msec.  When giving the value nsec, the<br>
401     system cpu time of system calls is also recorded.<br>
402 <br>
403 * Memcheck:<br>
404 <br>
405   - Several memcheck options are now dynamically changeable.<br>
406     Use  valgrind --help-dyn-options  to list them.<br>
407 <br>
408   - The release 3.15 introduced a backward incompatible change for<br>
409     some suppression entries related to preadv and pwritev syscalls.<br>
410     When reading a suppression entry using the unsupported 3.14 format,<br>
411     valgrind will now produce a warning to say the suppression entry will not<br>
412     work, and suggest the needed change.<br>
413 <br>
414   - Significantly fewer false positive errors on optimised code generated by<br>
415     Clang and GCC.  In particular, Memcheck now deals better with the<br>
416     situation where the compiler will transform C-level "A &amp;&amp; B" into "B &amp;&amp; A"<br>
417     under certain circumstances (in which the transformation is valid).<br>
418     Handling of integer equality/non-equality checks on partially defined<br>
419     values is also improved on some architectures.<br>
420 <br>
421 * exp-sgcheck:<br>
422 <br>
423   - The exprimental Stack and Global Array Checking tool has been removed.<br>
424     It only ever worked on x86 and amd64, and even on those it had a<br>
425     high false positive rate and was slow.  An alternative for detecting<br>
426     stack and global array overruns is using the AddressSanitizer (ASAN)<br>
427     facility of the GCC and Clang compilers, which require you to rebuild<br>
428     your code with -fsanitize=address.<br>
429 <br>
430 * ==================== OTHER CHANGES ====================<br>
431 <br>
432 * New and modified GDB server monitor features:<br>
433 <br>
434   - Option -T tells vgdb to output a timestamp in the vgdb information messages.<br>
435 <br>
436   - The gdbserver monitor commands that require an address and an optional<br>
437     length argument now accepts the alternate 'C like' syntax "address[length]".<br>
438     For example, the memcheck command "monitor who_points_at 0x12345678 120"<br>
439     can now also be given as "monitor who_points_at 0x12345678[120]".<br>
440 <br>
441 * ==================== FIXED BUGS ====================<br>
442 <br>
443 The following bugs have been fixed or resolved.  Note that "n-i-bz"<br>
444 stands for "not in bugzilla" -- that is, a bug that was reported to us<br>
445 but never got a bugzilla entry.  We encourage you to file bugs in<br>
446 bugzilla (https://bugs.kde.org/enter_bug.cgi?product=valgrind) rather<br>
447 than mailing the developers (or mailing lists) directly -- bugs that<br>
448 are not entered into bugzilla tend to get forgotten about or ignored.<br>
449 <br>
450 To see details of a given bug, visit<br>
451   https://bugs.kde.org/show_bug.cgi?id=XXXXXX<br>
452 where XXXXXX is the bug number as listed below.<br>
453 <br>
454 343099  Linux setns syscall wrapper missing, unhandled syscall: 308<br>
455         == 368923 WARNING: unhandled arm64-linux syscall: 268 (setns)<br>
456         == 369031 WARNING: unhandled amd64-linux syscall: 308 (setns)<br>
457 385386  Assertion failed "szB &gt;= CACHE_ENTRY_SIZE" at m_debuginfo/image.c:517<br>
458 400162  Patch: Guard against __GLIBC_PREREQ for musl libc<br>
459 400593  In Coregrind, use statx for some internal syscalls if [f]stat[64] fail<br>
460 400872  Add nanoMIPS support to Valgrind<br>
461 403212  drd/tests/trylock hangs on FreeBSD<br>
462 404406  s390x: z14 miscellaneous instructions not implemented<br>
463 405201  Incorrect size of struct vki_siginfo on 64-bit Linux architectures<br>
464 406561  mcinfcallWSRU gdbserver_test fails on ppc64<br>
465 406824  Unsupported baseline<br>
466 407218  Add support for the copy_file_range syscall<br>
467 407307  Intercept stpcpy also in ld.so for arm64<br>
468 407376  Update Xen support to 4.12 (4.13, actually) and add more coverage<br>
469         == 390553<br>
470 407764  drd cond_post_wait gets wrong (?) condition on s390x z13 system<br>
471 408009  Expose rdrand and f16c even on avx if host cpu supports them<br>
472 408091  Missing pkey syscalls<br>
473 408414  Add support for missing for preadv2 and pwritev2 syscalls<br>
474 409141  Valgrind hangs when SIGKILLed<br>
475 409206  Support for Linux PPS and PTP ioctls<br>
476 409367  exit_group() after signal to thread waiting in futex() causes hangs<br>
477 409429  amd64: recognize 'cmpeq' variants as a dependency breaking idiom<br>
478 409780  References to non-existent configure.in<br>
479 410556  Add support for BLKIO{MIN,OPT} and BLKALIGNOFF ioctls<br>
480 410599  Non-deterministic behaviour of pth_self_kill_15_other test<br>
481 410757  discrepancy for preadv2/pwritev2 syscalls across different versions<br>
482 411134  Allow the user to change a set of command line options during execution<br>
483 411451  amd64-&gt;IR of bt/btc/bts/btr with immediate clears zero flag<br>
484 412344  Problem setting mips flags with specific paths<br>
485 412408  unhandled arm-linux syscall: 124 - adjtime - on arm-linux<br>
486 413119  Ioctl wrapper for DRM_IOCTL_I915_GEM_MMAP<br>
487 413330  avx-1 test fails on AMD EPYC 7401P 24-Core Processor<br>
488 413603  callgrind_annotate/cg_annotate truncate function names at '#'<br>
489 414565  Specific use case bug found in SysRes VG_(do_sys_sigprocmask)<br>
490 415136  ARMv8.1 Compare-and-Swap instructions are not supported<br>
491 415757  vex x86-&gt;IR: 0x66 0xF 0xCE 0x4F (bswapw)<br>
492 416239  valgrind crashes when handling clock_adjtime<br>
493 416285  Use prlimit64 in VG_(getrlimit) and VG_(setrlimit)<br>
494 416286  DRD reports "conflicting load" error on std::mutex::lock()<br>
495 416301  s390x: "compare and signal" not supported<br>
496 416387  finit_module and bpf syscalls are unhandled on arm64<br>
497 416464  Fix false reports for uninitialized memory for PR_CAPBSET_READ/DROP<br>
498 416667  gcc10 ppc64le impossible constraint in 'asm' in test_isa.<br>
499 416753  new 32bit time syscalls for 2038+<br>
500 417075  pwritev(vector[...]) suppression ignored<br>
501         417075 is not fixed, but incompatible supp entries are detected<br>
502         and a warning is produced for these.<br>
503 417187  [MIPS] Conditional branch problem since 'grail' changes<br>
504 417238  Test memcheck/tests/vbit-test fails on mips64 BE<br>
505 417266  Make memcheck/tests/linux/sigqueue usable with musl<br>
506 417281  s390x: /bin/true segfaults with "grail" enabled<br>
507 417427  commit to fix vki_siginfo_t definition created numerous regression<br>
508         errors on ppc64<br>
509 417452  s390_insn_store_emit: dst-&gt;tag for HRcVec128<br>
510 417578  Add suppressions for glibc DTV leaks<br>
511 417906  clone with CLONE_VFORK and no CLONE_VM fails<br>
512 418004  Grail code additions break ppc64.<br>
513 418435  s390x: spurious "Conditional jump or move depends on uninitialised [..]"<br>
514 418997  s390x: Support Iex_ITE for float and vector types<br>
515 419503  s390x: Avoid modifying registers returned from isel functions<br>
516 421321  gcc10 arm64 build needs __getauxval for linking with libgcc<br>
517 421570  std_mutex fails on Arm v8.1 h/w<br>
518 434035  vgdb might crash if valgrind is killed<br>
519 n-i-bz  Fix minor one time leaks in dhat.<br>
520 n-i-bz  Add --run-cxx-freeres=no in outer args to avoid inner crashes.<br>
521 n-i-bz  Add support for the Linux io_uring system calls<br>
522 n-i-bz  sys_statx: don't complain if both |filename| and |buf| are NULL.<br>
523 n-i-bz  Fix non-glibc build of test suite with s390x_features<br>
524 n-i-bz  MinGW, include/valgrind.h: Fix detection of 64-bit mode<br>
525 423195  PPC ISA 3.1 support is missing, part 1<br>
526 <br>
527 (3.16.0.RC1:  18 May 2020, git 6052ee66a0cf5234e8e2a2b49a8760226bc13b92)<br>
528 (3.16.0.RC2:  19 May 2020, git 940ec1ca69a09f7fdae3e800b7359f85c13c4b37)<br>
529 (3.16.0:      27 May 2020, git bf5e647edb9e96cbd5c57cc944984402eeee296d)<br>
530 <br>
531 <br>
532 <br>
533 Release 3.15.0 (12 April 2019)<br>
534 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
535 <br>
536 3.15.0 is a feature release with many improvements and the usual collection of<br>
537 bug fixes.<br>
538 <br>
539 This release supports X86/Linux, AMD64/Linux, ARM32/Linux, ARM64/Linux,<br>
540 PPC32/Linux, PPC64BE/Linux, PPC64LE/Linux, S390X/Linux, MIPS32/Linux,<br>
541 MIPS64/Linux, ARM/Android, ARM64/Android, MIPS32/Android, X86/Android,<br>
542 X86/Solaris, AMD64/Solaris and AMD64/MacOSX 10.12.  There is also preliminary<br>
543 support for X86/macOS 10.13 and AMD64/macOS 10.13.<br>
544 <br>
545 * ==================== CORE CHANGES ===================<br>
546 <br>
547 * The XTree Massif output format now makes use of the information obtained<br>
548   when specifying --read-inline-info=yes.<br>
549 <br>
550 * amd64 (x86_64): the RDRAND and F16C insn set extensions are now supported.<br>
551 <br>
552 * ==================== TOOL CHANGES ====================<br>
553 <br>
554 * DHAT: <br>
555 <br>
556   - DHAT been thoroughly overhauled, improved, and given a GUI.  As a result,<br>
557     it has been promoted from an experimental tool to a regular tool.  Run it<br>
558     with --tool=dhat instead of --tool=exp-dhat.<br>
559 <br>
560   - DHAT now prints only minimal data when the program ends, instead writing<br>
561     the bulk of the profiling data to a file.  As a result, the --show-top-n<br>
562     and --sort-by options have been removed.<br>
563     <br>
564   - Profile results can be viewed with the new viewer, dh_view.html.  When<br>
565     a run ends, a short message is printed, explaining how to view the result.<br>
566     <br>
567   - See the documentation for more details.<br>
568 <br>
569 * Cachegrind:<br>
570 <br>
571   - cg_annotate has a new option, --show-percs, which prints percentages next<br>
572     to all event counts.<br>
573 <br>
574 * Callgrind:<br>
575 <br>
576   - callgrind_annotate has a new option, --show-percs, which prints percentages<br>
577     next to all event counts.<br>
578 <br>
579   - callgrind_annotate now inserts commas in call counts, and<br>
580     sort the caller/callee lists in the call tree.<br>
581 <br>
582 * Massif:<br>
583 <br>
584   - The default value for --read-inline-info is now "yes" on<br>
585     Linux/Android/Solaris. It is still "no" on other OS.<br>
586 <br>
587 * Memcheck:<br>
588 <br>
589   - The option --xtree-leak=yes (to output leak result in xtree format)<br>
590     automatically activates the option --show-leak-kinds=all, as xtree<br>
591     visualisation tools such as kcachegrind can in any case select what kind<br>
592     of leak to visualise.<br>
593 <br>
594   - There has been further work to avoid false positives.  In particular,<br>
595     integer equality on partially defined inputs (C == and !=) is now handled<br>
596     better.<br>
597 <br>
598 * ==================== OTHER CHANGES ====================<br>
599 <br>
600 * The new option --show-error-list=no|yes displays, at the end of the run, the<br>
601   list of detected errors and the used suppressions.  Prior to this change,<br>
602   showing this information could only be done by specifying "-v -v", but that<br>
603   also produced a lot of other possibly-non-useful messages.  The option -s is<br>
604   equivalent to --show-error-list=yes.<br>
605 <br>
606 * ==================== FIXED BUGS ====================<br>
607 <br>
608 The following bugs have been fixed or resolved.  Note that "n-i-bz"<br>
609 stands for "not in bugzilla" -- that is, a bug that was reported to us<br>
610 but never got a bugzilla entry.  We encourage you to file bugs in<br>
611 bugzilla (https://bugs.kde.org/enter_bug.cgi?product=valgrind) rather<br>
612 than mailing the developers (or mailing lists) directly -- bugs that<br>
613 are not entered into bugzilla tend to get forgotten about or ignored.<br>
614 <br>
615 To see details of a given bug, visit<br>
616   https://bugs.kde.org/show_bug.cgi?id=XXXXXX<br>
617 where XXXXXX is the bug number as listed below.<br>
618 <br>
619 385411  s390x: z13 vector floating-point instructions not implemented<br>
620 397187  z13 vector register support for vgdb gdbserver<br>
621 398183  Vex errors with _mm256_shuffle_epi8/vpshufb<br>
622 398870  Please add support for instruction vcvtps2ph<br>
623 399287  amd64 front end: Illegal Instruction vcmptrueps<br>
624 399301  Use inlined frames in Massif XTree output. <br>
625 399322  Improve callgrind_annotate output<br>
626 399444  VEX/priv/guest_s390_toIR.c:17407: (style) Mismatching assignment [..]<br>
627 400164  helgrind test encounters mips x-compiler warnings and assembler error<br>
628 400490  s390x: VRs allocated as if separate from FPRs<br>
629 400491  s390x: Operand of LOCH treated as unsigned integer<br>
630 400975  Compile error: error: '-mips64r2' conflicts with the other architecture<br>
631         options, which specify a mips64 processor<br>
632 401112  LLVM 5.0 generates comparison against partially initialized data<br>
633 401277  More bugs in z13 support<br>
634 401454  Add a --show-percs option to cg_annotate and callgrind_annotate.<br>
635 401578  drd: crashes sometimes on fork()<br>
636 401627  memcheck errors with glibc avx2 optimized wcsncmp<br>
637 401822  none/tests/ppc64/jm-vmx fails and produces assembler warnings<br>
638 401827  none/tests/ppc64/test_isa_2_06_part3 failure on ppc64le (xvrsqrtesp)<br>
639 401828  none/tests/ppc64/test_isa_2_06_part1 failure on ppc64le (fcfids and<br>
640         fcfidus)<br>
641 402006  mark helper regs defined in final_tidyup before freeres_wrapper call<br>
642 402048  WARNING: unhandled ppc64[be|le]-linux syscall: 26 (ptrace)<br>
643 402123  invalid assembler opcodes for mips32r2<br>
644 402134  assertion fail in mc_translate.c (noteTmpUsesIn) Iex_VECRET on arm64<br>
645 402327  Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13 (DW_OP_drop)<br>
646 402341  drd/tests/tsan_thread_wrappers_pthread.h:369: suspicious code ?<br>
647 402351  mips64 libvexmultiarch_test fails on s390x<br>
648 402369  Overhaul DHAT<br>
649 402395  coregrind/vgdb-invoker-solaris.c: 2 * poor error checking<br>
650 402480  Do not use %rsp in clobber list<br>
651 402481  vbit-test fails on x86 for Iop_CmpEQ64 iselInt64Expr Sar64<br>
652 402515  Implement new option --show-error-list=no|yes / -s<br>
653 402519  POWER 3.0 addex instruction incorrectly implemented<br>
654 402781  Redo the cache used to process indirect branch targets<br>
655 403123  vex amd64-&gt;IR:0xF3 0x48 0xF 0xAE 0xD3 (wrfsbase)<br>
656 403552  s390x: wrong facility bit checked for vector facility<br>
657 404054  memcheck powerpc subfe x, x, x initializes x to 0 or -1 based on CA<br>
658 404638  Add VG_(replaceIndexXA)<br>
659 404843  s390x: backtrace sometimes ends prematurely<br>
660 404888  autotools cleanup series<br>
661 405079  unhandled ppc64le-linux syscall: 131 (quotactl)<br>
662 405182  Valgrind fails to build with Clang<br>
663 405205  filter_libc: remove the line holding the futex syscall error entirely<br>
664 405356  PPC64, xvcvsxdsp, xvcvuxdsp are supposed to write the 32-bit result to<br>
665         the upper and lower 32-bits of the 64-bit result<br>
666 405362  PPC64, vmsummbm instruction doesn't handle overflow case correctly<br>
667 405363  PPC64, xvcvdpsxws, xvcvdpuxws, do not handle NaN arguments correctly.<br>
668 405365  PPC64, function _get_maxmin_fp_NaN() doesn't handle QNaN, SNaN case<br>
669         correctly.<br>
670 405403  s390x disassembler cannot be used on x86<br>
671 405430  Use gcc -Wimplicit-fallthrough=2 by default if available<br>
672 405458  MIPS mkFormVEC arguments swapped?<br>
673 405716  drd: Fix an integer overflow in the stack margin calculation<br>
674 405722  Support arm64 core dump<br>
675 405733  PPC64, xvcvdpsp should write 32-bit result to upper and lower 32-bits<br>
676         of the 64-bit destination field.<br>
677 405734  PPC64, vrlwnm, vrlwmi, vrldrm, vrldmi do not work properly when me &lt; mb<br>
678 405782  "VEX temporary storage exhausted" when attempting to debug slic3r-pe<br>
679 406198  none/tests/ppc64/test_isa_3_0_other test sporadically including CA<br>
680         bit in output.<br>
681 406256  PPC64, vector floating point instructions don't handle subnormal<br>
682         according to VSCR[NJ] bit setting.<br>
683 406352  cachegrind/callgrind fails ann tests because of missing a.c<br>
684 406354  dhat is broken on x86 (32bit)<br>
685 406355  mcsignopass, mcsigpass, mcbreak fail due to difference in gdb output<br>
686 406357  gdbserver_tests fails because of gdb output change<br>
687 406360  memcheck/tests/libstdc++.supp needs more supression variants<br>
688 406422  none/tests/amd64-linux/map_32bits.vgtest fails too easily<br>
689 406465  arm64 insn selector fails on "t0 = &lt;expr&gt;" where &lt;expr&gt; has type Ity_F16<br>
690 407340  PPC64, does not support the vlogefp, vexptefp instructions.<br>
691 n-i-bz  add syswrap for PTRACE_GET|SET_THREAD_AREA on amd64.<br>
692 n-i-bz  Fix callgrind_annotate non deterministic order for equal total<br>
693 n-i-bz  callgrind_annotate --threshold=100 does not print all functions.<br>
694 n-i-bz  callgrind_annotate Use of uninitialized value in numeric gt (&gt;)<br>
695 n-i-bz  amd64 (x86_64): RDRAND and F16C insn set extensions are supported<br>
696 <br>
697 (3.15.0.RC1:  8 April 2019, git ce94d674de5b99df173aad4c3ee48fc2a92e5d9c)<br>
698 (3.15.0.RC2: 11 April 2019, git 0c8be9bbede189ec580ec270521811766429595f)<br>
699 (3.15.0:     14 April 2019, git 270037da8b508954f0f7d703a0bebf5364eec548)<br>
700 <br>
701 <br>
702 <br>
703 Release 3.14.0 (9 October 2018)<br>
704 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
705 <br>
706 3.14.0 is a feature release with many improvements and the usual collection of<br>
707 bug fixes.<br>
708 <br>
709 This release supports X86/Linux, AMD64/Linux, ARM32/Linux, ARM64/Linux,<br>
710 PPC32/Linux, PPC64BE/Linux, PPC64LE/Linux, S390X/Linux, MIPS32/Linux,<br>
711 MIPS64/Linux, ARM/Android, ARM64/Android, MIPS32/Android, X86/Android,<br>
712 X86/Solaris, AMD64/Solaris and AMD64/MacOSX 10.12.  There is also preliminary<br>
713 support for X86/macOS 10.13, AMD64/macOS 10.13.<br>
714 <br>
715 * ==================== CORE CHANGES ===================<br>
716 <br>
717 * The new option --keep-debuginfo=no|yes (default no) can be used to retain<br>
718   debug info for unloaded code.  This allows saved stack traces (e.g. for<br>
719   memory leaks) to include file/line info for code that has been dlclose'd (or<br>
720   similar).  See the user manual for more information and known limitations.<br>
721 <br>
722 * Ability to specify suppressions based on source file name and line number.<br>
723 <br>
724 * Majorly overhauled register allocator.  No end-user changes, but the JIT<br>
725   generates code a bit more quickly now.<br>
726 <br>
727 * ================== PLATFORM CHANGES =================<br>
728 <br>
729 * Preliminary support for macOS 10.13 has been added.<br>
730 <br>
731 * mips: support for MIPS32/MIPS64 Revision 6 has been added.<br>
732 <br>
733 * mips: support for MIPS SIMD architecture (MSA) has been added.<br>
734 <br>
735 * mips: support for MIPS N32 ABI has been added.<br>
736 <br>
737 * s390: partial support for vector instructions (integer and string) has been<br>
738   added.<br>
739 <br>
740 * ==================== TOOL CHANGES ====================<br>
741 <br>
742 * Helgrind: Addition of a flag<br>
743   --delta-stacktrace=no|yes [yes on linux amd64/x86]<br>
744   which specifies how full history stack traces should be computed.<br>
745   Setting this to =yes can speed up Helgrind by 25% when using<br>
746   --history-level=full.<br>
747 <br>
748 * Memcheck: reduced false positive rate for optimised code created by Clang 6<br>
749   / LLVM 6 on x86, amd64 and arm64.  In particular, Memcheck analyses code<br>
750   blocks more carefully to determine where it can avoid expensive definedness<br>
751   checks without loss of precision.  This is controlled by the flag<br>
752   --expensive-definedness-checks=no|auto|yes [auto].<br>
753 <br>
754 * ==================== OTHER CHANGES ====================<br>
755 <br>
756 * Valgrind is now buildable with link-time optimisation (LTO).  A new<br>
757   configure option --enable-lto=yes allows building Valgrind with LTO.  If the<br>
758   toolchain supports it, this produces a smaller/faster Valgrind (up to 10%).<br>
759   Note that if you are doing Valgrind development, --enable-lto=yes massively<br>
760   slows down the build process.<br>
761 <br>
762 * ==================== FIXED BUGS ====================<br>
763 <br>
764 The following bugs have been fixed or resolved.  Note that "n-i-bz"<br>
765 stands for "not in bugzilla" -- that is, a bug that was reported to us<br>
766 but never got a bugzilla entry.  We encourage you to file bugs in<br>
767 bugzilla (https://bugs.kde.org/enter_bug.cgi?product=valgrind) rather<br>
768 than mailing the developers (or mailing lists) directly -- bugs that<br>
769 are not entered into bugzilla tend to get forgotten about or ignored.<br>
770 <br>
771 To see details of a given bug, visit<br>
772   https://bugs.kde.org/show_bug.cgi?id=XXXXXX<br>
773 where XXXXXX is the bug number as listed below.<br>
774 <br>
775 79362   Debug info is lost for .so files when they are dlclose'd<br>
776 208052  strlcpy error when n = 0<br>
777 255603  exp-sgcheck Assertion '!already_present' failed<br>
778 338252  building valgrind with -flto (link time optimisation) fails<br>
779 345763  MIPS N32 ABI support<br>
780 368913  WARNING: unhandled arm64-linux syscall: 117 (ptrace)<br>
781         == 388664  unhandled arm64-linux syscall: 117  (ptrace)<br>
782 372347  Replacement problem of the additional c++14/c++17 new/delete operators<br>
783 373069  memcheck/tests/leak_cpp_interior fails with GCC 5.1+<br>
784 376257  helgrind history full speed up using a cached stack<br>
785 379373  Fix syscall param msg-&gt;desc.port.name points to uninitialised byte(s)<br>
786         on macOS 10.12<br>
787 379748  Fix missing pselect syscall (OS X 10.11)<br>
788 379754  Fix missing syscall ulock_wait (OS X 10.12)<br>
789 380397  s390x: __GI_strcspn() replacemenet needed<br>
790 381162  possible array overrun in VEX register allocator<br>
791 381272  ppc64 doesn't compile test_isa_2_06_partx.c without VSX support<br>
792 381274  powerpc too chatty even with --sigill-diagnostics=no<br>
793 381289  epoll_pwait can have a NULL sigmask<br>
794 381553  VEX register allocator v3<br>
795 381556  arm64: Handle feature registers access on 4.11 Linux kernel or later<br>
796 381769  Use ucontext_t instead of struct ucontext<br>
797 381805  arm32 needs ld.so index hardwire for new glibc security fixes<br>
798 382256  gz compiler flag test doesn't work for gold<br>
799 382407  vg_perf needs "--terse" command line option<br>
800 382515  "Assertion 'di-&gt;have_dinfo' failed." on wine's dlls/mscoree/tests/[..]<br>
801 382563  MIPS MSA ASE support<br>
802 382998  xml-socket doesn't work<br>
803 383275  massif: m_xarray.c:162 (ensureSpaceXA): Assertion '!xa-&gt;arr' failed<br>
804 383723  Fix missing kevent_qos syscall (macOS 10.11)<br>
805         == 385604  illegal hardware instruction (OpenCV cv::namedWindow)<br>
806 384096  Mention AddrCheck at Memcheck's command line option [..]<br>
807 384230  vex x86-&gt;IR: 0x67 0xE8 0xAB 0x68<br>
808         == 384156  vex x86-&gt;IR: 0x67 0xE8 0x6B 0x6A<br>
809         == 386115  vex x86-&gt;IR: 0x67 0xE8 0xD3 0x8B any program<br>
810         == 388407  vex x86-&gt;IR: 0x67 0xE8 0xAB 0x29<br>
811         == 394903  vex x86-&gt;IR: 0x67 0xE8 0x1B 0xDA<br>
812 384337  performance improvements to VEX register allocator v2 and v3<br>
813 384526  reduce number of spill insns generated by VEX register allocator v3<br>
814 384584  Callee saved regs listed first for AMD64, X86, and PPC architectures<br>
815 384631  Sanitise client args as printed with -v<br>
816 384633  Add a simple progress-reporting facility<br>
817 384987  VEX regalloc: allocate caller-save registers for short lived vregs<br>
818 385055  PPC VEX temporary storage exhausted<br>
819 385182  PPC64 is missing support for the DSCR<br>
820 385183  PPC64, Add support for xscmpeqdp, xscmpgtdp, xscmpgedp, xsmincdp<br>
821 385207  PPC64, generate_store_FPRF() generates too many Iops<br>
822 385208  PPC64, xxperm instruction exhausts temporary memory<br>
823 385210  PPC64, vpermr instruction could exhaust temporary memory<br>
824 385279  unhandled syscall: mach:43 (mach_generate_activity_id)<br>
825         == 395136  valgrind: m_syswrap/syswrap-main.c:438 (Bool eq_Syscall[..]<br>
826         == 387045  Valgrind crashing on High Sierra when testing any newly [..]<br>
827 385334  PPC64, fix vpermr, xxperm, xxpermr mask value.<br>
828 385408  s390x: z13 vector "support" instructions not implemented<br>
829 385409  s390x: z13 vector integer instructions not implemented<br>
830 385410  s390x: z13 vector string instructions not implemented<br>
831 385412  s390x: new non-vector z13 instructions not implemented<br>
832 385868  glibc ld.so _dl_runtime_resolve_avx_slow conditional jump warning.<br>
833 385912  none/tests/rlimit_nofile fails on newer glibc/kernel.<br>
834 385939  Optionally exit on the first error<br>
835 386318  valgrind.org/info/tools.html is missing SGCheck<br>
836 386425  running valgrind + wine on armv7l gives illegal opcode<br>
837 386397  PPC64, valgrind truncates powerpc timebase to 32-bits.<br>
838 387410  MIPSr6 support<br>
839 387664  Memcheck: make expensive-definedness-checks be the default<br>
840 387712  s390x cgijnl reports Conditional jump depends on uninitialised value<br>
841 387766  asm shifts cause false positive "Conditional jump or move depends<br>
842         on uninitialised value"<br>
843 387773  .gnu_debugaltlink paths resolve relative to .debug file, not symlink<br>
844 388174  valgrind with Wine quits with "Assertion 'cfsi_fits' failed"<br>
845 388786  Support bpf syscall in amd64 Linux<br>
846 388862  Add replacements for wmemchr and wcsnlen on Linux<br>
847 389065  valgrind meets gcc flag -Wlogical-op<br>
848 389373  exp-sgcheck the 'impossible' happened as Ist_LoadG is not instrumented<br>
849 390471  suppression by specification of source-file line number<br>
850 390723  make xtree dump files world wide readable, similar to log files<br>
851 391164  constraint bug in tests/ppc64/test_isa_2_07_part1.c for mtfprwa<br>
852 391861  Massif Assertion 'n_ips &gt;= 1 &amp;&amp; n_ips &lt;= VG_(clo_backtrace_size)'<br>
853 392118  unhandled amd64-linux syscall: 332 (statx)<br>
854 392449  callgrind not clearing the number of calls properly<br>
855 393017  Add missing support for xsmaxcdp instruction, bug fixes for xsmincdp,<br>
856         lxssp, stxssp and stxvl instructions.<br>
857 393023  callgrind_control risks using the wrong vgdb<br>
858 393062  build-id ELF phdrs read causes "debuginfo reader: ensure_valid failed"<br>
859 393099  posix_memalign() invalid write if alignment == 0<br>
860 393146  failing assert "is_DebugInfo_active(di)"<br>
861 395709  PPC64 is missing support for the xvnegsp instruction<br>
862 395682  Accept read-only PT_LOAD segments and .rodata by ld -z separate-code<br>
863         == 384727<br>
864 396475  valgrind OS-X build: config.h not found (out-of-tree macOS builds)<br>
865 395991  arm-linux: wine's unit tests enter a signal delivery loop [..]<br>
866 396839  s390x: Trap instructions not implemented<br>
867 396887  arch_prctl should return EINVAL on unknown option<br>
868         == 397286 crash before launching binary (Unsupported arch_prctl option)<br>
869         == 397393 valgrind: the 'impossible' happened: (Archlinux)<br>
870         == 397521 valgrind: the 'impossible' happened: Unsupported [..]<br>
871 396906  compile tests failure on mips32-linux: broken inline asm in tests on<br>
872         mips32-linux<br>
873 397012  glibc ld.so uses arch_prctl on i386<br>
874 397089  amd64: Incorrect decoding of three-register vmovss/vmovsd opcode 11h<br>
875 397354  utimensat should ignore timespec tv_sec if tv_nsec is UTIME_NOW/OMIT<br>
876 397424  glibc 2.27 and gdb_server tests<br>
877 398028  Assertion `cfsi_fits` failing in simple C program<br>
878 398066  s390x: cgijl dep1, 0 reports false unitialised values warning<br>
879 <br>
880 n-i-bz  Fix missing workq_ops operations (macOS)<br>
881 n-i-bz  fix bug in strspn replacement<br>
882 n-i-bz  Add support for the Linux BLKFLSBUF ioctl<br>
883 n-i-bz  Add support for the Linux BLKREPORTZONE and BLKRESETZONE ioctls<br>
884 n-i-bz  Fix possible stack trashing by semctl syscall wrapping<br>
885 n-i-bz  Add support for the Linux membarrier() system call<br>
886 n-i-bz  x86 front end: recognise and handle UD2 correctly<br>
887 n-i-bz  Signal delivery for x86-linux: ensure that the stack pointer is<br>
888         correctly aligned before entering the handler.<br>
889 <br>
890 (3.14.0.RC1: 30 September 2018, git c2aeea2d28acb0639bcc8cc1e4ab115067db1eae)<br>
891 (3.14.0.RC2: 3 October 2018, git 3e214c4858a6fdd5697e767543a0c19e30505582)<br>
892 (3.14.0:     9 October 2018, git 353a3587bb0e2757411f9138f5e936728ed6cc4f)<br>
893 <br>
894 <br>
895 <br>
896 Release 3.13.0 (15 June 2017)<br>
897 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
898 <br>
899 3.13.0 is a feature release with many improvements and the usual collection of<br>
900 bug fixes.<br>
901 <br>
902 This release supports X86/Linux, AMD64/Linux, ARM32/Linux, ARM64/Linux,<br>
903 PPC32/Linux, PPC64BE/Linux, PPC64LE/Linux, S390X/Linux, MIPS32/Linux,<br>
904 MIPS64/Linux, ARM/Android, ARM64/Android, MIPS32/Android, X86/Android,<br>
905 X86/Solaris, AMD64/Solaris and AMD64/MacOSX 10.12.<br>
906 <br>
907 * ==================== CORE CHANGES ===================<br>
908 <br>
909 * The translation cache size has been increased to keep up with the demands of<br>
910   large applications.  The maximum number of sectors has increased from 24 to<br>
911   48.  The default number of sectors has increased from 16 to 32 on all<br>
912   targets except Android, where the increase is from 6 to 12.<br>
913 <br>
914 * The amount of memory that Valgrind can use has been increased from 64GB to<br>
915   128GB.  In particular this means your application can allocate up to about<br>
916   60GB when running on Memcheck.<br>
917 <br>
918 * Valgrind's default load address has been changed from 0x3800'0000 to<br>
919   0x5800'0000, so as to make it possible to load larger executables.  This<br>
920   should make it possible to load executables of size at least 1200MB.<br>
921 <br>
922 * A massive spaceleak caused by reading compressed debuginfo files has been<br>
923   fixed.  Valgrind should now be entirely usable with gcc-7.0 "-gz" created<br>
924   debuginfo.<br>
925 <br>
926 * The C++ demangler has been updated.<br>
927 <br>
928 * Support for demangling Rust symbols has been added.<br>
929 <br>
930 * A new representation of stack traces, the "XTree", has been added.  An XTree<br>
931   is a tree of stacktraces with data associated with the stacktraces.  This is<br>
932   used by various tools (Memcheck, Helgrind, Massif) to report on the heap<br>
933   consumption of your program.  Reporting is controlled by the new options<br>
934   --xtree-memory=none|allocs|full and --xtree-memory-file=&lt;file&gt;.<br>
935 <br>
936   A report can also be produced on demand using the gdbserver monitor command<br>
937   'xtmemory [&lt;filename&gt;]&gt;'.  The XTree can be output in 2 formats: 'callgrind<br>
938   format' and 'massif format. The existing visualisers for these formats (e.g.<br>
939   callgrind_annotate, KCachegrind, ms_print) can be used to visualise and<br>
940   analyse these reports.<br>
941 <br>
942   Memcheck can also produce XTree leak reports using the Callgrind file<br>
943   format.  For more details, see the user manual.<br>
944 <br>
945 * ================== PLATFORM CHANGES =================<br>
946 <br>
947 * ppc64: support for ISA 3.0B and various fixes for existing 3.0 support<br>
948 <br>
949 * amd64: fixes for JIT failure problems on long AVX2 code blocks<br>
950 <br>
951 * amd64 and x86: support for CET prefixes has been added<br>
952 <br>
953 * arm32: a few missing ARMv8 instructions have been implemented<br>
954 <br>
955 * arm64, mips64, mips32: an alternative implementation of Load-Linked and<br>
956   Store-Conditional instructions has been added.  This is to deal with<br>
957   processor implementations that implement the LL/SC specifications strictly<br>
958   and as a result cause Valgrind to hang in certain situations.  The<br>
959   alternative implementation is automatically enabled at startup, as required.<br>
960   You can use the option --sim-hints=fallback-llsc to force-enable it if you<br>
961   want.<br>
962 <br>
963 * Support for OSX 10.12 has been improved.<br>
964 <br>
965 * On Linux, clone handling has been improved to honour CLONE_VFORK that<br>
966   involves a child stack.  Note however that CLONE_VFORK | CLONE_VM is handled<br>
967   like CLONE_VFORK (by removing CLONE_VM), so applications that depend on<br>
968   CLONE_VM exact semantics will (still) not work.<br>
969 <br>
970 * The TileGX/Linux port has been removed because it appears to be both unused<br>
971   and unsupported.<br>
972 <br>
973 * ==================== TOOL CHANGES ====================<br>
974 <br>
975 * Memcheck:<br>
976 <br>
977   - Memcheck should give fewer false positives when running optimised<br>
978     Clang/LLVM generated code.<br>
979 <br>
980   - Support for --xtree-memory and 'xtmemory [&lt;filename&gt;]&gt;'.<br>
981 <br>
982   - New command line options --xtree-leak=no|yes and --xtree-leak-file=&lt;file&gt;<br>
983     to produce the end of execution leak report in a xtree callgrind format<br>
984     file.<br>
985 <br>
986   - New option 'xtleak' in the memcheck leak_check monitor command, to produce<br>
987     the leak report in an xtree file.<br>
988 <br>
989 * Massif:<br>
990 <br>
991   - Support for --xtree-memory and 'xtmemory [&lt;filename&gt;]&gt;'.<br>
992 <br>
993   - For some workloads (typically, for big applications), Massif memory<br>
994     consumption and CPU consumption has decreased significantly.<br>
995 <br>
996 * Helgrind:<br>
997 <br>
998   - Support for --xtree-memory and 'xtmemory [&lt;filename&gt;]&gt;'.<br>
999 <br>
1000   - addition of client request VALGRIND_HG_GNAT_DEPENDENT_MASTER_JOIN, useful<br>
1001     for Ada gnat compiled applications.<br>
1002 <br>
1003 * ==================== OTHER CHANGES ====================<br>
1004 <br>
1005 * For Valgrind developers: in an outer/inner setup, the outer Valgrind will<br>
1006   append the inner guest stacktrace to the inner host stacktrace.  This helps<br>
1007   to investigate the errors reported by the outer, when they are caused by the<br>
1008   inner guest program (such as an inner regtest).  See README_DEVELOPERS for<br>
1009   more info.<br>
1010 <br>
1011 * To allow fast detection of callgrind files by desktop environments and file<br>
1012   managers, the format was extended to have an optional first line that<br>
1013   uniquely identifies the format ("# callgrind format").  Callgrind creates<br>
1014   this line now, as does the new xtree functionality.<br>
1015 <br>
1016 * File name template arguments (such as --log-file, --xtree-memory-file, ...)<br>
1017   have a new %n format letter that is replaced by a sequence number.<br>
1018 <br>
1019 * "--version -v" now shows the SVN revision numbers from which Valgrind was<br>
1020   built.<br>
1021 <br>
1022 * ==================== FIXED BUGS ====================<br>
1023 <br>
1024 The following bugs have been fixed or resolved.  Note that "n-i-bz"<br>
1025 stands for "not in bugzilla" -- that is, a bug that was reported to us<br>
1026 but never got a bugzilla entry.  We encourage you to file bugs in<br>
1027 bugzilla (https://bugs.kde.org/enter_bug.cgi?product=valgrind) rather<br>
1028 than mailing the developers (or mailing lists) directly -- bugs that<br>
1029 are not entered into bugzilla tend to get forgotten about or ignored.<br>
1030 <br>
1031 To see details of a given bug, visit<br>
1032   https://bugs.kde.org/show_bug.cgi?id=XXXXXX<br>
1033 where XXXXXX is the bug number as listed below.<br>
1034 <br>
1035 162848  --log-file output isn't split when a program forks<br>
1036 340777  Illegal instruction on mips (ar71xx)<br>
1037 341481  MIPS64: Iop_CmpNE32 triggers false warning on MIPS64 platforms<br>
1038 342040  Valgrind mishandles clone with CLONE_VFORK | CLONE_VM that clones<br>
1039         to a different stack.<br>
1040 344139  x86 stack-seg overrides, needed by the Wine people<br>
1041 344524  store conditional of guest applications always fail - observed on<br>
1042         Octeon3(MIPS)<br>
1043 348616  Wine/valgrind: noted but unhandled ioctl 0x5390 [..] (DVD_READ_STRUCT)<br>
1044 352395  Please provide SVN revision info in --version -v<br>
1045 352767  Wine/valgrind: noted but unhandled ioctl 0x5307 [..] (CDROMSTOP)<br>
1046 356374  Assertion 'DRD_(g_threadinfo)[tid].pt_threadid !=<br>
1047         INVALID_POSIX_THREADID' failed<br>
1048 358213  helgrind/drd bar_bad testcase hangs or crashes with new glibc pthread<br>
1049         barrier implementation<br>
1050 358697  valgrind.h: Some code remains even when defining NVALGRIND<br>
1051 359202  Add musl libc configure/compile<br>
1052 360415  amd64 instructions ADCX and ADOX are not implemented in VEX<br>
1053         == 372828 (vex amd64-&gt;IR: 0x66 0xF 0x3A 0x62 0x4A 0x10)<br>
1054 360429  unhandled ioctl 0x530d with no size/direction hints (CDROMREADMODE1)<br>
1055 362223  assertion failed when .valgrindrc is a directory instead of a file<br>
1056 367543  bt/btc/btr/bts x86/x86_64 instructions are poorly-handled wrt flags<br>
1057 367942  Segfault vgPlain_do_sys_sigaction (m_signals.c:1138)<br>
1058 368507  can't malloc chunks larger than about 34GB<br>
1059 368529  Android arm target link error, missing atexit and pthread_atfork<br>
1060 368863  WARNING: unhandled arm64-linux syscall: 100 (get_robust_list)<br>
1061 368865  WARNING: unhandled arm64-linux syscall: 272 (kcmp)<br>
1062 368868  disInstr(arm64): unhandled instruction 0xD53BE000 = cntfrq_el0 (ARMv8)<br>
1063 368917  WARNING: unhandled arm64-linux syscall: 218 (request_key)<br>
1064 368918  WARNING: unhandled arm64-linux syscall: 127 (sched_rr_get_interval)<br>
1065 368922  WARNING: unhandled arm64-linux syscall: 161 (sethostname)<br>
1066 368924  WARNING: unhandled arm64-linux syscall: 84 (sync_file_range)<br>
1067 368925  WARNING: unhandled arm64-linux syscall: 130 (tkill)<br>
1068 368926  WARNING: unhandled arm64-linux syscall: 97 (unshare)<br>
1069 369459  valgrind on arm64 violates the ARMv8 spec (ldxr/stxr)<br>
1070 370028  Reduce the number of compiler warnings on MIPS platforms<br>
1071 370635  arm64 missing syscall getcpu<br>
1072 371225  Fix order of timer_{gettime,getoverrun,settime} syscalls on arm64<br>
1073 371227  Clean AArch64 syscall table<br>
1074 371412  Rename wrap_sys_shmat to sys_shmat like other wrappers<br>
1075 371471  Valgrind complains about non legit memory leaks on placement new (C++)<br>
1076 371491  handleAddrOverrides() is [incorrect] when ASO prefix is used<br>
1077 371503  disInstr(arm64): unhandled instruction 0xF89F0000<br>
1078 371869  support '%' in symbol Z-encoding<br>
1079 371916  execution tree xtree concept<br>
1080 372120  c++ demangler demangles symbols which are not c++<br>
1081 372185  Support of valgrind on ARMv8 with 32 bit executable<br>
1082 372188  vex amd64-&gt;IR: 0x66 0xF 0x3A 0x62 0x4A 0x10 0x10 0x48 (PCMPxSTRx $0x10)<br>
1083 372195  Power PC, xxsel instruction is not always recognized.<br>
1084 372504  Hanging on exit_group<br>
1085 372600  process loops forever when fatal signals are arriving quickly<br>
1086 372794  LibVEX (arm32 front end): 'Assertion szBlg2 &lt;= 3' failed<br>
1087 373046  Stacks registered by core are never deregistered<br>
1088 373069  memcheck/tests/leak_cpp_interior fails with GCC 5.1+<br>
1089 373086  Implement additional Xen hypercalls<br>
1090 373192  Calling posix_spawn in glibc 2.24 completely broken<br>
1091 373488  Support for fanotify API on ARM64 architecture<br>
1092 == 368864  WARNING: unhandled arm64-linux syscall: 262 (fanotify_init)<br>
1093 373555  Rename BBPTR to GSPTR as it denotes guest state pointer only<br>
1094 373938  const IRExpr arguments for matchIRExpr()<br>
1095 374719  some spelling fixes<br>
1096 374963  increase valgrind's load address to prevent mmap failure<br>
1097 375514  valgrind_get_tls_addr() does not work in case of static TLS<br>
1098 375772  +1 error in get_elf_symbol_info() when computing value of 'hi' address<br>
1099         for ML_(find_rx_mapping)()<br>
1100 375806  Test helgrind/tests/tc22_exit_w_lock fails with glibc 2.24<br>
1101 375839  Temporary storage exhausted, with long sequence of vfmadd231ps insns<br>
1102         == 377159  "vex: the `impossible' happened" still present<br>
1103         == 375150  Assertion 'tres.status == VexTransOK' failed<br>
1104         == 378068  valgrind crashes on AVX2 function in FFmpeg<br>
1105 376142  Segfaults on MIPS Cavium Octeon boards<br>
1106 376279  disInstr(arm64): unhandled instruction 0xD50320FF<br>
1107 376455  Solaris: unhandled syscall lgrpsys(180)<br>
1108 376518  Solaris: unhandled fast trap getlgrp(6)<br>
1109 376611  ppc64 and arm64 don't know about prlimit64 syscall<br>
1110 376729  PPC64, remove R2 from the clobber list<br>
1111         == 371668<br>
1112 376956  syswrap of SNDDRV and DRM_IOCTL_VERSION causing some addresses<br>
1113         to be wrongly marked as addressable<br>
1114 377066  Some Valgrind unit tests fail to compile on Ubuntu 16.10 with<br>
1115         PIE enabled by default<br>
1116 377376  memcheck/tests/linux/getregset fails with glibc2.24<br>
1117 377427  PPC64, lxv instruction failing on odd destination register <br>
1118 377478  PPC64: ISA 3.0 setup fixes<br>
1119 377698  Missing memory check for futex() uaddr arg for FUTEX_WAKE<br>
1120         and FUTEX_WAKE_BITSET, check only 4 args for FUTEX_WAKE_BITSET,<br>
1121         and 2 args for FUTEX_TRYLOCK_PI<br>
1122 377717  Fix massive space leak when reading compressed debuginfo sections<br>
1123 377891  Update Xen 4.6 domctl wrappers<br>
1124 377930  fcntl syscall wrapper is missing flock structure check<br>
1125 378524  libvexmultiarch_test regression on s390x and ppc64<br>
1126 378535  Valgrind reports INTERNAL ERROR in execve syscall wrapper<br>
1127 378673  Update libiberty demangler<br>
1128 378931  Add ISA 3.0B additional isnstructions, add OV32, CA32 setting support<br>
1129 379039  syscall wrapper for prctl(PR_SET_NAME) must not check more than 16 bytes<br>
1130 379094  Valgrind reports INTERNAL ERROR in rt_sigsuspend syscall wrapper<br>
1131 379371  UNKNOWN task message [id 3444, to mach_task_self(), reply 0x603]<br>
1132         (task_register_dyld_image_infos)<br>
1133 379372  UNKNOWN task message [id 3447, to mach_task_self(), reply 0x603]<br>
1134         (task_register_dyld_shared_cache_image_info)<br>
1135 379390  unhandled syscall: mach:70 (host_create_mach_voucher_trap)<br>
1136 379473  MIPS: add support for rdhwr cycle counter register<br>
1137 379504  remove TileGX/Linux port<br>
1138 379525  Support more x86 nop opcodes<br>
1139 379838  disAMode(x86): not an addr!<br>
1140 379703  PC ISA 3.0 fixes: stxvx, stxv, xscmpexpdp instructions<br>
1141 379890  arm: unhandled instruction: 0xEBAD 0x1B05 (sub.w fp, sp, r5, lsl #4)<br>
1142 379895  clock_gettime does not execute POST syscall wrapper<br>
1143 379925  PPC64, mtffs does not set the FPCC and C bits in the FPSCR correctly<br>
1144 379966  WARNING: unhandled amd64-linux syscall: 313 (finit_module)<br>
1145 380200  xtree generated callgrind files refer to files without directory name<br>
1146 380202  Assertion failure for cache line size (cls == 64) on aarch64.<br>
1147 380397  s390x: __GI_strcspn() replacement needed<br>
1148 n-i-bz  Fix pub_tool_basics.h build issue with g++ 4.4.7.<br>
1149 <br>
1150 (3.13.0.RC1:  2 June 2017, vex r3386, valgrind r16434)<br>
1151 (3.13.0.RC2:  9 June 2017, vex r3389, valgrind r16443)<br>
1152 (3.13.0:     14 June 2017, vex r3396, valgrind r16446)<br>
1153 <br>
1154 <br>
1155 <br>
1156 Release 3.12.0 (20 October 2016)<br>
1157 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
1158 <br>
1159 3.12.0 is a feature release with many improvements and the usual<br>
1160 collection of bug fixes.<br>
1161 <br>
1162 This release supports X86/Linux, AMD64/Linux, ARM32/Linux,<br>
1163 ARM64/Linux, PPC32/Linux, PPC64BE/Linux, PPC64LE/Linux, S390X/Linux,<br>
1164 MIPS32/Linux, MIPS64/Linux, ARM/Android, ARM64/Android,<br>
1165 MIPS32/Android, X86/Android, X86/Solaris, AMD64/Solaris, X86/MacOSX<br>
1166 10.10 and AMD64/MacOSX 10.10.  There is also preliminary support for<br>
1167 X86/MacOSX 10.11/12, AMD64/MacOSX 10.11/12 and TILEGX/Linux.<br>
1168 <br>
1169 * ================== PLATFORM CHANGES =================<br>
1170 <br>
1171 * POWER: Support for ISA 3.0 has been added<br>
1172 <br>
1173 * mips: support for O32 FPXX ABI has been added.<br>
1174 * mips: improved recognition of different processors<br>
1175 * mips: determination of page size now done at run time<br>
1176 <br>
1177 * amd64: Partial support for AMD FMA4 instructions.<br>
1178 <br>
1179 * arm, arm64: Support for v8 crypto and CRC instructions.<br>
1180 <br>
1181 * Improvements and robustification of the Solaris port.<br>
1182 <br>
1183 * Preliminary support for MacOS 10.12 (Sierra) has been added.<br>
1184 <br>
1185 Whilst 3.12.0 continues to support the 32-bit x86 instruction set, we<br>
1186 would prefer users to migrate to 64-bit x86 (a.k.a amd64 or x86_64)<br>
1187 where possible.  Valgrind's support for 32-bit x86 has stagnated in<br>
1188 recent years and has fallen far behind that for 64-bit x86<br>
1189 instructions.  By contrast 64-bit x86 is well supported, up to and<br>
1190 including AVX2.<br>
1191 <br>
1192 * ==================== TOOL CHANGES ====================<br>
1193 <br>
1194 * Memcheck:<br>
1195 <br>
1196   - Added meta mempool support for describing a custom allocator which:<br>
1197      - Auto-frees all chunks assuming that destroying a pool destroys all<br>
1198        objects in the pool<br>
1199      - Uses itself to allocate other memory blocks<br>
1200 <br>
1201   - New flag --ignore-range-below-sp to ignore memory accesses below<br>
1202     the stack pointer, if you really have to.  The related flag<br>
1203     --workaround-gcc296-bugs=yes is now deprecated.  Use<br>
1204     --ignore-range-below-sp=1024-1 as a replacement.<br>
1205 <br>
1206 * DRD:<br>
1207 <br>
1208   - Improved thread startup time significantly on non-Linux platforms.<br>
1209 <br>
1210 * DHAT<br>
1211 <br>
1212   - Added collection of the metric "tot-blocks-allocd"<br>
1213 <br>
1214 * ==================== OTHER CHANGES ====================<br>
1215 <br>
1216 * Replacement/wrapping of malloc/new related functions is now done not just<br>
1217   for system libraries by default, but for any globally defined malloc/new<br>
1218   related function (both in shared libraries and statically linked alternative<br>
1219   malloc implementations).  The dynamic (runtime) linker is excluded, though.<br>
1220   To only intercept malloc/new related functions in<br>
1221   system libraries use --soname-synonyms=somalloc=nouserintercepts (where<br>
1222   "nouserintercepts" can be any non-existing library name).<br>
1223   This new functionality is not implemented for MacOS X.<br>
1224 <br>
1225 * The maximum number of callers in a suppression entry is now equal to<br>
1226   the maximum size for --num-callers (500).<br>
1227   Note that --gen-suppressions=yes|all similarly generates suppressions<br>
1228   containing up to --num-callers frames.<br>
1229 <br>
1230 * New and modified GDB server monitor features:<br>
1231 <br>
1232   - Valgrind's gdbserver now accepts the command 'catch syscall'.<br>
1233     Note that you must have GDB &gt;= 7.11 to use 'catch syscall' with<br>
1234     gdbserver.<br>
1235 <br>
1236 * New option --run-cxx-freeres=&lt;yes|no&gt; can be used to change whether<br>
1237   __gnu_cxx::__freeres() cleanup function is called or not. Default is<br>
1238   'yes'.<br>
1239 <br>
1240 * Valgrind is able to read compressed debuginfo sections in two formats:<br>
1241   - zlib ELF gABI format with SHF_COMPRESSED flag (gcc option -gz=zlib)<br>
1242   - zlib GNU format with .zdebug sections (gcc option -gz=zlib-gnu)<br>
1243 <br>
1244 * Modest JIT-cost improvements: the cost of instrumenting code blocks<br>
1245   for the most common use case (x86_64-linux, Memcheck) has been<br>
1246   reduced by 10%-15%.<br>
1247 <br>
1248 * Improved performance for programs that do a lot of discarding of<br>
1249   instruction address ranges of 8KB or less.<br>
1250 <br>
1251 * The C++ symbol demangler has been updated.<br>
1252 <br>
1253 * More robustness against invalid syscall parameters on Linux.<br>
1254 <br>
1255 * ==================== FIXED BUGS ====================<br>
1256 <br>
1257 The following bugs have been fixed or resolved.  Note that "n-i-bz"<br>
1258 stands for "not in bugzilla" -- that is, a bug that was reported to us<br>
1259 but never got a bugzilla entry.  We encourage you to file bugs in<br>
1260 bugzilla (https://bugs.kde.org/enter_bug.cgi?product=valgrind) rather<br>
1261 than mailing the developers (or mailing lists) directly -- bugs that<br>
1262 are not entered into bugzilla tend to get forgotten about or ignored.<br>
1263 <br>
1264 To see details of a given bug, visit<br>
1265   https://bugs.kde.org/show_bug.cgi?id=XXXXXX<br>
1266 where XXXXXX is the bug number as listed below.<br>
1267 <br>
1268 191069  Exiting due to signal not reported in XML output<br>
1269 199468  Suppressions: stack size limited to 25<br>
1270         while --num-callers allows more frames<br>
1271 212352  vex amd64 unhandled opc_aux = 0x 2, first_opcode == 0xDC (FCOM)<br>
1272 278744  cvtps2pd with redundant RexW<br>
1273 303877  valgrind doesn't support compressed debuginfo sections.<br>
1274 345307  Warning about "still reachable" memory when using libstdc++ from gcc 5<br>
1275 348345  Assertion fails for negative lineno<br>
1276 348924  MIPS: Load doubles through memory so the code compiles with the FPXX ABI<br>
1277 351282  V 3.10.1 MIPS softfloat build broken with GCC 4.9.3 / binutils 2.25.1<br>
1278 351692  Dumps created by valgrind are not readable by gdb (mips32 specific)<br>
1279 351804  Crash on generating suppressions for "printf" call on OS X 10.10<br>
1280 352197  mips: mmap2() not wrapped correctly for page size &gt; 4096<br>
1281 353083  arm64 doesn't implement various xattr system calls<br>
1282 353084  arm64 doesn't support sigpending system call<br>
1283 353137  www: update info for Supported Platforms<br>
1284 353138  www: update "The Valgrind Developers" page<br>
1285 353370  don't advertise RDRAND in cpuid for Core-i7-4910-like avx2 machine<br>
1286         == 365325<br>
1287         == 357873<br>
1288 353384  amd64-&gt;IR: 0x66 0xF 0x3A 0x62 0xD1 0x62 (pcmpXstrX $0x62)<br>
1289 353398  WARNING: unhandled amd64-solaris syscall: 207<br>
1290 353660  XML in auxwhat tag not escaping reserved symbols properly<br>
1291 353680  s390x: Crash with certain glibc versions due to non-implemented TBEGIN<br>
1292 353727  amd64-&gt;IR: 0x66 0xF 0x3A 0x62 0xD1 0x72 (pcmpXstrX $0x72)<br>
1293 353802  ELF debug info reader confused with multiple .rodata sections<br>
1294 353891  Assert 'bad_scanned_addr &lt; VG_ROUNDDN(start+len, sizeof(Addr))' failed<br>
1295 353917  unhandled amd64-solaris syscall fchdir(120)<br>
1296 353920  unhandled amd64-solaris syscall: 170<br>
1297 354274  arm: unhandled instruction: 0xEBAD 0x0AC1 (sub.w sl, sp, r1, lsl #3)<br>
1298 354392  unhandled amd64-solaris syscall: 171<br>
1299 354797  Vbit test does not include Iops for Power 8 instruction support<br>
1300 354883  tst-&gt;os_state.pthread - magic_delta assertion failure on OSX 10.11<br>
1301         == 361351<br>
1302         == 362920<br>
1303         == 366222<br>
1304 354933  Fix documentation of --kernel-variant=android-no-hw-tls option<br>
1305 355188  valgrind should intercept all malloc related global functions<br>
1306 355454  do not intercept malloc related symbols from the runtime linker<br>
1307 355455  stderr.exp of test cases wrapmalloc and wrapmallocstatic overconstrained<br>
1308 356044  Dwarf line info reader misinterprets is_stmt register<br>
1309 356112  mips: replace addi with addiu<br>
1310 356393  valgrind (vex) crashes because isZeroU happened<br>
1311         == 363497<br>
1312         == 364497<br>
1313 356676  arm64-linux: unhandled syscalls 125, 126 (sched_get_priority_max/min)<br>
1314 356678  arm64-linux: unhandled syscall 232 (mincore)<br>
1315 356817  valgrind.h triggers compiler errors on MSVC when defining NVALGRIND<br>
1316 356823  Unsupported ARM instruction: stlex<br>
1317 357059  x86/amd64: SSE cvtpi2ps with memory source does transition to MMX state<br>
1318 357338  Unhandled instruction for SHA instructions libcrypto Boring SSL<br>
1319 357673  crash if I try to run valgrind with a binary link with libcurl<br>
1320 357833  Setting RLIMIT_DATA to zero breaks with linux 4.5+<br>
1321 357871  pthread_spin_destroy not properly wrapped<br>
1322 357887  Calls to VG_(fclose) do not close the file descriptor<br>
1323 357932  amd64-&gt;IR: accept redundant REX prefixes for {minsd,maxsd} m128, xmm.<br>
1324 358030  support direct socket calls on x86 32bit (new in linux 4.3)<br>
1325 358478  drd/tests/std_thread.cpp doesn't build with GCC6<br>
1326 359133  Assertion 'eltSzB &lt;= ddpa-&gt;poolSzB' failed<br>
1327 359181  Buffer Overflow during Demangling<br>
1328 359201  futex syscall "skips" argument 5 if op is FUTEX_WAIT_BITSET<br>
1329 359289  s390x: popcnt (B9E1) not implemented<br>
1330 359472  The Power PC vsubuqm instruction doesn't always give the correct result<br>
1331 359503  Add missing syscalls for aarch64 (arm64)<br>
1332 359645  "You need libc6-dbg" help message could be more helpful<br>
1333 359703  s390: wire up separate socketcalls system calls<br>
1334 359724  getsockname might crash - deref_UInt should call safe_to_deref<br>
1335 359733  amd64 implement ld.so strchr/index override like x86<br>
1336 359767  Valgrind does not support the IBM POWER ISA 3.0 instructions, part 1/5<br>
1337 359829  Power PC test suite none/tests/ppc64/test_isa_2_07.c uses<br>
1338         uninitialized data<br>
1339 359838  arm64: Unhandled instruction 0xD5033F5F (clrex)<br>
1340 359871  Incorrect mask handling in ppoll<br>
1341 359952  Unrecognised PCMPESTRM variants (0x70, 0x19)<br>
1342 360008  Contents of Power vr registers contents is not printed correctly when<br>
1343         the --vgdb-shadow-registers=yes option is used<br>
1344 360035  POWER PC instruction bcdadd and bcdsubtract generate result with<br>
1345         non-zero shadow bits<br>
1346 360378  arm64: Unhandled instruction 0x5E280844 (sha1h  s4, s2)<br>
1347 360425  arm64 unsupported instruction ldpsw<br>
1348         == 364435<br>
1349 360519  none/tests/arm64/memory.vgtest might fail with newer gcc<br>
1350 360571  Error about the Android Runtime reading below the stack pointer on ARM<br>
1351 360574  Wrong parameter type for an ashmem ioctl() call on Android and ARM64<br>
1352 360749  kludge for multiple .rodata sections on Solaris no longer needed<br>
1353 360752  raise the number of reserved fds in m_main.c from 10 to 12<br>
1354 361207  Valgrind does not support the IBM POWER ISA 3.0 instructions, part 2/5<br>
1355 361226  s390x: risbgn (EC59) not implemented<br>
1356 361253  [s390x] ex_clone.c:42: undefined reference to `pthread_create'<br>
1357 361354  ppc64[le]: wire up separate socketcalls system calls<br>
1358 361615  Inconsistent termination for multithreaded process terminated by signal<br>
1359 361926  Unhandled Solaris syscall: sysfs(84)<br>
1360 362009  V dumps core on unimplemented functionality before threads are created<br>
1361 362329  Valgrind does not support the IBM POWER ISA 3.0 instructions, part 3/5<br>
1362 362894  missing (broken) support for wbit field on mtfsfi instruction (ppc64)<br>
1363 362935  [AsusWRT] Assertion 'sizeof(TTEntryC) &lt;= 88' failed<br>
1364 362953  Request for an update to the Valgrind Developers page<br>
1365 363680  add renameat2() support<br>
1366 363705  arm64 missing syscall name_to_handle_at and open_by_handle_at<br>
1367 363714  ppc64 missing syscalls sync, waitid and name_to/open_by_handle_at<br>
1368 363858  Valgrind does not support the IBM POWER ISA 3.0 instructions, part 4/5<br>
1369 364058  clarify in manual limitations of array overruns detections<br>
1370 364413  pselect sycallwrapper mishandles NULL sigmask<br>
1371 364728  Power PC, missing support for several HW registers in<br>
1372         get_otrack_shadow_offset_wrk()<br>
1373 364948  Valgrind does not support the IBM POWER ISA 3.0 instructions, part 5/5<br>
1374 365273  Invalid write to stack location reported after signal handler runs<br>
1375 365912  ppc64BE segfault during jm-insns test (RELRO)<br>
1376 366079  FPXX Support for MIPS32 Valgrind<br>
1377 366138  Fix configure errors out when using Xcode 8 (clang 8.0.0)<br>
1378 366344  Multiple unhandled instruction for Aarch64<br>
1379         (0x0EE0E020, 0x1AC15800, 0x4E284801, 0x5E040023, 0x5E056060)<br>
1380 367995  Integration of memcheck with custom memory allocator<br>
1381 368120  x86_linux asm _start functions do not keep 16-byte aligned stack pointer<br>
1382 368412  False positive result for altivec capability check<br>
1383 368416  Add tc06_two_races_xml.exp output for ppc64<br>
1384 368419  Perf Events ioctls not implemented<br>
1385 368461  mmapunmap test fails on ppc64<br>
1386 368823  run_a_thread_NORETURN assembly code typo for VGP_arm64_linux target<br>
1387 369000  AMD64 fma4 instructions unsupported.<br>
1388 369169  ppc64 fails jm_int_isa_2_07 test<br>
1389 369175  jm_vec_isa_2_07 test crashes on ppc64<br>
1390 369209  valgrind loops and eats up all memory if cwd doesn't exist.<br>
1391 369356  pre_mem_read_sockaddr syscall wrapper can crash with bad sockaddr<br>
1392 369359  msghdr_foreachfield can crash when handling bad iovec<br>
1393 369360  Bad sigprocmask old or new sets can crash valgrind<br>
1394 369361  vmsplice syscall wrapper crashes on bad iovec<br>
1395 369362  Bad sigaction arguments crash valgrind<br>
1396 369383  x86 sys_modify_ldt wrapper crashes on bad ptr<br>
1397 369402  Bad set/get_thread_area pointer crashes valgrind<br>
1398 369441  bad lvec argument crashes process_vm_readv/writev syscall wrappers<br>
1399 369446  valgrind crashes on unknown fcntl command<br>
1400 369439  S390x: Unhandled insns RISBLG/RISBHG and LDE/LDER <br>
1401 369468  Remove quadratic metapool algorithm using VG_(HT_remove_at_Iter)<br>
1402 370265  ISA 3.0 HW cap stuff needs updating<br>
1403 371128  BCD add and subtract instructions on Power BE in 32-bit mode do not work<br>
1404 372195  Power PC, xxsel instruction is not always recognized<br>
1405 <br>
1406 n-i-bz  Fix incorrect (or infinite loop) unwind on RHEL7 x86 and amd64<br>
1407 n-i-bz  massif --pages-as-heap=yes does not report peak caused by mmap+munmap<br>
1408 n-i-bz  false positive leaks due to aspacemgr merging heap &amp; non heap segments<br>
1409 n-i-bz  Fix ppoll_alarm exclusion on OS X<br>
1410 n-i-bz  Document brk segment limitation, reference manual in limit reached msg.<br>
1411 n-i-bz  Fix clobber list in none/tests/amd64/xacq_xrel.c [valgrind r15737]<br>
1412 n-i-bz  Bump allowed shift value for "add.w reg, sp, reg, lsl #N" [vex r3206]<br>
1413 n-i-bz  amd64: memcheck false positive with shr %edx<br>
1414 n-i-bz  arm3: Allow early writeback of SP base register in "strd rD, [sp, #-16]"<br>
1415 n-i-bz  ppc: Fix two cases of PPCAvFpOp vs PPCFpOp enum confusion<br>
1416 n-i-bz  arm: Fix incorrect register-number constraint check for LDAEX{,B,H,D}<br>
1417 n-i-bz  DHAT: added collection of the metric "tot-blocks-allocd" <br>
1418 <br>
1419 (3.12.0.RC1:  20 October 2016, vex r3282, valgrind r16094)<br>
1420 (3.12.0.RC2:  20 October 2016, vex r3282, valgrind r16096)<br>
1421 (3.12.0:      21 October 2016, vex r3282, valgrind r16098)<br>
1422 <br>
1423 <br>
1424 <br>
1425 Release 3.11.0 (22 September 2015)<br>
1426 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
1427 <br>
1428 3.11.0 is a feature release with many improvements and the usual<br>
1429 collection of bug fixes.<br>
1430 <br>
1431 This release supports X86/Linux, AMD64/Linux, ARM32/Linux,<br>
1432 ARM64/Linux, PPC32/Linux, PPC64BE/Linux, PPC64LE/Linux, S390X/Linux,<br>
1433 MIPS32/Linux, MIPS64/Linux, ARM/Android, ARM64/Android,<br>
1434 MIPS32/Android, X86/Android, X86/Solaris, AMD64/Solaris, X86/MacOSX<br>
1435 10.10 and AMD64/MacOSX 10.10.  There is also preliminary support for<br>
1436 X86/MacOSX 10.11, AMD64/MacOSX 10.11 and TILEGX/Linux.<br>
1437 <br>
1438 * ================== PLATFORM CHANGES =================<br>
1439 <br>
1440 * Support for Solaris/x86 and Solaris/amd64 has been added.<br>
1441 <br>
1442 * Preliminary support for Mac OS X 10.11 (El Capitan) has been added.<br>
1443 <br>
1444 * Preliminary support for the Tilera TileGX architecture has been added.<br>
1445 <br>
1446 * s390x: It is now required for the host to have the "long displacement"<br>
1447   facility.  The oldest supported machine model is z990.<br>
1448 <br>
1449 * x86: on an SSE2 only host, Valgrind in 32 bit mode now claims to be a<br>
1450   Pentium 4.  3.10.1 wrongly claimed to be a Core 2, which is SSSE3.<br>
1451 <br>
1452 * The JIT's register allocator is significantly faster, making the JIT<br>
1453   as a whole somewhat faster, so JIT-intensive activities, for example<br>
1454   program startup, are modestly faster, around 5%.<br>
1455 <br>
1456 * There have been changes to the default settings of several command<br>
1457   line flags, as detailed below.<br>
1458 <br>
1459 * Intel AVX2 support is more complete (64 bit targets only).  On AVX2<br>
1460   capable hosts, the simulated CPUID will now indicate AVX2 support.<br>
1461 <br>
1462 * ==================== TOOL CHANGES ====================<br>
1463 <br>
1464 * Memcheck:<br>
1465 <br>
1466   - The default value for --leak-check-heuristics has been changed from<br>
1467     "none" to "all". This helps to reduce the number of possibly<br>
1468     lost blocks, in particular for C++ applications.<br>
1469 <br>
1470   - The default value for --keep-stacktraces has been changed from<br>
1471     "malloc-then-free" to "malloc-and-free".  This has a small cost in<br>
1472     memory (one word per malloc-ed block) but allows Memcheck to show the<br>
1473     3 stacktraces of a dangling reference: where the block was allocated,<br>
1474     where it was freed, and where it is acccessed after being freed.<br>
1475 <br>
1476   - The default value for --partial-loads-ok has been changed from "no" to <br>
1477     "yes", so as to avoid false positive errors resulting from some kinds<br>
1478     of vectorised loops.<br>
1479 <br>
1480   - A new monitor command 'xb &lt;addr&gt; &lt;len&gt;' shows the validity bits of<br>
1481     &lt;len&gt; bytes at &lt;addr&gt;.  The monitor command 'xb' is easier to use<br>
1482     than get_vbits when you need to associate byte data value with<br>
1483     their corresponding validity bits.<br>
1484 <br>
1485   - The 'block_list' monitor command has been enhanced:<br>
1486       o it can print a range of loss records<br>
1487       o it now accepts an optional argument 'limited &lt;max_blocks&gt;'<br>
1488         to control the number of blocks printed.<br>
1489       o if a block has been found using a heuristic, then<br>
1490         'block_list' now shows the heuristic after the block size.<br>
1491       o the loss records/blocks to print can be limited to the blocks<br>
1492         found via specified heuristics.<br>
1493 <br>
1494   - The C helper functions used to instrument loads on<br>
1495     x86-{linux,solaris} and arm-linux (both 32-bit only) have been<br>
1496     replaced by handwritten assembly sequences.  This gives speedups<br>
1497     in the region of 0% to 7% for those targets only.<br>
1498 <br>
1499   - A new command line option, --expensive-definedness-checks=yes|no,<br>
1500     has been added.  This is useful for avoiding occasional invalid<br>
1501     uninitialised-value errors in optimised code.  Watch out for<br>
1502     runtime degradation, as this can be up to 25%.  As always, though,<br>
1503     the slowdown is highly application specific.  The default setting<br>
1504     is "no".<br>
1505 <br>
1506 * Massif:<br>
1507 <br>
1508   - A new monitor command 'all_snapshots &lt;filename&gt;' dumps all<br>
1509     snapshots taken so far.<br>
1510 <br>
1511 * Helgrind:<br>
1512 <br>
1513   - Significant memory reduction and moderate speedups for<br>
1514     --history-level=full for applications accessing a lot of memory<br>
1515     with many different stacktraces.<br>
1516 <br>
1517   - The default value for --conflict-cache-size=N has been doubled to<br>
1518     2000000.  Users that were not using the default value should<br>
1519     preferably also double the value they give.<br>
1520 <br>
1521     The default was changed due to the changes in the "full history"<br>
1522     implementation.  Doubling the value gives on average a slightly more<br>
1523     complete history and uses similar memory (or significantly less memory<br>
1524     in the worst case) than the previous implementation.<br>
1525     <br>
1526   - The Helgrind monitor command 'info locks' now accepts an optional<br>
1527     argument 'lock_addr', which shows information about the lock at the<br>
1528     given address only.<br>
1529 <br>
1530   - When using --history-level=full, the new Helgrind monitor command<br>
1531     'accesshistory &lt;addr&gt; [&lt;len&gt;]' will show the recorded accesses for<br>
1532     &lt;len&gt; (or 1) bytes at &lt;addr&gt;.<br>
1533 <br>
1534 * ==================== OTHER CHANGES ====================<br>
1535 <br>
1536 * The default value for the --smc-check option has been changed from<br>
1537   "stack" to "all-non-file" on targets that provide automatic D-I<br>
1538   cache coherence (x86, amd64 and s390x).  The result is to provide,<br>
1539   by default, transparent support for JIT generated and self-modifying<br>
1540   code on all targets.<br>
1541 <br>
1542 * Mac OS X only: the default value for the --dsymutil option has been<br>
1543   changed from "no" to "yes", since any serious usage on Mac OS X<br>
1544   always required it to be "yes".<br>
1545 <br>
1546 * The command line options --db-attach and --db-command have been removed.<br>
1547   They were deprecated in 3.10.0.<br>
1548 <br>
1549 * When a process dies due to a signal, Valgrind now shows the signal<br>
1550   and the stacktrace at default verbosity (i.e. verbosity 1).<br>
1551 <br>
1552 * The address description logic used by Memcheck and Helgrind now<br>
1553   describes addresses in anonymous segments, file mmap-ed segments,<br>
1554   shared memory segments and the brk data segment.<br>
1555 <br>
1556 * The new option --error-markers=&lt;begin&gt;,&lt;end&gt; can be used to mark the<br>
1557   begin/end of errors in textual output mode, to facilitate<br>
1558   searching/extracting errors in output files that mix valgrind errors<br>
1559   with program output.<br>
1560 <br>
1561 * The new option --max-threads=&lt;number&gt; can be used to change the number<br>
1562   of threads valgrind can handle.  The default is 500 threads which<br>
1563   should be more than enough for most applications.<br>
1564 <br>
1565 * The new option --valgrind-stacksize=&lt;number&gt; can be used to change the<br>
1566   size of the private thread stacks used by Valgrind.  This is useful<br>
1567   for reducing memory use or increasing the stack size if Valgrind<br>
1568   segfaults due to stack overflow.<br>
1569 <br>
1570 * The new option --avg-transtab-entry-size=&lt;number&gt; can be used to specify<br>
1571   the expected instrumented block size, either to reduce memory use or<br>
1572   to avoid excessive retranslation.<br>
1573 <br>
1574 * Valgrind can be built with Intel's ICC compiler, version 14.0 or later.<br>
1575 <br>
1576 * New and modified GDB server monitor features:<br>
1577 <br>
1578   - When a signal is reported in GDB, you can now use the GDB convenience<br>
1579     variable $_siginfo to examine detailed signal information.<br>
1580  <br>
1581   - Valgrind's gdbserver now allows the user to change the signal<br>
1582     to deliver to the process.  So, use 'signal SIGNAL' to continue execution<br>
1583     with SIGNAL instead of the signal reported to GDB. Use 'signal 0' to<br>
1584     continue without passing the signal to the process.<br>
1585 <br>
1586   - With GDB &gt;= 7.10, the command 'target remote'<br>
1587     will automatically load the executable file of the process running<br>
1588     under Valgrind. This means you do not need to specify the executable<br>
1589     file yourself, GDB will discover it itself.  See GDB documentation about<br>
1590     'qXfer:exec-file:read' packet for more info.<br>
1591 <br>
1592 * ==================== FIXED BUGS ====================<br>
1593 <br>
1594 The following bugs have been fixed or resolved.  Note that "n-i-bz"<br>
1595 stands for "not in bugzilla" -- that is, a bug that was reported to us<br>
1596 but never got a bugzilla entry.  We encourage you to file bugs in<br>
1597 bugzilla (https://bugs.kde.org/enter_bug.cgi?product=valgrind) rather<br>
1598 than mailing the developers (or mailing lists) directly -- bugs that<br>
1599 are not entered into bugzilla tend to get forgotten about or ignored.<br>
1600 <br>
1601 To see details of a given bug, visit<br>
1602   https://bugs.kde.org/show_bug.cgi?id=XXXXXX<br>
1603 where XXXXXX is the bug number as listed below.<br>
1604 <br>
1605 116002  VG_(printf): Problems with justification of strings and integers<br>
1606 155125  avoid cutting away file:lineno after long function name<br>
1607 197259  Unsupported arch_prtctl PR_SET_GS option<br>
1608 201152  ppc64: Assertion in ppc32g_dirtyhelper_MFSPR_268_269<br>
1609 201216  Fix Valgrind does not support pthread_sigmask() on OS X<br>
1610 201435  Fix Darwin: -v does not show kernel version<br>
1611 208217  "Warning: noted but unhandled ioctl 0x2000747b" on Mac OS X<br>
1612 211256  Fixed an outdated comment regarding the default platform.<br>
1613 211529  Incomplete call stacks for code compiled by newer versions of MSVC<br>
1614 211926  Avoid compilation warnings in valgrind.h with -pedantic<br>
1615 212291  Fix unhandled syscall: unix:132 (mkfifo) on OS X<br>
1616         == 263119<br>
1617 226609  Crediting upstream authors in man page<br>
1618 231257  Valgrind omits path when executing script from shebang line<br>
1619 254164  OS X task_info: UNKNOWN task message [id 3405, to mach_task_self() [..]<br>
1620 294065  Improve the pdb file reader by avoiding hardwired absolute pathnames<br>
1621 269360  s390x: Fix addressing mode selection for compare-and-swap<br>
1622 302630  Memcheck: Assertion failed: 'sizeof(UWord) == sizeof(UInt)'<br>
1623         == 326797<br>
1624 312989  ioctl handling needs to do POST handling on generic ioctls and [..]<br>
1625 319274  Fix unhandled syscall: unix:410 (sigsuspend_nocancel) on OS X<br>
1626 324181  mmap does not handle MAP_32BIT (handle it now, rather than fail it)<br>
1627 327745  Fix valgrind 3.9.0 build fails on Mac OS X 10.6.8<br>
1628 330147  libmpiwrap PMPI_Get_count returns undefined value<br>
1629 333051  mmap of huge pages fails due to incorrect alignment<br>
1630         == 339163<br>
1631 334802  valgrind does not always explain why a given option is bad<br>
1632 335618  mov.w rN, pc/sp (ARM32)<br>
1633 335785  amd64-&gt;IR 0xC4 0xE2 0x75 0x2F (vmaskmovpd)<br>
1634         == 307399<br>
1635         == 343175<br>
1636         == 342740<br>
1637         == 346912<br>
1638 335907  segfault when running wine's ddrawex/tests/surface.c under valgrind<br>
1639 338602  AVX2 bit in CPUID missing<br>
1640 338606  Strange message for scripts with invalid interpreter<br>
1641 338731  ppc: Fix testuite build for toolchains not supporting -maltivec<br>
1642 338995  shmat with hugepages (SHM_HUGETLB) fails with EINVAL<br>
1643 339045  Getting valgrind to compile and run on OS X Yosemite (10.10)<br>
1644         == 340252<br>
1645 339156  gdbsrv not called for fatal signal<br>
1646 339215  Valgrind 3.10.0 contain 2013 in copyrights notice<br>
1647 339288  support Cavium Octeon MIPS specific BBIT*32 instructions<br>
1648 339636  Use fxsave64 and fxrstor64 mnemonics instead of old-school rex64 prefix<br>
1649 339442  Fix testsuite build failure on OS X 10.9<br>
1650 339542  Enable compilation with Intel's ICC compiler<br>
1651 339563  The DVB demux DMX_STOP ioctl doesn't have a wrapper<br>
1652 339688  Mac-specific ASM does not support .version directive (cpuid,<br>
1653         tronical and pushfpopf tests)<br>
1654 339745  Valgrind crash when check Marmalade app (partial fix)<br>
1655 339755  Fix known deliberate memory leak in setenv() on Mac OS X 10.9<br>
1656 339778  Linux/TileGx platform support for Valgrind<br>
1657 339780  Fix known uninitialised read in pthread_rwlock_init() on Mac OS X 10.9 <br>
1658 339789  Fix none/tests/execve test on Mac OS X 10.9<br>
1659 339808  Fix none/tests/rlimit64_nofile test on Mac OS X 10.9<br>
1660 339820  vex amd64-&gt;IR: 0x66 0xF 0x3A 0x63 0xA 0x42 0x74 0x9 (pcmpistri $0x42)<br>
1661 340115  Fix none/tests/cmdline[1|2] tests on systems which define TMPDIR<br>
1662 340392  Allow user to select more accurate definedness checking in memcheck<br>
1663         to avoid invalid complaints on optimised code<br>
1664 340430  Fix some grammatical weirdness in the manual.<br>
1665 341238  Recognize GCC5/DWARFv5 DW_LANG constants (Go, C11, C++11, C++14)<br>
1666 341419  Signal handler ucontext_t not filled out correctly on OS X<br>
1667 341539  VG_(describe_addr) should not describe address as belonging to client<br>
1668         segment if it is past the heap end<br>
1669 341613  Enable building of manythreads and thread-exits tests on Mac OS X<br>
1670 341615  Fix none/tests/darwin/access_extended test on Mac OS X<br>
1671 341698  Valgrind's AESKEYGENASSIST gives wrong result in words 0 and 2 [..]<br>
1672 341789  aarch64: shmat fails with valgrind on ARMv8<br>
1673 341997  MIPS64: Cavium OCTEON insns - immediate operand handled incorrectly<br>
1674 342008  valgrind.h needs type cast [..] for clang/llvm in 64-bit mode<br>
1675 342038  Unhandled syscalls on aarch64 (mbind/get/set_mempolicy)<br>
1676 342063  wrong format specifier for test mcblocklistsearch in gdbserver_tests<br>
1677 342117  Hang when loading PDB file for MSVC compiled Firefox under Wine<br>
1678 342221  socket connect false positive uninit memory for unknown af family<br>
1679 342353  Allow dumping full massif output while valgrind is still running<br>
1680 342571  Valgrind chokes on AVX compare intrinsic with _CMP_GE_QS<br>
1681         == 346476<br>
1682         == 348387<br>
1683         == 350593<br>
1684 342603  Add I2C_SMBUS ioctl support<br>
1685 342635  OS X 10.10 (Yosemite) - missing system calls and fcntl code<br>
1686 342683  Mark memory past the initial brk limit as unaddressable<br>
1687 342783  arm: unhandled instruction 0xEEFE1ACA = "vcvt.s32.f32 s3, s3, #12"<br>
1688 342795  Internal glibc __GI_mempcpy call should be intercepted<br>
1689 342841  s390x: Support instructions fiebr(a) and fidbr(a)<br>
1690 343012  Unhandled syscall 319 (memfd_create)<br>
1691 343069  Patch updating v4l2 API support<br>
1692 343173  helgrind crash during stack unwind<br>
1693 343219  fix GET_STARTREGS for arm<br>
1694 343303  Fix known deliberate memory leak in setenv() on Mac OS X 10.10<br>
1695 343306  OS X 10.10: UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option<br>
1696 343332  Unhandled instruction 0x9E310021 (fcvtmu) on aarch64<br>
1697 343335  unhandled instruction 0x1E638400 (fccmp) aarch64<br>
1698 343523  OS X mach_ports_register: UNKNOWN task message [id 3403, to [..]<br>
1699 343525  OS X host_get_special_port: UNKNOWN host message [id 412, to [..]<br>
1700 343597  ppc64le: incorrect use of offseof macro<br>
1701 343649  OS X host_create_mach_voucher: UNKNOWN host message [id 222, to [..]<br>
1702 343663  OS X 10.10  Memchecj always reports a leak regardless of [..]<br>
1703 343732  Unhandled syscall 144 (setgid) on aarch64<br>
1704 343733  Unhandled syscall 187 (msgctl and related) on aarch64<br>
1705 343802  s390x: False positive "conditional jump or move depends on [..]<br>
1706 343902  --vgdb=yes doesn't break when --xml=yes is used<br>
1707 343967  Don't warn about setuid/setgid/setcap executable for directories<br>
1708 343978  Recognize DWARF5/GCC5 DW_LANG_Fortran 2003 and 2008 constants<br>
1709 344007  accept4 syscall unhandled on arm64 (242) and ppc64 (344)<br>
1710 344033  Helgrind on ARM32 loses track of mutex state in pthread_cond_wait<br>
1711 344054  www - update info for Solaris/illumos<br>
1712 344416  'make regtest' does not work cleanly on OS X<br>
1713 344235  Remove duplicate include of pub_core_aspacemgr.h<br>
1714 344279  syscall sendmmsg on arm64 (269) and ppc32/64 (349) unhandled<br>
1715 344295  syscall recvmmsg on arm64 (243) and ppc32/64 (343) unhandled<br>
1716 344307  2 unhandled syscalls on aarch64/arm64: umount2(39), mount (40)<br>
1717 344314  callgrind_annotate ... warnings about commands containing newlines<br>
1718 344318  socketcall should wrap recvmmsg and sendmmsg<br>
1719 344337  Fix unhandled syscall: mach:41 (_kernelrpc_mach_port_guard_trap)<br>
1720 344416  Fix 'make regtest' does not work cleanly on OS X<br>
1721 344499  Fix compilation for Linux kernel &gt;= 4.0.0<br>
1722 344512  OS X: unhandled syscall: unix:348 (__pthread_chdir), <br>
1723         unix:349 (__pthread_fchdir)<br>
1724 344559  Garbage collection of unused segment names in address space manager<br>
1725 344560  Fix stack traces missing penultimate frame on OS X<br>
1726 344621  Fix memcheck/tests/err_disable4 test on OS X<br>
1727 344686  Fix suppression for pthread_rwlock_init on OS X 10.10<br>
1728 344702  Fix missing libobjc suppressions on OS X 10.10<br>
1729         == 344543<br>
1730 344936  Fix unhandled syscall: unix:473 (readlinkat) on OS X 10.10<br>
1731 344939  Fix memcheck/tests/xml1 on OS X 10.10<br>
1732 345016  helgrind/tests/locked_vs_unlocked2 is failing sometimes<br>
1733 345079  Fix build problems in VEX/useful/test_main.c<br>
1734 345126  Incorrect handling of VIDIOC_G_AUDIO and G_AUDOUT<br>
1735 345177  arm64: prfm (reg) not implemented<br>
1736 345215  Performance improvements for the register allocator<br>
1737 345248  add support for Solaris OS in valgrind<br>
1738 345338  TIOCGSERIAL and TIOCSSERIAL ioctl support on Linux<br>
1739 345394  Fix memcheck/tests/strchr on OS X<br>
1740 345637  Fix memcheck/tests/sendmsg on OS X<br>
1741 345695  Add POWERPC support for AT_DCACHESIZE and HWCAP2<br>
1742 345824  Fix aspacem segment mismatch: seen with none/tests/bigcode<br>
1743 345887  Fix an assertion in the address space manager<br>
1744 345928  amd64: callstack only contains current function for small stacks<br>
1745 345984  disInstr(arm): unhandled instruction: 0xEE193F1E<br>
1746 345987  MIPS64: Implement cavium LHX instruction<br>
1747 346031  MIPS: Implement support for the CvmCount register (rhwr %0, 31)<br>
1748 346185  Fix typo saving altivec register v24<br>
1749 346267  Compiler warnings for PPC64 code on call to LibVEX_GuestPPC64_get_XER()<br>
1750         and LibVEX_GuestPPC64_get_CR()<br>
1751 346270  Regression tests none/tests/jm_vec/isa_2_07 and<br>
1752         none/tests/test_isa_2_07_part2 have failures on PPC64 little endian<br>
1753 346307  fuse filesystem syscall deadlocks<br>
1754 346324  PPC64 missing support for lbarx, lharx, stbcx and sthcx instructions<br>
1755 346411  MIPS: SysRes::_valEx handling is incorrect<br>
1756 346416  Add support for LL_IOC_PATH2FID and LL_IOC_GETPARENT Lustre ioctls<br>
1757 346474  PPC64 Power 8, spr TEXASRU register not supported<br>
1758 346487  Compiler generates "note" about a future ABI change for PPC64<br>
1759 346562  MIPS64: lwl/lwr instructions are performing 64bit loads<br>
1760         and causing spurious "invalid read of size 8" warnings<br>
1761 346801  Fix link error on OS X: _vgModuleLocal_sf_maybe_extend_stack<br>
1762 347151  Fix suppression for pthread_rwlock_init on OS X 10.8<br>
1763 347233  Fix memcheck/tests/strchr on OS X 10.10 (Haswell) <br>
1764 347322  Power PC regression test cleanup<br>
1765 347379  valgrind --leak-check=full leak errors from system libs on OS X 10.8<br>
1766         == 217236<br>
1767 347389  unhandled syscall: 373 (Linux ARM syncfs)<br>
1768 347686  Patch set to cleanup PPC64 regtests<br>
1769 347978  Remove bash dependencies where not needed<br>
1770 347982  OS X: undefined symbols for architecture x86_64: "_global" [..]<br>
1771 347988  Memcheck: the 'impossible' happened: unexpected size for Addr (OSX/wine)<br>
1772         == 345929<br>
1773 348102  Patch updating v4l2 API support<br>
1774 348247  amd64 front end: jno jumps wrongly when overflow is not set<br>
1775 348269  Improve mmap MAP_HUGETLB support.<br>
1776 348334  (ppc) valgrind does not simulate dcbfl - then my program terminates<br>
1777 348345  Assertion fails for negative lineno<br>
1778 348377  Unsupported ARM instruction: yield<br>
1779 348565  Fix detection of command line option availability for clang<br>
1780 348574  vex amd64-&gt;IR pcmpistri SSE4.2 unsupported (pcmpistri $0x18)<br>
1781 348728  Fix broken check for VIDIOC_G_ENC_INDEX<br>
1782 348748  Fix redundant condition<br>
1783 348890  Fix clang warning about unsupported --param inline-unit-growth=900<br>
1784 348949  Bogus "ERROR: --ignore-ranges: suspiciously large range"<br>
1785 349034  Add Lustre ioctls LL_IOC_GROUP_LOCK and LL_IOC_GROUP_UNLOCK<br>
1786 349086  Fix UNKNOWN task message [id 3406, to mach_task_self(), [..]<br>
1787 349087  Fix UNKNOWN task message [id 3410, to mach_task_self(), [..]<br>
1788 349626  Implemented additional Xen hypercalls<br>
1789 349769  Clang/osx: ld: warning: -read_only_relocs cannot be used with x86_64<br>
1790 349790  Clean up of the hardware capability checking utilities.<br>
1791 349828  memcpy intercepts memmove causing src/dst overlap error (ppc64 ld.so)<br>
1792 349874  Fix typos in source code<br>
1793 349879  memcheck: add handwritten assembly for helperc_LOADV*<br>
1794 349941  di_notify_mmap might create wrong start/size DebugInfoMapping<br>
1795 350062  vex x86-&gt;IR: 0x66 0xF 0x3A 0xB (ROUNDSD) on OS X<br>
1796 350202  Add limited param to 'monitor block_list'<br>
1797 350290  s390x: Support instructions fixbr(a)<br>
1798 350359  memcheck/tests/x86/fxsave hangs indefinetely on OS X<br>
1799 350809  Fix none/tests/async-sigs for Solaris<br>
1800 350811  Remove reference to --db-attach which has been removed.<br>
1801 350813  Memcheck/x86: enable handwritten assembly helpers for x86/Solaris too<br>
1802 350854  hard-to-understand code in VG_(load_ELF)()<br>
1803 351140  arm64 syscalls setuid (146) and setresgid (149) not implemented<br>
1804 351386  Solaris: Cannot run ld.so.1 under Valgrind<br>
1805 351474  Fix VG_(iseqsigset) as obvious<br>
1806 351531  Typo in /include/vki/vki-xen-physdev.h header guard<br>
1807 351756  Intercept platform_memchr$VARIANT$Haswell on OS X<br>
1808 351858  ldsoexec support on Solaris<br>
1809 351873  Newer gcc doesn't allow __builtin_tabortdc[i] in ppc32 mode<br>
1810 352130  helgrind reports false races for printfs using mempcpy on FILE* state<br>
1811 352284  s390: Conditional jump depends on uninitialised value(s) in vfprintf <br>
1812 352320  arm64 crash on none/tests/nestedfs<br>
1813 352765  Vbit test fails on Power 6<br>
1814 352768  The mbar instruction is missing from the Power PC support<br>
1815 352769  Power PC program priority register (PPR) is not supported<br>
1816 n-i-bz  Provide implementations of certain compiler builtins to support<br>
1817         compilers that may not provide those<br>
1818 n-i-bz  Old STABS code is still being compiled, but never used. Remove it.<br>
1819 n-i-bz  Fix compilation on distros with glibc &lt; 2.5<br>
1820 n-i-bz  (vex 3098) Avoid generation of Neon insns on non-Neon hosts<br>
1821 n-i-bz  Enable rt_sigpending syscall on ppc64 linux.<br>
1822 n-i-bz  mremap did not work properly on shared memory<br>
1823 n-i-bz  Fix incorrect sizeof expression in syswrap-xen.c reported by Coverity<br>
1824 n-i-bz  In VALGRIND_PRINTF write out thread name, if any, to xml<br>
1825 <br>
1826 (3.11.0.TEST1:  8 September 2015, vex r3187, valgrind r15646)<br>
1827 (3.11.0.TEST2: 21 September 2015, vex r3193, valgrind r15667)<br>
1828 (3.11.0:       22 September 2015, vex r3195, valgrind r15674)<br>
1829 <br>
1830 <br>
1831 <br>
1832 Release 3.10.1 (25 November 2014)<br>
1833 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
1834 3.10.1 is a bug fix release.  It fixes various bugs reported in 3.10.0<br>
1835 and backports fixes for all reported missing AArch64 ARMv8 instructions<br>
1836 and syscalls from the trunk.  If you package or deliver 3.10.0 for others<br>
1837 to use, you might want to consider upgrading to 3.10.1 instead.<br>
1838 <br>
1839 The following bugs have been fixed or resolved.  Note that "n-i-bz"<br>
1840 stands for "not in bugzilla" -- that is, a bug that was reported to us<br>
1841 but never got a bugzilla entry.  We encourage you to file bugs in<br>
1842 bugzilla (https://bugs.kde.org/enter_bug.cgi?product=valgrind) rather<br>
1843 than mailing the developers (or mailing lists) directly -- bugs that<br>
1844 are not entered into bugzilla tend to get forgotten about or ignored.<br>
1845 <br>
1846 To see details of a given bug, visit<br>
1847   https://bugs.kde.org/show_bug.cgi?id=XXXXXX<br>
1848 where XXXXXX is the bug number as listed below.<br>
1849 <br>
1850 335440  arm64: ld1 (single structure) is not implemented<br>
1851 335713  arm64: unhanded instruction: prfm (immediate)<br>
1852 339020  ppc64: memcheck/tests/ppc64/power_ISA2_05 failing in nightly build<br>
1853 339182  ppc64: AvSplat ought to load destination vector register with [..]<br>
1854 339336  PPC64 store quad instruction (stq) is not supposed to change [..]<br>
1855 339433  ppc64 lxvw4x instruction uses four 32-byte loads<br>
1856 339645  Use correct tag names in sys_getdents/64 wrappers<br>
1857 339706  Fix false positive for ioctl(TIOCSIG) on linux<br>
1858 339721  assertion 'check_sibling == sibling' failed in readdwarf3.c ...<br>
1859 339853  arm64 times syscall unknown<br>
1860 339855  arm64 unhandled getsid/setsid syscalls<br>
1861 339858  arm64 dmb sy not implemented<br>
1862 339926  Unhandled instruction 0x1E674001 (frintx) on aarm64<br>
1863 339927  Unhandled instruction 0x9E7100C6 (fcvtmu) on aarch64<br>
1864 339938  disInstr(arm64): unhandled instruction 0x4F8010A4 (fmla)<br>
1865         == 339950<br>
1866 339940  arm64: unhandled syscall: 83 (sys_fdatasync) + patch<br>
1867 340033  arm64: unhandled insn dmb ishld and some other isb-dmb-dsb variants<br>
1868 340028  unhandled syscalls for arm64 (msync, pread64, setreuid and setregid)<br>
1869 340036  arm64: Unhandled instruction ld4 (multiple structures, no offset)<br>
1870 340236  arm64: unhandled syscalls: mknodat, fchdir, chroot, fchownat<br>
1871 340509  arm64: unhandled instruction fcvtas<br>
1872 340630  arm64: fchmod (52) and fchown (55) syscalls not recognized<br>
1873 340632  arm64: unhandled instruction fcvtas<br>
1874 340722  Resolve "UNKNOWN attrlist flags 0:0x10000000"<br>
1875 340725  AVX2: Incorrect decoding of vpbroadcast{b,w} reg,reg forms<br>
1876 340788  warning: unhandled syscall: 318 (getrandom)<br>
1877 340807  disInstr(arm): unhandled instruction: 0xEE989B20<br>
1878 340856  disInstr(arm64): unhandled instruction 0x1E634C45 (fcsel)<br>
1879 340922  arm64: unhandled getgroups/setgroups syscalls<br>
1880 350251  Fix typo in VEX utility program (test_main.c).<br>
1881 350407  arm64: unhandled instruction ucvtf (vector, integer)<br>
1882 350809  none/tests/async-sigs breaks when run under cron on Solaris<br>
1883 350811  update README.solaris after r15445<br>
1884 350813  Use handwritten memcheck assembly helpers on x86/Solaris [..]<br>
1885 350854  strange code in VG_(load_ELF)()<br>
1886 351140  arm64 syscalls setuid (146) and setresgid (149) not implemented<br>
1887 n-i-bz  DRD and Helgrind: Handle Imbe_CancelReservation (clrex on ARM)<br>
1888 n-i-bz  Add missing ]] to terminate CDATA.<br>
1889 n-i-bz  Glibc versions prior to 2.5 do not define PTRACE_GETSIGINFO<br>
1890 n-i-bz  Enable sys_fadvise64_64 on arm32.<br>
1891 n-i-bz  Add test cases for all remaining AArch64 SIMD, FP and memory insns.<br>
1892 n-i-bz  Add test cases for all known arm64 load/store instructions.<br>
1893 n-i-bz  PRE(sys_openat): when checking whether ARG1 == VKI_AT_FDCWD [..]<br>
1894 n-i-bz  Add detection of old ppc32 magic instructions from bug 278808.<br>
1895 n-i-bz  exp-dhat: Implement missing function "dh_malloc_usable_size".<br>
1896 n-i-bz  arm64: Implement "fcvtpu w, s".<br>
1897 n-i-bz  arm64: implement ADDP and various others<br>
1898 n-i-bz  arm64: Implement {S,U}CVTF (scalar, fixedpt).<br>
1899 n-i-bz  arm64: enable FCVT{A,N}S X,S.<br>
1900 <br>
1901 (3.10.1: 25 November 2014, vex r3026, valgrind r14785)<br>
1902 <br>
1903 <br>
1904 <br>
1905 Release 3.10.0 (10 September 2014)<br>
1906 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
1907 <br>
1908 3.10.0 is a feature release with many improvements and the usual<br>
1909 collection of bug fixes.<br>
1910 <br>
1911 This release supports X86/Linux, AMD64/Linux, ARM32/Linux, ARM64/Linux,<br>
1912 PPC32/Linux, PPC64BE/Linux, PPC64LE/Linux, S390X/Linux, MIPS32/Linux,<br>
1913 MIPS64/Linux, ARM/Android, MIPS32/Android, X86/Android, X86/MacOSX 10.9<br>
1914 and AMD64/MacOSX 10.9.  Support for MacOSX 10.8 and 10.9 is<br>
1915 significantly improved relative to the 3.9.0 release.<br>
1916 <br>
1917 * ================== PLATFORM CHANGES =================<br>
1918 <br>
1919 * Support for the 64-bit ARM Architecture (AArch64 ARMv8).  This port<br>
1920   is mostly complete, and is usable, but some SIMD instructions are as<br>
1921   yet unsupported.<br>
1922 <br>
1923 * Support for little-endian variant of the 64-bit POWER architecture.<br>
1924 <br>
1925 * Support for Android on MIPS32.<br>
1926 <br>
1927 * Support for 64bit FPU on MIPS32 platforms.<br>
1928 <br>
1929 * Both 32- and 64-bit executables are supported on MacOSX 10.8 and 10.9.<br>
1930 <br>
1931 * Configuration for and running on Android targets has changed.<br>
1932   See README.android in the source tree for details.<br>
1933 <br>
1934 * ================== DEPRECATED FEATURES =================<br>
1935 <br>
1936 * --db-attach is now deprecated and will be removed in the next<br>
1937   valgrind feature release.  The built-in GDB server capabilities are<br>
1938   superior and should be used instead. Learn more here:<br>
1939   http://valgrind.org/docs/manual/manual-core-adv.html#manual-core-adv.gdbserver<br>
1940 <br>
1941 * ==================== TOOL CHANGES ====================<br>
1942 <br>
1943 * Memcheck:<br>
1944 <br>
1945   - Client code can now selectively disable and re-enable reporting of<br>
1946     invalid address errors in specific ranges using the new client<br>
1947     requests VALGRIND_DISABLE_ADDR_ERROR_REPORTING_IN_RANGE and<br>
1948     VALGRIND_ENABLE_ADDR_ERROR_REPORTING_IN_RANGE.<br>
1949 <br>
1950   - Leak checker: there is a new leak check heuristic called<br>
1951     "length64".  This is used to detect interior pointers pointing 8<br>
1952     bytes inside a block, on the assumption that the first 8 bytes<br>
1953     holds the value "block size - 8".  This is used by<br>
1954     sqlite3MemMalloc, for example.<br>
1955 <br>
1956   - Checking of system call parameters: if a syscall parameter<br>
1957     (e.g. bind struct sockaddr, sendmsg struct msghdr, ...) has<br>
1958     several fields not initialised, an error is now reported for each<br>
1959     field. Previously, an error was reported only for the first<br>
1960     uninitialised field.<br>
1961 <br>
1962   - Mismatched alloc/free checking: a new flag<br>
1963     --show-mismatched-frees=no|yes [yes] makes it possible to turn off<br>
1964     such checks if necessary.<br>
1965 <br>
1966 * Helgrind:<br>
1967 <br>
1968   - Improvements to error messages:<br>
1969 <br>
1970     o Race condition error message involving heap allocated blocks also<br>
1971       show the thread number that allocated the raced-on block.<br>
1972 <br>
1973     o All locks referenced by an error message are now announced.<br>
1974       Previously, some error messages only showed the lock addresses.<br>
1975 <br>
1976     o The message indicating where a lock was first observed now also<br>
1977       describes the address/location of the lock.<br>
1978 <br>
1979   - Helgrind now understands the Ada task termination rules and<br>
1980     creates a happens-before relationship between a terminated task<br>
1981     and its master.  This avoids some false positives and avoids a big<br>
1982     memory leak when a lot of Ada tasks are created and terminated.<br>
1983     The interceptions are only activated with forthcoming releases of<br>
1984     gnatpro &gt;= 7.3.0w-20140611 and gcc &gt;= 5.0.<br>
1985 <br>
1986   - A new GDB server monitor command "info locks" giving the list of<br>
1987     locks, their location, and their status.<br>
1988 <br>
1989 * Callgrind:<br>
1990 <br>
1991   - callgrind_control now supports the --vgdb-prefix argument,<br>
1992     which is needed if valgrind was started with this same argument.<br>
1993 <br>
1994 * ==================== OTHER CHANGES ====================<br>
1995 <br>
1996 * Unwinding through inlined function calls.  Stack unwinding can now<br>
1997   make use of Dwarf3 inlined-unwind information if it is available.<br>
1998   The practical effect is that inlined calls become visible in stack<br>
1999   traces.  The suppression matching machinery has been adjusted<br>
2000   accordingly.  This is controlled by the new option<br>
2001   --read-inline-info=yes|no.  Currently this is enabled by default<br>
2002   only on Linux and Android targets and only for the tools Memcheck,<br>
2003   Helgrind and DRD.<br>
2004 <br>
2005 * Valgrind can now read EXIDX unwind information on 32-bit ARM<br>
2006   targets.  If an object contains both CFI and EXIDX unwind<br>
2007   information, Valgrind will prefer the CFI over the EXIDX.  This<br>
2008   facilitates unwinding through system libraries on arm-android<br>
2009   targets.<br>
2010 <br>
2011 * Address description logic has been improved and is now common<br>
2012   between Memcheck and Helgrind, resulting in better address<br>
2013   descriptions for some kinds of error messages.<br>
2014 <br>
2015 * Error messages about dubious arguments (eg, to malloc or calloc) are<br>
2016   output like other errors.  This means that they can be suppressed<br>
2017   and they have a stack trace.<br>
2018 <br>
2019 * The C++ demangler has been updated for better C++11 support.<br>
2020 <br>
2021 * New and modified GDB server monitor features:<br>
2022 <br>
2023   - Thread local variables/storage (__thread) can now be displayed.<br>
2024 <br>
2025   - The GDB server monitor command "v.info location &lt;address&gt;"<br>
2026     displays information about an address.  The information produced<br>
2027     depends on the tool and on the options given to valgrind.<br>
2028     Possibly, the following are described: global variables, local<br>
2029     (stack) variables, allocated or freed blocks, ...<br>
2030 <br>
2031   - The option "--vgdb-stop-at=event1,event2,..." allows the user to<br>
2032     ask the GDB server to stop at the start of program execution, at<br>
2033     the end of the program execution and on Valgrind internal errors.<br>
2034 <br>
2035   - A new monitor command "v.info stats" shows various Valgrind core<br>
2036     and tool statistics.<br>
2037 <br>
2038   - A new monitor command "v.set hostvisibility" allows the GDB server<br>
2039     to provide access to Valgrind internal host status/memory.<br>
2040 <br>
2041 * A new option "--aspace-minaddr=&lt;address&gt;" can in some situations<br>
2042   allow the use of more memory by decreasing the address above which<br>
2043   Valgrind maps memory.  It can also be used to solve address<br>
2044   conflicts with system libraries by increasing the default value.<br>
2045   See user manual for details.<br>
2046 <br>
2047 * The amount of memory used by Valgrind to store debug info (unwind<br>
2048   info, line number information and symbol data) has been<br>
2049   significantly reduced, even though Valgrind now reads more<br>
2050   information in order to support unwinding of inlined function calls.<br>
2051 <br>
2052 * Dwarf3 handling with --read-var-info=yes has been improved:<br>
2053 <br>
2054   - Ada and C struct containing VLAs no longer cause a "bad DIE" error<br>
2055 <br>
2056   - Code compiled with<br>
2057     -ffunction-sections -fdata-sections -Wl,--gc-sections<br>
2058     no longer causes assertion failures.<br>
2059 <br>
2060 * Improved checking for the --sim-hints= and --kernel-variant=<br>
2061   options.  Unknown strings are now detected and reported to the user<br>
2062   as a usage error.<br>
2063 <br>
2064 * The semantics of stack start/end boundaries in the valgrind.h<br>
2065   VALGRIND_STACK_REGISTER client request has been clarified and<br>
2066   documented.  The convention is that start and end are respectively<br>
2067   the lowest and highest addressable bytes of the stack.<br>
2068 <br>
2069 * ==================== FIXED BUGS ====================<br>
2070 <br>
2071 The following bugs have been fixed or resolved.  Note that "n-i-bz"<br>
2072 stands for "not in bugzilla" -- that is, a bug that was reported to us<br>
2073 but never got a bugzilla entry.  We encourage you to file bugs in<br>
2074 bugzilla (https://bugs.kde.org/enter_bug.cgi?product=valgrind) rather<br>
2075 than mailing the developers (or mailing lists) directly -- bugs that<br>
2076 are not entered into bugzilla tend to get forgotten about or ignored.<br>
2077 <br>
2078 To see details of a given bug, visit<br>
2079   https://bugs.kde.org/show_bug.cgi?id=XXXXXX<br>
2080 where XXXXXX is the bug number as listed below.<br>
2081 <br>
2082 175819  Support for ipv6 socket reporting with --track-fds<br>
2083 232510  make distcheck fails<br>
2084 249435  Analyzing wine programs with callgrind triggers a crash<br>
2085 278972  support for inlined function calls in stacktraces and suppression<br>
2086         == 199144<br>
2087 291310  FXSAVE instruction marks memory as undefined on amd64<br>
2088 303536  ioctl for SIOCETHTOOL (ethtool(8)) isn't wrapped<br>
2089 308729  vex x86-&gt;IR: unhandled instruction bytes 0xf 0x5 (syscall) <br>
2090 315199  vgcore file for threaded app does not show which thread crashed<br>
2091 315952  tun/tap ioctls are not supported<br>
2092 323178  Unhandled instruction: PLDW register (ARM) <br>
2093 323179  Unhandled instruction: PLDW immediate (ARM)<br>
2094 324050  Helgrind: SEGV because of unaligned stack when using movdqa<br>
2095 325110  Add test-cases for Power ISA 2.06 insns: divdo/divdo. and divduo/divduo.<br>
2096 325124  [MIPSEL] Compilation error<br>
2097 325477  Phase 4 support for IBM Power ISA 2.07<br>
2098 325538  cavium octeon mips64, valgrind reported "dumping core" [...]<br>
2099 325628  Phase 5 support for IBM Power ISA 2.07<br>
2100 325714  Empty vgcore but RLIMIT_CORE is big enough (too big) <br>
2101 325751  Missing the two privileged Power PC Transactional Memory Instructions<br>
2102 325816  Phase 6 support for IBM Power ISA 2.07<br>
2103 325856  Make SGCheck fail gracefully on unsupported platforms<br>
2104 326026  Iop names for count leading zeros/sign bits incorrectly imply [..]<br>
2105 326436  DRD: False positive in libstdc++ std::list::push_back<br>
2106 326444  Cavium MIPS Octeon Specific Load Indexed Instructions<br>
2107 326462  Refactor vgdb to isolate invoker stuff into separate module<br>
2108 326469  amd64-&gt;IR: 0x66 0xF 0x3A 0x63 0xC1 0xE (pcmpistri 0x0E)<br>
2109 326623  DRD: false positive conflict report in a field assignment<br>
2110 326724  Valgrind does not compile on OSX 1.9 Mavericks<br>
2111 326816  Intercept for __strncpy_sse2_unaligned missing?<br>
2112 326921  coregrind fails to compile m_trampoline.S with MIPS/Linux port of V<br>
2113 326983  Clear direction flag after tests on amd64.<br>
2114 327212  Do not prepend the current directory to absolute path names.<br>
2115 327223  Support for Cavium MIPS Octeon Atomic and Count Instructions<br>
2116 327238  Callgrind Assertion 'passed &lt;= last_bb-&gt;cjmp_count' failed<br>
2117 327284  s390x: Fix translation of the risbg instruction<br>
2118 327639  vex amd64-&gt;IR pcmpestri SSE4.2 instruction is unsupported 0x34<br>
2119 327837  dwz compressed alternate .debug_info and .debug_str not read correctly<br>
2120 327916  DW_TAG_typedef may have no name<br>
2121 327943  s390x: add a redirection for the 'index' function<br>
2122 328100  XABORT not implemented<br>
2123 328205  Implement additional Xen hypercalls<br>
2124 328454  add support Backtraces with ARM unwind tables (EXIDX)<br>
2125 328455  s390x: SIGILL after emitting wrong register pair for ldxbr<br>
2126 328711  valgrind.1 manpage "memcheck options" section is badly generated<br>
2127 328878  vex amd64-&gt;IR pcmpestri SSE4.2 instruction is unsupported 0x14<br>
2128 329612  Incorrect handling of AT_BASE for image execution <br>
2129 329694  clang warns about using uninitialized variable <br>
2130 329956  valgrind crashes when lmw/stmw instructions are used on ppc64<br>
2131 330228  mmap must align to VKI_SHMLBA on mips32<br>
2132 330257  LLVM does not support `-mno-dynamic-no-pic` option<br>
2133 330319  amd64-&gt;IR: unhandled instruction bytes: 0xF 0x1 0xD5 (xend)<br>
2134 330459  --track-fds=yes doesn't track eventfds<br>
2135 330469  Add clock_adjtime syscall support<br>
2136 330594  Missing sysalls on PowerPC / uClibc<br>
2137 330622  Add test to regression suite for POWER instruction: dcbzl<br>
2138 330939  Support for AMD's syscall instruction on x86<br>
2139         == 308729<br>
2140 330941  Typo in PRE(poll) syscall wrapper<br>
2141 331057  unhandled instruction: 0xEEE01B20 (vfma.f64) (has patch)<br>
2142 331254  Fix expected output for memcheck/tests/dw4<br>
2143 331255  Fix race condition in test none/tests/coolo_sigaction<br>
2144 331257  Fix type of jump buffer in test none/tests/faultstatus<br>
2145 331305  configure uses bash specific syntax<br>
2146 331337  s390x WARNING: unhandled syscall: 326 (dup3)<br>
2147 331380  Syscall param timer_create(evp) points to uninitialised byte(s)<br>
2148 331476  Patch to handle ioctl 0x5422 on Linux (x86 and amd64)<br>
2149 331829  Unexpected ioctl opcode sign extension<br>
2150 331830  ppc64: WARNING: unhandled syscall: 96/97<br>
2151 331839  drd/tests/sem_open specifies invalid semaphore name <br>
2152 331847  outcome of drd/tests/thread_name is nondeterministic<br>
2153 332037  Valgrind cannot handle Thumb "add pc, reg"<br>
2154 332055  drd asserts on platforms with VG_STACK_REDZONE_SZB == 0 and<br>
2155         consistency checks enabled<br>
2156 332263  intercepts for pthread_rwlock_timedrdlock and<br>
2157         pthread_rwlock_timedwrlock are incorrect<br>
2158 332265  drd could do with post-rwlock_init and pre-rwlock_destroy<br>
2159         client requests<br>
2160 332276  Implement additional Xen hypercalls<br>
2161 332658  ldrd.w r1, r2, [PC, #imm] does not adjust for 32bit alignment<br>
2162 332765  Fix ms_print to create temporary files in a proper directory<br>
2163 333072  drd: Add semaphore annotations<br>
2164 333145  Tests for missaligned PC+#imm access for arm<br>
2165 333228  AAarch64 Missing instruction encoding: mrs %[reg], ctr_el0<br>
2166 333230  AAarch64 missing instruction encodings: dc, ic, dsb.<br>
2167 333248  WARNING: unhandled syscall: unix:443<br>
2168 333428  ldr.w pc [rD, #imm] instruction leads to assertion<br>
2169 333501  cachegrind: assertion: Cache set count is not a power of two.<br>
2170         == 336577<br>
2171         == 292281<br>
2172 333666  Recognize MPX instructions and bnd prefix.<br>
2173 333788  Valgrind does not support the CDROM_DISC_STATUS ioctl (has patch)<br>
2174 333817  Valgrind reports the memory areas written to by the SG_IO<br>
2175         ioctl as untouched<br>
2176 334049  lzcnt fails silently (x86_32)<br>
2177 334384  Valgrind does not have support Little Endian support for<br>
2178         IBM POWER PPC 64<br>
2179 334585  recvmmsg unhandled (+patch) (arm)<br>
2180 334705  sendmsg and recvmsg should guard against bogus msghdr fields.<br>
2181 334727  Build fails with -Werror=format-security<br>
2182 334788  clarify doc about --log-file initial program directory<br>
2183 334834  PPC64 Little Endian support, patch 2<br>
2184 334836  PPC64 Little Endian support, patch 3 testcase fixes<br>
2185 334936  patch to fix false positives on alsa SNDRV_CTL_* ioctls<br>
2186 335034  Unhandled ioctl: HCIGETDEVLIST<br>
2187 335155  vgdb, fix error print statement.<br>
2188 335262  arm64: movi 8bit version is not supported<br>
2189 335263  arm64: dmb instruction is not implemented<br>
2190 335441  unhandled ioctl 0x8905 (SIOCATMARK) when running wine under valgrind<br>
2191 335496  arm64: sbc/abc instructions are not implemented<br>
2192 335554  arm64: unhandled instruction: abs<br>
2193 335564  arm64: unhandled instruction: fcvtpu  Xn, Sn<br>
2194 335735  arm64: unhandled instruction: cnt<br>
2195 335736  arm64: unhandled instruction: uaddlv<br>
2196 335848  arm64: unhandled instruction: {s,u}cvtf<br>
2197 335902  arm64: unhandled instruction: sli<br>
2198 335903  arm64: unhandled instruction: umull (vector)<br>
2199 336055  arm64: unhandled instruction: mov (element)<br>
2200 336062  arm64: unhandled instruction: shrn{,2}<br>
2201 336139  mip64: [...] valgrind hangs and spins on a single core [...]<br>
2202 336189  arm64: unhandled Instruction: mvn<br>
2203 336435  Valgrind hangs in pthread_spin_lock consuming 100% CPU<br>
2204 336619  valgrind --read-var-info=yes doesn't handle DW_TAG_restrict_type<br>
2205 336772  Make moans about unknown ioctls more informative<br>
2206 336957  Add a section about the Solaris/illumos port on the webpage<br>
2207 337094  ifunc wrapper is broken on ppc64<br>
2208 337285  fcntl commands F_OFD_SETLK, F_OFD_SETLKW, and F_OFD_GETLK not supported<br>
2209 337528  leak check heuristic for block prefixed by length as 64bit number<br>
2210 337740  Implement additional Xen hypercalls<br>
2211 337762  guest_arm64_toIR.c:4166 (dis_ARM64_load_store): Assertion `0' failed.<br>
2212 337766  arm64-linux: unhandled syscalls mlock (228) and mlockall (230)<br>
2213 337871  deprecate --db-attach<br>
2214 338023  Add support for all V4L2/media ioctls<br>
2215 338024  inlined functions are not shown if DW_AT_ranges is used<br>
2216 338106  Add support for 'kcmp' syscall<br>
2217 338115  DRD: computed conflict set differs from actual after fork<br>
2218 338160  implement display of thread local storage in gdbsrv<br>
2219 338205  configure.ac and check for -Wno-tautological-compare<br>
2220 338300  coredumps are missing one byte of every segment<br>
2221 338445  amd64 vbit-test fails with unknown opcodes used by arm64 VEX<br>
2222 338499  --sim-hints parsing broken due to wrong order in tokens<br>
2223 338615  suppress glibc 2.20 optimized strcmp implementation for ARMv7<br>
2224 338681  Unable to unwind through clone thread created on i386-linux<br>
2225 338698  race condition between gdbsrv and vgdb on startup<br>
2226 338703  helgrind on arm-linux gets false positives in dynamic loader<br>
2227 338791  alt dwz files can be relative of debug/main file<br>
2228 338878  on MacOS: assertion 'VG_IS_PAGE_ALIGNED(clstack_end+1)' failed<br>
2229 338932  build V-trunk with gcc-trunk<br>
2230 338974  glibc 2.20 changed size of struct sigaction sa_flags field on s390<br>
2231 345079  Fix build problems in VEX/useful/test_main.c<br>
2232 n-i-bz  Fix KVM_CREATE_IRQCHIP ioctl handling<br>
2233 n-i-bz  s390x: Fix memory corruption for multithreaded applications<br>
2234 n-i-bz  vex arm-&gt;IR: allow PC as basereg in some LDRD cases<br>
2235 n-i-bz  internal error in Valgrind if vgdb transmit signals when ptrace invoked<br>
2236 n-i-bz  Fix mingw64 support in valgrind.h (dev@, 9 May 2014)<br>
2237 n-i-bz  drd manual: Document how to C++11 programs that use class "std::thread"<br>
2238 n-i-bz  Add command-line option --default-suppressions<br>
2239 n-i-bz  Add support for BLKDISCARDZEROES ioctl<br>
2240 n-i-bz  ppc32/64: fix a regression with the mtfsb0/mtfsb1 instructions<br>
2241 n-i-bz  Add support for sys_pivot_root and sys_unshare<br>
2242 <br>
2243 (3.10.0.BETA1:  2 September 2014, vex r2940, valgrind r14428)<br>
2244 (3.10.0.BETA2:  8 September 2014, vex r2950, valgrind r14503)<br>
2245 (3.10.0:       10 September 2014, vex r2950, valgrind r14514)<br>
2246 <br>
2247 <br>
2248 <br>
2249 Release 3.9.0 (31 October 2013)<br>
2250 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
2251 3.9.0 is a feature release with many improvements and the usual<br>
2252 collection of bug fixes.<br>
2253 <br>
2254 This release supports X86/Linux, AMD64/Linux, ARM/Linux, PPC32/Linux,<br>
2255 PPC64/Linux, S390X/Linux, MIPS32/Linux, MIPS64/Linux, ARM/Android,<br>
2256 X86/Android, X86/MacOSX 10.7 and AMD64/MacOSX 10.7.  Support for<br>
2257 MacOSX 10.8 is significantly improved relative to the 3.8.0 release.<br>
2258 <br>
2259 * ================== PLATFORM CHANGES =================<br>
2260 <br>
2261 * Support for MIPS64 LE and BE running Linux.  Valgrind has been<br>
2262   tested on MIPS64 Debian Squeeze and Debian Wheezy distributions.<br>
2263 <br>
2264 * Support for MIPS DSP ASE on MIPS32 platforms.<br>
2265 <br>
2266 * Support for s390x Decimal Floating Point instructions on hosts that<br>
2267   have the DFP facility installed.<br>
2268 <br>
2269 * Support for POWER8 (Power ISA 2.07) instructions<br>
2270 <br>
2271 * Support for Intel AVX2 instructions.  This is available only on 64<br>
2272   bit code.<br>
2273 <br>
2274 * Initial support for Intel Transactional Synchronization Extensions,<br>
2275   both RTM and HLE.<br>
2276 <br>
2277 * Initial support for Hardware Transactional Memory on POWER.<br>
2278 <br>
2279 * Improved support for MacOSX 10.8 (64-bit only).  Memcheck can now<br>
2280   run large GUI apps tolerably well.<br>
2281 <br>
2282 * ==================== TOOL CHANGES ====================<br>
2283 <br>
2284 * Memcheck:<br>
2285 <br>
2286   - Improvements in handling of vectorised code, leading to<br>
2287     significantly fewer false error reports.  You need to use the flag<br>
2288     --partial-loads-ok=yes to get the benefits of these changes.<br>
2289 <br>
2290   - Better control over the leak checker.  It is now possible to<br>
2291     specify which leak kinds (definite/indirect/possible/reachable)<br>
2292     should be displayed, which should be regarded as errors, and which<br>
2293     should be suppressed by a given leak suppression.  This is done<br>
2294     using the options --show-leak-kinds=kind1,kind2,..,<br>
2295     --errors-for-leak-kinds=kind1,kind2,.. and an optional<br>
2296     "match-leak-kinds:" line in suppression entries, respectively.<br>
2297 <br>
2298     Note that generated leak suppressions contain this new line and<br>
2299     are therefore more specific than in previous releases.  To get the<br>
2300     same behaviour as previous releases, remove the "match-leak-kinds:"<br>
2301     line from generated suppressions before using them.<br>
2302 <br>
2303   - Reduced "possible leak" reports from the leak checker by the use<br>
2304     of better heuristics.  The available heuristics provide detection<br>
2305     of valid interior pointers to std::stdstring, to new[] allocated<br>
2306     arrays with elements having destructors and to interior pointers<br>
2307     pointing to an inner part of a C++ object using multiple<br>
2308     inheritance.  They can be selected individually using the<br>
2309     option --leak-check-heuristics=heur1,heur2,...<br>
2310 <br>
2311   - Better control of stacktrace acquisition for heap-allocated<br>
2312     blocks.  Using the --keep-stacktraces option, it is possible to<br>
2313     control independently whether a stack trace is acquired for each<br>
2314     allocation and deallocation.  This can be used to create better<br>
2315     "use after free" errors or to decrease Valgrind's resource<br>
2316     consumption by recording less information.<br>
2317 <br>
2318   - Better reporting of leak suppression usage.  The list of used<br>
2319     suppressions (shown when the -v option is given) now shows, for<br>
2320     each leak suppressions, how many blocks and bytes it suppressed<br>
2321     during the last leak search.<br>
2322 <br>
2323 * Helgrind:<br>
2324 <br>
2325   - False errors resulting from the use of statically initialised<br>
2326     mutexes and condition variables (PTHREAD_MUTEX_INITIALISER, etc)<br>
2327     have been removed.<br>
2328 <br>
2329   - False errors resulting from the use of pthread_cond_waits that<br>
2330     timeout, have been removed.<br>
2331 <br>
2332 * ==================== OTHER CHANGES ====================<br>
2333 <br>
2334 * Some attempt to tune Valgrind's space requirements to the expected<br>
2335   capabilities of the target:<br>
2336 <br>
2337   - The default size of the translation cache has been reduced from 8<br>
2338     sectors to 6 on Android platforms, since each sector occupies<br>
2339     about 40MB when using Memcheck.<br>
2340 <br>
2341   - The default size of the translation cache has been increased to 16<br>
2342     sectors on all other platforms, reflecting the fact that large<br>
2343     applications require instrumentation and storage of huge amounts<br>
2344     of code.  For similar reasons, the number of memory mapped<br>
2345     segments that can be tracked has been increased by a factor of 6.<br>
2346 <br>
2347   - In all cases, the maximum number of sectors in the translation<br>
2348     cache can be controlled by the new flag --num-transtab-sectors.<br>
2349 <br>
2350 * Changes in how debug info (line numbers, etc) is read:<br>
2351 <br>
2352   - Valgrind no longer temporarily mmaps the entire object to read<br>
2353     from it.  Instead, reading is done through a small fixed sized<br>
2354     buffer.  This avoids virtual memory usage spikes when Valgrind<br>
2355     reads debuginfo from large shared objects.<br>
2356 <br>
2357   - A new experimental remote debug info server.  Valgrind can read<br>
2358     debug info from a different machine (typically, a build host)<br>
2359     where debuginfo objects are stored.  This can save a lot of time<br>
2360     and hassle when running Valgrind on resource-constrained targets<br>
2361     (phones, tablets) when the full debuginfo objects are stored<br>
2362     somewhere else.  This is enabled by the --debuginfo-server=<br>
2363     option.<br>
2364 <br>
2365   - Consistency checking between main and debug objects can be<br>
2366     disabled using the --allow-mismatched-debuginfo option.<br>
2367 <br>
2368 * Stack unwinding by stack scanning, on ARM.  Unwinding by stack<br>
2369   scanning can recover stack traces in some cases when the normal<br>
2370   unwind mechanisms fail.  Stack scanning is best described as "a<br>
2371   nasty, dangerous and misleading hack" and so is disabled by default.<br>
2372   Use --unw-stack-scan-thresh and --unw-stack-scan-frames to enable<br>
2373   and control it.<br>
2374 <br>
2375 * Detection and merging of recursive stack frame cycles.  When your<br>
2376   program has recursive algorithms, this limits the memory used by<br>
2377   Valgrind for recorded stack traces and avoids recording<br>
2378   uninteresting repeated calls.  This is controlled by the command<br>
2379   line option --merge-recursive-frame and by the monitor command<br>
2380   "v.set merge-recursive-frames".<br>
2381 <br>
2382 * File name and line numbers for used suppressions.  The list of used<br>
2383   suppressions (shown when the -v option is given) now shows, for each<br>
2384   used suppression, the file name and line number where the suppression<br>
2385   is defined.<br>
2386 <br>
2387 * New and modified GDB server monitor features:<br>
2388 <br>
2389   - valgrind.h has a new client request, VALGRIND_MONITOR_COMMAND,<br>
2390     that can be used to execute gdbserver monitor commands from the<br>
2391     client program.<br>
2392 <br>
2393   - A new monitor command, "v.info open_fds", that gives the list of<br>
2394     open file descriptors and additional details.<br>
2395 <br>
2396   - An optional message in the "v.info n_errs_found" monitor command,<br>
2397     for example "v.info n_errs_found test 1234 finished", allowing a<br>
2398     comment string to be added to the process output, perhaps for the<br>
2399     purpose of separating errors of different tests or test phases.<br>
2400 <br>
2401   - A new monitor command "v.info execontext" that shows information<br>
2402     about the stack traces recorded by Valgrind.<br>
2403 <br>
2404   - A new monitor command "v.do expensive_sanity_check_general" to run<br>
2405     some internal consistency checks.<br>
2406 <br>
2407 * New flag --sigill-diagnostics to control whether a diagnostic<br>
2408   message is printed when the JIT encounters an instruction it can't<br>
2409   translate.  The actual behavior -- delivery of SIGILL to the<br>
2410   application -- is unchanged.<br>
2411 <br>
2412 * The maximum amount of memory that Valgrind can use on 64 bit targets<br>
2413   has been increased from 32GB to 64GB.  This should make it possible<br>
2414   to run applications on Memcheck that natively require up to about 35GB.<br>
2415 <br>
2416 * ==================== FIXED BUGS ====================<br>
2417 <br>
2418 The following bugs have been fixed or resolved.  Note that "n-i-bz"<br>
2419 stands for "not in bugzilla" -- that is, a bug that was reported to us<br>
2420 but never got a bugzilla entry.  We encourage you to file bugs in<br>
2421 bugzilla (https://bugs.kde.org/enter_bug.cgi?product=valgrind) rather<br>
2422 than mailing the developers (or mailing lists) directly -- bugs that<br>
2423 are not entered into bugzilla tend to get forgotten about or ignored.<br>
2424 <br>
2425 To see details of a given bug, visit<br>
2426   https://bugs.kde.org/show_bug.cgi?id=XXXXXX<br>
2427 where XXXXXX is the bug number as listed below.<br>
2428 <br>
2429 123837  system call: 4th argument is optional, depending on cmd<br>
2430 135425  memcheck should tell you where Freed blocks were Mallocd<br>
2431 164485  VG_N_SEGNAMES and VG_N_SEGMENTS are (still) too small<br>
2432 207815  Adds some of the drm ioctls to syswrap-linux.c <br>
2433 251569  vex amd64-&gt;IR: 0xF 0x1 0xF9 0xBF 0x90 0xD0 0x3 0x0 (RDTSCP)<br>
2434 252955  Impossible to compile with ccache<br>
2435 253519  Memcheck reports auxv pointer accesses as invalid reads.<br>
2436 263034  Crash when loading some PPC64 binaries<br>
2437 269599  Increase deepest backtrace<br>
2438 274695  s390x: Support "compare to/from logical" instructions (z196)<br>
2439 275800  s390x: Autodetect cache info (part 2)<br>
2440 280271  Valgrind reports possible memory leaks on still-reachable std::string<br>
2441 284540  Memcheck shouldn't count suppressions matching still-reachable [..]<br>
2442 289578  Backtraces with ARM unwind tables (stack scan flags)<br>
2443 296311  Wrong stack traces due to -fomit-frame-pointer (x86) <br>
2444 304832  ppc32: build failure<br>
2445 305431  Use find_buildid shdr fallback for separate .debug files<br>
2446 305728  Add support for AVX2 instructions<br>
2447 305948  ppc64: code generation for ShlD64 / ShrD64 asserts<br>
2448 306035  s390x: Fix IR generation for LAAG and friends<br>
2449 306054  s390x: Condition code computation for convert-to-int/logical<br>
2450 306098  s390x: alternate opcode form for convert to/from fixed<br>
2451 306587  Fix cache line detection from auxiliary vector for PPC.<br>
2452 306783  Mips unhandled syscall :  4025  /  4079  / 4182<br>
2453 307038  DWARF2 CFI reader: unhandled DW_OP_ opcode 0x8 (DW_OP_const1u et al)<br>
2454 307082  HG false positive: pthread_cond_destroy: destruction of unknown CV<br>
2455 307101  sys_capget second argument can be NULL<br>
2456 307103  sys_openat: If pathname is absolute, then dirfd is ignored.<br>
2457 307106  amd64-&gt;IR: f0 0f c0 02 (lock xadd byte)<br>
2458 307113  s390x: DFP support<br>
2459 307141  valgrind does't work in mips-linux system<br>
2460 307155  filter_gdb should filter out syscall-template.S T_PSEUDO<br>
2461 307285  x86_amd64 feature test for avx in test suite is wrong<br>
2462 307290  memcheck overlap testcase needs memcpy version filter<br>
2463 307463  Please add "&amp;limit=0" to the "all open bugs" link<br>
2464 307465  --show-possibly-lost=no should reduce the error count / exit code<br>
2465 307557  Leaks on Mac OS X 10.7.5 libraries at ImageLoader::recursiveInit[..]<br>
2466 307729  pkgconfig support broken valgrind.pc<br>
2467 307828  Memcheck false errors SSE optimized wcscpy, wcscmp, wcsrchr, wcschr<br>
2468 307955  Building valgrind 3.7.0-r4 fails in Gentoo AMD64 when using clang<br>
2469 308089  Unhandled syscall on ppc64: prctl<br>
2470 308135  PPC32 MPC8xx has 16 bytes cache size<br>
2471 308321  testsuite memcheck filter interferes with gdb_filter <br>
2472 308333 == 307106<br>
2473 308341  vgdb should report process exit (or fatal signal)<br>
2474 308427  s390 memcheck reports tsearch cjump/cmove depends on uninit<br>
2475 308495  Remove build dependency on installed Xen headers<br>
2476 308573  Internal error on 64-bit instruction executed in 32-bit mode<br>
2477 308626  == 308627<br>
2478 308627  pmovmskb validity bit propagation is imprecise<br>
2479 308644  vgdb command for having the info for the track-fds option<br>
2480 308711  give more info about aspacemgr and arenas in out_of_memory<br>
2481 308717  ARM: implement fixed-point VCVT.F64.[SU]32<br>
2482 308718  ARM implement SMLALBB family of instructions<br>
2483 308886  Missing support for PTRACE_SET/GETREGSET <br>
2484 308930  syscall name_to_handle_at (303 on amd64) not handled<br>
2485 309229  V-bit tester does not report number of tests generated<br>
2486 309323  print unrecognized instuction on MIPS<br>
2487 309425  Provide a --sigill-diagnostics flag to suppress illegal [..]<br>
2488 309427  SSE optimized stpncpy trigger uninitialised value [..] errors<br>
2489 309430  Self hosting ppc64 encounters a vassert error on operand type<br>
2490 309600  valgrind is a bit confused about 0-sized sections<br>
2491 309823  Generate errors for still reachable blocks<br>
2492 309921  PCMPISTRI validity bit propagation is imprecise<br>
2493 309922  none/tests/ppc64/test_dfp5 sometimes fails<br>
2494 310169  The Iop_CmpORD class of Iops is not supported by the vbit checker.<br>
2495 310424  --read-var-info does not properly describe static variables <br>
2496 310792  search additional path for debug symbols<br>
2497 310931  s390x: Message-security assist (MSA) instruction extension [..]<br>
2498 311100  PPC DFP implementation of the integer operands is inconsistent [..]<br>
2499 311318  ARM: "128-bit constant is not implemented" error message<br>
2500 311407  ssse3 bcopy (actually converted memcpy) causes invalid read [..]<br>
2501 311690  V crashes because it redirects branches inside of a redirected function<br>
2502 311880  x86_64: make regtest hangs at shell_valid1<br>
2503 311922  WARNING: unhandled syscall: 170<br>
2504 311933  == 251569<br>
2505 312171  ppc: insn selection for DFP<br>
2506 312571  Rounding mode call wrong for the DFP Iops [..]<br>
2507 312620  Change to Iop_D32toD64 [..] for s390 DFP support broke ppc [..]<br>
2508 312913  Dangling pointers error should also report the alloc stack trace<br>
2509 312980  Building on Mountain Lion generates some compiler warnings<br>
2510 313267  Adding MIPS64/Linux port to Valgrind<br>
2511 313348  == 251569<br>
2512 313354  == 251569<br>
2513 313811  Buffer overflow in assert_fail<br>
2514 314099  coverity pointed out error in VEX guest_ppc_toIR.c insn_suffix<br>
2515 314269  ppc: dead code in insn selection<br>
2516 314718  ARM: implement integer divide instruction (sdiv and udiv)<br>
2517 315345  cl-format.xml and callgrind/dump.c don't agree on using cfl= or cfi=<br>
2518 315441  sendmsg syscall should ignore unset msghdr msg_flags<br>
2519 315534  msgrcv inside a thread causes valgrind to hang (block)<br>
2520 315545  Assertion '(UChar*)sec-&gt;tt[tteNo].tcptr &lt;= (UChar*)hcode' failed<br>
2521 315689  disInstr(thumb): unhandled instruction: 0xF852 0x0E10 (LDRT)<br>
2522 315738  disInstr(arm): unhandled instruction: 0xEEBE0BEE (vcvt.s32.f64)<br>
2523 315959  valgrind man page has bogus SGCHECK (and no BBV) OPTIONS section<br>
2524 316144  valgrind.1 manpage contains unknown ??? strings [..]<br>
2525 316145  callgrind command line options in manpage reference (unknown) [..]<br>
2526 316145  callgrind command line options in manpage reference [..]<br>
2527 316181  drd: Fixed a 4x slowdown for certain applications<br>
2528 316503  Valgrind does not support SSE4 "movntdqa" instruction<br>
2529 316535  Use of |signed int| instead of |size_t| in valgrind messages<br>
2530 316696   fluidanimate program of parsec 2.1 stuck <br>
2531 316761  syscall open_by_handle_at (304 on amd64, 342 on x86) not handled<br>
2532 317091  Use -Wl,-Ttext-segment when static linking if possible [..]<br>
2533 317186  "Impossible happens" when occurs VCVT instruction on ARM<br>
2534 317318  Support for Threading Building Blocks "scalable_malloc"<br>
2535 317444  amd64-&gt;IR: 0xC4 0x41 0x2C 0xC2 0xD2 0x8 (vcmpeq_uqps)<br>
2536 317461  Fix BMI assembler configure check and avx2/bmi/fma vgtest prereqs<br>
2537 317463  bmi testcase IR SANITY CHECK FAILURE<br>
2538 317506  memcheck/tests/vbit-test fails with unknown opcode after [..]<br>
2539 318050  libmpiwrap fails to compile with out-of-source build<br>
2540 318203  setsockopt handling needs to handle SOL_SOCKET/SO_ATTACH_FILTER<br>
2541 318643  annotate_trace_memory tests infinite loop on arm and ppc [..]<br>
2542 318773  amd64-&gt;IR: 0xF3 0x48 0x0F 0xBC 0xC2 0xC3 0x66 0x0F<br>
2543 318929  Crash with: disInstr(thumb): 0xF321 0x0001 (ssat16)<br>
2544 318932  Add missing PPC64 and PPC32 system call support<br>
2545 319235  --db-attach=yes is broken with Yama (ptrace scoping) enabled<br>
2546 319395  Crash with unhandled instruction on STRT (Thumb) instructions<br>
2547 319494  VEX Makefile-gcc standalone build update after r2702<br>
2548 319505  [MIPSEL] Crash: unhandled UNRAY operator.<br>
2549 319858  disInstr(thumb): unhandled instruction on instruction STRBT<br>
2550 319932  disInstr(thumb): unhandled instruction on instruction STRHT<br>
2551 320057  Problems when we try to mmap more than 12 memory pages on MIPS32<br>
2552 320063  Memory from PTRACE_GET_THREAD_AREA is reported uninitialised<br>
2553 320083  disInstr(thumb): unhandled instruction on instruction LDRBT<br>
2554 320116  bind on AF_BLUETOOTH produces warnings because of sockaddr_rc padding<br>
2555 320131  WARNING: unhandled syscall: 369 on ARM (prlimit64)<br>
2556 320211  Stack buffer overflow in ./coregrind/m_main.c with huge TMPDIR<br>
2557 320661  vgModuleLocal_read_elf_debug_info(): "Assertion '!di-&gt;soname'<br>
2558 320895  add fanotify support (patch included)<br>
2559 320998  vex amd64-&gt;IR pcmpestri and pcmpestrm SSE4.2 instruction<br>
2560 321065  Valgrind updates for Xen 4.3<br>
2561 321148  Unhandled instruction: PLI (Thumb 1, 2, 3)<br>
2562 321363  Unhandled instruction: SSAX (ARM + Thumb)<br>
2563 321364  Unhandled instruction: SXTAB16 (ARM + Thumb)<br>
2564 321466  Unhandled instruction: SHASX (ARM + Thumb)<br>
2565 321467  Unhandled instruction: SHSAX (ARM + Thumb)<br>
2566 321468  Unhandled instruction: SHSUB16 (ARM + Thumb)<br>
2567 321619  Unhandled instruction: SHSUB8 (ARM + Thumb)<br>
2568 321620  Unhandled instruction: UASX (ARM + Thumb)<br>
2569 321621  Unhandled instruction: USAX (ARM + Thumb)<br>
2570 321692  Unhandled instruction: UQADD16 (ARM + Thumb)<br>
2571 321693  Unhandled instruction: LDRSBT (Thumb)<br>
2572 321694  Unhandled instruction: UQASX (ARM + Thumb)<br>
2573 321696  Unhandled instruction: UQSAX (Thumb + ARM)<br>
2574 321697  Unhandled instruction: UHASX (ARM + Thumb)<br>
2575 321703  Unhandled instruction: UHSAX (ARM + Thumb)<br>
2576 321704  Unhandled instruction: REVSH (ARM + Thumb)<br>
2577 321730  Add cg_diff and cg_merge man pages<br>
2578 321738  Add vgdb and valgrind-listener man pages<br>
2579 321814  == 315545<br>
2580 321891  Unhandled instruction: LDRHT (Thumb)<br>
2581 321960  pthread_create() then alloca() causing invalid stack write errors<br>
2582 321969  ppc32 and ppc64 don't support [lf]setxattr<br>
2583 322254  Show threadname together with tid if set by application<br>
2584 322294  Add initial support for IBM Power ISA 2.07<br>
2585 322368  Assertion failure in wqthread_hijack under OS X 10.8<br>
2586 322563  vex mips-&gt;IR: 0x70 0x83 0xF0 0x3A<br>
2587 322807  VALGRIND_PRINTF_BACKTRACE writes callstack to xml and text to stderr<br>
2588 322851  0bXXX binary literal syntax is not standard <br>
2589 323035  Unhandled instruction: LDRSHT(Thumb)<br>
2590 323036  Unhandled instruction: SMMLS (ARM and Thumb)<br>
2591 323116  The memcheck/tests/ppc64/power_ISA2_05.c fails to build [..]<br>
2592 323175  Unhandled instruction: SMLALD (ARM + Thumb)<br>
2593 323177  Unhandled instruction: SMLSLD (ARM + Thumb)<br>
2594 323432  Calling pthread_cond_destroy() or pthread_mutex_destroy() [..]<br>
2595 323437  Phase 2 support for IBM Power ISA 2.07<br>
2596 323713  Support mmxext (integer sse) subset on i386 (athlon)<br>
2597 323803  Transactional memory instructions are not supported for Power<br>
2598 323893  SSE3 not available on amd cpus in valgrind<br>
2599 323905  Probable false positive from Valgrind/drd on close()<br>
2600 323912  valgrind.h header isn't compatible for mingw64<br>
2601 324047  Valgrind doesn't support [LDR,ST]{S}[B,H]T ARM instructions<br>
2602 324149  helgrind: When pthread_cond_timedwait returns ETIMEDOUT [..]<br>
2603 324181  mmap does not handle MAP_32BIT<br>
2604 324227  memcheck false positive leak when a thread calls exit+block [..]<br>
2605 324421  Support for fanotify API on ARM architecture<br>
2606 324514  gdbserver monitor cmd output behaviour consistency [..]<br>
2607 324518  ppc64: Emulation of dcbt instructions does not handle [..]<br>
2608 324546  none/tests/ppc32 test_isa_2_07_part2 requests -m64<br>
2609 324582  When access is made to freed memory, report both allocation [..]<br>
2610 324594  Fix overflow computation for Power ISA 2.06 insns: mulldo/mulldo.<br>
2611 324765  ppc64: illegal instruction when executing none/tests/ppc64/jm-misc<br>
2612 324816  Incorrect VEX implementation for xscvspdp/xvcvspdp for SNaN inputs<br>
2613 324834  Unhandled instructions in Microsoft C run-time for x86_64<br>
2614 324894  Phase 3 support for IBM Power ISA 2.07<br>
2615 326091  drd: Avoid false race reports from optimized strlen() impls<br>
2616 326113  valgrind libvex hwcaps error on AMD64 <br>
2617 n-i-bz  Some wrong command line options could be ignored<br>
2618 n-i-bz  patch to allow fair-sched on android<br>
2619 n-i-bz  report error for vgdb snapshot requested before execution<br>
2620 n-i-bz  same as 303624 (fixed in 3.8.0), but for x86 android<br>
2621 <br>
2622 (3.9.0: 31 October 2013, vex r2796, valgrind r13708)<br>
2623 <br>
2624 <br>
2625 <br>
2626 Release 3.8.1 (19 September 2012)<br>
2627 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
2628 3.8.1 is a bug fix release.  It fixes some assertion failures in 3.8.0<br>
2629 that occur moderately frequently in real use cases, adds support for<br>
2630 some missing instructions on ARM, and fixes a deadlock condition on<br>
2631 MacOSX.  If you package or deliver 3.8.0 for others to use, you might<br>
2632 want to consider upgrading to 3.8.1 instead.<br>
2633 <br>
2634 The following bugs have been fixed or resolved.  Note that "n-i-bz"<br>
2635 stands for "not in bugzilla" -- that is, a bug that was reported to us<br>
2636 but never got a bugzilla entry.  We encourage you to file bugs in<br>
2637 bugzilla (https://bugs.kde.org/enter_bug.cgi?product=valgrind) rather<br>
2638 than mailing the developers (or mailing lists) directly -- bugs that<br>
2639 are not entered into bugzilla tend to get forgotten about or ignored.<br>
2640 <br>
2641 To see details of a given bug, visit<br>
2642   https://bugs.kde.org/show_bug.cgi?id=XXXXXX<br>
2643 where XXXXXX is the bug number as listed below.<br>
2644 <br>
2645 284004  == 301281<br>
2646 289584  Unhandled instruction: 0xF 0x29 0xE5 (MOVAPS)<br>
2647 295808  amd64-&gt;IR: 0xF3 0xF 0xBC 0xC0 (TZCNT)<br>
2648 298281  wcslen causes false(?) uninitialised value warnings<br>
2649 301281  valgrind hangs on OS X when the process calls system()<br>
2650 304035  disInstr(arm): unhandled instruction 0xE1023053<br>
2651 304867  implement MOVBE instruction in x86 mode<br>
2652 304980  Assertion 'lo &lt;= hi' failed in vgModuleLocal_find_rx_mapping<br>
2653 305042  amd64: implement 0F 7F encoding of movq between two registers<br>
2654 305199  ARM: implement QDADD and QDSUB<br>
2655 305321  amd64-&gt;IR: 0xF 0xD 0xC (prefetchw)<br>
2656 305513  killed by fatal signal: SIGSEGV<br>
2657 305690  DRD reporting invalid semaphore when sem_trywait fails<br>
2658 305926  Invalid alignment checks for some AVX instructions<br>
2659 306297  disInstr(thumb): unhandled instruction 0xE883 0x000C<br>
2660 306310  3.8.0 release tarball missing some files<br>
2661 306612  RHEL 6 glibc-2.X default suppressions need /lib*/libc-*patterns<br>
2662 306664  vex amd64-&gt;IR: 0x66 0xF 0x3A 0x62 0xD1 0x46 0x66 0xF<br>
2663 n-i-bz  shmat of a segment &gt; 4Gb does not work <br>
2664 n-i-bz  simulate_control_c script wrong USR1 signal number on mips<br>
2665 n-i-bz  vgdb ptrace calls wrong on mips [...]<br>
2666 n-i-bz  Fixes for more MPI false positives<br>
2667 n-i-bz  exp-sgcheck's memcpy causes programs to segfault<br>
2668 n-i-bz  OSX build w/ clang: asserts at startup<br>
2669 n-i-bz  Incorrect undef'dness prop for Iop_DPBtoBCD and Iop_BCDtoDPB<br>
2670 n-i-bz  fix a couple of union tag-vs-field mixups<br>
2671 n-i-bz  OSX: use __NR_poll_nocancel rather than __NR_poll<br>
2672 <br>
2673 The following bugs were fixed in 3.8.0 but not listed in this NEWS<br>
2674 file at the time:<br>
2675 <br>
2676 254088  Valgrind should know about UD2 instruction<br>
2677 301280  == 254088<br>
2678 301902  == 254088<br>
2679 304754  NEWS blows TeX's little mind<br>
2680 <br>
2681 (3.8.1: 19 September 2012, vex r2537, valgrind r12996)<br>
2682 <br>
2683 <br>
2684 <br>
2685 Release 3.8.0 (10 August 2012)<br>
2686 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
2687 3.8.0 is a feature release with many improvements and the usual<br>
2688 collection of bug fixes.<br>
2689 <br>
2690 This release supports X86/Linux, AMD64/Linux, ARM/Linux, PPC32/Linux,<br>
2691 PPC64/Linux, S390X/Linux, MIPS/Linux, ARM/Android, X86/Android,<br>
2692 X86/MacOSX 10.6/10.7 and AMD64/MacOSX 10.6/10.7.  Support for recent<br>
2693 distros and toolchain components (glibc 2.16, gcc 4.7) has been added.<br>
2694 There is initial support for MacOSX 10.8, but it is not usable for<br>
2695 serious work at present.<br>
2696 <br>
2697 * ================== PLATFORM CHANGES =================<br>
2698 <br>
2699 * Support for MIPS32 platforms running Linux.  Valgrind has been<br>
2700   tested on MIPS32 and MIPS32r2 platforms running different Debian<br>
2701   Squeeze and MeeGo distributions.  Both little-endian and big-endian<br>
2702   cores are supported.  The tools Memcheck, Massif and Lackey have<br>
2703   been tested and are known to work. See README.mips for more details.<br>
2704 <br>
2705 * Preliminary support for Android running on x86.<br>
2706 <br>
2707 * Preliminary (as-yet largely unusable) support for MacOSX 10.8.<br>
2708 <br>
2709 * Support for Intel AVX instructions and for AES instructions.  This<br>
2710   support is available only for 64 bit code.<br>
2711 <br>
2712 * Support for POWER Decimal Floating Point instructions.<br>
2713 <br>
2714 * ==================== TOOL CHANGES ====================<br>
2715 <br>
2716 * Non-libc malloc implementations are now supported.  This is useful<br>
2717   for tools that replace malloc (Memcheck, Massif, DRD, Helgrind).<br>
2718   Using the new option --soname-synonyms, such tools can be informed<br>
2719   that the malloc implementation is either linked statically into the<br>
2720   executable, or is present in some other shared library different<br>
2721   from libc.so.  This makes it possible to process statically linked<br>
2722   programs, and programs using other malloc libraries, for example<br>
2723   TCMalloc or JEMalloc.<br>
2724 <br>
2725 * For tools that provide their own replacement for malloc et al, the<br>
2726   option --redzone-size=&lt;number&gt; allows users to specify the size of<br>
2727   the padding blocks (redzones) added before and after each client<br>
2728   allocated block.  Smaller redzones decrease the memory needed by<br>
2729   Valgrind.  Bigger redzones increase the chance to detect blocks<br>
2730   overrun or underrun.  Prior to this change, the redzone size was<br>
2731   hardwired to 16 bytes in Memcheck.<br>
2732 <br>
2733 * Memcheck:<br>
2734 <br>
2735   - The leak_check GDB server monitor command now can<br>
2736     control the maximum nr of loss records to output.<br>
2737 <br>
2738   - Reduction of memory use for applications allocating<br>
2739     many blocks and/or having many partially defined bytes.<br>
2740 <br>
2741   - Addition of GDB server monitor command 'block_list' that lists<br>
2742     the addresses/sizes of the blocks of a leak search loss record.<br>
2743 <br>
2744   - Addition of GDB server monitor command 'who_points_at' that lists<br>
2745     the locations pointing at a block.<br>
2746 <br>
2747   - If a redzone size &gt; 0 is given, VALGRIND_MALLOCLIKE_BLOCK now will<br>
2748     detect an invalid access of these redzones, by marking them<br>
2749     noaccess.  Similarly, if a redzone size is given for a memory<br>
2750     pool, VALGRIND_MEMPOOL_ALLOC will mark the redzones no access.<br>
2751     This still allows to find some bugs if the user has forgotten to<br>
2752     mark the pool superblock noaccess.<br>
2753 <br>
2754   - Performance of memory leak check has been improved, especially in<br>
2755     cases where there are many leaked blocks and/or many suppression<br>
2756     rules used to suppress leak reports.<br>
2757 <br>
2758   - Reduced noise (false positive) level on MacOSX 10.6/10.7, due to<br>
2759     more precise analysis, which is important for LLVM/Clang<br>
2760     generated code.  This is at the cost of somewhat reduced<br>
2761     performance.  Note there is no change to analysis precision or<br>
2762     costs on Linux targets.<br>
2763 <br>
2764 * DRD:<br>
2765 <br>
2766   - Added even more facilities that can help finding the cause of a data<br>
2767     race, namely the command-line option --ptrace-addr and the macro<br>
2768     DRD_STOP_TRACING_VAR(x). More information can be found in the manual.<br>
2769 <br>
2770   - Fixed a subtle bug that could cause false positive data race reports.<br>
2771 <br>
2772 * ==================== OTHER CHANGES ====================<br>
2773 <br>
2774 * The C++ demangler has been updated so as to work well with C++ <br>
2775   compiled by up to at least g++ 4.6.<br>
2776 <br>
2777 * Tool developers can make replacement/wrapping more flexible thanks<br>
2778   to the new option --soname-synonyms.  This was reported above, but<br>
2779   in fact is very general and applies to all function<br>
2780   replacement/wrapping, not just to malloc-family functions.<br>
2781 <br>
2782 * Round-robin scheduling of threads can be selected, using the new<br>
2783   option --fair-sched= yes.  Prior to this change, the pipe-based<br>
2784   thread serialisation mechanism (which is still the default) could<br>
2785   give very unfair scheduling.  --fair-sched=yes improves<br>
2786   responsiveness of interactive multithreaded applications, and<br>
2787   improves repeatability of results from the thread checkers Helgrind<br>
2788   and DRD.<br>
2789 <br>
2790 * For tool developers: support to run Valgrind on Valgrind has been<br>
2791   improved.  We can now routinely Valgrind on Helgrind or Memcheck.<br>
2792 <br>
2793 * gdbserver now shows the float shadow registers as integer<br>
2794   rather than float values, as the shadow values are mostly<br>
2795   used as bit patterns.<br>
2796 <br>
2797 * Increased limit for the --num-callers command line flag to 500.<br>
2798 <br>
2799 * Performance improvements for error matching when there are many<br>
2800   suppression records in use.<br>
2801 <br>
2802 * Improved support for DWARF4 debugging information (bug 284184).<br>
2803 <br>
2804 * Initial support for DWZ compressed Dwarf debug info.<br>
2805 <br>
2806 * Improved control over the IR optimiser's handling of the tradeoff<br>
2807   between performance and precision of exceptions.  Specifically,<br>
2808   --vex-iropt-precise-memory-exns has been removed and replaced by<br>
2809   --vex-iropt-register-updates, with extended functionality.  This<br>
2810   allows the Valgrind gdbserver to always show up to date register<br>
2811   values to GDB.<br>
2812 <br>
2813 * Modest performance gains through the use of translation chaining for<br>
2814   JIT-generated code.<br>
2815 <br>
2816 * ==================== FIXED BUGS ====================<br>
2817 <br>
2818 The following bugs have been fixed or resolved.  Note that "n-i-bz"<br>
2819 stands for "not in bugzilla" -- that is, a bug that was reported to us<br>
2820 but never got a bugzilla entry.  We encourage you to file bugs in<br>
2821 bugzilla (https://bugs.kde.org/enter_bug.cgi?product=valgrind) rather<br>
2822 than mailing the developers (or mailing lists) directly -- bugs that<br>
2823 are not entered into bugzilla tend to get forgotten about or ignored.<br>
2824 <br>
2825 To see details of a given bug, visit<br>
2826   https://bugs.kde.org/show_bug.cgi?id=XXXXXX<br>
2827 where XXXXXX is the bug number as listed below.<br>
2828 <br>
2829 197914  Building valgrind from svn now requires automake-1.10<br>
2830 203877  increase to 16Mb maximum allowed alignment for memalign et al<br>
2831 219156  Handle statically linked malloc or other malloc lib (e.g. tcmalloc) <br>
2832 247386  make perf does not run all performance tests<br>
2833 270006  Valgrind scheduler unfair <br>
2834 270777  Adding MIPS/Linux port to Valgrind<br>
2835 270796  s390x: Removed broken support for the TS insn<br>
2836 271438  Fix configure for proper SSE4.2 detection<br>
2837 273114  s390x: Support TR, TRE, TROO, TROT, TRTO, and TRTT instructions<br>
2838 273475  Add support for AVX instructions<br>
2839 274078  improved configure logic for mpicc<br>
2840 276993  fix mremap 'no thrash checks' <br>
2841 278313  Fedora 15/x64: err read debug info with --read-var-info=yes flag<br>
2842 281482  memcheck incorrect byte allocation count in realloc() for silly argument<br>
2843 282230  group allocator for small fixed size, use it for MC_Chunk/SEc vbit<br>
2844 283413  Fix wrong sanity check<br>
2845 283671  Robustize alignment computation in LibVEX_Alloc<br>
2846 283961  Adding support for some HCI IOCTLs<br>
2847 284124  parse_type_DIE: confused by: DWARF 4<br>
2848 284864  == 273475 (Add support for AVX instructions)<br>
2849 285219  Too-restrictive constraints for Thumb2 "SP plus/minus register"<br>
2850 285662  (MacOSX): Memcheck needs to replace memcpy/memmove<br>
2851 285725  == 273475 (Add support for AVX instructions)<br>
2852 286261  add wrapper for linux I2C_RDWR ioctl<br>
2853 286270  vgpreload is not friendly to 64-&gt;32 bit execs, gives ld.so warnings<br>
2854 286374  Running cachegrind with --branch-sim=yes on 64-bit PowerPC program fails<br>
2855 286384  configure fails "checking for a supported version of gcc"<br>
2856 286497  == 273475 (Add support for AVX instructions)<br>
2857 286596  == 273475 (Add support for AVX instructions)<br>
2858 286917  disInstr(arm): unhandled instruction: QADD (also QSUB)<br>
2859 287175  ARM: scalar VFP fixed-point VCVT instructions not handled<br>
2860 287260  Incorrect conditional jump or move depends on uninitialised value(s)<br>
2861 287301  vex amd64-&gt;IR: 0x66 0xF 0x38 0x41 0xC0 0xB8 0x0 0x0 (PHMINPOSUW)<br>
2862 287307  == 273475 (Add support for AVX instructions)<br>
2863 287858  VG_(strerror): unknown error <br>
2864 288298  (MacOSX) unhandled syscall shm_unlink<br>
2865 288995  == 273475 (Add support for AVX instructions)<br>
2866 289470  Loading of large Mach-O thin binaries fails.<br>
2867 289656  == 273475 (Add support for AVX instructions)<br>
2868 289699  vgdb connection in relay mode erroneously closed due to buffer overrun <br>
2869 289823  ==  293754 (PCMPxSTRx not implemented for 16-bit characters)<br>
2870 289839  s390x: Provide support for unicode conversion instructions<br>
2871 289939  monitor cmd 'leak_check' with details about leaked or reachable blocks<br>
2872 290006  memcheck doesn't mark %xmm as initialized after "pcmpeqw %xmm %xmm"<br>
2873 290655  Add support for AESKEYGENASSIST instruction <br>
2874 290719  valgrind-3.7.0 fails with automake-1.11.2 due to"pkglibdir" usage<br>
2875 290974  vgdb must align pages to VKI_SHMLBA (16KB) on ARM <br>
2876 291253  ES register not initialised in valgrind simulation<br>
2877 291568  Fix 3DNOW-related crashes with baseline x86_64 CPU (w patch)<br>
2878 291865  s390x: Support the "Compare Double and Swap" family of instructions<br>
2879 292300  == 273475 (Add support for AVX instructions)<br>
2880 292430  unrecognized instruction in __intel_get_new_mem_ops_cpuid<br>
2881 292493  == 273475 (Add support for AVX instructions)<br>
2882 292626  Missing fcntl F_SETOWN_EX and F_GETOWN_EX support<br>
2883 292627  Missing support for some SCSI ioctls<br>
2884 292628  none/tests/x86/bug125959-x86.c triggers undefined behavior<br>
2885 292841  == 273475 (Add support for AVX instructions)<br>
2886 292993  implement the getcpu syscall on amd64-linux<br>
2887 292995  Implement the “cross memory attach” syscalls introduced in Linux 3.2<br>
2888 293088  Add some VEX sanity checks for ppc64 unhandled instructions<br>
2889 293751  == 290655 (Add support for AESKEYGENASSIST instruction)<br>
2890 293754  PCMPxSTRx not implemented for 16-bit characters<br>
2891 293755  == 293754 (No tests for PCMPxSTRx on 16-bit characters)<br>
2892 293808  CLFLUSH not supported by latest VEX for amd64<br>
2893 294047  valgrind does not correctly emulate prlimit64(..., RLIMIT_NOFILE, ...)<br>
2894 294048  MPSADBW instruction not implemented<br>
2895 294055  regtest none/tests/shell fails when locale is not set to C<br>
2896 294185  INT 0x44 (and others) not supported on x86 guest, but used by Jikes RVM<br>
2897 294190  --vgdb-error=xxx can be out of sync with errors shown to the user<br>
2898 294191  amd64: fnsave/frstor and 0x66 size prefixes on FP instructions<br>
2899 294260  disInstr_AMD64: disInstr miscalculated next %rip<br>
2900 294523  --partial-loads-ok=yes causes false negatives<br>
2901 294617  vex amd64-&gt;IR: 0x66 0xF 0x3A 0xDF 0xD1 0x1 0xE8 0x6A<br>
2902 294736  vex amd64-&gt;IR: 0x48 0xF 0xD7 0xD6 0x48 0x83<br>
2903 294812  patch allowing to run (on x86 at least) helgrind/drd on tool.<br>
2904 295089  can not annotate source for both helgrind and drd<br>
2905 295221  POWER Processor decimal floating point instruction support missing<br>
2906 295427  building for i386 with clang on darwin11 requires "-new_linker linker"<br>
2907 295428  coregrind/m_main.c has incorrect x86 assembly for darwin<br>
2908 295590  Helgrind: Assertion 'cvi-&gt;nWaiters &gt; 0' failed<br>
2909 295617  ARM - Add some missing syscalls<br>
2910 295799  Missing \n with get_vbits in gdbserver when line is % 80 [...]<br>
2911 296229  Linux user input device ioctls missing wrappers<br>
2912 296318  ELF Debug info improvements (more than one rx/rw mapping)<br>
2913 296422  Add translation chaining support<br>
2914 296457  vex amd64-&gt;IR: 0x66 0xF 0x3A 0xDF 0xD1 0x1 0xE8 0x6A (dup of AES)<br>
2915 296792  valgrind 3.7.0: add SIOCSHWTSTAMP (0x89B0) ioctl wrapper<br>
2916 296983  Fix build issues on x86_64/ppc64 without 32-bit toolchains<br>
2917 297078  gdbserver signal handling problems [..]<br>
2918 297147  drd false positives on newly allocated memory<br>
2919 297329  disallow decoding of IBM Power DFP insns on some machines<br>
2920 297497  POWER Processor decimal floating point instruction support missing<br>
2921 297701  Another alias for strncasecmp_l in libc-2.13.so<br>
2922 297911  'invalid write' not reported when using APIs for custom mem allocators.<br>
2923 297976  s390x: revisit EX implementation<br>
2924 297991  Valgrind interferes with mmap()+ftell() <br>
2925 297992  Support systems missing WIFCONTINUED (e.g. pre-2.6.10 Linux) <br>
2926 297993  Fix compilation of valgrind with gcc -g3.<br>
2927 298080  POWER Processor DFP support missing, part 3<br>
2928 298227  == 273475 (Add support for AVX instructions)<br>
2929 298335  == 273475 (Add support for AVX instructions)<br>
2930 298354  Unhandled ARM Thumb instruction 0xEB0D 0x0585 (streq)<br>
2931 298394  s390x: Don't bail out on an unknown machine model.  [..]<br>
2932 298421  accept4() syscall (366) support is missing for ARM<br>
2933 298718  vex amd64-&gt;IR: 0xF 0xB1 0xCB 0x9C 0x8F 0x45<br>
2934 298732  valgrind installation problem in ubuntu with kernel version 3.x<br>
2935 298862  POWER Processor DFP instruction support missing, part 4<br>
2936 298864  DWARF reader mis-parses DW_FORM_ref_addr<br>
2937 298943  massif asserts with --pages-as-heap=yes when brk is changing [..]<br>
2938 299053  Support DWARF4 DW_AT_high_pc constant form<br>
2939 299104  == 273475 (Add support for AVX instructions)<br>
2940 299316  Helgrind: hg_main.c:628 (map_threads_lookup): Assertion 'thr' failed.<br>
2941 299629  dup3() syscall (358) support is missing for ARM<br>
2942 299694  POWER Processor DFP instruction support missing, part 5<br>
2943 299756  Ignore --free-fill for MEMPOOL_FREE and FREELIKE client requests<br>
2944 299803  == 273475 (Add support for AVX instructions)<br>
2945 299804  == 273475 (Add support for AVX instructions)<br>
2946 299805  == 273475 (Add support for AVX instructions)<br>
2947 300140  ARM - Missing (T1) SMMUL<br>
2948 300195  == 296318 (ELF Debug info improvements (more than one rx/rw mapping))<br>
2949 300389  Assertion `are_valid_hwcaps(VexArchAMD64, [..])' failed.<br>
2950 300414  FCOM and FCOMP unimplemented for amd64 guest<br>
2951 301204  infinite loop in canonicaliseSymtab with ifunc symbol<br>
2952 301229  == 203877 (increase to 16Mb maximum allowed alignment for memalign etc)<br>
2953 301265  add x86 support to Android build <br>
2954 301984  configure script doesn't detect certain versions of clang<br>
2955 302205  Fix compiler warnings for POWER VEX code and POWER test cases<br>
2956 302287  Unhandled movbe instruction on Atom processors<br>
2957 302370  PPC: fnmadd, fnmsub, fnmadds, fnmsubs insns always negate the result<br>
2958 302536  Fix for the POWER Valgrind regression test: memcheck-ISA2.0.<br>
2959 302578  Unrecognized isntruction 0xc5 0x32 0xc2 0xca 0x09 vcmpngess<br>
2960 302656  == 273475 (Add support for AVX instructions)<br>
2961 302709  valgrind for ARM needs extra tls support for android emulator [..]<br>
2962 302827  add wrapper for CDROM_GET_CAPABILITY<br>
2963 302901  Valgrind crashes with dwz optimized debuginfo<br>
2964 302918  Enable testing of the vmaddfp and vnsubfp instructions in the testsuite<br>
2965 303116  Add support for the POWER instruction popcntb<br>
2966 303127  Power test suite fixes for frsqrte, vrefp, and vrsqrtefp instructions.<br>
2967 303250  Assertion `instrs_in-&gt;arr_used &lt;= 10000' failed w/ OpenSSL code<br>
2968 303466  == 273475 (Add support for AVX instructions)<br>
2969 303624  segmentation fault on Android 4.1 (e.g. on Galaxy Nexus OMAP) <br>
2970 303963  strstr() function produces wrong results under valgrind callgrind<br>
2971 304054  CALL_FN_xx macros need to enforce stack alignment<br>
2972 304561  tee system call not supported<br>
2973 715750  (MacOSX): Incorrect invalid-address errors near 0xFFFFxxxx (mozbug#)<br>
2974 n-i-bz  Add missing gdbserver xml files for shadow registers for ppc32<br>
2975 n-i-bz  Bypass gcc4.4/4.5 code gen bugs causing out of memory or asserts<br>
2976 n-i-bz  Fix assert in gdbserver for watchpoints watching the same address<br>
2977 n-i-bz  Fix false positive in sys_clone on amd64 when optional args [..]<br>
2978 n-i-bz  s390x: Shadow registers can now be examined using vgdb<br>
2979 <br>
2980 (3.8.0-TEST3:  9 August 2012, vex r2465, valgrind r12865)<br>
2981 (3.8.0:       10 August 2012, vex r2465, valgrind r12866)<br>
2982 <br>
2983 <br>
2984 <br>
2985 Release 3.7.0 (5 November 2011)<br>
2986 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
2987 3.7.0 is a feature release with many significant improvements and the<br>
2988 usual collection of bug fixes.<br>
2989 <br>
2990 This release supports X86/Linux, AMD64/Linux, ARM/Linux, PPC32/Linux,<br>
2991 PPC64/Linux, S390X/Linux, ARM/Android, X86/Darwin and AMD64/Darwin.<br>
2992 Support for recent distros and toolchain components (glibc 2.14, gcc<br>
2993 4.6, MacOSX 10.7) has been added.<br>
2994 <br>
2995 * ================== PLATFORM CHANGES =================<br>
2996 <br>
2997 * Support for IBM z/Architecture (s390x) running Linux.  Valgrind can<br>
2998   analyse 64-bit programs running on z/Architecture.  Most user space<br>
2999   instructions up to and including z10 are supported.  Valgrind has<br>
3000   been tested extensively on z9, z10, and z196 machines running SLES<br>
3001   10/11, RedHat 5/6m, and Fedora. The Memcheck and Massif tools are<br>
3002   known to work well. Callgrind, Helgrind, and DRD work reasonably<br>
3003   well on z9 and later models. See README.s390 for more details.<br>
3004 <br>
3005 * Preliminary support for MacOSX 10.7 and XCode 4.  Both 32- and<br>
3006   64-bit processes are supported.  Some complex threaded applications<br>
3007   (Firefox) are observed to hang when run as 32 bit applications,<br>
3008   whereas 64-bit versions run OK.  The cause is unknown.  Memcheck<br>
3009   will likely report some false errors.  In general, expect some rough<br>
3010   spots.  This release also supports MacOSX 10.6, but drops support<br>
3011   for 10.5.<br>
3012 <br>
3013 * Preliminary support for Android (on ARM).  Valgrind can now run<br>
3014   large applications (eg, Firefox) on (eg) a Samsung Nexus S.  See<br>
3015   README.android for more details, plus instructions on how to get<br>
3016   started.<br>
3017 <br>
3018 * Support for the IBM Power ISA 2.06 (Power7 instructions)<br>
3019 <br>
3020 * General correctness and performance improvements for ARM/Linux, and,<br>
3021   by extension, ARM/Android.<br>
3022 <br>
3023 * Further solidification of support for SSE 4.2 in 64-bit mode.  AVX<br>
3024   instruction set support is under development but is not available in<br>
3025   this release.<br>
3026 <br>
3027 * Support for AIX5 has been removed.<br>
3028 <br>
3029 * ==================== TOOL CHANGES ====================<br>
3030 <br>
3031 * Memcheck: some incremental changes:<br>
3032 <br>
3033   - reduction of memory use in some circumstances<br>
3034 <br>
3035   - improved handling of freed memory, which in some circumstances <br>
3036     can cause detection of use-after-free that would previously have<br>
3037     been missed<br>
3038 <br>
3039   - fix of a longstanding bug that could cause false negatives (missed<br>
3040     errors) in programs doing vector saturated narrowing instructions.<br>
3041 <br>
3042 * Helgrind: performance improvements and major memory use reductions,<br>
3043   particularly for large, long running applications which perform many<br>
3044   synchronisation (lock, unlock, etc) events.  Plus many smaller<br>
3045   changes:<br>
3046 <br>
3047   - display of locksets for both threads involved in a race<br>
3048 <br>
3049   - general improvements in formatting/clarity of error messages<br>
3050 <br>
3051   - addition of facilities and documentation regarding annotation<br>
3052     of thread safe reference counted C++ classes<br>
3053 <br>
3054   - new flag --check-stack-refs=no|yes [yes], to disable race checking<br>
3055     on thread stacks (a performance hack)<br>
3056 <br>
3057   - new flag --free-is-write=no|yes [no], to enable detection of races<br>
3058     where one thread accesses heap memory but another one frees it,<br>
3059     without any coordinating synchronisation event<br>
3060 <br>
3061 * DRD: enabled XML output; added support for delayed thread deletion<br>
3062   in order to detect races that occur close to the end of a thread<br>
3063   (--join-list-vol); fixed a memory leak triggered by repeated client<br>
3064   memory allocatation and deallocation; improved Darwin support.<br>
3065 <br>
3066 * exp-ptrcheck: this tool has been renamed to exp-sgcheck<br>
3067 <br>
3068 * exp-sgcheck: this tool has been reduced in scope so as to improve<br>
3069   performance and remove checking that Memcheck does better.<br>
3070   Specifically, the ability to check for overruns for stack and global<br>
3071   arrays is unchanged, but the ability to check for overruns of heap<br>
3072   blocks has been removed.  The tool has accordingly been renamed to<br>
3073   exp-sgcheck ("Stack and Global Array Checking").<br>
3074 <br>
3075 * ==================== OTHER CHANGES ====================<br>
3076 <br>
3077 * GDB server: Valgrind now has an embedded GDB server.  That means it<br>
3078   is possible to control a Valgrind run from GDB, doing all the usual<br>
3079   things that GDB can do (single stepping, breakpoints, examining<br>
3080   data, etc).  Tool-specific functionality is also available.  For<br>
3081   example, it is possible to query the definedness state of variables<br>
3082   or memory from within GDB when running Memcheck; arbitrarily large<br>
3083   memory watchpoints are supported, etc.  To use the GDB server, start<br>
3084   Valgrind with the flag --vgdb-error=0 and follow the on-screen<br>
3085   instructions.<br>
3086 <br>
3087 * Improved support for unfriendly self-modifying code: a new option<br>
3088   --smc-check=all-non-file is available.  This adds the relevant<br>
3089   consistency checks only to code that originates in non-file-backed<br>
3090   mappings.  In effect this confines the consistency checking only to<br>
3091   code that is or might be JIT generated, and avoids checks on code<br>
3092   that must have been compiled ahead of time.  This significantly<br>
3093   improves performance on applications that generate code at run time.<br>
3094 <br>
3095 * It is now possible to build a working Valgrind using Clang-2.9 on<br>
3096   Linux.<br>
3097 <br>
3098 * new client requests VALGRIND_{DISABLE,ENABLE}_ERROR_REPORTING.<br>
3099   These enable and disable error reporting on a per-thread, and<br>
3100   nestable, basis.  This is useful for hiding errors in particularly<br>
3101   troublesome pieces of code.  The MPI wrapper library (libmpiwrap.c)<br>
3102   now uses this facility.<br>
3103 <br>
3104 * Added the --mod-funcname option to cg_diff.<br>
3105 <br>
3106 * ==================== FIXED BUGS ====================<br>
3107 <br>
3108 The following bugs have been fixed or resolved.  Note that "n-i-bz"<br>
3109 stands for "not in bugzilla" -- that is, a bug that was reported to us<br>
3110 but never got a bugzilla entry.  We encourage you to file bugs in<br>
3111 bugzilla (http://bugs.kde.org/enter_valgrind_bug.cgi) rather than<br>
3112 mailing the developers (or mailing lists) directly -- bugs that are<br>
3113 not entered into bugzilla tend to get forgotten about or ignored.<br>
3114 <br>
3115 To see details of a given bug, visit<br>
3116 https://bugs.kde.org/show_bug.cgi?id=XXXXXX<br>
3117 where XXXXXX is the bug number as listed below.<br>
3118 <br>
3119  79311  malloc silly arg warning does not give stack trace<br>
3120 210935  port valgrind.h (not valgrind) to win32 to support client requests<br>
3121 214223  valgrind SIGSEGV on startup gcc 4.4.1 ppc32 (G4) Ubuntu 9.10<br>
3122 243404  Port to zSeries<br>
3123 243935  Helgrind: incorrect handling of ANNOTATE_HAPPENS_BEFORE()/AFTER()<br>
3124 247223  non-x86: Suppress warning: 'regparm' attribute directive ignored<br>
3125 250101  huge "free" memory usage due to m_mallocfree.c fragmentation<br>
3126 253206  Some fixes for the faultstatus testcase<br>
3127 255223  capget testcase fails when running as root<br>
3128 256703  xlc_dbl_u32.c testcase broken<br>
3129 256726  Helgrind tests have broken inline asm <br>
3130 259977  == 214223 (Valgrind segfaults doing __builtin_longjmp)<br>
3131 264800  testcase compile failure on zseries<br>
3132 265762  make public VEX headers compilable by G++ 3.x<br>
3133 265771  assertion in jumps.c (r11523) fails with glibc-2.3<br>
3134 266753  configure script does not give the user the option to not use QtCore<br>
3135 266931  gen_insn_test.pl is broken<br>
3136 266961  ld-linux.so.2 i?86-linux strlen issues<br>
3137 266990  setns instruction causes false positive<br>
3138 267020  Make directory for temporary files configurable at run-time.<br>
3139 267342  == 267997 (segmentation fault on Mac OS 10.6)<br>
3140 267383  Assertion 'vgPlain_strlen(dir) + vgPlain_strlen(file) + 1 &lt; 256' failed<br>
3141 267413  Assertion 'DRD_(g_threadinfo)[tid].synchr_nesting &gt;= 1' failed.<br>
3142 267488  regtest: darwin support for 64-bit build<br>
3143 267552  SIGSEGV (misaligned_stack_error) with DRD, but not with other tools<br>
3144 267630  Add support for IBM Power ISA 2.06 -- stage 1<br>
3145 267769  == 267997 (Darwin: memcheck triggers segmentation fault)<br>
3146 267819  Add client request for informing the core about reallocation<br>
3147 267925  laog data structure quadratic for a single sequence of lock<br>
3148 267968  drd: (vgDrd_thread_set_joinable): Assertion '0 &lt;= (int)tid ..' failed<br>
3149 267997  MacOSX: 64-bit V segfaults on launch when built with Xcode 4.0.1<br>
3150 268513  missed optimizations in fold_Expr<br>
3151 268619  s390x: fpr - gpr transfer facility <br>
3152 268620  s390x: reconsider "long displacement" requirement <br>
3153 268621  s390x: improve IR generation for XC<br>
3154 268715  s390x: FLOGR is not universally available<br>
3155 268792  == 267997 (valgrind seg faults on startup when compiled with Xcode 4)<br>
3156 268930  s390x: MHY is not universally available<br>
3157 269078  arm-&gt;IR: unhandled instruction SUB (SP minus immediate/register) <br>
3158 269079  Support ptrace system call on ARM<br>
3159 269144  missing "Bad option" error message<br>
3160 269209  conditional load and store facility (z196)<br>
3161 269354  Shift by zero on x86 can incorrectly clobber CC_NDEP<br>
3162 269641  == 267997 (valgrind segfaults immediately (segmentation fault))<br>
3163 269736  s390x: minor code generation tweaks<br>
3164 269778  == 272986 (valgrind.h: swap roles of VALGRIND_DO_CLIENT_REQUEST() ..)<br>
3165 269863  s390x: remove unused function parameters<br>
3166 269864  s390x: tweak s390_emit_load_cc <br>
3167 269884  == 250101 (overhead for huge blocks exhausts space too soon)<br>
3168 270082  s390x: Make sure to point the PSW address to the next address on SIGILL<br>
3169 270115  s390x: rewrite some testcases<br>
3170 270309  == 267997 (valgrind crash on startup)<br>
3171 270320  add support for Linux FIOQSIZE ioctl() call<br>
3172 270326  segfault while trying to sanitize the environment passed to execle<br>
3173 270794  IBM POWER7 support patch causes regression in none/tests<br>
3174 270851  IBM POWER7 fcfidus instruction causes memcheck to fail<br>
3175 270856  IBM POWER7 xsnmaddadp instruction causes memcheck to fail on 32bit app <br>
3176 270925  hyper-optimized strspn() in /lib64/libc-2.13.so needs fix<br>
3177 270959  s390x: invalid use of R0 as base register<br>
3178 271042  VSX configure check fails when it should not <br>
3179 271043  Valgrind build fails with assembler error on ppc64 with binutils 2.21 <br>
3180 271259  s390x: fix code confusion <br>
3181 271337  == 267997 (Valgrind segfaults on MacOS X)<br>
3182 271385  s390x: Implement Ist_MBE <br>
3183 271501  s390x: misc cleanups <br>
3184 271504  s390x: promote likely and unlikely <br>
3185 271579  ppc: using wrong enum type <br>
3186 271615  unhandled instruction "popcnt" (arch=amd10h) <br>
3187 271730  Fix bug when checking ioctls: duplicate check <br>
3188 271776  s390x: provide STFLE instruction support <br>
3189 271779  s390x: provide clock instructions like STCK <br>
3190 271799  Darwin: ioctls without an arg report a memory error <br>
3191 271820  arm: fix type confusion <br>
3192 271917  pthread_cond_timedwait failure leads to not-locked false positive <br>
3193 272067  s390x: fix DISP20 macro <br>
3194 272615  A typo in debug output in mc_leakcheck.c<br>
3195 272661  callgrind_annotate chokes when run from paths containing regex chars<br>
3196 272893  amd64-&gt;IR: 0x66 0xF 0x38 0x2B 0xC1 0x66 0xF 0x7F == (closed as dup)<br>
3197 272955  Unhandled syscall error for pwrite64 on ppc64 arch <br>
3198 272967  make documentation build-system more robust <br>
3199 272986  Fix gcc-4.6 warnings with valgrind.h<br>
3200 273318  amd64-&gt;IR: 0x66 0xF 0x3A 0x61 0xC1 0x38 (missing PCMPxSTRx case)<br>
3201 273318  unhandled PCMPxSTRx case: vex amd64-&gt;IR: 0x66 0xF 0x3A 0x61 0xC1 0x38 <br>
3202 273431  valgrind segfaults in evalCfiExpr (debuginfo.c:2039)<br>
3203 273465  Callgrind: jumps.c:164 (new_jcc): Assertion '(0 &lt;= jmp) &amp;&amp; ...'<br>
3204 273536  Build error: multiple definition of `vgDrd_pthread_cond_initializer'<br>
3205 273640  ppc64-linux: unhandled syscalls setresuid(164) and setresgid(169)<br>
3206 273729  == 283000 (Illegal opcode for SSE2 "roundsd" instruction)<br>
3207 273778  exp-ptrcheck: unhandled sysno == 259<br>
3208 274089  exp-ptrcheck: unhandled sysno == 208<br>
3209 274378  s390x: Various dispatcher tweaks<br>
3210 274447  WARNING: unhandled syscall: 340<br>
3211 274776  amd64-&gt;IR: 0x66 0xF 0x38 0x2B 0xC5 0x66<br>
3212 274784  == 267997 (valgrind ls -l results in Segmentation Fault)<br>
3213 274926  valgrind does not build against linux-3<br>
3214 275148  configure FAIL with glibc-2.14<br>
3215 275151  Fedora 15 / glibc-2.14 'make regtest' FAIL<br>
3216 275168  Make Valgrind work for MacOSX 10.7 Lion<br>
3217 275212  == 275284 (lots of false positives from __memcpy_ssse3_back et al)<br>
3218 275278  valgrind does not build on Linux kernel 3.0.* due to silly<br>
3219 275284  Valgrind memcpy/memmove redirection stopped working in glibc 2.14/x86_64<br>
3220 275308  Fix implementation for ppc64 fres instruc<br>
3221 275339  s390x: fix testcase compile warnings<br>
3222 275517  s390x: Provide support for CKSM instruction<br>
3223 275710  s390x: get rid of redundant address mode calculation<br>
3224 275815  == 247894 (Valgrind doesn't know about Linux readahead(2) syscall)<br>
3225 275852  == 250101 (valgrind uses all swap space and is killed)<br>
3226 276784  Add support for IBM Power ISA 2.06 -- stage 3<br>
3227 276987  gdbsrv: fix tests following recent commits<br>
3228 277045  Valgrind crashes with  unhandled DW_OP_ opcode 0x2a<br>
3229 277199  The test_isa_2_06_part1.c in none/tests/ppc64 should be a symlink<br>
3230 277471  Unhandled syscall: 340<br>
3231 277610  valgrind crashes in VG_(lseek)(core_fd, phdrs[idx].p_offset, ...)<br>
3232 277653  ARM: support Thumb2 PLD instruction<br>
3233 277663  ARM: NEON float VMUL by scalar incorrect<br>
3234 277689  ARM: tests for VSTn with register post-index are broken<br>
3235 277694  ARM: BLX LR instruction broken in ARM mode<br>
3236 277780  ARM: VMOV.F32 (immediate) instruction is broken<br>
3237 278057  fuse filesystem syscall deadlocks<br>
3238 278078  Unimplemented syscall 280 on ppc32<br>
3239 278349  F_GETPIPE_SZ and  F_SETPIPE_SZ Linux fcntl commands<br>
3240 278454  VALGRIND_STACK_DEREGISTER has wrong output type<br>
3241 278502  == 275284 (Valgrind confuses memcpy() and memmove())<br>
3242 278892  gdbsrv: factorize gdb version handling, fix doc and typos<br>
3243 279027  Support for MVCL and CLCL instruction<br>
3244 279027  s390x: Provide support for CLCL and MVCL instructions<br>
3245 279062  Remove a redundant check in the insn selector for ppc.<br>
3246 279071  JDK creates PTEST with redundant REX.W prefix<br>
3247 279212  gdbsrv: add monitor cmd v.info scheduler.<br>
3248 279378  exp-ptrcheck: the 'impossible' happened on mkfifo call<br>
3249 279698  memcheck discards valid-bits for packuswb<br>
3250 279795  memcheck reports uninitialised values for mincore on amd64<br>
3251 279994  Add support for IBM Power ISA 2.06 -- stage 3<br>
3252 280083  mempolicy syscall check errors<br>
3253 280290  vex amd64-&gt;IR: 0x66 0xF 0x38 0x28 0xC1 0x66 0xF 0x6F<br>
3254 280710  s390x: config files for nightly builds<br>
3255 280757  /tmp dir still used by valgrind even if TMPDIR is specified<br>
3256 280965  Valgrind breaks fcntl locks when program does mmap<br>
3257 281138  WARNING: unhandled syscall: 340<br>
3258 281241  == 275168 (valgrind useless on Macos 10.7.1 Lion)<br>
3259 281304  == 275168 (Darwin: dyld "cannot load inserted library")<br>
3260 281305  == 275168 (unhandled syscall: unix:357 on Darwin 11.1)<br>
3261 281468  s390x: handle do_clone and gcc clones in call traces<br>
3262 281488  ARM: VFP register corruption<br>
3263 281828  == 275284 (false memmove warning: "Source and destination overlap")<br>
3264 281883  s390x: Fix system call wrapper for "clone".<br>
3265 282105  generalise 'reclaimSuperBlock' to also reclaim splittable superblock<br>
3266 282112  Unhandled instruction bytes: 0xDE 0xD9 0x9B 0xDF (fcompp)<br>
3267 282238  SLES10: make check fails<br>
3268 282979  strcasestr needs replacement with recent(&gt;=2.12) glibc<br>
3269 283000  vex amd64-&gt;IR: 0x66 0xF 0x3A 0xA 0xC0 0x9 0xF3 0xF<br>
3270 283243  Regression in ppc64 memcheck tests<br>
3271 283325  == 267997 (Darwin: V segfaults on startup when built with Xcode 4.0)<br>
3272 283427  re-connect epoll_pwait syscall on ARM linux<br>
3273 283600  gdbsrv: android: port vgdb.c<br>
3274 283709  none/tests/faultstatus needs to account for page size<br>
3275 284305  filter_gdb needs enhancement to work on ppc64<br>
3276 284384  clang 3.1 -Wunused-value warnings in valgrind.h, memcheck.h<br>
3277 284472  Thumb2 ROR.W encoding T2 not implemented<br>
3278 284621  XML-escape process command line in XML output<br>
3279 n-i-bz  cachegrind/callgrind: handle CPUID information for Core iX Intel CPUs<br>
3280         that have non-power-of-2 sizes (also AMDs)<br>
3281 n-i-bz  don't be spooked by libraries mashed by elfhack<br>
3282 n-i-bz  don't be spooked by libxul.so linked with gold<br>
3283 n-i-bz  improved checking for VALGRIND_CHECK_MEM_IS_DEFINED<br>
3284 <br>
3285 (3.7.0-TEST1: 27  October 2011, vex r2228, valgrind r12245)<br>
3286 (3.7.0.RC1:    1 November 2011, vex r2231, valgrind r12257)<br>
3287 (3.7.0:        5 November 2011, vex r2231, valgrind r12258)<br>
3288 <br>
3289 <br>
3290 <br>
3291 Release 3.6.1 (16 February 2011)<br>
3292 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
3293 3.6.1 is a bug fix release.  It adds support for some SSE4<br>
3294 instructions that were omitted in 3.6.0 due to lack of time.  Initial<br>
3295 support for glibc-2.13 has been added.  A number of bugs causing<br>
3296 crashing or assertion failures have been fixed.<br>
3297 <br>
3298 The following bugs have been fixed or resolved.  Note that "n-i-bz"<br>
3299 stands for "not in bugzilla" -- that is, a bug that was reported to us<br>
3300 but never got a bugzilla entry.  We encourage you to file bugs in<br>
3301 bugzilla (http://bugs.kde.org/enter_valgrind_bug.cgi) rather than<br>
3302 mailing the developers (or mailing lists) directly -- bugs that are<br>
3303 not entered into bugzilla tend to get forgotten about or ignored.<br>
3304 <br>
3305 To see details of a given bug, visit<br>
3306 https://bugs.kde.org/show_bug.cgi?id=XXXXXX<br>
3307 where XXXXXX is the bug number as listed below.<br>
3308 <br>
3309 188572  Valgrind on Mac should suppress setenv() mem leak<br>
3310 194402  vex amd64-&gt;IR: 0x48 0xF 0xAE 0x4 (proper FX{SAVE,RSTOR} support)<br>
3311 210481  vex amd64-&gt;IR: Assertion `sz == 2 || sz == 4' failed (REX.W POPQ)<br>
3312 246152  callgrind internal error after pthread_cancel on 32 Bit Linux<br>
3313 250038  ppc64: Altivec LVSR and LVSL instructions fail their regtest<br>
3314 254420  memory pool tracking broken <br>
3315 254957  Test code failing to compile due to changes in memcheck.h<br>
3316 255009  helgrind/drd: crash on chmod with invalid parameter<br>
3317 255130  readdwarf3.c parse_type_DIE confused by GNAT Ada types<br>
3318 255355  helgrind/drd: crash on threaded programs doing fork<br>
3319 255358  == 255355<br>
3320 255418  (SSE4.x) rint call compiled with ICC<br>
3321 255822  --gen-suppressions can create invalid files: "too many callers [...]"<br>
3322 255888  closing valgrindoutput tag outputted to log-stream on error<br>
3323 255963  (SSE4.x) vex amd64-&gt;IR: 0x66 0xF 0x3A 0x9 0xDB 0x0 (ROUNDPD)<br>
3324 255966  Slowness when using mempool annotations<br>
3325 256387  vex x86-&gt;IR: 0xD4 0xA 0x2 0x7 (AAD and AAM)<br>
3326 256600  super-optimized strcasecmp() false positive<br>
3327 256669  vex amd64-&gt;IR: Unhandled LOOPNEL insn on amd64<br>
3328 256968  (SSE4.x) vex amd64-&gt;IR: 0x66 0xF 0x38 0x10 0xD3 0x66 (BLENDVPx)<br>
3329 257011  (SSE4.x) vex amd64-&gt;IR: 0x66 0xF 0x3A 0xE 0xFD 0xA0 (PBLENDW)<br>
3330 257063  (SSE4.x) vex amd64-&gt;IR: 0x66 0xF 0x3A 0x8 0xC0 0x0 (ROUNDPS)<br>
3331 257276  Missing case in memcheck --track-origins=yes<br>
3332 258870  (SSE4.x) Add support for EXTRACTPS SSE 4.1 instruction<br>
3333 261966  (SSE4.x) support for CRC32B and CRC32Q is lacking (also CRC32{W,L})<br>
3334 262985  VEX regression in valgrind 3.6.0 in handling PowerPC VMX<br>
3335 262995  (SSE4.x) crash when trying to valgrind gcc-snapshot (PCMPxSTRx $0)<br>
3336 263099  callgrind_annotate counts Ir improperly [...]<br>
3337 263877  undefined coprocessor instruction on ARMv7<br>
3338 265964  configure FAIL with glibc-2.13<br>
3339 n-i-bz  Fix compile error w/ icc-12.x in guest_arm_toIR.c<br>
3340 n-i-bz  Docs: fix bogus descriptions for VALGRIND_CREATE_BLOCK et al<br>
3341 n-i-bz  Massif: don't assert on shmat() with --pages-as-heap=yes<br>
3342 n-i-bz  Bug fixes and major speedups for the exp-DHAT space profiler<br>
3343 n-i-bz  DRD: disable --free-is-write due to implementation difficulties<br>
3344 <br>
3345 (3.6.1: 16 February 2011, vex r2103, valgrind r11561).<br>
3346 <br>
3347 <br>
3348     </p></div>
3349 </div>
3350 <div>
3351 <br><table class="nav" width="100%" cellspacing="3" cellpadding="2" border="0" summary="Navigation footer">
3352 <tr>
3353 <td rowspan="2" width="40%" align="left">
3354 <a accesskey="p" href="dist.news.html">&lt;&lt; 2. NEWS</a> </td>
3355 <td width="20%" align="center"><a accesskey="u" href="dist.html">Up</a></td>
3356 <td rowspan="2" width="40%" align="right"> <a accesskey="n" href="dist.readme.html">4. README &gt;&gt;</a>
3357 </td>
3358 </tr>
3359 <tr><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td></tr>
3360 </table>
3361 </div>
3362 </body>
3363 </html>