1 2 # Suppressions for Darwin 15.x / Mac OS X 10.11 El Capitan 3 4 ############################################ 5 ## Leaks. For other stuff see below. 6 7 { 8 OSX1011:1-Leak 9 Memcheck:Leak 10 match-leak-kinds: possible 11 fun:malloc_zone_?alloc 12 ... 13 fun:_read_images 14 } 15 16 { 17 OSX1011:2-Leak 18 Memcheck:Leak 19 match-leak-kinds: definite 20 fun:malloc_zone_?alloc 21 ... 22 fun:_read_images 23 } 24 25 { 26 OSX1011:3-Leak 27 Memcheck:Leak 28 match-leak-kinds: definite 29 fun:malloc_zone_?alloc 30 fun:recursive_mutex_init 31 ... 32 fun:_os_object_init 33 fun:libdispatch_init 34 fun:libSystem_initializer 35 ... 36 } 37 38 { 39 OSX1011:4-Leak 40 Memcheck:Leak 41 fun:malloc_zone_?alloc 42 ... 43 fun:dyld_register_image_state_change_handler 44 ... 45 } 46 47 { 48 OSX1011:5-Leak 49 Memcheck:Leak 50 match-leak-kinds: reachable 51 fun:?alloc 52 ... 53 fun:dyld_register_image_state_change_handler 54 ... 55 } 56 57 { 58 OSX1011:6-Leak 59 Memcheck:Leak 60 match-leak-kinds: reachable 61 fun:malloc_zone_?alloc 62 ... 63 fun:map_images_nolock 64 fun:map_2_images 65 ... 66 } 67 68 { 69 OSX1011:7-Leak 70 Memcheck:Leak 71 match-leak-kinds: possible 72 fun:malloc_zone_?alloc 73 ... 74 fun:map_images_nolock 75 fun:map_2_images 76 ... 77 } 78 79 { 80 OSX1011:8-Leak 81 Memcheck:Leak 82 match-leak-kinds: definite 83 fun:?alloc 84 ... 85 fun:libSystem_initializer 86 ... 87 } 88 89 { 90 OSX1011:9-Leak 91 Memcheck:Leak 92 match-leak-kinds: reachable 93 fun:malloc_zone_?alloc 94 ... 95 fun:libSystem_initializer 96 ... 97 } 98 99 { 100 OSX1011:10-Leak 101 Memcheck:Leak 102 match-leak-kinds: reachable 103 fun:?alloc 104 ... 105 fun:libSystem_initializer 106 ... 107 } 108 109 #{ 110 # OSX1011:11-Leak 111 # Memcheck:Leak 112 # match-leak-kinds: definite 113 # fun:malloc 114 # fun:currentlocale 115 #} 116 # 117 #{ 118 # OSX1011:12-Leak 119 # Memcheck:Leak 120 # match-leak-kinds: possible 121 # fun:malloc 122 # fun:tzsetwall_basic 123 # fun:_st_tzset_basic 124 #} 125 126 { 127 OSX1011:13-Leak 128 Memcheck:Leak 129 match-leak-kinds: reachable 130 fun:malloc_zone_memalign 131 ... 132 fun:_ZN4dyld24initializeMainExecutableEv 133 ... 134 } 135 136 { 137 OSX1011:14-Leak 138 Memcheck:Leak 139 match-leak-kinds: reachable 140 fun:?alloc 141 ... 142 fun:libSystem_atfork_child 143 ... 144 } 145 146 { 147 OSX1011:15-Leak 148 Memcheck:Leak 149 match-leak-kinds: reachable 150 fun:malloc 151 fun:__smakebuf 152 ... 153 fun:printf 154 ... 155 } 156 157 { 158 OSX1011:16-Leak 159 Memcheck:Leak 160 match-leak-kinds: possible 161 fun:?alloc 162 ... 163 fun:_read_images 164 } 165 166 { 167 OSX1011:17-Leak 168 Memcheck:Leak 169 match-leak-kinds: reachable 170 fun:?alloc 171 ... 172 fun:_read_images 173 } 174 175 { 176 OSX1011:18-Leak 177 Memcheck:Leak 178 match-leak-kinds: reachable 179 fun:malloc_zone_?alloc 180 ... 181 fun:_read_images 182 } 183 184 { 185 OSX1011:19-Leak 186 Memcheck:Leak 187 match-leak-kinds: possible 188 fun:malloc_zone_?alloc 189 ... 190 fun:*NX*Map* 191 fun:*NX*Map* 192 } 193 194 { 195 OSX1011:20-Leak 196 Memcheck:Leak 197 match-leak-kinds: indirect 198 fun:?alloc 199 ... 200 fun:libSystem_initializer 201 ... 202 } 203 204 { 205 OSX1011:21-Leak 206 Memcheck:Leak 207 match-leak-kinds: definite 208 fun:malloc_zone_memalign 209 ... 210 fun:_ZN4dyld24initializeMainExecutableEv 211 ... 212 } 213 214 215 ############################################ 216 ## Non-leak errors 217 218 ##{ 219 ## OSX1011:CoreFoundation-1 220 ## Memcheck:Cond 221 ## obj:*CoreFoundation.framework*CoreFoundation* 222 ## obj:*CoreFoundation.framework*CoreFoundation* 223 ## obj:*CoreFoundation.framework*CoreFoundation* 224 ##} 225 226 { 227 OSX1011:CoreFoundation-2 228 Memcheck:Cond 229 obj:*CoreFoundation.framework*CoreFoundation* 230 obj:*libdispatch.dylib* 231 obj:*libdispatch.dylib* 232 } 233 234 { 235 OSX1011:CoreFoundation-3 236 Memcheck:Cond 237 obj:*CoreFoundation.framework*CoreFoundation* 238 obj:*CoreFoundation.framework*CoreFoundation* 239 obj:*Foundation.framework*Foundation* 240 } 241 242 { 243 OSX1011:CoreFoundation-4 244 Memcheck:Cond 245 obj:*CoreFoundation.framework*CoreFoundation* 246 obj:*CoreFoundation.framework*CoreFoundation* 247 obj:*SystemConfiguration.framework*SystemConfiguration* 248 } 249 250 { 251 OSX1011:CoreFoundation-5 252 Memcheck:Cond 253 obj:*CoreFoundation.framework*CoreFoundation* 254 obj:*CoreFoundation.framework*CoreFoundation* 255 obj:*HIServices.framework*HIServices* 256 } 257 258 { 259 OSX1011:CoreFoundation-6 260 Memcheck:Cond 261 obj:*CoreFoundation.framework*CoreFoundation* 262 obj:*SystemConfiguration.framework*SystemConfiguration* 263 obj:*SystemConfiguration.framework*SystemConfiguration* 264 } 265 266 { 267 OSX1011:CoreFoundation-7 268 Memcheck:Cond 269 obj:*CoreFoundation.framework*CoreFoundation* 270 obj:*SystemConfiguration.framework*SystemConfiguration* 271 obj:*CoreFoundation.framework*CoreFoundation* 272 } 273 274 { 275 OSX1011:CoreFoundation-8 276 Memcheck:Cond 277 obj:*CoreFoundation.framework*CoreFoundation* 278 obj:*IOKit.framework*IOKit* 279 } 280 281 { 282 OSX1011:CoreFoundation-9 283 Memcheck:Cond 284 obj:*CoreFoundation.framework*CoreFoundation* 285 obj:*Foundation.framework*Foundation* 286 obj:*AppKit.framework*AppKit* 287 } 288 289 { 290 OSX1011:CoreFoundation-10 291 Memcheck:Cond 292 obj:*CoreFoundation.framework*CoreFoundation* 293 obj:*HIToolbox.framework*HIToolbox* 294 obj:*HIToolbox.framework*HIToolbox* 295 } 296 297 { 298 OSX1011:CoreFoundation-11 299 Memcheck:Cond 300 obj:*CoreFoundation.framework*CoreFoundation* 301 obj:*AE.framework*AE* 302 obj:*AE.framework*AE* 303 } 304 305 { 306 OSX1011:CoreFoundation-12 307 Memcheck:Cond 308 obj:*CoreFoundation.framework*CoreFoundation* 309 obj:*CoreFoundation.framework*CoreFoundation* 310 obj:*HIToolbox.framework*HIToolbox* 311 } 312 313 { 314 OSX1011:CoreFoundation-13 315 Memcheck:Cond 316 obj:*CoreFoundation.framework*CoreFoundation* 317 obj:*CoreFoundation.framework*CoreFoundation* 318 obj:*AE.framework*AE* 319 } 320 321 { 322 OSX1011:AppKit-1 323 Memcheck:Cond 324 obj:*AppKit.framework*AppKit* 325 obj:*AppKit.framework*AppKit* 326 obj:*AppKit.framework*AppKit* 327 } 328 329 { 330 OSX1011:AppKit-2 331 Memcheck:Cond 332 obj:*AppKit.framework*AppKit* 333 obj:*AppKit.framework*AppKit* 334 obj:*libdispatch.dylib* 335 } 336 337 #{ 338 # OSX1011:AppKit-3 339 # Memcheck:Cond 340 # obj:*AppKit.framework*AppKit* 341 # obj:*libdispatch.dylib* 342 # obj:*libdispatch.dylib* 343 #} 344 345 ##{ 346 ## OSX1011:AppKit-4 347 ## Memcheck:Cond 348 ## obj:*AppKit.framework*AppKit* 349 ## obj:*AppKit.framework*AppKit* 350 ## obj:*CoreFoundation.framework*CoreFoundation* 351 ##} 352 353 { 354 OSX1011:AppKit-5 355 Memcheck:Cond 356 obj:*AppKit.framework*AppKit* 357 obj:*AppKit.framework*AppKit* 358 obj:*Foundation.framework*Foundation* 359 } 360 361 { 362 OSX1011:AppKit-6 363 Memcheck:Cond 364 obj:*AppKit.framework*AppKit* 365 obj:*Foundation.framework*Foundation* 366 obj:*AppKit.framework*AppKit* 367 } 368 369 { 370 OSX1011:AppKit-7 371 Memcheck:Cond 372 obj:*AppKit.framework*AppKit* 373 obj:*libdispatch.dylib* 374 obj:*libdispatch.dylib* 375 } 376 377 { 378 OSX1011:AppKit-8 379 Memcheck:Cond 380 obj:*AppKit.framework*AppKit* 381 obj:*Foundation.framework*Foundation* 382 obj:*Foundation.framework*Foundation* 383 } 384 385 { 386 OSX1011:ColorSync-1 387 Memcheck:Cond 388 obj:*ColorSync.framework*ColorSync* 389 obj:*ColorSync.framework*ColorSync* 390 obj:*ColorSync.framework*ColorSync* 391 } 392 393 #{ 394 # OSX1011:ColorSync-2 395 # Memcheck:Value8 396 # obj:*ColorSync.framework*ColorSync* 397 # obj:*ColorSync.framework*ColorSync* 398 # obj:*ColorSync.framework*ColorSync* 399 #} 400 401 { 402 OSX1011:CoreGraphics-1 403 Memcheck:Cond 404 obj:*CoreGraphics.framework*CoreGraphics* 405 obj:*CoreGraphics.framework*CoreGraphics* 406 } 407 408 #{ 409 # OSX1011:CoreGraphics-2 410 # Memcheck:Value8 411 # obj:*CoreGraphics.framework*CoreGraphics* 412 # obj:*CoreGraphics.framework*CoreGraphics* 413 # obj:*CoreGraphics.framework*CoreGraphics* 414 #} 415 416 { 417 OSX1011:CoreGraphics-3 418 Memcheck:Cond 419 obj:*CoreGraphics.framework*CoreGraphics* 420 obj:*CoreGraphics.framework*libRIP* 421 obj:*CoreGraphics.framework*libRIP* 422 } 423 424 #{ 425 # OSX1011:CoreGraphics-4 426 # Memcheck:Cond 427 # obj:*CoreGraphics.framework*CoreGraphics* 428 # obj:*CoreGraphics.framework*CoreGraphics* 429 # obj:*CoreGraphics.framework*libRIP* 430 #} 431 432 { 433 OSX1011:CoreGraphics-5 434 Memcheck:Cond 435 obj:*CoreGraphics.framework*CoreGraphics* 436 obj:*libdispatch.dylib* 437 obj:*libdispatch.dylib* 438 } 439 440 #{ 441 # OSX1011:CoreGraphics-6 442 # Memcheck:Cond 443 # obj:*CoreGraphics.framework*CoreGraphics* 444 # obj:*CoreGraphics.framework*CoreGraphics* 445 # obj:*HIToolbox.framework*HIToolbox* 446 #} 447 448 { 449 OSX1011:HIServices-1 450 Memcheck:Cond 451 obj:*HIServices.framework*HIServices* 452 obj:*HIToolbox.framework*HIToolbox* 453 obj:*HIToolbox.framework*HIToolbox* 454 } 455 456 { 457 OSX1011:LaunchServices-1 458 Memcheck:Cond 459 obj:*LaunchServices.framework*LaunchServices* 460 obj:*AppKit.framework*AppKit* 461 obj:*AppKit.framework*AppKit* 462 } 463 464 { 465 OSX1011:LaunchServices-2 466 Memcheck:Cond 467 obj:*LaunchServices.framework*LaunchServices* 468 obj:*libdispatch.dylib* 469 obj:*libdispatch.dylib* 470 } 471 472 { 473 OSX1011:QuartzCore-1 474 Memcheck:Cond 475 obj:*QuartzCore.framework*QuartzCore 476 obj:*QuartzCore.framework*QuartzCore 477 obj:*QuartzCore.framework*QuartzCore 478 } 479 480 #{ 481 # OSX1011:vImage-1 482 # Memcheck:Cond 483 # obj:*vImage.framework*vImage* 484 # obj:*vImage.framework*vImage* 485 # obj:*CoreGraphics.framework*CoreGraphics* 486 #} 487 488 { 489 OSX1011:zlib-C 490 Memcheck:Cond 491 obj:/usr/lib/libz.*dylib 492 obj:/usr/lib/libz.*dylib 493 } 494 495 { 496 OSX1011:zlib-8 497 Memcheck:Value8 498 obj:/usr/lib/libz.*dylib 499 obj:/usr/lib/libz.*dylib 500 } 501 502 { 503 OSX1011:32bit:_libxpc_initializer 504 Memcheck:Cond 505 obj:/usr/lib/system/libsystem_c.dylib 506 obj:/usr/lib/system/libsystem_c.dylib 507 fun:_libxpc_initializer 508 obj:/usr/lib/libSystem.B.dylib 509 fun:*ImageLoaderMachO*doModInitFunctions* 510 } 511 512 { 513 OSX1011:dyld-1 514 Memcheck:Cond 515 fun:*ImageLoader*weakBind* 516 fun:*ImageLoader*link* 517 fun:*dyld*link* 518 } 519 520 { 521 OSX1011:dyld-2 522 Memcheck:Cond 523 fun:exit 524 obj:*libdyld*dylib* 525 } 526 527 { 528 OSX1011:libsystem_kernel-1 529 Memcheck:Cond 530 obj:*libsystem_kernel*dylib* 531 obj:*libsystem_kernel*dylib* 532 obj:*CoreFoundation.framework*CoreFoundation* 533 } 534 535 { 536 OSX1011:CoreServicesInternal-1 537 Memcheck:Cond 538 obj:*CoreServicesInternal.framework*CoreServicesInternal* 539 obj:*CoreServices.framework*LaunchServices* 540 obj:*CoreServices.framework*LaunchServices* 541 } 542 543 { 544 OSX1011:CoreServicesInternal-2 545 Memcheck:Cond 546 obj:*CoreServicesInternal.framework*CoreServicesInternal* 547 obj:*CoreServicesInternal.framework*CoreServicesInternal* 548 obj:*CoreServicesInternal.framework*CoreServicesInternal* 549 } 550 551 { 552 OSX1011:CoreServicesInternal-3 553 Memcheck:Cond 554 obj:*CoreServicesInternal.framework*CoreServicesInternal* 555 obj:*CoreServicesInternal.framework*CoreServicesInternal* 556 obj:*CoreFoundation.framework*CoreFoundation* 557 } 558 559 { 560 OSX1011:CoreServices-1 561 Memcheck:Cond 562 obj:*CoreServices.framework*LaunchServices* 563 obj:*CoreServices.framework*LaunchServices* 564 obj:*CoreServices.framework*LaunchServices* 565 } 566 567 ##{ 568 ## OSX1011:libsystem_pthread-1 569 ## Memcheck:Cond 570 ## obj:*libsystem_pthread*dylib* 571 ## obj:*ImageIO.framework*ImageIO* 572 ## obj:*ImageIO.framework*ImageIO* 573 ##} 574 575 { 576 OSX1011:ApplicationServices-1 577 Memcheck:Cond 578 obj:*ApplicationServices.framework*ATS* 579 obj:*libsystem_pthread*dylib* 580 obj:*libsystem_platform*dylib* 581 } 582 583 { 584 OSX1011:HIToolbox-1 585 Memcheck:Cond 586 obj:*HIToolbox.framework*HIToolbox* 587 obj:*HIToolbox.framework*HIToolbox* 588 obj:*HIToolbox.framework*HIToolbox* 589 } 590 591 { 592 OSX1011:RawCamera-1 593 Memcheck:Cond 594 obj:*RawCamera.bundle*RawCamera* 595 obj:*libdispatch.dylib* 596 obj:*libdispatch.dylib* 597 } 598 599 ##{ 600 ## OSX1011:CoreImage-1 601 ## Memcheck:Cond 602 ## obj:*CoreImage.framework*CoreImage* 603 ## obj:*CoreImage.framework*CoreImage* 604 ## obj:*CoreImage.framework*CoreImage* 605 ##} 606 607 ##{ 608 ## OSX1011:strncpy-1 609 ## Memcheck:Cond 610 ## fun:strncpy 611 ## obj:*CoreServicesInternal.framework*CoreServicesInternal 612 ## obj:*CoreServicesInternal.framework*CoreServicesInternal 613 ##} 614 615 { 616 OSX1011:pthread_rwlock_init 617 Memcheck:Cond 618 fun:pthread_rwlock_init 619 obj:*ImageIO.framework*ImageIO* 620 obj:*ImageIO.framework*ImageIO* 621 } 622 623 { 624 OSX1011:CFBasicHash 625 Memcheck:Value8 626 fun:*CFBasicHash* 627 fun:*CF* 628 } 629 630 { 631 OSX1011:AppleIntelHD4000GraphicsGLDriver-1-Addr8 632 Memcheck:Addr8 633 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* 634 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* 635 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* 636 } 637 { 638 OSX1011:AppleIntelHD4000GraphicsGLDriver-1-Addr8 639 Memcheck:Addr4 640 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* 641 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* 642 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* 643 } 644 645 { 646 OSX1011:AppleIntelHD4000GraphicsGLDriver-2-Addr8 647 Memcheck:Addr8 648 fun:*platform_memmove* 649 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* 650 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* 651 } 652 { 653 OSX1011:AppleIntelHD4000GraphicsGLDriver-2-Addr2 654 Memcheck:Addr2 655 fun:*platform_memmove* 656 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* 657 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* 658 } 659 660 { 661 OSX1011:AppleIntelHD4000GraphicsGLDriver-3-Addr8 662 Memcheck:Addr8 663 fun:*platform_memmove* 664 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* 665 obj:*GLEngine.bundle*GLEngine* 666 } 667 { 668 OSX1011:AppleIntelHD4000GraphicsGLDriver-3-Addr2 669 Memcheck:Addr2 670 fun:*platform_memmove* 671 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* 672 obj:*GLEngine.bundle*GLEngine* 673 } 674 { 675 OSX1011:AppleIntelHD4000GraphicsGLDriver-3-Addr1 676 Memcheck:Addr1 677 fun:*platform_memmove* 678 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* 679 obj:*GLEngine.bundle*GLEngine* 680 } 681 682 { 683 OSX1011:AppleIntelHD4000GraphicsGLDriver-4 684 Memcheck:Addr8 685 fun:*platform_bzero* 686 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* 687 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* 688 } 689 690 { 691 OSX1011:AppleIntelHD4000GraphicsGLDriver-6-Addr8 692 Memcheck:Addr8 693 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* 694 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* 695 obj:*GLEngine.bundle*GLEngine* 696 } 697 { 698 OSX1011:AppleIntelHD4000GraphicsGLDriver-6-Addr4 699 Memcheck:Addr4 700 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* 701 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* 702 obj:*GLEngine.bundle*GLEngine* 703 } 704 705 { 706 OSX1011:AppleIntelHD4000GraphicsGLDriver-7 707 Memcheck:Addr4 708 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* 709 obj:*GLEngine.bundle*GLEngine* 710 } 711 712 { 713 OSX1011:OSAtomicAdd32 714 Memcheck:Addr4 715 fun:*OSAtomicAdd32* 716 obj:*IOAccelerator.framework*IOAccelerator* 717 obj:*GPUSupport.framework*GPUSupportMercury* 718 } 719 720 { 721 OSX1011:IOAccelerator-1 722 Memcheck:Addr4 723 obj:*IOAccelerator.framework*IOAccelerator* 724 obj:*GPUSupport.framework*GPUSupportMercury* 725 } 726 727 { 728 OSX1011:mach_msg_trap-1 729 Memcheck:Param 730 msg->desc.port.name 731 fun:mach_msg_trap 732 obj:*libsystem_kernel.dylib* 733 obj:*SystemConfiguration.framework*SystemConfiguration* 734 } 735 736 { 737 OSX1011:mach_msg_trap-2 738 Memcheck:Param 739 msg->desc.port.name 740 fun:mach_msg_trap 741 obj:*SystemConfiguration.framework*SystemConfiguration* 742 obj:*SystemConfiguration.framework*SystemConfiguration* 743 } 744 745 # See https://bugs.kde.org/show_bug.cgi?id=188572 about this; it's 746 # unavoidable due to BSD setenv() semantics. 747 { 748 macos-__setenv-leak-see-our-bug-188572 749 Memcheck:Leak 750 match-leak-kinds: definite 751 fun:malloc 752 fun:_owned_ptr_alloc 753 fun:setenv 754 } 755 756 # See https://bugs.kde.org/show_bug.cgi?id=196528 757 { 758 macos-__pthread_rwlock_init-see-our-bug-196528 759 Memcheck:Cond 760 fun:pthread_rwlock_init 761 } 762