valgrind-monitor.py regular expressions should use raw strings
[valgrind.git] / docs / internals / 3_0_BUGSTATUS.txt
blobe83fcd4e8437d19a4dbedadc8ccedaf8204cd19f
2 nb: "n-i-bz" == "not in Bugzilla"
4 ========================================================================
5 === Bugs targeted for 3.1.0 only                                     ===
6 ========================================================================
8 ----------------------------------------------------------------
9 109861  amd64 hangs at startup
10 110301  ditto
11 111554  valgrind crashes with Cannot allocate memory
12 111809  Memcheck tool doesn't start java
13 111901  cross-platform run of cachegrind fails on opteron
14 113468  (vgPlain_mprotect_range): Assertion 'r != -1' failed.
15  92071  Reading debugging info uses too much memory
16 109744  memcheck loses track of mmap from direct ld-linux.so.2
17 110183  tail of page with _end
18  82301  FV memory layout too rigid
19  98278  Infinite recursion possible when allocating memory
20 108994  Valgrind runs out of memory due to 133x overhead
21 115643  valgrind cannot allocate memory
23 Will fix in 3.1.  Long delay seems to be caused by amd64-Gentoo kernel
24 not liking large mmap/munmap requests.  Other bugs also look like
25 aspacem problems.
27 FIXED-TRUNK:    now done (many many commits)
29 ----------------------------------------------------------------
30 105227  The BOUND instruction is not implemented (x86, with test case)
32 FIXED-TRUNK:    TODO ?
34 ----------------------------------------------------------------
35 105974  vg_hashtable.c static hash table
37 FIXED-TRUNK:    vg:???
39 ----------------------------------------------------------------
40 109323  ppc32: dispatch.S uses Altivec insn, which doesn't work on POWER. 
42 FIXED-TRUNK:    4636
44 ----------------------------------------------------------------
45 109345  ptrace_setregs not yet implemented for ppc
47 FIXED-TRUNK:    vg:5046
49 ----------------------------------------------------------------
50 110204 fmemopen false +ve
52 Seems low priority.
54 FIXED-TRUNK:    TODO?
56 ----------------------------------------------------------------
57 110205 sigcancel unwind fails
58 114629 == (TENTATIVE)
60 Tom is considering this.  It would be nice to fix it for 3.1 but
61 status currently unclear.
63 FIXED-TRUNK:    vex:1320 - vex impl of sysenter
64                 vg:4337 - minimal Valgrind-side; does not do anything
66 ----------------------------------------------------------------
67 110831 Would like to be able to run against both 32 and 64 bit 
68        binaries on AMD64
69 110829 ==
71 FIXED-TRUNK:    many commits (vg:5031 ?)
73 ----------------------------------------------------------------
74 111364 False report of "definitly lost" memory
76 Unclear what to do about this .. leak checker strangeness.
78 ----------------------------------------------------------------
79 n-i-bz  Give more info about seginfo dropping.
81 FIXED-TRUNK:    vg:4425
83 ----------------------------------------------------------------
84 111855  default suppression file is read 1 byte at a time
86 Perhaps worth a look.
88 FIXED-TRUNK:    TODO
90 ----------------------------------------------------------------
91 111781  compile of valgrind-3.0.0 fails on my linux (gcc 2.X prob)
93 FIXED-TRUNK:    fixed (multiple commits)
95 ----------------------------------------------------------------
96 112163  MASSIF crashed with  signal 7 (SIGBUS) after running 2 days
98 FIXED-TRUNK:    unconfirmed (insufficient info from reporter)
100 ----------------------------------------------------------------
101 112670  Cachegrind: cg_main.c:486 (handleOneStatement ...
103 FIXED-TRUNK:    fixed (many commits)
105 ----------------------------------------------------------------
106 112941  vex x86: 0xD9 0xF4 (fxtract)
107 110201  ==
109 FIXED-TRUNK:    vex:1405
111 ----------------------------------------------------------------
112 113015  vex amd64->IR: 0xE3 0x14 0x48 0x83 (jrcxz)
114 FIXED-TRUNK:    vex:1413
116 ----------------------------------------------------------------
117 113126  Crash with binaries built with -gstabs+/-ggdb
118 104065  ==
119 115741  ==
121 FIXED-TRUNK:    vg:5138
123 ----------------------------------------------------------------
124 113403  Partial SSE3 support on x86
126 FIXED-TRUNK:    vex:???
128 ----------------------------------------------------------------
129 113541  vex: the `impossible' happened: Grp5(x86) (alt encoding inc/dec)
130         case 1
131 FIXED-TRUNK:    vex:1412
133 ----------------------------------------------------------------
134 113642  New: valgrind crashes when trying to read debug information
136 FIXED-TRUNK:    vg:4856
138 ----------------------------------------------------------------
139 113810  priv/guest-x86/toIR.c:7964 (disInstr_X86_WRK): Assertion `sz == 4'
140         Inferred 66 0F F6 (66 + PSADBW == SSE PSADBW)
142 FIXED-TRUNK:    vex:1410, test in valgrind:4851
144 ----------------------------------------------------------------
145 113796  read() and write() do not work if buffer is in shared memory
147 Although the underlying cause is still present in the 3.0 code
148 this bug is only user visible in the 2.4 code base.
150 FIXED-TRUNK:    vg:4852
152 ----------------------------------------------------------------
153 113851  vex x86->IR: (pmaddwd): 0x66 0xF 0xF5 0xC7
155 FIXED-TRUNK:    vex:1411, test in valgrind:4859
157 ----------------------------------------------------------------
158 114366  New: vex amd64 cannnot handle __asm__( "fninit" )
160 FIXED-TRUNK:    vex:1440
162 ----------------------------------------------------------------
163 114412  vex amd64->IR: 0xF 0xAD 0xC2 0xD3 (128-bit shift, shrdq?)
165 FIXED-TRUNK:    vex:1435
167 ----------------------------------------------------------------
168 114455  vex amd64->IR: 0xF 0xAC 0xD0 0x1 (also shrdq)
170 FIXED-TRUNK:    vex:1436
172 ----------------------------------------------------------------
173 115590: amd64->IR: 0x67 0xE3 0x9 0xEB (address size override)
175 FIXED-TRUNK:    vex:1433
177 ----------------------------------------------------------------
178 115953  valgrind svn r5042 does not build with parallel make (-j3)
180 FIXED-TRUNK:    vg:????
182 ----------------------------------------------------------------
183 116057  New: valgrind maximum instruction size - VG_MAX_INSTR_SZB too
184         small?
186 FIXED-TRUNK:    vg:5072
188 ----------------------------------------------------------------
189 116483  shmat failes with invalid argument when trying to attach a shm segment
191 FIXED-TRUNK:    fixed by introduction of SkShmC during aspacem rewrite
193 ========================================================================
194 === Bugs targeted for 3.1.0 and 3.0.2                                ===
195 ========================================================================
197 ----------------------------------------------------------------
198 102202 valgrind crashes when realloc'ing until out of memory
199 109487 ==
200 110536 ==
201 112687 ==
203 FIXED-TRUNK:    4875
204 FIXED-30BRANCH: 4876
206 ----------------------------------------------------------------
207 110209 --show-emwarns misses some
209 Tom says: The math/test-fenv.c file in the glibc source is the code in
210 question and I can reproduce it with that code.
212 FIXED-TRUNK:    TODO?
213 FIXED-30BRANCH: TODO?
215 ----------------------------------------------------------------
216 110770  VEX: Generated files not always updated when making valgrind
218 FIXED-TRUNK:    TODO... partial(vg:4473)
219 FIXED-30BRANCH: TODO
221 ----------------------------------------------------------------
222 n-i-bz  Jeroen's XML-to-text FAQ.xml translator
224 FIXED-TRUNK:    vg:4830
225 FIXED-30BRANCH: TODO
227 ----------------------------------------------------------------
228 111724  vex amd64->IR: unhandled instruction bytes: 0x41 0xF 0xAB
229 (more BT{,S,R,C} fun n games)
230 Also 0xF 0xBB 0x10 0x44
232 FIXED-TRUNK:    vex:1414
233 FIXED-30BRANCH: TODO
235 ----------------------------------------------------------------
236 n-i-bz  Print a more user-friendly message when vex bombs out
237         with unhandled instruction bytes
239 FIXED-TRUNK:    vg:4817,4932
240 FIXED-30BRANCH: TODO
242 ----------------------------------------------------------------
243 111748  vex amd64->IR: unhandled instruction bytes: fucom         
244         (0xDD 0xE2 0xDF 0xE0)
246 FIXED-TRUNK:    vex:1415
247 FIXED-30BRANCH: TODO
249 ----------------------------------------------------------------
250 111785  make fails if CC contains spaces
252 FIXED-TRUNK:    4589, 4592
253 FIXED-30BRANCH: 4597, 4601
255 ----------------------------------------------------------------
256 111829  vex x86->IR: unhandled instruction bytes: sbb Al, Ib
258 FIXED-TRUNK:    vex:1406
259 FIXED-30BRANCH: TODO
261 ----------------------------------------------------------------
262 111851  vex x86->IR: unhandled instruction bytes: 0x9F 0x89
263         (lahf/sahf)
265 FIXED-TRUNK:    vex:1409
266 FIXED-30BRANCH: TODO
268 ----------------------------------------------------------------
269 112031  iopl on AMD64 and README_MISSING_SYSCALL_OR_IOCTL update
271 FIXED-TRUNK:    4826, 4864
272 FIXED-30BRANCH: 4862, 4865
274 ----------------------------------------------------------------
275 112152  code generation for Xin_MFence on x86 with SSE0 subarch
276 112167  ==
277 112789  ==
279 FIXED-TRUNK:    vex:1407
280 FIXED-30BRANCH: TODO
282 ----------------------------------------------------------------
283 112199  naked ar tool is used in vex makefile
285 FIXED-TRUNK:    vex:1397
286 FIXED-30BRANCH: TODO
288 ----------------------------------------------------------------
289 112501  vex x86->IR: movq (0xF 0x7F 0xC1 0xF) (mmx MOVQ)
290 113583  ==
292 FIXED-TRUNK:    vex:1408
293 FIXED-30BRANCH: TODO
295 ----------------------------------------------------------------
296 112538  memalign crash
298 FIXED-TRUNK:    vg:4879
299 FIXED-30BRANCH: vg:4880
301 ----------------------------------------------------------------
302 113190  Broken links in docs/html/
304 FIXED-TRUNK:    vg:4778
305 FIXED-30BRANCH: TODO
307 ----------------------------------------------------------------
308 113230  Valgrind sys_pipe on x86-64 wrongly thinks file descriptors
309         should be 64bit
311 FIXED-TRUNK:    vg:4669
312 FIXED-30BRANCH: TODO
314 ----------------------------------------------------------------
315 n-i-bz  Cachegrind shows incorrect miss rates when counts are
316         greater than 32 bits
318 FIXED-TRUNK:    vg:4769
319 FIXED-30BRANCH: TODO
321 ----------------------------------------------------------------
322 113996  vex amd64->IR: fucomp (0xDD 0xE9 0xDF 0xE0)
324 FIXED-TRUNK:    vex:1437
325 FIXED-30BRANCH: TODO
327 ----------------------------------------------------------------
328 114196  vex x86->IR: out %eax,(%dx) (0xEF 0xC9 0xC3 0x90)
330 FIXED-TRUNK:    vex:1425
331 FIXED-30BRANCH: TODO
332 (has good test case)
334 ----------------------------------------------------------------
335 114250  context record in signal handler contains incorrect values
337 FIXED-TRUNK:    TODO
338 FIXED-30BRANCH: TODO
339 (has good test case)
341 ----------------------------------------------------------------
342 114289  Memcheck fails to intercept malloc when used in an uclibc environment
344 FIXED-TRUNK:    vg:4916
345 FIXED-30BRANCH: TODO
347 ----------------------------------------------------------------
348 114756  mbind syscall support
350 FIXED-TRUNK:    vg:4958
351 FIXED-30BRANCH: TODO
353 ----------------------------------------------------------------
354 114757  Valgrind dies with assertion: Assertion 'noLargerThan > 0' failed
356 FIXED-TRUNK:    vg:4960
357 FIXED-30BRANCH: TODO
359 ----------------------------------------------------------------
360 114563  stack tracking module not informed when valgrind switches threads
362 FIXED-TRUNK:    vg:5070
363 FIXED-30BRANCH: TODO
365 ----------------------------------------------------------------
366 114564: clone() and stacks
367 114565  ==
369 FIXED-TRUNK:    vg:5070
371 ----------------------------------------------------------------
372 115496  glibc crashes trying to use sysinfo page
374 FIXED-TRUNK:    vg:5079
375 FIXED-30BRANCH: TODO
377 ----------------------------------------------------------------
378 116200  enable fsetxattr, fgetxattr, and fremovexattr for amd64
380 FIXED-TRUNK:    vg:5106
381 FIXED-30BRANCH: TODO
384 ========================================================================
385 === Bugs targeted for 3.1.0 and 3.0.1 (all done, 3.0.1 released)     ===
386 ========================================================================
388 ----------------------------------------------------------------
389 101204  noisy warning
391 FIXED-TRUNK:    vg:4511
392 FIXED-30BRANCH: vg:4561
394 ----------------------------------------------------------------
395 109313 x86 cmpxchg8b
397 FIXED-TRUNK:    vex:1331, vg:4390 contains regtest 
398                       + mistaken commit of this file)
399 FIXED-30BRANCH: vex:1337
401 ----------------------------------------------------------------
402 110102 dis_op2_E_G(amd64)
404 FIXED-TRUNK:    vex:1318
405 FIXED-30BRANCH: vex:1325
407 ----------------------------------------------------------------
408 110202 x86 sys_waitpid(#286)
410 FIXED-TRUNK:    vg:4329
411 FIXED-30BRANCH: vg:4332
413 ----------------------------------------------------------------
414 110203 clock_getres(,0)
416 FIXED-TRUNK:    vg:4328
417 FIXED-30BRANCH: vg:4332
419 ----------------------------------------------------------------
420 110208 execve fail wrong retval
422 FIXED-TRUNK:    vg:4330
423 FIXED-30BRANCH: vg:4332
425 ----------------------------------------------------------------
426 110274 SSE1 now mandatory for x86
427 111739 ==
429 FIXED-TRUNK:    vex:1321, vg:4339
430 FIXED-30BRANCH: vex:1327, vg:4374
432 ----------------------------------------------------------------
433 110388  amd64 0xDD 0xD1
435 FIXED-TRUNK:    vex:1322
436 FIXED-30BRANCH: vex:1328
438 ----------------------------------------------------------------
439 110464 amd64 0xDC 0x1D FCOMP
441 FIXED-TRUNK:    vex:1323
442 FIXED-30BRANCH: vex:1329
444 ----------------------------------------------------------------
445 110478 amd64 0xF 0xD PREFETCH
447 FIXED-TRUNK:    vex:1324
448 FIXED-30BRANCH: vex:1330
450 ----------------------------------------------------------------
451 110591 amd64: rdtsc not implemented properly
453 (Also afflicts x86)
455 FIXED-TRUNK:    vex:1344 (x86), vex:1346 (amd64).
456 FIXED-30BRANCH: vex:1354 (x86), vex:1355 (amd64).
458 ----------------------------------------------------------------
459 110652  AMD64 valgrind crashes on cwtd instruction
461 FIXED-TRUNK:    vex:1333
462 FIXED-30BRANCH: vex:1335
464 ----------------------------------------------------------------
465 110653  AMD64 valgrind crashes on sarb $0x4,foo(%rip) instruction
467 FIXED-TRUNK:    vex:1334
468 FIXED-30BRANCH: vex:1336
470 ----------------------------------------------------------------
471 110656  PATH=/usr/bin::/bin valgrind foobar stats ./fooba
473 FIXED-TRUNK:    vg:4386
474 FIXED-30BRANCH: vg:4395
476 ----------------------------------------------------------------
477 110657  Small test fixes
479 (1) Filter out L3 cache warning messages causing problems
480 (2) Stop tests/mq failing on 2.4 kernels
482 I suppose it would be good to apply these.  They seem low risk.
484 FIXED-TRUNK:    vg:4429
485 FIXED-30BRANCH: vg:4458
487 ----------------------------------------------------------------
488 110671  vex x86->IR: unhandled instruction bytes: 0xF3 0xC3 (rep ret)
490 FIXED-TRUNK:    vex:1332
491 FIXED-30BRANCH: vex:1338
493 ----------------------------------------------------------------
494 110685  amd64->IR: unhandled instruction bytes: 0xE1 0x56 (loope Jb)
496 FIXED-TRUNK:    vex:1349
497 FIXED-30BRANCH: vex:1356
499 ----------------------------------------------------------------
500 110830  configuring with --host fails to build 32 bit on 64 bit target
502 FIXED-TRUNK:    vg:4442
503 FIXED-30BRANCH: vg:4459
505 ----------------------------------------------------------------
506 110875  Assertion when execve fails
508 FIXED-TRUNK:    vg:4435
509 FIXED-30BRANCH: vg:4457
511 ----------------------------------------------------------------
512 110898  opteron instructions missing: btq sbbq btsq btrq bsfq
514 FIXED-TRUNK:    vex:1352
515 FIXED-30BRANCH: vex:1357
517 ----------------------------------------------------------------
518 110954  x86->IR: unhandled instruction bytes: 0xE2 0xF6 (loop Jb)
520 FIXED-TRUNK:    vex:1343
521 FIXED-30BRANCH: vex:1358
523 ----------------------------------------------------------------
524 111006  bogus warnings from linuxthreads
526 FIXED-TRUNK:    vg:4469, vg:4470
527 FIXED-30BRANCH: vg:4497, vg:4498
529 ----------------------------------------------------------------
530 111090  Internal Error running Massif
531 111808  ==
532 112098  ==
534 FIXED-TRUNK:    vg:4492
535 FIXED-30BRANCH: vg:4509
537 ----------------------------------------------------------------
538 111092  x86: dis_Grp2(Reg): unhandled case(x86) 
540 FIXED-TRUNK:    vex:1341
541 FIXED-30BRANCH: vex:1359
543 ----------------------------------------------------------------
544 111102 (comment #4)   Fixed 64-bit unclean "silly arg" message
546 FIXED-TRUNK:    vg:4476
547 FIXED-30BRANCH: vg:4502
549 ****** not yet closed
551 ----------------------------------------------------------------
552 111231  sctp_getladdrs() and sctp_getpaddrs() returns uninitialized
553         memory
555 FIXED-TRUNK:    vg:4549
556 FIXED-30BRANCH: vg:4563
558 ----------------------------------------------------------------
559 111513  Illegal opcode for SSE instruction (x86 movups)
560 NB.  Bug reporter did not yet verify that the fix works.
562 FIXED-TRUNK:    vex:1362
563 FIXED-30BRANCH: vex:1367
565 ----------------------------------------------------------------
566 111555  VEX/Makefile: CC is set to gcc
568 FIXED-TRUNK:    vex:1364, vg:4559
569 FIXED-30BRANCH: vex:1365, vg:4560
571 ----------------------------------------------------------------
572 CrispinF x86 %eflags.ac problem
574 FIXED-TRUNK:    vex:1319/vg:4334
575 FIXED-30BRANCH: vex:1326, and vg:4334 was copied across as part of vg:4364
577 ----------------------------------------------------------------
578 n-i-bz  XML <unique> printing wrong
580 FIXED-TRUNK:    vg:4355,vg:4357,vg:4358
581 FIXED-30BRANCH: vg:4585
583 ----------------------------------------------------------------
584 n-i-bz  Dirk r4359 (amd64 syscalls from trunk)
586 FIXED-TRUNK:    
587 FIXED-30BRANCH: vg:4359
589 ----------------------------------------------------------------
590 n-i-bz  Dirk r4360 (upd email addrs from trunk)
592 FIXED-TRUNK:    
593 FIXED-30BRANCH: vg:4360
595 ----------------------------------------------------------------
596 n-i-bz  Nick r4384 (stub implementations of Addrcheck and Helgrind)
598 FIXED-TRUNK:    vg:4384
599 FIXED-30BRANCH: vg:4397
601 ----------------------------------------------------------------
602 n-i-bz  Nick (Cachegrind should not assert when it encounters a client
603 request.)
605 FIXED-TRUNK:    vg:4391
606 FIXED-30BRANCH: vg:4393
608 ----------------------------------------------------------------
609 Updates to Memcheck manual
611 FIXED-TRUNK:    vg:4419, vg:4427, vg:4434
612 FIXED-30BRANCH: vg:4455
614 ----------------------------------------------------------------
615 Fixed broken malloc_usable_size()
617 FIXED-TRUNK:    vg:4439
618 FIXED-30BRANCH: vg:4453
620 ----------------------------------------------------------------
621 Make suppressions work for "???" lines in stacktraces.
623 FIXED-TRUNK:    vg:4447
624 FIXED-30BRANCH: vg:4451
626 ----------------------------------------------------------------
627 n-i-bz  vex x86->IR: unhandled instruction bytes: 0x14 0x0
629 FIXED-TRUNK:    vex:1350 (basic fix), vex:1351 (x86 adc/sbb flags thunk fix),
630                                   vex:1353 (amd64 adc/sbb flags thunk fix)
631 FIXED-30BRANCH: vex:1360
633 ----------------------------------------------------------------
634 n-i-bz  minor umount/fcntl wrapper fixes
636 FIXED-TRUNK:    vg:4487
637 FIXED-30BRANCH: vg:4562
639 ----------------------------------------------------------------
640 n-i-bz  Fix XML bugs in FAQ  
642 FIXED-TRUNK:    vg:4528
643 FIXED-30BRANCH: vg:4564
646 ========================================================================
647 === Bugs of note not targeted for any particular release
648 ========================================================================
650 ----------------------------------------------------------------
651 n-i-bz  x86 INT/INT3
653 Not started.  Seems low priority.
655 FIXED-TRUNK:    TODO?
657 ----------------------------------------------------------------
658 87263  x86 segment stuff
660 Not started.  Seems low priority.
662 FIXED-TRUNK:    TODO?
664 ----------------------------------------------------------------
665 88116 x86 enter variants assert
667 Not started.  Seems low priority.
669 FIXED-TRUNK:    TODO?
671 ----------------------------------------------------------------
672 96542 x86 16-bit pop insns
674 Not started.  Seems low priority.
676 FIXED-TRUNK:    TODO?
678 ----------------------------------------------------------------
679 110207 mpn accuracy +
680 110240 x86 FP differences
682 Can't be easily fixed (x86 rounding/precision problem)
683 + not convinced it's a big problem
685 FIXED-TRUNK:    TODO?
687 ----------------------------------------------------------------
688 110669  valgrind attach to gdb and quitting gdb hangs valgrind
690 Not clear if this is really a Valgrind bug.
692 FIXED-TRUNK:    TODO?
694 ----------------------------------------------------------------
695 111898  Need to control file name that cachegrind writes into
697 FIXED-TRUNK:    TODO?