~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/valgrind.supp

Merged in changes. 
Edited a the comment test case so deal with our version bump.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
}
25
25
 
26
26
{
27
 
   pthread_exit memory loss 1
 
27
   pthead_exit memory loss 1
28
28
   Memcheck:Leak
29
29
   fun:malloc
30
30
   fun:_dl_new_object
247
247
   fun:do_flush
248
248
}
249
249
 
250
 
 
251
 
{
252
 
   Archive libz deflate1
253
 
   Memcheck:Cond
254
 
   fun:deflate
255
 
   ...
256
 
   fun:azflush
257
 
   ...
258
 
   fun:start_thread
259
 
}
260
 
 
261
 
{
262
 
   Archive libz deflate2
263
 
   Memcheck:Cond
264
 
   fun:deflate
265
 
   ...
266
 
   fun:azclose
267
 
   ...
268
 
   fun:start_thread
269
 
}
270
 
 
271
 
 
272
 
{
273
 
   Archive libz deflate3
274
 
   Memcheck:Cond
275
 
   fun:memcpy
276
 
   ...
277
 
   fun:deflate
278
 
   fun:azwrite_row
279
 
   ...
280
 
   fun:_ZN7Session3runEv
281
 
}
282
 
 
283
 
{
284
 
   Archive libz deflate3
285
 
   Memcheck:Value8
286
 
   fun:memcpy
287
 
   obj:/lib/libz.so.1.2.3.3
288
 
   obj:/lib/libz.so.1.2.3.3
289
 
   fun:deflate
290
 
   fun:azwrite_row
291
 
   ...
292
 
   fun:_ZN7Session3runEv
293
 
}
294
 
 
295
 
 
296
250
#
297
251
# Warning from my_thread_init becasue mysqld dies before kill thread exists
298
252
#
566
520
   obj:*/libdl-*.so
567
521
   fun:dlclose*
568
522
}
569
 
 
570
 
 
571
 
#
572
 
# Start of Google Protobuffer suppressions.  GPB does static initialization
573
 
# of default message Descriptors and file descriptor classes, which produce
574
 
# bogus still reachable errors in memcheck.
575
 
#
576
 
 
577
 
{
578
 
   static initialization proto1
579
 
   Memcheck:Leak
580
 
   fun:_Znwm
581
 
   fun:_ZN8drizzled7message56protobuf_BuildDesc_table_2eproto_AssignGlobalDescriptorsEPKN6google8protobuf14FileDescriptorE
582
 
   fun:_ZN6google8protobuf17DescriptorBuilder9BuildFileERKNS0_19FileDescriptorProtoEPFvPKNS0_14FileDescriptorEE
583
 
   fun:_ZN6google8protobuf14DescriptorPool26InternalBuildGeneratedFileEPKviPFvPKNS0_14FileDescriptorEE
584
 
   fun:_ZN8drizzled7message32protobuf_BuildDesc_table_2eprotoEv
585
 
   fun:_ZN8drizzled7message41StaticDescriptorInitializer_table_2eprotoC1Ev
586
 
   fun:_Z41__static_initialization_and_destruction_0ii
587
 
   fun:_GLOBAL__I_table.pb.cc
588
 
   obj:/*/drizzled
589
 
   obj:/*/drizzled
590
 
   obj:*
591
 
   fun:__libc_csu_init
592
 
   fun:(below main)
593
 
}
594
 
{
595
 
   static initialization proto2
596
 
   Memcheck:Leak
597
 
   fun:_Znwm
598
 
   fun:_ZN6google8protobuf81protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto_AssignGlobalDescriptorsEPKNS0_14FileDescriptorE
599
 
   fun:_ZN6google8protobuf17DescriptorBuilder9BuildFileERKNS0_19FileDescriptorProtoEPFvPKNS0_14FileDescriptorEE
600
 
   fun:_ZN6google8protobuf14DescriptorPool26InternalBuildGeneratedFileEPKviPFvPKNS0_14FileDescriptorEE
601
 
   obj:/*libprotobuf.so*
602
 
   obj:/*libprotobuf.so*
603
 
   obj:/*libprotobuf.so*
604
 
   obj:*
605
 
   fun:_dl_init
606
 
   obj:/lib/ld-*.so
607
 
   obj:*
608
 
   obj:*
609
 
   obj:*
610
 
   obj:*
611
 
   obj:*
612
 
   obj:*
613
 
}
614
 
{
615
 
   static initialization proto3
616
 
   Memcheck:Leak
617
 
   fun:_Znwm
618
 
   fun:_ZN8drizzled7message62protobuf_BuildDesc_transaction_2eproto_AssignGlobalDescriptorsEPKN6google8protobuf14FileDescriptorE
619
 
   fun:_ZN6google8protobuf17DescriptorBuilder9BuildFileERKNS0_19FileDescriptorProtoEPFvPKNS0_14FileDescriptorEE
620
 
   fun:_ZN6google8protobuf14DescriptorPool26InternalBuildGeneratedFileEPKviPFvPKNS0_14FileDescriptorEE
621
 
   fun:_ZN8drizzled7message38protobuf_BuildDesc_transaction_2eprotoEv
622
 
   fun:_ZN8drizzled7message47StaticDescriptorInitializer_transaction_2eprotoC1Ev
623
 
   fun:_Z41__static_initialization_and_destruction_0ii
624
 
   fun:_GLOBAL__I_transaction.pb.cc
625
 
   obj:/*/drizzled
626
 
   obj:/*/drizzled
627
 
   obj:*
628
 
   fun:__libc_csu_init
629
 
   fun:(below main)
630
 
}
631
 
{
632
 
   static initialization proto4
633
 
   Memcheck:Leak
634
 
   fun:_Znwm
635
 
   fun:_ZN8drizzled7message57protobuf_BuildDesc_schema_2eproto_AssignGlobalDescriptorsEPKN6google8protobuf14FileDescriptorE
636
 
   fun:_ZN6google8protobuf17DescriptorBuilder9BuildFileERKNS0_19FileDescriptorProtoEPFvPKNS0_14FileDescriptorEE
637
 
   fun:_ZN6google8protobuf14DescriptorPool26InternalBuildGeneratedFileEPKviPFvPKNS0_14FileDescriptorEE
638
 
   fun:_ZN8drizzled7message33protobuf_BuildDesc_schema_2eprotoEv
639
 
   fun:_ZN8drizzled7message42StaticDescriptorInitializer_schema_2eprotoC1Ev
640
 
   fun:_Z41__static_initialization_and_destruction_0ii
641
 
   fun:_GLOBAL__I_schema.pb.cc
642
 
   obj:/*/drizzled
643
 
   obj:/*/drizzled
644
 
   obj:*
645
 
   fun:__libc_csu_init
646
 
   fun:(below main)
647
 
}
648
 
{
649
 
   static initialization proto5
650
 
   Memcheck:Leak
651
 
   fun:_Znwm
652
 
   fun:_ZN8drizzled7message62protobuf_BuildDesc_transaction_2eproto_AssignGlobalDescriptorsEPKN6google8protobuf14FileDescriptorE
653
 
   fun:_ZN6google8protobuf17DescriptorBuilder9BuildFileERKNS0_19FileDescriptorProtoEPFvPKNS0_14FileDescriptorEE
654
 
   fun:_ZN6google8protobuf14DescriptorPool26InternalBuildGeneratedFileEPKviPFvPKNS0_14FileDescriptorEE
655
 
   fun:_ZN8drizzled7message38protobuf_BuildDesc_transaction_2eprotoEv
656
 
   fun:_ZN8drizzled7message47StaticDescriptorInitializer_transaction_2eprotoC1Ev
657
 
   fun:_Z41__static_initialization_and_destruction_0ii
658
 
   fun:_GLOBAL__I_transaction.pb.cc
659
 
   obj:/*/drizzled
660
 
   obj:/*/drizzled
661
 
   obj:*
662
 
   fun:__libc_csu_init
663
 
   fun:(below main)
664
 
}
665
 
 
666
 
{
667
 
  Bad InnoDB rw_lock_x_lock_func evil evil
668
 
   Memcheck:Cond
669
 
   fun:rw_lock_x_lock_func
670
 
}
671
 
 
672
 
#
673
 
# Innodb initialize two main memory areas in static space: thr_local_hash and mem_comm_pool.
674
 
#
675
 
# About 5M of allocated bytes are left in a reachable state upon shutdown. We suppress this
676
 
# false positive here...
677
 
#
678
 
 
679
 
{
680
 
   thr_local_hash static initialization
681
 
   Memcheck:Leak
682
 
   fun:malloc
683
 
   fun:mem_area_alloc
684
 
   fun:mem_heap_create_block
685
 
   fun:mem_heap_create_func
686
 
   fun:mem_alloc_func
687
 
   fun:hash0_create
688
 
   fun:thr_local_init
689
 
   fun:srv_general_init
690
 
   fun:srv_boot
691
 
   fun:innobase_start_or_create_for_mysql
692
 
   fun:_ZL13innobase_initR14PluginRegistry
693
 
   fun:_ZL17plugin_initializeP13st_plugin_int
694
 
   fun:_Z11plugin_initPiPPci
695
 
   fun:_ZL22init_server_componentsv
696
 
   fun:main
697
 
}
698
 
 
699
 
{
700
 
   InnoDB Garbage
701
 
   Memcheck:Value8
702
 
   ...
703
 
   fun:ut_print_buf
704
 
   fun:dtuple_print
705
 
   fun:row_ins_foreign_report_add_err
706
 
   fun:row_ins_check_foreign_constraint
707
 
   fun:row_ins_index_entry
708
 
   fun:row_ins_step
709
 
   fun:row_insert_for_mysql
710
 
   fun:_ZN11ha_innobase9write_rowEPh
711
 
   fun:_ZN6Cursor12ha_write_rowEPh
712
 
   fun:_Z12write_recordP7SessionP5TableP12st_copy_info
713
 
   fun:_Z12mysql_insertP7SessionP9TableListR4ListI4ItemERS3_IS5_ES6_S6_15enum_duplicatesb
714
 
   fun:_ZN8drizzled9statement6Insert7executeEv
715
 
   fun:_ZL21mysql_execute_commandP7Session
716
 
}
717
 
 
718
 
{
719
 
   More InnoDB Garbage
720
 
   Memcheck:Cond
721
 
   ...
722
 
   fun:ut_print_buf
723
 
   fun:dtuple_print
724
 
   fun:row_ins_foreign_report_add_err
725
 
   fun:row_ins_check_foreign_constraint
726
 
   fun:row_ins_index_entry
727
 
   fun:row_ins_step
728
 
   fun:row_insert_for_mysql
729
 
   fun:_ZN11ha_innobase9write_rowEPh
730
 
   fun:_ZN6Cursor12ha_write_rowEPh
731
 
   fun:_Z12write_recordP7SessionP5TableP12st_copy_info
732
 
   fun:_Z12mysql_insertP7SessionP9TableListR4ListI4ItemERS3_IS5_ES6_S6_15enum_duplicatesb
733
 
   fun:_ZN8drizzled9statement6Insert7executeEv
734
 
   fun:_ZL21mysql_execute_commandP7Session
735
 
   fun:_ZL11mysql_parseP7SessionPKcjPS2_
736
 
}
737
 
 
738
 
{
739
 
   InnoDB Craptasticness
740
 
   Memcheck:Value8
741
 
   ...
742
 
   fun:row_ins_foreign_report_add_err
743
 
   fun:row_ins_check_foreign_constraint
744
 
   fun:row_ins_index_entry
745
 
   fun:row_ins_step
746
 
   fun:row_insert_for_mysql
747
 
   fun:_ZN11ha_innobase9write_rowEPh
748
 
   fun:_ZN6Cursor12ha_write_rowEPh
749
 
   fun:_Z12write_recordP7SessionP5TableP12st_copy_info
750
 
   fun:_Z12mysql_insertP7SessionP9TableListR4ListI4ItemERS3_IS5_ES6_S6_15enum_duplicatesb
751
 
   fun:_ZN8drizzled9statement6Insert7executeEv
752
 
   fun:_ZL21mysql_execute_commandP7Session
753
 
   fun:_ZL11mysql_parseP7SessionPKcjPS2_
754
 
   fun:_Z16dispatch_command19enum_server_commandP7SessionPcj
755
 
   fun:_ZN7Session16executeStatementEv
756
 
}
757
 
 
758
 
{
759
 
   pthread thing
760
 
   Memcheck:Leak
761
 
   fun:malloc
762
 
   ...
763
 
   fun:pthread_cancel_init
764
 
   fun:_Unwind_ForcedUnwind
765
 
   fun:__pthread_unwind
766
 
   fun:pthread_exit
767
 
   ...
768
 
   fun:start_thread
769
 
   fun:clone
770
 
}
771
 
 
772
 
 
773
 
{
774
 
   mem_comm_pool static initialization
775
 
   Memcheck:Leak
776
 
   fun:malloc
777
 
   fun:ut_malloc_low
778
 
   fun:ut_malloc
779
 
   fun:mem_pool_create
780
 
   fun:mem_init
781
 
   fun:srv_general_init
782
 
   fun:srv_boot
783
 
   fun:innobase_start_or_create_for_mysql
784
 
   fun:_ZL13innobase_initR14PluginRegistry
785
 
   fun:_ZL17plugin_initializeP13st_plugin_int
786
 
   fun:_Z11plugin_initPiPPci
787
 
   fun:_ZL22init_server_componentsv
788
 
   fun:main
789
 
}
790
 
 
791
 
#
792
 
# InnoDB uses a yacc-based lexer which holds its yyval variable in
793
 
# static space. This variable is of type pointer to que_t.  This
794
 
# static variable is realloc()'d when a larger number of que_t's (AST nodes)
795
 
# is needed.
796
 
#
797
 
# This static allocation results in false positives for reachable
798
 
# memory at server (or actually plugin) shutdown.  Therefore, we correct
799
 
# with the following suppressions.
800
 
#
801
 
 
802
 
{
803
 
   InnoDB parser static allocation 1
804
 
   Memcheck:Leak
805
 
   fun:realloc
806
 
   fun:ut_realloc
807
 
   fun:string_append
808
 
   fun:yylex
809
 
   fun:yyparse
810
 
   fun:pars_sql
811
 
}
812
 
 
813
 
{
814
 
   InnoDB Parser allocation 2
815
 
   Memcheck:Leak
816
 
   fun:realloc
817
 
   fun:string_append
818
 
   fun:yylex
819
 
   fun:yyparse
820
 
   fun:pars_sql
821
 
}
822
 
 
823
 
 
824
 
#
825
 
# LIBC's nss_parse_service_list() and tsearch(), which are used by various syscalls
826
 
# like getpwnam() malloc's some pointers in static space. We suppress
827
 
# this false positive here...
828
 
#
829
 
 
830
 
{
831
 
   nss_parse_service_list static allocation
832
 
   Memcheck:Leak
833
 
   fun:malloc
834
 
   ...
835
 
   fun:getpwnam
836
 
}
837
 
 
838
 
{
839
 
   tsearch static allocation
840
 
   Memcheck:Leak
841
 
   fun:malloc
842
 
   ...
843
 
   fun:getpwnam
844
 
   fun:_ZL10check_userPKc
845
 
   fun:main
846
 
}
847
 
 
848
 
 
849
 
#
850
 
# PCRE initializes compiled regular expression objects into
851
 
# static space, and therefore show up as memory leaks.  These
852
 
# are false positives and are handled by the PCRE library. There
853
 
# is no way to manually free pcre_compile()d returned pointers.
854
 
#
855
 
 
856
 
{
857
 
   pcre static initialization correction
858
 
   Memcheck:Leak
859
 
   fun:malloc
860
 
   fun:pcre_compile2
861
 
   fun:_ZN8drizzled14TemporalFormatC1EPKc
862
 
   fun:_Z21init_temporal_formatsv
863
 
   fun:_ZL21init_common_variablesPKciPPcPS0_
864
 
   fun:main
865
 
}
866
 
 
867
 
{
868
 
   Leak inside of libcurl. Nothing we can really do about it.
869
 
   Memcheck:Leak
870
 
   fun:realloc
871
 
   fun:CRYPTO_realloc
872
 
   fun:lh_insert
873
 
}
874
 
 
875
 
{
876
 
   Another leak in libcrypto
877
 
   Memcheck:Leak
878
 
   fun:malloc
879
 
   fun:CRYPTO_malloc
880
 
   fun:lh_new
881
 
}
882
 
 
883
 
 
884
 
{
885
 
   A leak in pcre
886
 
   Memcheck:Leak
887
 
   fun:malloc
888
 
   fun:pcre_compile2
889
 
}
890
 
 
891
 
{
892
 
   nss leak
893
 
   Memcheck:Leak
894
 
   fun:malloc
895
 
   obj:/lib/libc-2.9.so
896
 
   fun:__nss_database_lookup
897
 
}
898
 
 
899
 
{
900
 
   Leak in dlopen from glibc (it's not a growing leak) see ./elf/dl-open.c
901
 
   Memcheck:Leak
902
 
   fun:dlopen
903
 
   ...
904
 
   fun:plugin_init
905
 
   fun:_ZL22init_server_componentsRN8drizzled6plugin8RegistryE
906
 
   fun:main
907
 
}
908
 
 
909
 
{
910
 
   Leak in dlopen from glibc (it's not a growing leak) see ./elf/dl-open.c
911
 
   Memcheck:Leak
912
 
   fun:dlopen
913
 
   ...
914
 
   fun:plugin_init
915
 
}
916
 
 
917
 
{
918
 
   Leak in dlopen from glibc (it's not a growing leak) see ./elf/dl-open.c
919
 
   Memcheck:Leak
920
 
   fun:dlopen
921
 
   ...
922
 
   fun:plugin_init
923
 
   fun:main
924
 
}
925
 
 
926
 
{
927
 
   Leak in dlopen from glibc (it's not a growing leak) see ./elf/dl-open.c
928
 
   Memcheck:Leak
929
 
   fun:malloc
930
 
   ...
931
 
   fun:dlopen
932
 
   ...
933
 
   fun:plugin_init
934
 
}
935
 
 
936
 
{
937
 
   Leak in dlopen from glibc (it's not a growing leak) see ./elf/dl-open.c
938
 
   Memcheck:Leak
939
 
   fun:malloc
940
 
   ...
941
 
   fun:dlopen
942
 
   ...
943
 
   fun:plugin_init
944
 
   fun:main
945
 
}
946
 
 
947
 
{
948
 
   Leak in dlopen from glibc (it's not a growing leak) see ./elf/dl-open.c
949
 
   Memcheck:Leak
950
 
   fun:dlopen
951
 
   ...
952
 
   fun:plugin_init
953
 
   fun:_ZL22init_server_componentsRN8drizzled6plugin8RegistryE
954
 
   fun:main
955
 
}
956
 
 
957
 
{
958
 
   Leak in dlopen()
959
 
   Memcheck:Leak
960
 
   fun:calloc
961
 
   ...
962
 
   fun:dlopen
963
 
   fun:_ZN8drizzled6plugin7Library11loadLibraryERKSs
964
 
   fun:_ZN8drizzled6plugin8Registry10addLibraryERKSs
965
 
}
966
 
 
967
 
 
968
 
{
969
 
   Valgrind has issues tracking the deallocation of plugin objects.
970
 
   Memcheck:Leak
971
 
   fun:malloc
972
 
   ...
973
 
   fun:_ZL17plugin_initializeRN8drizzled6plugin8RegistryEPNS0_6ModuleE
974
 
   fun:plugin_init
975
 
   fun:_ZL22init_server_componentsRN8drizzled6plugin8RegistryE
976
 
   fun:main
977
 
}
978
 
 
979
 
{
980
 
   Valgrind has issues tracking the deallocation of plugin objects.
981
 
   Memcheck:Leak
982
 
   fun:malloc
983
 
   ...
984
 
   fun:_ZL17plugin_initializeRN8drizzled6plugin8RegistryEPNS0_6ModuleE
985
 
   fun:plugin_init
986
 
   fun:main
987
 
}
988
 
 
989
 
{
990
 
   Leak in dlclose()
991
 
   Memcheck:Leak
992
 
   fun:malloc
993
 
   ...
994
 
   fun:dlclose
995
 
   fun:_ZN8drizzled6plugin7LibraryD1Ev
996
 
   fun:_ZN8drizzled6plugin8RegistryD1Ev
997
 
   fun:_ZN8drizzled6plugin8Registry8shutdownEv
998
 
   fun:main
999
 
}
1000
 
 
1001
 
{
1002
 
   dlclose()
1003
 
   Memcheck:Leak
1004
 
   fun:malloc
1005
 
   ...
1006
 
   fun:dlopen
1007
 
   fun:_ZN8drizzled6plugin7Library11loadLibraryERKSs
1008
 
   fun:_ZN8drizzled6plugin8Registry10addLibraryERKSs
1009
 
}
1010
 
 
1011
 
{
1012
 
   dlopen()
1013
 
   Memcheck:Leak
1014
 
   fun:malloc
1015
 
   ...
1016
 
   fun:dlopen
1017
 
   fun:_ZN8drizzled6plugin7Library11loadLibraryERKSs
1018
 
   fun:_ZN8drizzled6plugin8Registry10addLibraryERKSs
1019
 
   fun:_ZL16plugin_load_listRN8drizzled6plugin8RegistryEP11st_mem_rootPiPPcSs
1020
 
}
1021
 
 
1022
 
{
1023
 
   static var in getpwnam
1024
 
   Memcheck:Leak
1025
 
   fun:malloc
1026
 
   fun:nss_parse_service_list
1027
 
   fun:__nss_database_lookup
1028
 
   obj:*
1029
 
   obj:*
1030
 
   fun:getpwnam_r@@GLIBC_2.2.5
1031
 
   fun:getpwnam
1032
 
   fun:main
1033
 
}
1034
 
 
1035
 
{
1036
 
   pthread_cancel_init issue.
1037
 
   Memcheck:Leak
1038
 
   fun:malloc
1039
 
   ...
1040
 
   fun:pthread_cancel_init
1041
 
   fun:_Unwind_ForcedUnwind
1042
 
   fun:__pthread_unwind
1043
 
   fun:pthread_exit
1044
 
   fun:os_thread_exit
1045
 
   fun:trx_rollback_or_clean_all_recovered
1046
 
   fun:start_thread
1047
 
   fun:clone
1048
 
}
1049
 
 
1050
 
{
1051
 
   pwrite64 issue
1052
 
   Memcheck:Param
1053
 
   pwrite64(buf)
1054
 
   ...
1055
 
   fun:azclose
1056
 
   fun:_ZN12ArchiveShareD1Ev
1057
 
   fun:_ZN10ha_archive10free_shareEv
1058
 
   fun:_ZN10ha_archive5closeEv
1059
 
   ...
1060
 
   fun:session_thread
1061
 
   fun:start_thread
1062
 
}
1063