1 2 nb: "n-i-bz" == "not in Bugzilla" 3 4 ======================================================================== 5 === Bugs targeted for 3.1.0 only === 6 ======================================================================== 7 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 22 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. 26 27 FIXED-TRUNK: now done (many many commits) 28 29 ---------------------------------------------------------------- 30 105227 The BOUND instruction is not implemented (x86, with test case) 31 32 FIXED-TRUNK: TODO ? 33 34 ---------------------------------------------------------------- 35 105974 vg_hashtable.c static hash table 36 37 FIXED-TRUNK: vg:??? 38 39 ---------------------------------------------------------------- 40 109323 ppc32: dispatch.S uses Altivec insn, which doesn't work on POWER. 41 42 FIXED-TRUNK: 4636 43 44 ---------------------------------------------------------------- 45 109345 ptrace_setregs not yet implemented for ppc 46 47 FIXED-TRUNK: vg:5046 48 49 ---------------------------------------------------------------- 50 110204 fmemopen false +ve 51 52 Seems low priority. 53 54 FIXED-TRUNK: TODO? 55 56 ---------------------------------------------------------------- 57 110205 sigcancel unwind fails 58 114629 == (TENTATIVE) 59 60 Tom is considering this. It would be nice to fix it for 3.1 but 61 status currently unclear. 62 63 FIXED-TRUNK: vex:1320 - vex impl of sysenter 64 vg:4337 - minimal Valgrind-side; does not do anything 65 66 ---------------------------------------------------------------- 67 110831 Would like to be able to run against both 32 and 64 bit 68 binaries on AMD64 69 110829 == 70 71 FIXED-TRUNK: many commits (vg:5031 ?) 72 73 ---------------------------------------------------------------- 74 111364 False report of "definitly lost" memory 75 76 Unclear what to do about this .. leak checker strangeness. 77 78 ---------------------------------------------------------------- 79 n-i-bz Give more info about seginfo dropping. 80 81 FIXED-TRUNK: vg:4425 82 83 ---------------------------------------------------------------- 84 111855 default suppression file is read 1 byte at a time 85 86 Perhaps worth a look. 87 88 FIXED-TRUNK: TODO 89 90 ---------------------------------------------------------------- 91 111781 compile of valgrind-3.0.0 fails on my linux (gcc 2.X prob) 92 93 FIXED-TRUNK: fixed (multiple commits) 94 95 ---------------------------------------------------------------- 96 112163 MASSIF crashed with signal 7 (SIGBUS) after running 2 days 97 98 FIXED-TRUNK: unconfirmed (insufficient info from reporter) 99 100 ---------------------------------------------------------------- 101 112670 Cachegrind: cg_main.c:486 (handleOneStatement ... 102 103 FIXED-TRUNK: fixed (many commits) 104 105 ---------------------------------------------------------------- 106 112941 vex x86: 0xD9 0xF4 (fxtract) 107 110201 == 108 109 FIXED-TRUNK: vex:1405 110 111 ---------------------------------------------------------------- 112 113015 vex amd64->IR: 0xE3 0x14 0x48 0x83 (jrcxz) 113 114 FIXED-TRUNK: vex:1413 115 116 ---------------------------------------------------------------- 117 113126 Crash with binaries built with -gstabs+/-ggdb 118 104065 == 119 115741 == 120 121 FIXED-TRUNK: vg:5138 122 123 ---------------------------------------------------------------- 124 113403 Partial SSE3 support on x86 125 126 FIXED-TRUNK: vex:??? 127 128 ---------------------------------------------------------------- 129 113541 vex: the `impossible' happened: Grp5(x86) (alt encoding inc/dec) 130 case 1 131 FIXED-TRUNK: vex:1412 132 133 ---------------------------------------------------------------- 134 113642 New: valgrind crashes when trying to read debug information 135 136 FIXED-TRUNK: vg:4856 137 138 ---------------------------------------------------------------- 139 113810 priv/guest-x86/toIR.c:7964 (disInstr_X86_WRK): Assertion `sz == 4' 140 Inferred 66 0F F6 (66 + PSADBW == SSE PSADBW) 141 142 FIXED-TRUNK: vex:1410, test in valgrind:4851 143 144 ---------------------------------------------------------------- 145 113796 read() and write() do not work if buffer is in shared memory 146 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. 149 150 FIXED-TRUNK: vg:4852 151 152 ---------------------------------------------------------------- 153 113851 vex x86->IR: (pmaddwd): 0x66 0xF 0xF5 0xC7 154 155 FIXED-TRUNK: vex:1411, test in valgrind:4859 156 157 ---------------------------------------------------------------- 158 114366 New: vex amd64 cannnot handle __asm__( "fninit" ) 159 160 FIXED-TRUNK: vex:1440 161 162 ---------------------------------------------------------------- 163 114412 vex amd64->IR: 0xF 0xAD 0xC2 0xD3 (128-bit shift, shrdq?) 164 165 FIXED-TRUNK: vex:1435 166 167 ---------------------------------------------------------------- 168 114455 vex amd64->IR: 0xF 0xAC 0xD0 0x1 (also shrdq) 169 170 FIXED-TRUNK: vex:1436 171 172 ---------------------------------------------------------------- 173 115590: amd64->IR: 0x67 0xE3 0x9 0xEB (address size override) 174 175 FIXED-TRUNK: vex:1433 176 177 ---------------------------------------------------------------- 178 115953 valgrind svn r5042 does not build with parallel make (-j3) 179 180 FIXED-TRUNK: vg:???? 181 182 ---------------------------------------------------------------- 183 116057 New: valgrind maximum instruction size - VG_MAX_INSTR_SZB too 184 small? 185 186 FIXED-TRUNK: vg:5072 187 188 ---------------------------------------------------------------- 189 116483 shmat failes with invalid argument when trying to attach a shm segment 190 191 FIXED-TRUNK: fixed by introduction of SkShmC during aspacem rewrite 192 193 ======================================================================== 194 === Bugs targeted for 3.1.0 and 3.0.2 === 195 ======================================================================== 196 197 ---------------------------------------------------------------- 198 102202 valgrind crashes when realloc'ing until out of memory 199 109487 == 200 110536 == 201 112687 == 202 203 FIXED-TRUNK: 4875 204 FIXED-30BRANCH: 4876 205 206 ---------------------------------------------------------------- 207 110209 --show-emwarns misses some 208 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. 211 212 FIXED-TRUNK: TODO? 213 FIXED-30BRANCH: TODO? 214 215 ---------------------------------------------------------------- 216 110770 VEX: Generated files not always updated when making valgrind 217 218 FIXED-TRUNK: TODO... partial(vg:4473) 219 FIXED-30BRANCH: TODO 220 221 ---------------------------------------------------------------- 222 n-i-bz Jeroen's XML-to-text FAQ.xml translator 223 224 FIXED-TRUNK: vg:4830 225 FIXED-30BRANCH: TODO 226 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 231 232 FIXED-TRUNK: vex:1414 233 FIXED-30BRANCH: TODO 234 235 ---------------------------------------------------------------- 236 n-i-bz Print a more user-friendly message when vex bombs out 237 with unhandled instruction bytes 238 239 FIXED-TRUNK: vg:4817,4932 240 FIXED-30BRANCH: TODO 241 242 ---------------------------------------------------------------- 243 111748 vex amd64->IR: unhandled instruction bytes: fucom 244 (0xDD 0xE2 0xDF 0xE0) 245 246 FIXED-TRUNK: vex:1415 247 FIXED-30BRANCH: TODO 248 249 ---------------------------------------------------------------- 250 111785 make fails if CC contains spaces 251 252 FIXED-TRUNK: 4589, 4592 253 FIXED-30BRANCH: 4597, 4601 254 255 ---------------------------------------------------------------- 256 111829 vex x86->IR: unhandled instruction bytes: sbb Al, Ib 257 258 FIXED-TRUNK: vex:1406 259 FIXED-30BRANCH: TODO 260 261 ---------------------------------------------------------------- 262 111851 vex x86->IR: unhandled instruction bytes: 0x9F 0x89 263 (lahf/sahf) 264 265 FIXED-TRUNK: vex:1409 266 FIXED-30BRANCH: TODO 267 268 ---------------------------------------------------------------- 269 112031 iopl on AMD64 and README_MISSING_SYSCALL_OR_IOCTL update 270 271 FIXED-TRUNK: 4826, 4864 272 FIXED-30BRANCH: 4862, 4865 273 274 ---------------------------------------------------------------- 275 112152 code generation for Xin_MFence on x86 with SSE0 subarch 276 112167 == 277 112789 == 278 279 FIXED-TRUNK: vex:1407 280 FIXED-30BRANCH: TODO 281 282 ---------------------------------------------------------------- 283 112199 naked ar tool is used in vex makefile 284 285 FIXED-TRUNK: vex:1397 286 FIXED-30BRANCH: TODO 287 288 ---------------------------------------------------------------- 289 112501 vex x86->IR: movq (0xF 0x7F 0xC1 0xF) (mmx MOVQ) 290 113583 == 291 292 FIXED-TRUNK: vex:1408 293 FIXED-30BRANCH: TODO 294 295 ---------------------------------------------------------------- 296 112538 memalign crash 297 298 FIXED-TRUNK: vg:4879 299 FIXED-30BRANCH: vg:4880 300 301 ---------------------------------------------------------------- 302 113190 Broken links in docs/html/ 303 304 FIXED-TRUNK: vg:4778 305 FIXED-30BRANCH: TODO 306 307 ---------------------------------------------------------------- 308 113230 Valgrind sys_pipe on x86-64 wrongly thinks file descriptors 309 should be 64bit 310 311 FIXED-TRUNK: vg:4669 312 FIXED-30BRANCH: TODO 313 314 ---------------------------------------------------------------- 315 n-i-bz Cachegrind shows incorrect miss rates when counts are 316 greater than 32 bits 317 318 FIXED-TRUNK: vg:4769 319 FIXED-30BRANCH: TODO 320 321 ---------------------------------------------------------------- 322 113996 vex amd64->IR: fucomp (0xDD 0xE9 0xDF 0xE0) 323 324 FIXED-TRUNK: vex:1437 325 FIXED-30BRANCH: TODO 326 327 ---------------------------------------------------------------- 328 114196 vex x86->IR: out %eax,(%dx) (0xEF 0xC9 0xC3 0x90) 329 330 FIXED-TRUNK: vex:1425 331 FIXED-30BRANCH: TODO 332 (has good test case) 333 334 ---------------------------------------------------------------- 335 114250 context record in signal handler contains incorrect values 336 337 FIXED-TRUNK: TODO 338 FIXED-30BRANCH: TODO 339 (has good test case) 340 341 ---------------------------------------------------------------- 342 114289 Memcheck fails to intercept malloc when used in an uclibc environment 343 344 FIXED-TRUNK: vg:4916 345 FIXED-30BRANCH: TODO 346 347 ---------------------------------------------------------------- 348 114756 mbind syscall support 349 350 FIXED-TRUNK: vg:4958 351 FIXED-30BRANCH: TODO 352 353 ---------------------------------------------------------------- 354 114757 Valgrind dies with assertion: Assertion 'noLargerThan > 0' failed 355 356 FIXED-TRUNK: vg:4960 357 FIXED-30BRANCH: TODO 358 359 ---------------------------------------------------------------- 360 114563 stack tracking module not informed when valgrind switches threads 361 362 FIXED-TRUNK: vg:5070 363 FIXED-30BRANCH: TODO 364 365 ---------------------------------------------------------------- 366 114564: clone() and stacks 367 114565 == 368 369 FIXED-TRUNK: vg:5070 370 371 ---------------------------------------------------------------- 372 115496 glibc crashes trying to use sysinfo page 373 374 FIXED-TRUNK: vg:5079 375 FIXED-30BRANCH: TODO 376 377 ---------------------------------------------------------------- 378 116200 enable fsetxattr, fgetxattr, and fremovexattr for amd64 379 380 FIXED-TRUNK: vg:5106 381 FIXED-30BRANCH: TODO 382 383 384 ======================================================================== 385 === Bugs targeted for 3.1.0 and 3.0.1 (all done, 3.0.1 released) === 386 ======================================================================== 387 388 ---------------------------------------------------------------- 389 101204 noisy warning 390 391 FIXED-TRUNK: vg:4511 392 FIXED-30BRANCH: vg:4561 393 394 ---------------------------------------------------------------- 395 109313 x86 cmpxchg8b 396 397 FIXED-TRUNK: vex:1331, vg:4390 contains regtest 398 + mistaken commit of this file) 399 FIXED-30BRANCH: vex:1337 400 401 ---------------------------------------------------------------- 402 110102 dis_op2_E_G(amd64) 403 404 FIXED-TRUNK: vex:1318 405 FIXED-30BRANCH: vex:1325 406 407 ---------------------------------------------------------------- 408 110202 x86 sys_waitpid(#286) 409 410 FIXED-TRUNK: vg:4329 411 FIXED-30BRANCH: vg:4332 412 413 ---------------------------------------------------------------- 414 110203 clock_getres(,0) 415 416 FIXED-TRUNK: vg:4328 417 FIXED-30BRANCH: vg:4332 418 419 ---------------------------------------------------------------- 420 110208 execve fail wrong retval 421 422 FIXED-TRUNK: vg:4330 423 FIXED-30BRANCH: vg:4332 424 425 ---------------------------------------------------------------- 426 110274 SSE1 now mandatory for x86 427 111739 == 428 429 FIXED-TRUNK: vex:1321, vg:4339 430 FIXED-30BRANCH: vex:1327, vg:4374 431 432 ---------------------------------------------------------------- 433 110388 amd64 0xDD 0xD1 434 435 FIXED-TRUNK: vex:1322 436 FIXED-30BRANCH: vex:1328 437 438 ---------------------------------------------------------------- 439 110464 amd64 0xDC 0x1D FCOMP 440 441 FIXED-TRUNK: vex:1323 442 FIXED-30BRANCH: vex:1329 443 444 ---------------------------------------------------------------- 445 110478 amd64 0xF 0xD PREFETCH 446 447 FIXED-TRUNK: vex:1324 448 FIXED-30BRANCH: vex:1330 449 450 ---------------------------------------------------------------- 451 110591 amd64: rdtsc not implemented properly 452 453 (Also afflicts x86) 454 455 FIXED-TRUNK: vex:1344 (x86), vex:1346 (amd64). 456 FIXED-30BRANCH: vex:1354 (x86), vex:1355 (amd64). 457 458 ---------------------------------------------------------------- 459 110652 AMD64 valgrind crashes on cwtd instruction 460 461 FIXED-TRUNK: vex:1333 462 FIXED-30BRANCH: vex:1335 463 464 ---------------------------------------------------------------- 465 110653 AMD64 valgrind crashes on sarb $0x4,foo(%rip) instruction 466 467 FIXED-TRUNK: vex:1334 468 FIXED-30BRANCH: vex:1336 469 470 ---------------------------------------------------------------- 471 110656 PATH=/usr/bin::/bin valgrind foobar stats ./fooba 472 473 FIXED-TRUNK: vg:4386 474 FIXED-30BRANCH: vg:4395 475 476 ---------------------------------------------------------------- 477 110657 Small test fixes 478 479 (1) Filter out L3 cache warning messages causing problems 480 (2) Stop tests/mq failing on 2.4 kernels 481 482 I suppose it would be good to apply these. They seem low risk. 483 484 FIXED-TRUNK: vg:4429 485 FIXED-30BRANCH: vg:4458 486 487 ---------------------------------------------------------------- 488 110671 vex x86->IR: unhandled instruction bytes: 0xF3 0xC3 (rep ret) 489 490 FIXED-TRUNK: vex:1332 491 FIXED-30BRANCH: vex:1338 492 493 ---------------------------------------------------------------- 494 110685 amd64->IR: unhandled instruction bytes: 0xE1 0x56 (loope Jb) 495 496 FIXED-TRUNK: vex:1349 497 FIXED-30BRANCH: vex:1356 498 499 ---------------------------------------------------------------- 500 110830 configuring with --host fails to build 32 bit on 64 bit target 501 502 FIXED-TRUNK: vg:4442 503 FIXED-30BRANCH: vg:4459 504 505 ---------------------------------------------------------------- 506 110875 Assertion when execve fails 507 508 FIXED-TRUNK: vg:4435 509 FIXED-30BRANCH: vg:4457 510 511 ---------------------------------------------------------------- 512 110898 opteron instructions missing: btq sbbq btsq btrq bsfq 513 514 FIXED-TRUNK: vex:1352 515 FIXED-30BRANCH: vex:1357 516 517 ---------------------------------------------------------------- 518 110954 x86->IR: unhandled instruction bytes: 0xE2 0xF6 (loop Jb) 519 520 FIXED-TRUNK: vex:1343 521 FIXED-30BRANCH: vex:1358 522 523 ---------------------------------------------------------------- 524 111006 bogus warnings from linuxthreads 525 526 FIXED-TRUNK: vg:4469, vg:4470 527 FIXED-30BRANCH: vg:4497, vg:4498 528 529 ---------------------------------------------------------------- 530 111090 Internal Error running Massif 531 111808 == 532 112098 == 533 534 FIXED-TRUNK: vg:4492 535 FIXED-30BRANCH: vg:4509 536 537 ---------------------------------------------------------------- 538 111092 x86: dis_Grp2(Reg): unhandled case(x86) 539 540 FIXED-TRUNK: vex:1341 541 FIXED-30BRANCH: vex:1359 542 543 ---------------------------------------------------------------- 544 111102 (comment #4) Fixed 64-bit unclean "silly arg" message 545 546 FIXED-TRUNK: vg:4476 547 FIXED-30BRANCH: vg:4502 548 549 ****** not yet closed 550 551 ---------------------------------------------------------------- 552 111231 sctp_getladdrs() and sctp_getpaddrs() returns uninitialized 553 memory 554 555 FIXED-TRUNK: vg:4549 556 FIXED-30BRANCH: vg:4563 557 558 ---------------------------------------------------------------- 559 111513 Illegal opcode for SSE instruction (x86 movups) 560 NB. Bug reporter did not yet verify that the fix works. 561 562 FIXED-TRUNK: vex:1362 563 FIXED-30BRANCH: vex:1367 564 565 ---------------------------------------------------------------- 566 111555 VEX/Makefile: CC is set to gcc 567 568 FIXED-TRUNK: vex:1364, vg:4559 569 FIXED-30BRANCH: vex:1365, vg:4560 570 571 ---------------------------------------------------------------- 572 CrispinF x86 %eflags.ac problem 573 574 FIXED-TRUNK: vex:1319/vg:4334 575 FIXED-30BRANCH: vex:1326, and vg:4334 was copied across as part of vg:4364 576 577 ---------------------------------------------------------------- 578 n-i-bz XML <unique> printing wrong 579 580 FIXED-TRUNK: vg:4355,vg:4357,vg:4358 581 FIXED-30BRANCH: vg:4585 582 583 ---------------------------------------------------------------- 584 n-i-bz Dirk r4359 (amd64 syscalls from trunk) 585 586 FIXED-TRUNK: 587 FIXED-30BRANCH: vg:4359 588 589 ---------------------------------------------------------------- 590 n-i-bz Dirk r4360 (upd email addrs from trunk) 591 592 FIXED-TRUNK: 593 FIXED-30BRANCH: vg:4360 594 595 ---------------------------------------------------------------- 596 n-i-bz Nick r4384 (stub implementations of Addrcheck and Helgrind) 597 598 FIXED-TRUNK: vg:4384 599 FIXED-30BRANCH: vg:4397 600 601 ---------------------------------------------------------------- 602 n-i-bz Nick (Cachegrind should not assert when it encounters a client 603 request.) 604 605 FIXED-TRUNK: vg:4391 606 FIXED-30BRANCH: vg:4393 607 608 ---------------------------------------------------------------- 609 Updates to Memcheck manual 610 611 FIXED-TRUNK: vg:4419, vg:4427, vg:4434 612 FIXED-30BRANCH: vg:4455 613 614 ---------------------------------------------------------------- 615 Fixed broken malloc_usable_size() 616 617 FIXED-TRUNK: vg:4439 618 FIXED-30BRANCH: vg:4453 619 620 ---------------------------------------------------------------- 621 Make suppressions work for "???" lines in stacktraces. 622 623 FIXED-TRUNK: vg:4447 624 FIXED-30BRANCH: vg:4451 625 626 ---------------------------------------------------------------- 627 n-i-bz vex x86->IR: unhandled instruction bytes: 0x14 0x0 628 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 632 633 ---------------------------------------------------------------- 634 n-i-bz minor umount/fcntl wrapper fixes 635 636 FIXED-TRUNK: vg:4487 637 FIXED-30BRANCH: vg:4562 638 639 ---------------------------------------------------------------- 640 n-i-bz Fix XML bugs in FAQ 641 642 FIXED-TRUNK: vg:4528 643 FIXED-30BRANCH: vg:4564 644 645 646 ======================================================================== 647 === Bugs of note not targeted for any particular release 648 ======================================================================== 649 650 ---------------------------------------------------------------- 651 n-i-bz x86 INT/INT3 652 653 Not started. Seems low priority. 654 655 FIXED-TRUNK: TODO? 656 657 ---------------------------------------------------------------- 658 87263 x86 segment stuff 659 660 Not started. Seems low priority. 661 662 FIXED-TRUNK: TODO? 663 664 ---------------------------------------------------------------- 665 88116 x86 enter variants assert 666 667 Not started. Seems low priority. 668 669 FIXED-TRUNK: TODO? 670 671 ---------------------------------------------------------------- 672 96542 x86 16-bit pop insns 673 674 Not started. Seems low priority. 675 676 FIXED-TRUNK: TODO? 677 678 ---------------------------------------------------------------- 679 110207 mpn accuracy + 680 110240 x86 FP differences 681 682 Can't be easily fixed (x86 rounding/precision problem) 683 + not convinced it's a big problem 684 685 FIXED-TRUNK: TODO? 686 687 ---------------------------------------------------------------- 688 110669 valgrind attach to gdb and quitting gdb hangs valgrind 689 690 Not clear if this is really a Valgrind bug. 691 692 FIXED-TRUNK: TODO? 693 694 ---------------------------------------------------------------- 695 111898 Need to control file name that cachegrind writes into 696 697 FIXED-TRUNK: TODO? 698