1 2nb: "n-i-bz" == "not in Bugzilla" 3 4======================================================================== 5=== Bugs targeted for 3.1.0 only === 6======================================================================== 7 8---------------------------------------------------------------- 9109861 amd64 hangs at startup 10110301 ditto 11111554 valgrind crashes with Cannot allocate memory 12111809 Memcheck tool doesn't start java 13111901 cross-platform run of cachegrind fails on opteron 14113468 (vgPlain_mprotect_range): Assertion 'r != -1' failed. 15 92071 Reading debugging info uses too much memory 16109744 memcheck loses track of mmap from direct ld-linux.so.2 17110183 tail of page with _end 18 82301 FV memory layout too rigid 19 98278 Infinite recursion possible when allocating memory 20108994 Valgrind runs out of memory due to 133x overhead 21115643 valgrind cannot allocate memory 22 23Will fix in 3.1. Long delay seems to be caused by amd64-Gentoo kernel 24not liking large mmap/munmap requests. Other bugs also look like 25aspacem problems. 26 27FIXED-TRUNK: now done (many many commits) 28 29---------------------------------------------------------------- 30105227 The BOUND instruction is not implemented (x86, with test case) 31 32FIXED-TRUNK: TODO ? 33 34---------------------------------------------------------------- 35105974 vg_hashtable.c static hash table 36 37FIXED-TRUNK: vg:??? 38 39---------------------------------------------------------------- 40109323 ppc32: dispatch.S uses Altivec insn, which doesn't work on POWER. 41 42FIXED-TRUNK: 4636 43 44---------------------------------------------------------------- 45109345 ptrace_setregs not yet implemented for ppc 46 47FIXED-TRUNK: vg:5046 48 49---------------------------------------------------------------- 50110204 fmemopen false +ve 51 52Seems low priority. 53 54FIXED-TRUNK: TODO? 55 56---------------------------------------------------------------- 57110205 sigcancel unwind fails 58114629 == (TENTATIVE) 59 60Tom is considering this. It would be nice to fix it for 3.1 but 61status currently unclear. 62 63FIXED-TRUNK: vex:1320 - vex impl of sysenter 64 vg:4337 - minimal Valgrind-side; does not do anything 65 66---------------------------------------------------------------- 67110831 Would like to be able to run against both 32 and 64 bit 68 binaries on AMD64 69110829 == 70 71FIXED-TRUNK: many commits (vg:5031 ?) 72 73---------------------------------------------------------------- 74111364 False report of "definitly lost" memory 75 76Unclear what to do about this .. leak checker strangeness. 77 78---------------------------------------------------------------- 79n-i-bz Give more info about seginfo dropping. 80 81FIXED-TRUNK: vg:4425 82 83---------------------------------------------------------------- 84111855 default suppression file is read 1 byte at a time 85 86Perhaps worth a look. 87 88FIXED-TRUNK: TODO 89 90---------------------------------------------------------------- 91111781 compile of valgrind-3.0.0 fails on my linux (gcc 2.X prob) 92 93FIXED-TRUNK: fixed (multiple commits) 94 95---------------------------------------------------------------- 96112163 MASSIF crashed with signal 7 (SIGBUS) after running 2 days 97 98FIXED-TRUNK: unconfirmed (insufficient info from reporter) 99 100---------------------------------------------------------------- 101112670 Cachegrind: cg_main.c:486 (handleOneStatement ... 102 103FIXED-TRUNK: fixed (many commits) 104 105---------------------------------------------------------------- 106112941 vex x86: 0xD9 0xF4 (fxtract) 107110201 == 108 109FIXED-TRUNK: vex:1405 110 111---------------------------------------------------------------- 112113015 vex amd64->IR: 0xE3 0x14 0x48 0x83 (jrcxz) 113 114FIXED-TRUNK: vex:1413 115 116---------------------------------------------------------------- 117113126 Crash with binaries built with -gstabs+/-ggdb 118104065 == 119115741 == 120 121FIXED-TRUNK: vg:5138 122 123---------------------------------------------------------------- 124113403 Partial SSE3 support on x86 125 126FIXED-TRUNK: vex:??? 127 128---------------------------------------------------------------- 129113541 vex: the `impossible' happened: Grp5(x86) (alt encoding inc/dec) 130 case 1 131FIXED-TRUNK: vex:1412 132 133---------------------------------------------------------------- 134113642 New: valgrind crashes when trying to read debug information 135 136FIXED-TRUNK: vg:4856 137 138---------------------------------------------------------------- 139113810 priv/guest-x86/toIR.c:7964 (disInstr_X86_WRK): Assertion `sz == 4' 140 Inferred 66 0F F6 (66 + PSADBW == SSE PSADBW) 141 142FIXED-TRUNK: vex:1410, test in valgrind:4851 143 144---------------------------------------------------------------- 145113796 read() and write() do not work if buffer is in shared memory 146 147Although the underlying cause is still present in the 3.0 code 148this bug is only user visible in the 2.4 code base. 149 150FIXED-TRUNK: vg:4852 151 152---------------------------------------------------------------- 153113851 vex x86->IR: (pmaddwd): 0x66 0xF 0xF5 0xC7 154 155FIXED-TRUNK: vex:1411, test in valgrind:4859 156 157---------------------------------------------------------------- 158114366 New: vex amd64 cannnot handle __asm__( "fninit" ) 159 160FIXED-TRUNK: vex:1440 161 162---------------------------------------------------------------- 163114412 vex amd64->IR: 0xF 0xAD 0xC2 0xD3 (128-bit shift, shrdq?) 164 165FIXED-TRUNK: vex:1435 166 167---------------------------------------------------------------- 168114455 vex amd64->IR: 0xF 0xAC 0xD0 0x1 (also shrdq) 169 170FIXED-TRUNK: vex:1436 171 172---------------------------------------------------------------- 173115590: amd64->IR: 0x67 0xE3 0x9 0xEB (address size override) 174 175FIXED-TRUNK: vex:1433 176 177---------------------------------------------------------------- 178115953 valgrind svn r5042 does not build with parallel make (-j3) 179 180FIXED-TRUNK: vg:???? 181 182---------------------------------------------------------------- 183116057 New: valgrind maximum instruction size - VG_MAX_INSTR_SZB too 184 small? 185 186FIXED-TRUNK: vg:5072 187 188---------------------------------------------------------------- 189116483 shmat failes with invalid argument when trying to attach a shm segment 190 191FIXED-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---------------------------------------------------------------- 198102202 valgrind crashes when realloc'ing until out of memory 199109487 == 200110536 == 201112687 == 202 203FIXED-TRUNK: 4875 204FIXED-30BRANCH: 4876 205 206---------------------------------------------------------------- 207110209 --show-emwarns misses some 208 209Tom says: The math/test-fenv.c file in the glibc source is the code in 210question and I can reproduce it with that code. 211 212FIXED-TRUNK: TODO? 213FIXED-30BRANCH: TODO? 214 215---------------------------------------------------------------- 216110770 VEX: Generated files not always updated when making valgrind 217 218FIXED-TRUNK: TODO... partial(vg:4473) 219FIXED-30BRANCH: TODO 220 221---------------------------------------------------------------- 222n-i-bz Jeroen's XML-to-text FAQ.xml translator 223 224FIXED-TRUNK: vg:4830 225FIXED-30BRANCH: TODO 226 227---------------------------------------------------------------- 228111724 vex amd64->IR: unhandled instruction bytes: 0x41 0xF 0xAB 229(more BT{,S,R,C} fun n games) 230Also 0xF 0xBB 0x10 0x44 231 232FIXED-TRUNK: vex:1414 233FIXED-30BRANCH: TODO 234 235---------------------------------------------------------------- 236n-i-bz Print a more user-friendly message when vex bombs out 237 with unhandled instruction bytes 238 239FIXED-TRUNK: vg:4817,4932 240FIXED-30BRANCH: TODO 241 242---------------------------------------------------------------- 243111748 vex amd64->IR: unhandled instruction bytes: fucom 244 (0xDD 0xE2 0xDF 0xE0) 245 246FIXED-TRUNK: vex:1415 247FIXED-30BRANCH: TODO 248 249---------------------------------------------------------------- 250111785 make fails if CC contains spaces 251 252FIXED-TRUNK: 4589, 4592 253FIXED-30BRANCH: 4597, 4601 254 255---------------------------------------------------------------- 256111829 vex x86->IR: unhandled instruction bytes: sbb Al, Ib 257 258FIXED-TRUNK: vex:1406 259FIXED-30BRANCH: TODO 260 261---------------------------------------------------------------- 262111851 vex x86->IR: unhandled instruction bytes: 0x9F 0x89 263 (lahf/sahf) 264 265FIXED-TRUNK: vex:1409 266FIXED-30BRANCH: TODO 267 268---------------------------------------------------------------- 269112031 iopl on AMD64 and README_MISSING_SYSCALL_OR_IOCTL update 270 271FIXED-TRUNK: 4826, 4864 272FIXED-30BRANCH: 4862, 4865 273 274---------------------------------------------------------------- 275112152 code generation for Xin_MFence on x86 with SSE0 subarch 276112167 == 277112789 == 278 279FIXED-TRUNK: vex:1407 280FIXED-30BRANCH: TODO 281 282---------------------------------------------------------------- 283112199 naked ar tool is used in vex makefile 284 285FIXED-TRUNK: vex:1397 286FIXED-30BRANCH: TODO 287 288---------------------------------------------------------------- 289112501 vex x86->IR: movq (0xF 0x7F 0xC1 0xF) (mmx MOVQ) 290113583 == 291 292FIXED-TRUNK: vex:1408 293FIXED-30BRANCH: TODO 294 295---------------------------------------------------------------- 296112538 memalign crash 297 298FIXED-TRUNK: vg:4879 299FIXED-30BRANCH: vg:4880 300 301---------------------------------------------------------------- 302113190 Broken links in docs/html/ 303 304FIXED-TRUNK: vg:4778 305FIXED-30BRANCH: TODO 306 307---------------------------------------------------------------- 308113230 Valgrind sys_pipe on x86-64 wrongly thinks file descriptors 309 should be 64bit 310 311FIXED-TRUNK: vg:4669 312FIXED-30BRANCH: TODO 313 314---------------------------------------------------------------- 315n-i-bz Cachegrind shows incorrect miss rates when counts are 316 greater than 32 bits 317 318FIXED-TRUNK: vg:4769 319FIXED-30BRANCH: TODO 320 321---------------------------------------------------------------- 322113996 vex amd64->IR: fucomp (0xDD 0xE9 0xDF 0xE0) 323 324FIXED-TRUNK: vex:1437 325FIXED-30BRANCH: TODO 326 327---------------------------------------------------------------- 328114196 vex x86->IR: out %eax,(%dx) (0xEF 0xC9 0xC3 0x90) 329 330FIXED-TRUNK: vex:1425 331FIXED-30BRANCH: TODO 332(has good test case) 333 334---------------------------------------------------------------- 335114250 context record in signal handler contains incorrect values 336 337FIXED-TRUNK: TODO 338FIXED-30BRANCH: TODO 339(has good test case) 340 341---------------------------------------------------------------- 342114289 Memcheck fails to intercept malloc when used in an uclibc environment 343 344FIXED-TRUNK: vg:4916 345FIXED-30BRANCH: TODO 346 347---------------------------------------------------------------- 348114756 mbind syscall support 349 350FIXED-TRUNK: vg:4958 351FIXED-30BRANCH: TODO 352 353---------------------------------------------------------------- 354114757 Valgrind dies with assertion: Assertion 'noLargerThan > 0' failed 355 356FIXED-TRUNK: vg:4960 357FIXED-30BRANCH: TODO 358 359---------------------------------------------------------------- 360114563 stack tracking module not informed when valgrind switches threads 361 362FIXED-TRUNK: vg:5070 363FIXED-30BRANCH: TODO 364 365---------------------------------------------------------------- 366114564: clone() and stacks 367114565 == 368 369FIXED-TRUNK: vg:5070 370 371---------------------------------------------------------------- 372115496 glibc crashes trying to use sysinfo page 373 374FIXED-TRUNK: vg:5079 375FIXED-30BRANCH: TODO 376 377---------------------------------------------------------------- 378116200 enable fsetxattr, fgetxattr, and fremovexattr for amd64 379 380FIXED-TRUNK: vg:5106 381FIXED-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---------------------------------------------------------------- 389101204 noisy warning 390 391FIXED-TRUNK: vg:4511 392FIXED-30BRANCH: vg:4561 393 394---------------------------------------------------------------- 395109313 x86 cmpxchg8b 396 397FIXED-TRUNK: vex:1331, vg:4390 contains regtest 398 + mistaken commit of this file) 399FIXED-30BRANCH: vex:1337 400 401---------------------------------------------------------------- 402110102 dis_op2_E_G(amd64) 403 404FIXED-TRUNK: vex:1318 405FIXED-30BRANCH: vex:1325 406 407---------------------------------------------------------------- 408110202 x86 sys_waitpid(#286) 409 410FIXED-TRUNK: vg:4329 411FIXED-30BRANCH: vg:4332 412 413---------------------------------------------------------------- 414110203 clock_getres(,0) 415 416FIXED-TRUNK: vg:4328 417FIXED-30BRANCH: vg:4332 418 419---------------------------------------------------------------- 420110208 execve fail wrong retval 421 422FIXED-TRUNK: vg:4330 423FIXED-30BRANCH: vg:4332 424 425---------------------------------------------------------------- 426110274 SSE1 now mandatory for x86 427111739 == 428 429FIXED-TRUNK: vex:1321, vg:4339 430FIXED-30BRANCH: vex:1327, vg:4374 431 432---------------------------------------------------------------- 433110388 amd64 0xDD 0xD1 434 435FIXED-TRUNK: vex:1322 436FIXED-30BRANCH: vex:1328 437 438---------------------------------------------------------------- 439110464 amd64 0xDC 0x1D FCOMP 440 441FIXED-TRUNK: vex:1323 442FIXED-30BRANCH: vex:1329 443 444---------------------------------------------------------------- 445110478 amd64 0xF 0xD PREFETCH 446 447FIXED-TRUNK: vex:1324 448FIXED-30BRANCH: vex:1330 449 450---------------------------------------------------------------- 451110591 amd64: rdtsc not implemented properly 452 453(Also afflicts x86) 454 455FIXED-TRUNK: vex:1344 (x86), vex:1346 (amd64). 456FIXED-30BRANCH: vex:1354 (x86), vex:1355 (amd64). 457 458---------------------------------------------------------------- 459110652 AMD64 valgrind crashes on cwtd instruction 460 461FIXED-TRUNK: vex:1333 462FIXED-30BRANCH: vex:1335 463 464---------------------------------------------------------------- 465110653 AMD64 valgrind crashes on sarb $0x4,foo(%rip) instruction 466 467FIXED-TRUNK: vex:1334 468FIXED-30BRANCH: vex:1336 469 470---------------------------------------------------------------- 471110656 PATH=/usr/bin::/bin valgrind foobar stats ./fooba 472 473FIXED-TRUNK: vg:4386 474FIXED-30BRANCH: vg:4395 475 476---------------------------------------------------------------- 477110657 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 482I suppose it would be good to apply these. They seem low risk. 483 484FIXED-TRUNK: vg:4429 485FIXED-30BRANCH: vg:4458 486 487---------------------------------------------------------------- 488110671 vex x86->IR: unhandled instruction bytes: 0xF3 0xC3 (rep ret) 489 490FIXED-TRUNK: vex:1332 491FIXED-30BRANCH: vex:1338 492 493---------------------------------------------------------------- 494110685 amd64->IR: unhandled instruction bytes: 0xE1 0x56 (loope Jb) 495 496FIXED-TRUNK: vex:1349 497FIXED-30BRANCH: vex:1356 498 499---------------------------------------------------------------- 500110830 configuring with --host fails to build 32 bit on 64 bit target 501 502FIXED-TRUNK: vg:4442 503FIXED-30BRANCH: vg:4459 504 505---------------------------------------------------------------- 506110875 Assertion when execve fails 507 508FIXED-TRUNK: vg:4435 509FIXED-30BRANCH: vg:4457 510 511---------------------------------------------------------------- 512110898 opteron instructions missing: btq sbbq btsq btrq bsfq 513 514FIXED-TRUNK: vex:1352 515FIXED-30BRANCH: vex:1357 516 517---------------------------------------------------------------- 518110954 x86->IR: unhandled instruction bytes: 0xE2 0xF6 (loop Jb) 519 520FIXED-TRUNK: vex:1343 521FIXED-30BRANCH: vex:1358 522 523---------------------------------------------------------------- 524111006 bogus warnings from linuxthreads 525 526FIXED-TRUNK: vg:4469, vg:4470 527FIXED-30BRANCH: vg:4497, vg:4498 528 529---------------------------------------------------------------- 530111090 Internal Error running Massif 531111808 == 532112098 == 533 534FIXED-TRUNK: vg:4492 535FIXED-30BRANCH: vg:4509 536 537---------------------------------------------------------------- 538111092 x86: dis_Grp2(Reg): unhandled case(x86) 539 540FIXED-TRUNK: vex:1341 541FIXED-30BRANCH: vex:1359 542 543---------------------------------------------------------------- 544111102 (comment #4) Fixed 64-bit unclean "silly arg" message 545 546FIXED-TRUNK: vg:4476 547FIXED-30BRANCH: vg:4502 548 549****** not yet closed 550 551---------------------------------------------------------------- 552111231 sctp_getladdrs() and sctp_getpaddrs() returns uninitialized 553 memory 554 555FIXED-TRUNK: vg:4549 556FIXED-30BRANCH: vg:4563 557 558---------------------------------------------------------------- 559111513 Illegal opcode for SSE instruction (x86 movups) 560NB. Bug reporter did not yet verify that the fix works. 561 562FIXED-TRUNK: vex:1362 563FIXED-30BRANCH: vex:1367 564 565---------------------------------------------------------------- 566111555 VEX/Makefile: CC is set to gcc 567 568FIXED-TRUNK: vex:1364, vg:4559 569FIXED-30BRANCH: vex:1365, vg:4560 570 571---------------------------------------------------------------- 572CrispinF x86 %eflags.ac problem 573 574FIXED-TRUNK: vex:1319/vg:4334 575FIXED-30BRANCH: vex:1326, and vg:4334 was copied across as part of vg:4364 576 577---------------------------------------------------------------- 578n-i-bz XML <unique> printing wrong 579 580FIXED-TRUNK: vg:4355,vg:4357,vg:4358 581FIXED-30BRANCH: vg:4585 582 583---------------------------------------------------------------- 584n-i-bz Dirk r4359 (amd64 syscalls from trunk) 585 586FIXED-TRUNK: 587FIXED-30BRANCH: vg:4359 588 589---------------------------------------------------------------- 590n-i-bz Dirk r4360 (upd email addrs from trunk) 591 592FIXED-TRUNK: 593FIXED-30BRANCH: vg:4360 594 595---------------------------------------------------------------- 596n-i-bz Nick r4384 (stub implementations of Addrcheck and Helgrind) 597 598FIXED-TRUNK: vg:4384 599FIXED-30BRANCH: vg:4397 600 601---------------------------------------------------------------- 602n-i-bz Nick (Cachegrind should not assert when it encounters a client 603request.) 604 605FIXED-TRUNK: vg:4391 606FIXED-30BRANCH: vg:4393 607 608---------------------------------------------------------------- 609Updates to Memcheck manual 610 611FIXED-TRUNK: vg:4419, vg:4427, vg:4434 612FIXED-30BRANCH: vg:4455 613 614---------------------------------------------------------------- 615Fixed broken malloc_usable_size() 616 617FIXED-TRUNK: vg:4439 618FIXED-30BRANCH: vg:4453 619 620---------------------------------------------------------------- 621Make suppressions work for "???" lines in stacktraces. 622 623FIXED-TRUNK: vg:4447 624FIXED-30BRANCH: vg:4451 625 626---------------------------------------------------------------- 627n-i-bz vex x86->IR: unhandled instruction bytes: 0x14 0x0 628 629FIXED-TRUNK: vex:1350 (basic fix), vex:1351 (x86 adc/sbb flags thunk fix), 630 vex:1353 (amd64 adc/sbb flags thunk fix) 631FIXED-30BRANCH: vex:1360 632 633---------------------------------------------------------------- 634n-i-bz minor umount/fcntl wrapper fixes 635 636FIXED-TRUNK: vg:4487 637FIXED-30BRANCH: vg:4562 638 639---------------------------------------------------------------- 640n-i-bz Fix XML bugs in FAQ 641 642FIXED-TRUNK: vg:4528 643FIXED-30BRANCH: vg:4564 644 645 646======================================================================== 647=== Bugs of note not targeted for any particular release 648======================================================================== 649 650---------------------------------------------------------------- 651n-i-bz x86 INT/INT3 652 653Not started. Seems low priority. 654 655FIXED-TRUNK: TODO? 656 657---------------------------------------------------------------- 65887263 x86 segment stuff 659 660Not started. Seems low priority. 661 662FIXED-TRUNK: TODO? 663 664---------------------------------------------------------------- 66588116 x86 enter variants assert 666 667Not started. Seems low priority. 668 669FIXED-TRUNK: TODO? 670 671---------------------------------------------------------------- 67296542 x86 16-bit pop insns 673 674Not started. Seems low priority. 675 676FIXED-TRUNK: TODO? 677 678---------------------------------------------------------------- 679110207 mpn accuracy + 680110240 x86 FP differences 681 682Can't be easily fixed (x86 rounding/precision problem) 683+ not convinced it's a big problem 684 685FIXED-TRUNK: TODO? 686 687---------------------------------------------------------------- 688110669 valgrind attach to gdb and quitting gdb hangs valgrind 689 690Not clear if this is really a Valgrind bug. 691 692FIXED-TRUNK: TODO? 693 694---------------------------------------------------------------- 695111898 Need to control file name that cachegrind writes into 696 697FIXED-TRUNK: TODO? 698