~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/valgrind.supp

  • Committer: Brian Aker
  • Date: 2009-07-11 05:59:19 UTC
  • mfrom: (1089.1.9 merge)
  • Revision ID: brian@gaz-20090711055919-m4px3crrdgta5lie
Collection of patches from new-cleanup (includes asserts for field in debug)

Show diffs side-by-side

added added

removed removed

Lines of Context:
520
520
   obj:*/libdl-*.so
521
521
   fun:dlclose*
522
522
}
 
523
 
 
524
 
 
525
#
 
526
# Start of Google Protobuffer suppressions.  GPB does static initialization
 
527
# of default message Descriptors and file descriptor classes, which produce
 
528
# bogus still reachable errors in memcheck.
 
529
#
 
530
 
 
531
{
 
532
   static initialization proto1
 
533
   Memcheck:Leak
 
534
   fun:_Znwm
 
535
   fun:_ZN8drizzled7message56protobuf_BuildDesc_table_2eproto_AssignGlobalDescriptorsEPKN6google8protobuf14FileDescriptorE
 
536
   fun:_ZN6google8protobuf17DescriptorBuilder9BuildFileERKNS0_19FileDescriptorProtoEPFvPKNS0_14FileDescriptorEE
 
537
   fun:_ZN6google8protobuf14DescriptorPool26InternalBuildGeneratedFileEPKviPFvPKNS0_14FileDescriptorEE
 
538
   fun:_ZN8drizzled7message32protobuf_BuildDesc_table_2eprotoEv
 
539
   fun:_ZN8drizzled7message41StaticDescriptorInitializer_table_2eprotoC1Ev
 
540
   fun:_Z41__static_initialization_and_destruction_0ii
 
541
   fun:_GLOBAL__I_table.pb.cc
 
542
   obj:/*/drizzled
 
543
   obj:/*/drizzled
 
544
   obj:*
 
545
   fun:__libc_csu_init
 
546
   fun:(below main)
 
547
}
 
548
{
 
549
   static initialization proto2
 
550
   Memcheck:Leak
 
551
   fun:_Znwm
 
552
   fun:_ZN6google8protobuf81protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto_AssignGlobalDescriptorsEPKNS0_14FileDescriptorE
 
553
   fun:_ZN6google8protobuf17DescriptorBuilder9BuildFileERKNS0_19FileDescriptorProtoEPFvPKNS0_14FileDescriptorEE
 
554
   fun:_ZN6google8protobuf14DescriptorPool26InternalBuildGeneratedFileEPKviPFvPKNS0_14FileDescriptorEE
 
555
   obj:/*libprotobuf.so*
 
556
   obj:/*libprotobuf.so*
 
557
   obj:/*libprotobuf.so*
 
558
   obj:*
 
559
   fun:_dl_init
 
560
   obj:/lib/ld-*.so
 
561
   obj:*
 
562
   obj:*
 
563
   obj:*
 
564
   obj:*
 
565
   obj:*
 
566
   obj:*
 
567
}
 
568
{
 
569
   static initialization proto3
 
570
   Memcheck:Leak
 
571
   fun:_Znwm
 
572
   fun:_ZN8drizzled7message62protobuf_BuildDesc_transaction_2eproto_AssignGlobalDescriptorsEPKN6google8protobuf14FileDescriptorE
 
573
   fun:_ZN6google8protobuf17DescriptorBuilder9BuildFileERKNS0_19FileDescriptorProtoEPFvPKNS0_14FileDescriptorEE
 
574
   fun:_ZN6google8protobuf14DescriptorPool26InternalBuildGeneratedFileEPKviPFvPKNS0_14FileDescriptorEE
 
575
   fun:_ZN8drizzled7message38protobuf_BuildDesc_transaction_2eprotoEv
 
576
   fun:_ZN8drizzled7message47StaticDescriptorInitializer_transaction_2eprotoC1Ev
 
577
   fun:_Z41__static_initialization_and_destruction_0ii
 
578
   fun:_GLOBAL__I_transaction.pb.cc
 
579
   obj:/*/drizzled
 
580
   obj:/*/drizzled
 
581
   obj:*
 
582
   fun:__libc_csu_init
 
583
   fun:(below main)
 
584
}
 
585
{
 
586
   static initialization proto4
 
587
   Memcheck:Leak
 
588
   fun:_Znwm
 
589
   fun:_ZN8drizzled7message57protobuf_BuildDesc_schema_2eproto_AssignGlobalDescriptorsEPKN6google8protobuf14FileDescriptorE
 
590
   fun:_ZN6google8protobuf17DescriptorBuilder9BuildFileERKNS0_19FileDescriptorProtoEPFvPKNS0_14FileDescriptorEE
 
591
   fun:_ZN6google8protobuf14DescriptorPool26InternalBuildGeneratedFileEPKviPFvPKNS0_14FileDescriptorEE
 
592
   fun:_ZN8drizzled7message33protobuf_BuildDesc_schema_2eprotoEv
 
593
   fun:_ZN8drizzled7message42StaticDescriptorInitializer_schema_2eprotoC1Ev
 
594
   fun:_Z41__static_initialization_and_destruction_0ii
 
595
   fun:_GLOBAL__I_schema.pb.cc
 
596
   obj:/*/drizzled
 
597
   obj:/*/drizzled
 
598
   obj:*
 
599
   fun:__libc_csu_init
 
600
   fun:(below main)
 
601
}
 
602
{
 
603
   static initialization proto5
 
604
   Memcheck:Leak
 
605
   fun:_Znwm
 
606
   fun:_ZN8drizzled7message62protobuf_BuildDesc_transaction_2eproto_AssignGlobalDescriptorsEPKN6google8protobuf14FileDescriptorE
 
607
   fun:_ZN6google8protobuf17DescriptorBuilder9BuildFileERKNS0_19FileDescriptorProtoEPFvPKNS0_14FileDescriptorEE
 
608
   fun:_ZN6google8protobuf14DescriptorPool26InternalBuildGeneratedFileEPKviPFvPKNS0_14FileDescriptorEE
 
609
   fun:_ZN8drizzled7message38protobuf_BuildDesc_transaction_2eprotoEv
 
610
   fun:_ZN8drizzled7message47StaticDescriptorInitializer_transaction_2eprotoC1Ev
 
611
   fun:_Z41__static_initialization_and_destruction_0ii
 
612
   fun:_GLOBAL__I_transaction.pb.cc
 
613
   obj:/*/drizzled
 
614
   obj:/*/drizzled
 
615
   obj:*
 
616
   fun:__libc_csu_init
 
617
   fun:(below main)
 
618
}
 
619
 
 
620
{
 
621
  Bad InnoDB rw_lock_x_lock_func evil evil
 
622
   Memcheck:Cond
 
623
   fun:rw_lock_x_lock_func
 
624
}
 
625
 
 
626
#
 
627
# Innodb initialize two main memory areas in static space: thr_local_hash and mem_comm_pool.
 
628
#
 
629
# About 5M of allocated bytes are left in a reachable state upon shutdown. We suppress this
 
630
# false positive here...
 
631
#
 
632
 
 
633
{
 
634
   thr_local_hash static initialization
 
635
   Memcheck:Leak
 
636
   fun:malloc
 
637
   fun:mem_area_alloc
 
638
   fun:mem_heap_create_block
 
639
   fun:mem_heap_create_func
 
640
   fun:mem_alloc_func
 
641
   fun:hash0_create
 
642
   fun:thr_local_init
 
643
   fun:srv_general_init
 
644
   fun:srv_boot
 
645
   fun:innobase_start_or_create_for_mysql
 
646
   fun:_ZL13innobase_initR14PluginRegistry
 
647
   fun:_ZL17plugin_initializeP13st_plugin_int
 
648
   fun:_Z11plugin_initPiPPci
 
649
   fun:_ZL22init_server_componentsv
 
650
   fun:main
 
651
}
 
652
 
 
653
{
 
654
   mem_comm_pool static initialization
 
655
   Memcheck:Leak
 
656
   fun:malloc
 
657
   fun:ut_malloc_low
 
658
   fun:ut_malloc
 
659
   fun:mem_pool_create
 
660
   fun:mem_init
 
661
   fun:srv_general_init
 
662
   fun:srv_boot
 
663
   fun:innobase_start_or_create_for_mysql
 
664
   fun:_ZL13innobase_initR14PluginRegistry
 
665
   fun:_ZL17plugin_initializeP13st_plugin_int
 
666
   fun:_Z11plugin_initPiPPci
 
667
   fun:_ZL22init_server_componentsv
 
668
   fun:main
 
669
}
 
670
 
 
671
#
 
672
# InnoDB uses a yacc-based lexer which holds its yyval variable in
 
673
# static space. This variable is of type pointer to que_t.  This
 
674
# static variable is realloc()'d when a larger number of que_t's (AST nodes)
 
675
# is needed.
 
676
#
 
677
# This static allocation results in false positives for reachable
 
678
# memory at server (or actually plugin) shutdown.  Therefore, we correct
 
679
# with the following suppressions.
 
680
#
 
681
 
 
682
{
 
683
   InnoDB parser static allocation 1
 
684
   Memcheck:Leak
 
685
   fun:realloc
 
686
   fun:ut_realloc
 
687
   fun:string_append
 
688
   fun:yylex
 
689
   fun:yyparse
 
690
   fun:pars_sql
 
691
}
 
692
 
 
693
{
 
694
   InnoDB Parser allocation 2
 
695
   Memcheck:Leak
 
696
   fun:realloc
 
697
   fun:string_append
 
698
   fun:yylex
 
699
   fun:yyparse
 
700
   fun:pars_sql
 
701
}
 
702
 
 
703
 
 
704
#
 
705
# LIBC's nss_parse_service_list() and tsearch(), which are used by various syscalls
 
706
# like getpwnam() malloc's some pointers in static space. We suppress
 
707
# this false positive here...
 
708
#
 
709
 
 
710
{
 
711
   nss_parse_service_list static allocation
 
712
   Memcheck:Leak
 
713
   fun:malloc
 
714
   fun:nss_parse_service_list
 
715
   fun:__nss_database_lookup
 
716
   obj:*
 
717
   obj:*
 
718
   fun:getpwnam_r*
 
719
   fun:getpwnam
 
720
   fun:_ZL10check_userPKc
 
721
   fun:main
 
722
}
 
723
 
 
724
{
 
725
   tsearch static allocation
 
726
   Memcheck:Leak
 
727
   fun:malloc
 
728
   fun:tsearch
 
729
   fun:__nss_lookup_function
 
730
   obj:*
 
731
   obj:*
 
732
   fun:getpwnam_r*
 
733
   fun:getpwnam
 
734
   fun:_ZL10check_userPKc
 
735
   fun:main
 
736
}
 
737
 
 
738
 
 
739
#
 
740
# PCRE initializes compiled regular expression objects into
 
741
# static space, and therefore show up as memory leaks.  These
 
742
# are false positives and are handled by the PCRE library. There
 
743
# is no way to manually free pcre_compile()d returned pointers.
 
744
#
 
745
 
 
746
{
 
747
   pcre static initialization correction
 
748
   Memcheck:Leak
 
749
   fun:malloc
 
750
   fun:pcre_compile2
 
751
   fun:_ZN8drizzled14TemporalFormatC1EPKc
 
752
   fun:_Z21init_temporal_formatsv
 
753
   fun:_ZL21init_common_variablesPKciPPcPS0_
 
754
   fun:main
 
755
}
 
756
 
 
757
{
 
758
   Leak inside of libcurl. Nothing we can really do about it.
 
759
   Memcheck:Leak
 
760
   fun:realloc
 
761
   fun:CRYPTO_realloc
 
762
   fun:lh_insert
 
763
}
 
764
 
 
765
{
 
766
   Another leak in libcrypto
 
767
   Memcheck:Leak
 
768
   fun:malloc
 
769
   fun:CRYPTO_malloc
 
770
   fun:lh_new
 
771
}
 
772
 
 
773