~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
#
2
# Suppress some common (not fatal) errors in system libraries found by valgrind
3
#
4
5
#
6
# Pthread doesn't free all thread specific memory before program exists
7
#
8
{
9
   pthread allocate_tls memory loss
10
   Memcheck:Leak
11
   fun:calloc
12
   fun:_dl_allocate_tls
13
   fun:allocate_stack
14
   fun:pthread_create*
15
}
16
17
{
18
   pthread allocate_tls memory loss
19
   Memcheck:Leak
20
   fun:calloc
21
   fun:_dl_allocate_tls
22
   fun:pthread_create*
23
24
}
25
26
{
1008.4.1 by Jay Pipes
Typo in valgrind.supp
27
   pthread_exit memory loss 1
1 by brian
clean slate
28
   Memcheck:Leak
29
   fun:malloc
30
   fun:_dl_new_object
31
   fun:_dl_map_object_from_fd
32
}
33
34
{
35
   pthread_exit memory loss 2
36
   Memcheck:Leak
37
   fun:malloc
38
   fun:_dl_map_object
39
   fun:dl_open_worker
40
}
41
42
{
43
   pthread_exit memory loss 3
44
   Memcheck:Leak
45
   fun:malloc
46
   fun:_dl_map_object_deps
47
   fun:dl_open_worker
48
}
49
50
{
51
   pthread_exit memory loss 4
52
   Memcheck:Leak
53
   fun:calloc
54
   fun:_dl_check_map_versions
55
   fun:dl_open_worker
56
}
57
58
{
59
   pthread_exit memory loss 5
60
   Memcheck:Leak
61
   fun:calloc
62
   fun:_dl_new_object
63
   fun:_dl_map_object_from_fd
64
}
65
66
{
67
   pthread allocate_dtv memory loss
68
   Memcheck:Leak
69
   fun:calloc
70
   fun:allocate_dtv
71
   fun:_dl_allocate_tls_storage
72
   fun:__GI__dl_allocate_tls
73
   fun:pthread_create
74
}
75
76
{
77
   pthread allocate_dtv memory loss second
78
   Memcheck:Leak
79
   fun:calloc
80
   fun:allocate_dtv
81
   fun:_dl_allocate_tls
82
   fun:pthread_create*
83
}
84
85
{
86
   pthread memalign memory loss
87
   Memcheck:Leak
88
   fun:memalign
89
   fun:_dl_allocate_tls_storage
90
   fun:__GI__dl_allocate_tls
91
   fun:pthread_create
92
}
93
94
{
95
   pthread pthread_key_create
96
   Memcheck:Leak
97
   fun:malloc
98
   fun:*
99
   fun:*
100
   fun:pthread_key_create
101
   fun:my_thread_global_init
102
}
103
104
{
105
   pthread strstr uninit
106
   Memcheck:Cond
107
   fun:strstr
108
   obj:/lib/tls/libpthread.so.*
109
   obj:/lib/tls/libpthread.so.*
110
   fun:call_init
111
   fun:_dl_init
112
   obj:/lib/ld-*.so
113
}
114
115
{
116
   pthread strstr uninit
117
   Memcheck:Cond
118
   fun:strstr
119
   obj:/lib/tls/libpthread.so.*
120
   obj:/lib/tls/libpthread.so.*
121
   fun:call_init
122
   fun:_dl_init
123
   obj:/lib/ld-*.so
124
}
125
126
{  
127
   strlen/_dl_init_paths/dl_main/_dl_sysdep_start(Cond)
128
   Memcheck:Cond
129
   fun:strlen
130
   fun:_dl_init_paths
131
   fun:dl_main
132
   fun:_dl_sysdep_start
133
}
134
135
{
136
   pthread errno
137
   Memcheck:Leak
138
   fun:calloc
139
   fun:_dlerror_run
140
   fun:dlsym
141
   fun:__errno_location
142
}
143
144
145
#
146
# Warnings in libz becasue it works with aligned memory(?)
147
#
148
149
{
150
   libz tr_flush_block
151
   Memcheck:Cond
152
   fun:_tr_flush_block
153
   fun:deflate_slow
154
   fun:deflate
155
   fun:do_flush
156
   fun:gzclose
157
}
158
159
{
160
   libz tr_flush_block2
161
   Memcheck:Cond
162
   fun:_tr_flush_block
163
   fun:deflate_slow
164
   fun:deflate
165
   fun:compress2
166
}
167
168
{
169
   libz longest_match
170
   Memcheck:Cond
171
   fun:longest_match
172
   fun:deflate_slow
173
   fun:deflate
174
   fun:do_flush
175
}
176
177
{
178
   libz longest_match2
179
   Memcheck:Cond
180
   fun:longest_match
181
   fun:deflate_slow
182
   fun:deflate
183
   fun:compress2
184
}
185
186
{
187
   libz longest_match 3
188
   Memcheck:Cond
189
   fun:longest_match
190
   fun:deflate_slow
191
   fun:deflate
192
   fun:gzclose
193
}
194
195
{
196
   libz longest_match 4 
197
   Memcheck:Cond
198
   fun:longest_match
199
   fun:deflate_slow
200
   fun:deflate
201
   fun:gzflush
202
}
203
204
{
205
   libz longest_match3
206
   Memcheck:Cond
207
   fun:longest_match
208
   fun:deflate_slow
209
   fun:deflate
210
   fun:azflush
211
}
212
213
{
214
   libz longest_match3
215
   Memcheck:Cond
216
   fun:longest_match
217
   fun:deflate_slow
218
   fun:deflate
219
   fun:azclose
220
}
221
222
{
223
   libz deflate
224
   Memcheck:Cond
225
   obj:*/libz.so.*
226
   obj:*/libz.so.*
227
   fun:deflate
228
   fun:compress2
229
}
230
231
{
232
   libz deflate2
233
   Memcheck:Cond
234
   obj:*/libz.so.*
235
   obj:*/libz.so.*
236
   fun:deflate
237
   obj:*/libz.so.*
238
   fun:gzflush
239
}
240
241
{
242
   libz deflate3
243
   Memcheck:Cond
244
   obj:*/libz.so.*
245
   obj:*/libz.so.*
246
   fun:deflate
247
   fun:do_flush
248
}
249
1237.5.1 by Monty Taylor
Added valgrind suppressions for the libz things.
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
   ...
1452.1.1 by mordred
Fixed some of the suppressions for newer and 32-bit machines.
280
   fun:_ZN8drizzled7Session3runEv
1237.5.1 by Monty Taylor
Added valgrind suppressions for the libz things.
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
   ...
1452.1.1 by mordred
Fixed some of the suppressions for newer and 32-bit machines.
292
   fun:_ZN8drizzled7Session3runEv
293
}
294
295
{
296
   32-bit versoin of the suppression
297
   Memcheck:Value4
298
   fun:memcpy
299
   obj:/lib/libz.so.1.2.3.3
300
   obj:/lib/libz.so.1.2.3.3
301
   fun:deflate
302
   fun:azwrite_row
303
   ...
304
   fun:_ZN8drizzled7Session3runEv
305
}
306
307
{
308
   32-bit versoin of the suppression
309
   Memcheck:Value4
310
   fun:memcpy
311
   ...
312
   fun:deflate
313
   fun:azwrite_row
314
   ...
315
   fun:_ZN8drizzled7Session3runEv
1237.5.1 by Monty Taylor
Added valgrind suppressions for the libz things.
316
}
317
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
318
{
319
   azwrite_row deflate
320
   Memcheck:Cond
321
   fun:memcpy
322
   obj:/lib/libz.so.1.2.3.3
323
   obj:/lib/libz.so.1.2.3.3
324
   fun:deflate
325
   fun:azwrite_row
326
   ...
327
   fun:_ZN8drizzled7Session3runEv
328
}
329
330
{
331
   azwrite_row deflate
332
   Memcheck:Cond
333
   fun:memcpy
334
   ...
335
   fun:deflate
336
   fun:azwrite_row
337
   ...
338
   fun:_ZN8drizzled7Session3runEv
339
}
340
341
{
342
   azwrite_row
343
   Memcheck:Value8
344
   fun:memcpy
345
   obj:/lib/libz.so.1.2.3.3
346
   obj:/lib/libz.so.1.2.3.3
347
   fun:deflate
348
   fun:azwrite_row
349
   fun:_ZN10ha_archive14real_write_rowEPhP11azio_stream
350
   fun:_ZN10ha_archive9write_rowEPh
351
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
352
   fun:_ZN8drizzled12write_recordEPNS_7SessionEPNS_5TableEPNS_12st_copy_infoE
353
   fun:_ZN8drizzled12mysql_insertEPNS_7SessionEPNS_9TableListERNS_4ListINS_4ItemEEERNS4_IS6_EES7_S7_NS_15enum_duplicatesEb
354
   fun:_ZN8drizzled9statement6Insert7executeEv
355
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1273.12.11 by Monty Taylor
Fixed valgrind suppressions.
356
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
357
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
358
   fun:_ZN8drizzled7Session16executeStatementEv
359
   fun:_ZN8drizzled7Session3runEv
360
}
361
362
{
363
   pthread azio_stream issue
364
   Memcheck:Param
365
   pwrite64(buf)
366
   obj:/lib/libpthread-2.9.so
367
   fun:_ZL8do_flushP11azio_streami
368
   fun:azflush
369
   fun:_ZN10ha_archive4infoEj
370
   fun:_ZN8drizzledL20make_join_statisticsEPNS_4JOINEPNS_9TableListEPNS_4ItemEPNS_16st_dynamic_arrayE
371
   fun:_ZN8drizzled4JOIN8optimizeEv
372
   fun:_ZN8drizzled12mysql_selectEPNS_7SessionEPPPNS_4ItemEPNS_9TableListEjRNS_4ListIS2_EES3_jPNS_8order_stESC_S3_mPNS_13select_resultEPNS_15Select_Lex_UnitEPNS_10Select_LexE
373
   fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEm
374
   fun:_ZN8drizzled21execute_sqlcom_selectEPNS_7SessionEPNS_9TableListE
375
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1273.12.11 by Monty Taylor
Fixed valgrind suppressions.
376
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
377
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
378
   fun:_ZN8drizzled7Session16executeStatementEv
379
   fun:_ZN8drizzled7Session3runEv
380
   fun:session_thread
381
   fun:start_thread
382
}
383
{
384
   Deflate
385
   Memcheck:Cond
386
   fun:deflate
387
   ...
388
   fun:azclose
389
   ...
390
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
391
}
1237.5.1 by Monty Taylor
Added valgrind suppressions for the libz things.
392
1 by brian
clean slate
393
#
394
# Warning from my_thread_init becasue mysqld dies before kill thread exists
395
#
396
397
{
398
   my_thread_init kill thread memory loss second
399
   Memcheck:Leak
400
   fun:calloc
401
   fun:my_thread_init
402
   fun:kill_server_thread
403
}
404
405
406
# Red Hat AS 4 32 bit
407
{
408
   dl_relocate_object
409
   Memcheck:Cond
410
   fun:_dl_relocate_object
411
}
412
413
#
414
# Warning from my_thread_init becasue mysqld dies before kill thread exists
415
#
416
417
{
418
   my_thread_init kill thread memory loss second
419
   Memcheck:Leak
420
   fun:calloc
421
   fun:my_thread_init
422
   fun:kill_server_thread
423
}
424
425
#
426
# Leaks reported in _dl_* internal functions on Linux amd64 / glibc2.3.2.
427
#
428
429
{
430
   _dl_start invalid write8
431
   Memcheck:Addr8
432
   fun:_dl_start
433
}
434
435
{
436
   _dl_start invalid write4
437
   Memcheck:Addr4
438
   fun:_dl_start
439
}
440
441
{
442
   _dl_start/_dl_setup_hash invalid read8
443
   Memcheck:Addr8
444
   fun:_dl_setup_hash
445
   fun:_dl_start
446
}
447
448
{
449
   _dl_sysdep_start invalid write8
450
   Memcheck:Addr8
451
   fun:_dl_sysdep_start
452
}
453
454
{
455
   _dl_init invalid write8
456
   Memcheck:Addr8
457
   fun:_dl_init
458
}
459
460
{
461
   _dl_init invalid write4
462
   Memcheck:Addr4
463
   fun:_dl_init
464
}
465
466
{
467
   _dl_init/_dl_init invalid read8
468
   Memcheck:Addr8
469
   fun:_dl_debug_initialize
470
   fun:_dl_init
471
}
472
473
{
474
   _dl_init/_dl_debug_state invalid read8
475
   Memcheck:Addr8
476
   fun:_dl_debug_state
477
   fun:_dl_init
478
}
479
480
{
481
   init invalid write8
482
   Memcheck:Addr8
483
   fun:init
484
}
485
486
{
487
   fixup invalid write8
488
   Memcheck:Addr8
489
   fun:fixup
490
}
491
492
{
493
   fixup/_dl_lookup_versioned_symbol invalid read8
494
   Memcheck:Addr8
495
   fun:_dl_lookup_versioned_symbol
496
   fun:fixup
497
}
498
499
{
500
   _dl_runtime_resolve invalid read8
501
   Memcheck:Addr8
502
   fun:_dl_runtime_resolve
503
}
504
505
{
506
   __libc_start_main invalid write8
507
   Memcheck:Addr8
508
   fun:__libc_start_main
509
}
510
511
{
512
   __libc_start_main/__sigjmp_save invalid write4
513
   Memcheck:Addr4
514
   fun:__sigjmp_save
515
   fun:__libc_start_main
516
}
517
518
#
519
# These seem to be libc threading stuff, not related to MySQL code (allocations
520
# during pthread_exit()). Googling shows other projects also using these
521
# suppressions.
522
#
523
# Note that these all stem from pthread_exit() deeper in the call stack, but
524
# Valgrind only allows the top four calls in the suppressions.
525
#
526
527
{
528
   libc pthread_exit 1
529
   Memcheck:Leak
530
   fun:malloc
531
   fun:_dl_new_object
532
   fun:_dl_map_object_from_fd
533
   fun:_dl_map_object
534
}
535
536
{
537
   libc pthread_exit 2
538
   Memcheck:Leak
539
   fun:malloc
540
   fun:_dl_map_object
541
   fun:dl_open_worker
542
   fun:_dl_catch_error
543
}
544
545
{
546
   libc pthread_exit 3
547
   Memcheck:Leak
548
   fun:malloc
549
   fun:_dl_map_object_deps
550
   fun:dl_open_worker
551
   fun:_dl_catch_error
552
}
553
554
{
555
   libc pthread_exit 4
556
   Memcheck:Leak
557
   fun:calloc
558
   fun:_dl_check_map_versions
559
   fun:dl_open_worker
560
   fun:_dl_catch_error
561
}
562
563
{
564
   libc pthread_exit 5
565
   Memcheck:Leak
566
   fun:calloc
567
   fun:_dl_new_object
568
   fun:_dl_map_object_from_fd
569
   fun:_dl_map_object
570
}
571
572
{
573
   libc pthread_exit 6
574
   Memcheck:Leak
575
   fun:malloc
576
   fun:_dl_map_object
577
   fun:openaux
578
   fun:_dl_catch_error 
579
}
580
581
{
582
   libc pthread_exit 7
583
   Memcheck:Leak
584
   fun:malloc
585
   fun:dl_open_worker
586
   fun:_dl_catch_error
587
   fun:_dl_open
588
}
589
590
#
591
# This is seen internally in the system libraries on 64-bit RHAS3.
592
#
593
594
{
595
   __lll_mutex_unlock_wake uninitialized
596
   Memcheck:Param
597
   futex(utime)
598
   fun:__lll_mutex_unlock_wake
599
}
600
601
#
602
# BUG#19940: NDB sends uninitialized parts of field buffers across the wire.
603
# This is "works as designed"; the uninitialized part is not used at the
604
# other end (but Valgrind cannot see this).
605
#
606
{
607
   bug19940
608
   Memcheck:Param
609
   socketcall.sendto(msg)
610
   fun:send
611
   fun:_ZN15TCP_Transporter6doSendEv
612
   fun:_ZN19TransporterRegistry11performSendEv
613
   fun:_ZN19TransporterRegistry14forceSendCheckEi
614
}
615
# Warning when printing stack trace (to suppress some not needed warnings)
616
#
617
618
{
619
   vprintf on stacktrace
620
   Memcheck:Cond
621
   fun:vfprintf
622
   fun:uffered_vfprintf
623
   fun:vfprintf
624
   fun:fprintf
625
   fun:print_stacktrace
626
}
627
628
#
629
# Safe warnings, that may happen because of thread scheduling
630
#
631
632
{
633
   dbug initialization by kill_server
634
   Memcheck:Leak
635
   fun:malloc
636
   fun:DbugMalloc
637
   fun:code_state
638
   fun:_db_enter_
639
   fun:kill_server
640
}
641
642
#
643
# Warning caused by small memory leak in threaded dlopen
644
#
645
646
{
647
   dlopen threaded memory leak
648
   Memcheck:Leak
649
   fun:calloc
650
   obj:*/libdl-*.so
651
   fun:dlopen*
652
}
653
654
#
655
# On some systems the above leak happens at dlclose (SuSE 10.1 64 bit on
656
# blade13)
657
#
658
659
{
660
   dlclose threaded memory leak
661
   Memcheck:Leak
662
   fun:calloc
663
   obj:*/libdl-*.so
664
   fun:dlclose*
665
}
1089.1.2 by Brian Aker
Rename work (cheery pick from new-cleanup). Jay's fix for auth_http. Update
666
667
668
#
669
# Start of Google Protobuffer suppressions.  GPB does static initialization
670
# of default message Descriptors and file descriptor classes, which produce
671
# bogus still reachable errors in memcheck.
672
#
673
674
{
675
   static initialization proto1
676
   Memcheck:Leak
677
   fun:_Znwm
678
   fun:_ZN8drizzled7message56protobuf_BuildDesc_table_2eproto_AssignGlobalDescriptorsEPKN6google8protobuf14FileDescriptorE
679
   fun:_ZN6google8protobuf17DescriptorBuilder9BuildFileERKNS0_19FileDescriptorProtoEPFvPKNS0_14FileDescriptorEE
680
   fun:_ZN6google8protobuf14DescriptorPool26InternalBuildGeneratedFileEPKviPFvPKNS0_14FileDescriptorEE
681
   fun:_ZN8drizzled7message32protobuf_BuildDesc_table_2eprotoEv
682
   fun:_ZN8drizzled7message41StaticDescriptorInitializer_table_2eprotoC1Ev
683
   fun:_Z41__static_initialization_and_destruction_0ii
684
   fun:_GLOBAL__I_table.pb.cc
685
   obj:/*/drizzled
686
   obj:/*/drizzled
687
   obj:*
688
   fun:__libc_csu_init
689
   fun:(below main)
690
}
691
{
692
   static initialization proto2
693
   Memcheck:Leak
694
   fun:_Znwm
695
   fun:_ZN6google8protobuf81protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto_AssignGlobalDescriptorsEPKNS0_14FileDescriptorE
696
   fun:_ZN6google8protobuf17DescriptorBuilder9BuildFileERKNS0_19FileDescriptorProtoEPFvPKNS0_14FileDescriptorEE
697
   fun:_ZN6google8protobuf14DescriptorPool26InternalBuildGeneratedFileEPKviPFvPKNS0_14FileDescriptorEE
698
   obj:/*libprotobuf.so*
699
   obj:/*libprotobuf.so*
700
   obj:/*libprotobuf.so*
701
   obj:*
702
   fun:_dl_init
703
   obj:/lib/ld-*.so
704
   obj:*
705
   obj:*
706
   obj:*
707
   obj:*
708
   obj:*
709
   obj:*
710
}
711
{
712
   static initialization proto3
713
   Memcheck:Leak
714
   fun:_Znwm
715
   fun:_ZN8drizzled7message62protobuf_BuildDesc_transaction_2eproto_AssignGlobalDescriptorsEPKN6google8protobuf14FileDescriptorE
716
   fun:_ZN6google8protobuf17DescriptorBuilder9BuildFileERKNS0_19FileDescriptorProtoEPFvPKNS0_14FileDescriptorEE
717
   fun:_ZN6google8protobuf14DescriptorPool26InternalBuildGeneratedFileEPKviPFvPKNS0_14FileDescriptorEE
718
   fun:_ZN8drizzled7message38protobuf_BuildDesc_transaction_2eprotoEv
719
   fun:_ZN8drizzled7message47StaticDescriptorInitializer_transaction_2eprotoC1Ev
720
   fun:_Z41__static_initialization_and_destruction_0ii
721
   fun:_GLOBAL__I_transaction.pb.cc
722
   obj:/*/drizzled
723
   obj:/*/drizzled
724
   obj:*
725
   fun:__libc_csu_init
726
   fun:(below main)
727
}
728
{
729
   static initialization proto4
730
   Memcheck:Leak
731
   fun:_Znwm
732
   fun:_ZN8drizzled7message57protobuf_BuildDesc_schema_2eproto_AssignGlobalDescriptorsEPKN6google8protobuf14FileDescriptorE
733
   fun:_ZN6google8protobuf17DescriptorBuilder9BuildFileERKNS0_19FileDescriptorProtoEPFvPKNS0_14FileDescriptorEE
734
   fun:_ZN6google8protobuf14DescriptorPool26InternalBuildGeneratedFileEPKviPFvPKNS0_14FileDescriptorEE
735
   fun:_ZN8drizzled7message33protobuf_BuildDesc_schema_2eprotoEv
736
   fun:_ZN8drizzled7message42StaticDescriptorInitializer_schema_2eprotoC1Ev
737
   fun:_Z41__static_initialization_and_destruction_0ii
738
   fun:_GLOBAL__I_schema.pb.cc
739
   obj:/*/drizzled
740
   obj:/*/drizzled
741
   obj:*
742
   fun:__libc_csu_init
743
   fun:(below main)
744
}
745
{
746
   static initialization proto5
747
   Memcheck:Leak
748
   fun:_Znwm
749
   fun:_ZN8drizzled7message62protobuf_BuildDesc_transaction_2eproto_AssignGlobalDescriptorsEPKN6google8protobuf14FileDescriptorE
750
   fun:_ZN6google8protobuf17DescriptorBuilder9BuildFileERKNS0_19FileDescriptorProtoEPFvPKNS0_14FileDescriptorEE
751
   fun:_ZN6google8protobuf14DescriptorPool26InternalBuildGeneratedFileEPKviPFvPKNS0_14FileDescriptorEE
752
   fun:_ZN8drizzled7message38protobuf_BuildDesc_transaction_2eprotoEv
753
   fun:_ZN8drizzled7message47StaticDescriptorInitializer_transaction_2eprotoC1Ev
754
   fun:_Z41__static_initialization_and_destruction_0ii
755
   fun:_GLOBAL__I_transaction.pb.cc
756
   obj:/*/drizzled
757
   obj:/*/drizzled
758
   obj:*
759
   fun:__libc_csu_init
760
   fun:(below main)
761
}
762
763
{
764
  Bad InnoDB rw_lock_x_lock_func evil evil
765
   Memcheck:Cond
766
   fun:rw_lock_x_lock_func
767
}
768
1377.3.12 by Monty Taylor
Added some better suppressions.
769
{
770
  Yet another InnoDB leak
771
  Memcheck:Leak
772
  fun:malloc
773
  fun:mem_heap_create_block
774
  fun:thr_local_create
775
  fun:srv_master_thread
776
  fun:start_thread
777
  fun:clone
778
}
779
1089.1.2 by Brian Aker
Rename work (cheery pick from new-cleanup). Jay's fix for auth_http. Update
780
#
781
# Innodb initialize two main memory areas in static space: thr_local_hash and mem_comm_pool.
782
#
783
# About 5M of allocated bytes are left in a reachable state upon shutdown. We suppress this
784
# false positive here...
785
#
786
787
{
1452.1.4 by mordred
Added more innodb suppressions.
788
   Innodb Garbage
789
   Memcheck:Leak
790
   fun:malloc
791
   fun:mem_area_alloc
792
   fun:mem_heap_create_block
793
   fun:mem_heap_create_func
794
   fun:mem_alloc_func
795
   ...
796
   fun:innobase_start_or_create_for_mysql
797
   fun:_ZL13innobase_initRN8drizzled6plugin7ContextE
798
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
799
   fun:plugin_init
800
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
801
   fun:main
802
}
803
{
804
   Innodb Garbage
805
   Memcheck:Leak
806
   fun:malloc
807
   ...
808
   fun:innobase_start_or_create_for_mysql
809
   fun:_ZL13innobase_initRN8drizzled6plugin7ContextE
810
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
811
   fun:plugin_init
812
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
813
   fun:main
814
}
815
{
816
   Innodb Garbage
817
   Memcheck:Leak
818
   fun:malloc
819
   fun:ut_malloc_low
820
   fun:ut_malloc
821
   fun:os_aio_array_create
822
   fun:os_aio_init
823
   fun:innobase_start_or_create_for_mysql
824
   fun:_ZL13innobase_initRN8drizzled6plugin7ContextE
825
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
826
   fun:plugin_init
827
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
828
   fun:main
829
}
830
{
831
   Innodb Garbage
832
   Memcheck:Leak
833
   fun:malloc
834
   fun:ut_malloc_low
835
   fun:ut_malloc
836
   fun:os_aio_array_create
837
   fun:os_aio_init
838
   fun:innobase_start_or_create_for_mysql
839
   fun:_ZL13innobase_initRN8drizzled6plugin7ContextE
840
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
841
   fun:plugin_init
842
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
843
   fun:main
844
}
845
{
846
   Innodb Garbage
847
   Memcheck:Leak
848
   fun:malloc
849
   fun:ut_malloc_low
850
   fun:mem_pool_create
851
   fun:mem_init
852
   fun:srv_general_init
853
   fun:srv_boot
854
   fun:innobase_start_or_create_for_mysql
855
   fun:_ZL13innobase_initRN8drizzled6plugin7ContextE
856
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
857
   fun:plugin_init
858
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
859
   fun:main
860
}
861
{
862
   Innodb Garbage
863
   Memcheck:Leak
864
   fun:malloc
865
   fun:ut_malloc_low
866
   fun:ut_malloc
867
   fun:yyalloc
868
   fun:yyensure_buffer_stack
869
   fun:yylex
870
   fun:yyparse
871
   fun:pars_sql
872
   fun:que_eval_sql
873
   fun:dict_create_or_check_foreign_constraint_tables
874
   fun:innobase_start_or_create_for_mysql
875
   fun:_ZL13innobase_initRN8drizzled6plugin7ContextE
876
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
877
   fun:plugin_init
878
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
879
   fun:main
880
}
881
{
882
   Innodb Garbage
883
   Memcheck:Cond
884
   fun:rw_lock_set_writer_id_and_recursion_flag
885
   fun:rw_lock_x_lock_low
886
   fun:rw_lock_x_lock_func
887
   fun:btr_search_check_free_space_in_heap
888
   fun:btr_search_update_hash_on_insert
889
   fun:btr_cur_optimistic_insert
890
   fun:row_ins_index_entry_low
891
   fun:row_ins_index_entry
892
   fun:row_ins_index_entry_step
893
   fun:row_ins
894
   fun:row_ins_step
895
   fun:que_thr_step
896
   fun:que_run_threads_low
897
   fun:que_run_threads
898
   fun:que_eval_sql
899
   fun:dict_create_or_check_foreign_constraint_tables
900
}
901
{
902
   Innodb Garbage
903
   Memcheck:Cond
904
   fun:rw_lock_set_writer_id_and_recursion_flag
905
   fun:rw_lock_x_lock_low
906
   fun:rw_lock_x_lock_func
907
   fun:trx_purge
908
   fun:srv_master_thread
909
   fun:start_thread
910
   fun:clone
911
}
912
{
913
   Innodb Garbage
914
   Memcheck:Cond
915
   fun:rw_lock_set_writer_id_and_recursion_flag
916
   fun:rw_lock_x_lock_low
917
   fun:rw_lock_x_lock_func
918
   fun:log_group_checkpoint
919
   fun:log_groups_write_checkpoint_info
920
   fun:log_checkpoint
921
   fun:log_fsp_current_free_limit_set_and_checkpoint
922
   fun:fsp_fill_free_list
923
   fun:fsp_header_init
924
   fun:innobase_start_or_create_for_mysql
925
   fun:_ZL13innobase_initRN8drizzled6plugin7ContextE
926
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
927
   fun:plugin_init
928
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
929
   fun:main
930
}
931
{
932
   Innodb garbage
933
   Memcheck:Cond
934
   fun:rw_lock_set_writer_id_and_recursion_flag
935
   fun:rw_lock_x_lock_low
936
   fun:rw_lock_x_lock_func
937
   fun:mtr_x_lock_func
938
   fun:fsp_header_init
939
   fun:innobase_start_or_create_for_mysql
940
   fun:_ZL13innobase_initRN8drizzled6plugin7ContextE
941
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
942
   fun:plugin_init
943
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
944
   fun:main
945
}
946
{
1089.1.2 by Brian Aker
Rename work (cheery pick from new-cleanup). Jay's fix for auth_http. Update
947
   thr_local_hash static initialization
948
   Memcheck:Leak
949
   fun:malloc
950
   fun:mem_area_alloc
951
   fun:mem_heap_create_block
952
   fun:mem_heap_create_func
953
   fun:mem_alloc_func
954
   fun:hash0_create
955
   fun:thr_local_init
956
   fun:srv_general_init
957
   fun:srv_boot
958
   fun:innobase_start_or_create_for_mysql
1324.2.21 by Monty Taylor
Made supressions better with new Context object.
959
   fun:_ZL13innobase_initRN8drizzled6plugin7ContextE
960
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
1089.1.2 by Brian Aker
Rename work (cheery pick from new-cleanup). Jay's fix for auth_http. Update
961
   fun:_Z11plugin_initPiPPci
962
   fun:_ZL22init_server_componentsv
963
   fun:main
964
}
965
966
{
1241.8.1 by Monty Taylor
More valgrind suppressions.
967
   InnoDB Garbage
968
   Memcheck:Value8
969
   ...
970
   fun:ut_print_buf
971
   fun:dtuple_print
972
   fun:row_ins_foreign_report_add_err
973
   fun:row_ins_check_foreign_constraint
974
   fun:row_ins_index_entry
975
   fun:row_ins_step
976
   fun:row_insert_for_mysql
977
   fun:_ZN11ha_innobase9write_rowEPh
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
978
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
979
   fun:_ZN8drizzled12write_recordEPNS_7SessionEPNS_5TableEPNS_12st_copy_infoE
980
   fun:_ZN8drizzled12mysql_insertEPNS_7SessionEPNS_9TableListERNS_4ListINS_4ItemEEERNS4_IS6_EES7_S7_NS_15enum_duplicatesEb
981
   fun:_ZN8drizzled9statement6Insert7executeEv
982
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
983
}
984
985
{
1452.1.1 by mordred
Fixed some of the suppressions for newer and 32-bit machines.
986
   32bit InnoDB garbage
987
   Memcheck:Value4
988
   ...
989
   fun:ut_print_buf
990
   fun:dtuple_print
991
   fun:row_ins_foreign_report_add_err
992
   fun:row_ins_check_foreign_constraint
993
   fun:row_ins_index_entry
994
   fun:row_ins_step
995
   fun:row_insert_for_mysql
996
   fun:_ZN11ha_innobase9write_rowEPh
997
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
998
   fun:_ZN8drizzled12write_recordEPNS_7SessionEPNS_5TableEPNS_12st_copy_infoE
999
   fun:_ZN8drizzled12mysql_insertEPNS_7SessionEPNS_9TableListERNS_4ListINS_4ItemEEERNS4_IS6_EES7_S7_NS_15enum_duplicatesEb
1000
   fun:_ZN8drizzled9statement6Insert7executeEv
1001
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1002
}
1003
1004
1005
{
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
1006
   InnoDB makes babies cry
1007
   Memcheck:Cond
1008
   ...
1009
   fun:dtuple_print
1010
   fun:row_ins_foreign_report_add_err
1011
   fun:row_ins_check_foreign_constraint
1012
   fun:row_ins_index_entry
1013
   fun:row_ins_step
1014
   fun:row_insert_for_mysql
1015
   fun:_ZN11ha_innobase9write_rowEPh
1016
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
1017
   fun:_ZN8drizzled12write_recordEPNS_7SessionEPNS_5TableEPNS_12st_copy_infoE
1018
   fun:_ZN8drizzled12mysql_insertEPNS_7SessionEPNS_9TableListERNS_4ListINS_4ItemEEERNS4_IS6_EES7_S7_NS_15enum_duplicatesEb
1019
   fun:_ZN8drizzled9statement6Insert7executeEv
1020
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1021
}
1022
1023
{
1452.1.1 by mordred
Fixed some of the suppressions for newer and 32-bit machines.
1024
   InnoDB Issue
1025
   Memcheck:Param
1026
   ...
1027
   fun:row_insert_for_mysql
1028
   fun:_ZN11ha_innobase9write_rowEPh
1029
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
1030
   fun:_ZN8drizzled12write_recordEPNS_7SessionEPNS_5TableEPNS_12st_copy_infoE
1031
}
1032
1033
{
1034
   Static leak fun in innodb
1035
   Memcheck:Leak
1036
   fun:malloc
1037
   fun:mem_area_alloc
1038
   fun:mem_heap_create_block
1039
   fun:trx_undo_mem_create
1040
   fun:trx_undo_assign_undo
1041
   fun:trx_undo_report_row_operation
1042
   fun:btr_cur_pessimistic_insert
1043
   fun:row_ins_index_entry_low
1044
   fun:row_ins_step
1045
   fun:row_insert_for_mysql
1046
   fun:_ZN11ha_innobase9write_rowEPh
1047
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
1048
   ...
1049
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1050
}
1051
1052
{
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
1053
   Static leak fun in innodb
1054
   Memcheck:Leak
1055
   fun:malloc
1056
   fun:mem_heap_create_block
1057
   fun:trx_undo_mem_create
1058
   fun:trx_undo_assign_undo
1059
   fun:trx_undo_report_row_operation
1060
   fun:btr_cur_del_mark_set_clust_rec
1061
   fun:row_upd_clust_step
1062
   fun:row_upd_step
1063
   fun:que_run_threads
1064
   fun:que_eval_sql
1065
   fun:row_rename_table_for_mysql
1066
   fun:_ZN14InnobaseEngine13doRenameTableEPN8drizzled7SessionEPKcS4_
1067
   fun:_ZN8drizzled18mysql_rename_tableEPNS_6plugin13StorageEngineEPKcS4_S4_S4_j
1068
   fun:_ZN8drizzled11alter_tableEPNS_7SessionEPcS2_PNS_24st_ha_create_informationEPNS_7message5TableEPNS_9TableListEPNS_9AlterInfoEjPNS_8order_stEb
1069
   fun:_ZN8drizzled9statement10AlterTable7executeEv
1070
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1071
}
1072
1241.8.1 by Monty Taylor
More valgrind suppressions.
1073
1074
{
1075
   More InnoDB Garbage
1076
   Memcheck:Cond
1077
   ...
1078
   fun:ut_print_buf
1079
   fun:dtuple_print
1080
   fun:row_ins_foreign_report_add_err
1081
   fun:row_ins_check_foreign_constraint
1082
   fun:row_ins_index_entry
1083
   fun:row_ins_step
1084
   fun:row_insert_for_mysql
1085
   fun:_ZN11ha_innobase9write_rowEPh
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
1086
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
1087
   fun:_ZN8drizzled12write_recordEPNS_7SessionEPNS_5TableEPNS_12st_copy_infoE
1088
   fun:_ZN8drizzled12mysql_insertEPNS_7SessionEPNS_9TableListERNS_4ListINS_4ItemEEERNS4_IS6_EES7_S7_NS_15enum_duplicatesEb
1241.8.1 by Monty Taylor
More valgrind suppressions.
1089
   fun:_ZN8drizzled9statement6Insert7executeEv
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
1090
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1273.12.11 by Monty Taylor
Fixed valgrind suppressions.
1091
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
1241.8.1 by Monty Taylor
More valgrind suppressions.
1092
}
1093
1094
{
1095
   InnoDB Craptasticness
1096
   Memcheck:Value8
1097
   ...
1098
   fun:row_ins_foreign_report_add_err
1099
   fun:row_ins_check_foreign_constraint
1100
   fun:row_ins_index_entry
1101
   fun:row_ins_step
1102
   fun:row_insert_for_mysql
1103
   fun:_ZN11ha_innobase9write_rowEPh
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
1104
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
1105
   fun:_ZN8drizzled12write_recordEPNS_7SessionEPNS_5TableEPNS_12st_copy_infoE
1106
   fun:_ZN8drizzled12mysql_insertEPNS_7SessionEPNS_9TableListERNS_4ListINS_4ItemEEERNS4_IS6_EES7_S7_NS_15enum_duplicatesEb
1241.8.1 by Monty Taylor
More valgrind suppressions.
1107
   fun:_ZN8drizzled9statement6Insert7executeEv
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
1108
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1273.12.11 by Monty Taylor
Fixed valgrind suppressions.
1109
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
1110
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
1111
   fun:_ZN8drizzled7Session16executeStatementEv
1112
}
1113
1114
1115
{
1116
   InnoDB plugin startup evil
1117
   Memcheck:Leak
1118
   ...
1119
   fun:innobase_start_or_create_for_mysql
1324.2.12 by Monty Taylor
Fixed the suppressions.
1120
   fun:_ZL13innobase_initRN8drizzled6plugin7ContextE
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
1121
   fun:plugin_init
1122
   fun:main
1123
}
1124
1241.8.1 by Monty Taylor
More valgrind suppressions.
1125
1126
{
1127
   pthread thing
1128
   Memcheck:Leak
1129
   fun:malloc
1130
   ...
1131
   fun:pthread_cancel_init
1132
   fun:_Unwind_ForcedUnwind
1133
   fun:__pthread_unwind
1134
   fun:pthread_exit
1135
   ...
1136
   fun:start_thread
1137
   fun:clone
1138
}
1139
1140
1141
{
1089.1.2 by Brian Aker
Rename work (cheery pick from new-cleanup). Jay's fix for auth_http. Update
1142
   mem_comm_pool static initialization
1143
   Memcheck:Leak
1144
   fun:malloc
1145
   fun:ut_malloc_low
1146
   fun:ut_malloc
1147
   fun:mem_pool_create
1148
   fun:mem_init
1149
   fun:srv_general_init
1150
   fun:srv_boot
1151
   fun:innobase_start_or_create_for_mysql
1324.2.21 by Monty Taylor
Made supressions better with new Context object.
1152
   fun:_ZL13innobase_initRN8drizzled6plugin7ContextE
1153
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
1089.1.2 by Brian Aker
Rename work (cheery pick from new-cleanup). Jay's fix for auth_http. Update
1154
   fun:_Z11plugin_initPiPPci
1155
   fun:_ZL22init_server_componentsv
1156
   fun:main
1157
}
1158
1159
#
1160
# InnoDB uses a yacc-based lexer which holds its yyval variable in
1161
# static space. This variable is of type pointer to que_t.  This
1162
# static variable is realloc()'d when a larger number of que_t's (AST nodes)
1163
# is needed.
1164
#
1165
# This static allocation results in false positives for reachable
1166
# memory at server (or actually plugin) shutdown.  Therefore, we correct
1167
# with the following suppressions.
1168
#
1169
1170
{
1171
   InnoDB parser static allocation 1
1172
   Memcheck:Leak
1173
   fun:realloc
1174
   fun:ut_realloc
1175
   fun:string_append
1176
   fun:yylex
1177
   fun:yyparse
1178
   fun:pars_sql
1179
}
1180
1181
{
1182
   InnoDB Parser allocation 2
1183
   Memcheck:Leak
1184
   fun:realloc
1185
   fun:string_append
1186
   fun:yylex
1187
   fun:yyparse
1188
   fun:pars_sql
1189
}
1190
1191
1192
#
1193
# LIBC's nss_parse_service_list() and tsearch(), which are used by various syscalls
1194
# like getpwnam() malloc's some pointers in static space. We suppress
1195
# this false positive here...
1196
#
1197
1198
{
1199
   nss_parse_service_list static allocation
1200
   Memcheck:Leak
1201
   fun:malloc
1228.1.4 by Monty Taylor
Fixes to valgrind supressions.
1202
   ...
1089.1.2 by Brian Aker
Rename work (cheery pick from new-cleanup). Jay's fix for auth_http. Update
1203
   fun:getpwnam
1204
}
1205
1206
{
1207
   tsearch static allocation
1208
   Memcheck:Leak
1209
   fun:malloc
1228.1.4 by Monty Taylor
Fixes to valgrind supressions.
1210
   ...
1089.1.2 by Brian Aker
Rename work (cheery pick from new-cleanup). Jay's fix for auth_http. Update
1211
   fun:getpwnam
1212
   fun:_ZL10check_userPKc
1213
   fun:main
1214
}
1215
1216
1217
#
1218
# PCRE initializes compiled regular expression objects into
1219
# static space, and therefore show up as memory leaks.  These
1220
# are false positives and are handled by the PCRE library. There
1221
# is no way to manually free pcre_compile()d returned pointers.
1222
#
1223
1224
{
1225
   pcre static initialization correction
1226
   Memcheck:Leak
1227
   fun:malloc
1228
   fun:pcre_compile2
1229
   fun:_ZN8drizzled14TemporalFormatC1EPKc
1230
   fun:_Z21init_temporal_formatsv
1231
   fun:_ZL21init_common_variablesPKciPPcPS0_
1232
   fun:main
1233
}
1234
1235
{
1236
   Leak inside of libcurl. Nothing we can really do about it.
1237
   Memcheck:Leak
1238
   fun:realloc
1239
   fun:CRYPTO_realloc
1240
   fun:lh_insert
1241
}
1242
1243
{
1244
   Another leak in libcrypto
1245
   Memcheck:Leak
1246
   fun:malloc
1247
   fun:CRYPTO_malloc
1248
   fun:lh_new
1249
}
1250
1251
1101.1.23 by Monty Taylor
Added a valgrind suppression for pcre.
1252
{
1253
   A leak in pcre
1254
   Memcheck:Leak
1255
   fun:malloc
1256
   fun:pcre_compile2
1257
}
1101.1.25 by Monty Taylor
Merged Nathan (and added a valgrind suppression)
1258
1259
{
1260
   nss leak
1261
   Memcheck:Leak
1262
   fun:malloc
1263
   obj:/lib/libc-2.9.so
1264
   fun:__nss_database_lookup
1265
}
1228.1.3 by Monty Taylor
All of the outstanding plugin loader system cleanups:
1266
1267
{
1268
   Leak in dlopen from glibc (it's not a growing leak) see ./elf/dl-open.c
1269
   Memcheck:Leak
1270
   fun:dlopen
1228.1.4 by Monty Taylor
Fixes to valgrind supressions.
1271
   ...
1272
   fun:plugin_init
1452.1.3 by mordred
Suppress dlopen calls.
1273
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
1324.2.12 by Monty Taylor
Fixed the suppressions.
1274
   fun:main
1275
}
1276
1452.1.3 by mordred
Suppress dlopen calls.
1277
{
1278
   Catching more dlopen leaks
1279
   Memcheck:Leak
1280
   fun:malloc
1281
   fun:add_to_global
1282
   fun:dl_open_worker
1283
   ...
1284
   fun:_ZN8drizzled6plugin7Library11loadLibraryERKSs
1285
   fun:_ZN8drizzled6plugin8Registry10addLibraryERKSs
1286
   fun:_ZN8drizzledL16plugin_load_listERNS_6plugin8RegistryEPNS_6memory4RootEPiPPcRKSt3setISsSt4lessISsESaISsEE
1287
   fun:plugin_init
1288
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
1289
   fun:main
1290
}
1324.2.12 by Monty Taylor
Fixed the suppressions.
1291
{
1292
   Leak in dlopen from glibc (it's not a growing leak) see ./elf/dl-open.c
1293
   Memcheck:Leak
1294
   fun:dlopen
1295
   ...
1296
   fun:plugin_init
1297
}
1298
1299
{
1300
   Leak in dlopen from glibc (it's not a growing leak) see ./elf/dl-open.c
1301
   Memcheck:Leak
1302
   fun:dlopen
1303
   ...
1304
   fun:plugin_init
1305
   fun:main
1306
}
1307
1308
{
1309
   Leak in dlopen from glibc (it's not a growing leak) see ./elf/dl-open.c
1310
   Memcheck:Leak
1311
   fun:malloc
1312
   ...
1313
   fun:dlopen
1314
   ...
1315
   fun:plugin_init
1316
}
1317
1318
{
1319
   Leak in dlopen from glibc (it's not a growing leak) see ./elf/dl-open.c
1320
   Memcheck:Leak
1321
   fun:malloc
1322
   ...
1323
   fun:dlopen
1324
   ...
1325
   fun:plugin_init
1326
   fun:main
1327
}
1328
1329
{
1330
   Leak in dlopen from glibc (it's not a growing leak) see ./elf/dl-open.c
1331
   Memcheck:Leak
1332
   fun:dlopen
1333
   ...
1334
   fun:plugin_init
1335
   fun:_ZL22init_server_componentsRN8drizzled6plugin7ContextE
1228.1.4 by Monty Taylor
Fixes to valgrind supressions.
1336
   fun:main
1337
}
1338
1339
{
1241.4.1 by Monty Taylor
Added better suppressions for our runs on hudson.
1340
   Leak in dlopen()
1341
   Memcheck:Leak
1342
   fun:calloc
1343
   ...
1344
   fun:dlopen
1345
   fun:_ZN8drizzled6plugin7Library11loadLibraryERKSs
1346
   fun:_ZN8drizzled6plugin8Registry10addLibraryERKSs
1347
}
1348
1349
1350
{
1377.3.12 by Monty Taylor
Added some better suppressions.
1351
   Leak in dlopen()
1352
   Memcheck:Leak
1353
   fun:malloc
1354
   fun:add_to_global
1355
   ...
1356
   fun:_ZN8drizzled6plugin7Library11loadLibraryERKSs
1357
   fun:_ZN8drizzled6plugin8Registry10addLibraryERKSs
1358
   fun:plugin_init
1359
   fun:main
1360
}
1361
1362
1363
{
1228.1.4 by Monty Taylor
Fixes to valgrind supressions.
1364
   Valgrind has issues tracking the deallocation of plugin objects.
1365
   Memcheck:Leak
1366
   fun:malloc
1367
   ...
1324.2.21 by Monty Taylor
Made supressions better with new Context object.
1368
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
1369
   fun:plugin_init
1370
   fun:_ZL22init_server_componentsRN8drizzled6plugin8RegistryE
1371
   fun:main
1372
}
1373
1374
{
1375
   Valgrind has issues tracking the deallocation of plugin objects.
1376
   Memcheck:Leak
1377
   fun:new
1378
   ...
1379
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
1380
   fun:plugin_init
1381
   fun:_ZL22init_server_componentsRN8drizzled6plugin8RegistryE
1382
   fun:main
1383
}
1384
1385
{
1386
   Weird std::String leak errors.
1387
   Memcheck:Leak
1388
   fun:_Znwm
1389
   fun:_ZNSs4_Rep9_S_createEmmRKSaIcE
1390
   obj:/usr/lib/libstdc++.so.6.0.10
1391
   fun:_ZNSsC1EPKcRKSaIcE
1392
   obj:*
1393
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
1394
   fun:plugin_init
1395
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
1228.1.4 by Monty Taylor
Fixes to valgrind supressions.
1396
   fun:main
1397
}
1398
1399
{
1400
   Valgrind has issues tracking the deallocation of plugin objects.
1401
   Memcheck:Leak
1402
   fun:malloc
1403
   ...
1324.2.21 by Monty Taylor
Made supressions better with new Context object.
1404
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
1405
   fun:plugin_init
1406
   fun:main
1407
}
1408
1409
{
1410
   Valgrind has issues tracking the deallocation of plugin objects.
1411
   Memcheck:Leak
1412
   fun:_ZnwmRKSt9nothrow_t
1413
   ...
1414
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
1415
   fun:plugin_init
1416
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
1228.1.4 by Monty Taylor
Fixes to valgrind supressions.
1417
   fun:main
1418
}
1419
1420
{
1241.4.1 by Monty Taylor
Added better suppressions for our runs on hudson.
1421
   Leak in dlclose()
1422
   Memcheck:Leak
1423
   fun:malloc
1424
   ...
1425
   fun:dlclose
1426
   fun:_ZN8drizzled6plugin7LibraryD1Ev
1427
   fun:_ZN8drizzled6plugin8RegistryD1Ev
1428
   fun:_ZN8drizzled6plugin8Registry8shutdownEv
1429
   fun:main
1430
}
1431
1432
{
1433
   dlclose()
1434
   Memcheck:Leak
1435
   fun:malloc
1436
   ...
1437
   fun:dlopen
1438
   fun:_ZN8drizzled6plugin7Library11loadLibraryERKSs
1439
   fun:_ZN8drizzled6plugin8Registry10addLibraryERKSs
1440
}
1441
1442
{
1443
   dlopen()
1444
   Memcheck:Leak
1445
   fun:malloc
1446
   ...
1447
   fun:dlopen
1448
   fun:_ZN8drizzled6plugin7Library11loadLibraryERKSs
1449
   fun:_ZN8drizzled6plugin8Registry10addLibraryERKSs
1450
   fun:_ZL16plugin_load_listRN8drizzled6plugin8RegistryEP11st_mem_rootPiPPcSs
1451
}
1452
1453
{
1454
   static var in getpwnam
1228.1.4 by Monty Taylor
Fixes to valgrind supressions.
1455
   Memcheck:Leak
1456
   fun:malloc
1457
   fun:nss_parse_service_list
1458
   fun:__nss_database_lookup
1459
   obj:*
1460
   obj:*
1461
   fun:getpwnam_r@@GLIBC_2.2.5
1462
   fun:getpwnam
1463
   fun:main
1464
}
1465
1241.4.1 by Monty Taylor
Added better suppressions for our runs on hudson.
1466
{
1467
   pthread_cancel_init issue.
1468
   Memcheck:Leak
1469
   fun:malloc
1470
   ...
1471
   fun:pthread_cancel_init
1472
   fun:_Unwind_ForcedUnwind
1473
   fun:__pthread_unwind
1474
   fun:pthread_exit
1475
   fun:os_thread_exit
1476
   fun:trx_rollback_or_clean_all_recovered
1477
   fun:start_thread
1478
   fun:clone
1479
}
1480
1481
{
1482
   pwrite64 issue
1483
   Memcheck:Param
1484
   pwrite64(buf)
1485
   ...
1486
   fun:azclose
1487
   fun:_ZN12ArchiveShareD1Ev
1488
   fun:_ZN10ha_archive10free_shareEv
1489
   fun:_ZN10ha_archive5closeEv
1490
   ...
1491
   fun:session_thread
1492
   fun:start_thread
1493
}
1494
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
1495
{
1496
   pwrite64 issue
1497
   Memcheck:Param
1498
   pwrite64(buf)
1499
   ...
1500
   fun:azflush
1501
   fun:_ZN10ha_archive4infoEj
1502
   fun:_ZN8drizzledL20make_join_statisticsEPNS_4JOINEPNS_9TableListEPNS_4ItemEPNS_16st_dynamic_arrayE
1503
   fun:_ZN8drizzled4JOIN8optimizeEv
1504
   fun:_ZN8drizzled12mysql_selectEPNS_7SessionEPPPNS_4ItemEPNS_9TableListEjRNS_4ListIS2_EES3_jPNS_8order_stESC_S3_mPNS_13select_resultEPNS_15Select_Lex_UnitEPNS_10Select_LexE
1505
   fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEm
1506
   fun:_ZN8drizzled21execute_sqlcom_selectEPNS_7SessionEPNS_9TableListE
1507
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1273.12.11 by Monty Taylor
Fixed valgrind suppressions.
1508
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
1509
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
1510
   fun:_ZN8drizzled7Session16executeStatementEv
1511
   fun:_ZN8drizzled7Session3runEv
1512
   fun:session_thread
1513
   fun:start_thread
1514
}
1515
1516
{
1517
   pthread issue
1518
   Memcheck:Param
1519
   write(buf)
1520
   ...
1521
   fun:_ZN8drizzled8internal8my_writeEiPKhmi
1522
   fun:_ZN8drizzled8internal19my_b_flush_io_cacheEPNS0_11st_io_cacheEi
1523
   fun:_ZN8drizzled8filesortEPNS_7SessionEPNS_5TableEPNS_13st_sort_fieldEjPNS_9optimizer9SqlSelectEmbPm
1524
   fun:_ZN8drizzled17create_sort_indexEPNS_7SessionEPNS_4JOINEPNS_8order_stEmmb
1525
   fun:_ZN8drizzled4JOIN4execEv
1526
   fun:_ZN8drizzled30subselect_single_select_engine4execEv
1527
   fun:_ZN8drizzled14Item_subselect4execEv
1528
   fun:_ZN8drizzled24Item_singlerow_subselect7val_strEPNS_6StringE
1529
   fun:_ZN8drizzled14Arg_comparator14compare_stringEv
1530
   fun:_ZN8drizzled12Item_func_eq7val_intEv
1531
   fun:_ZN8drizzled15remove_eq_condsEPNS_7SessionEPNS_4ItemEPNS2_11cond_resultE
1532
   fun:_ZN8drizzled13optimize_condEPNS_4JOINEPNS_4ItemEPNS_4ListINS_9TableListEEEPNS2_11cond_resultE
1533
   fun:_ZN8drizzled4JOIN8optimizeEv
1534
   fun:_ZN8drizzled12mysql_selectEPNS_7SessionEPPPNS_4ItemEPNS_9TableListEjRNS_4ListIS2_EES3_jPNS_8order_stESC_S3_mPNS_13select_resultEPNS_15Select_Lex_UnitEPNS_10Select_LexE
1535
   fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEm
1536
}
1537
1538
{
1539
   pthread issue
1540
   Memcheck:Param
1541
   write(buf)
1542
   ...
1543
   fun:_ZN8drizzled8internal8my_writeEiPKhmi
1544
   fun:_ZN8drizzled8internal19my_b_flush_io_cacheEPNS0_11st_io_cacheEi
1545
   fun:_ZN8drizzled8internalL11_my_b_writeEPNS0_11st_io_cacheEPKhm
1546
   fun:_ZN8drizzledL10write_keysEPNS_13st_sort_paramEPPhjPNS_8internal11st_io_cacheES6_
1547
   fun:_ZN8drizzled8filesortEPNS_7SessionEPNS_5TableEPNS_13st_sort_fieldEjPNS_9optimizer9SqlSelectEmbPm
1548
   fun:_ZN8drizzled17create_sort_indexEPNS_7SessionEPNS_4JOINEPNS_8order_stEmmb
1549
   fun:_ZN8drizzled4JOIN4execEv
1550
   fun:_ZN8drizzled12mysql_selectEPNS_7SessionEPPPNS_4ItemEPNS_9TableListEjRNS_4ListIS2_EES3_jPNS_8order_stESC_S3_mPNS_13select_resultEPNS_15Select_Lex_UnitEPNS_10Select_LexE
1551
   fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEm
1552
   fun:_ZN8drizzled21execute_sqlcom_selectEPNS_7SessionEPNS_9TableListE
1553
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1273.12.11 by Monty Taylor
Fixed valgrind suppressions.
1554
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
1555
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
1556
   fun:_ZN8drizzled7Session16executeStatementEv
1557
   fun:_ZN8drizzled7Session3runEv
1558
}
1559
1560
{
1561
   Heap Engine panic issue
1562
   Memcheck:Addr8
1563
   fun:_Z8hp_panicN8drizzled17ha_panic_functionE
1324.2.16 by Monty Taylor
Fixed suppression to match destructor change.
1564
   fun:_ZN10HeapEngineD0Ev
1324.2.12 by Monty Taylor
Fixed the suppressions.
1565
   fun:_ZN8drizzled6plugin8RegistryD1Ev
1566
   fun:_ZN8drizzled6plugin8Registry8shutdownEv
1567
   fun:main
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
1568
}
1569
1570
{
1571
   my_write
1572
   Memcheck:Param
1573
   write(buf)
1574
   ...
1575
   fun:_ZN8drizzled8internal8my_writeEiPKhmi
1576
   fun:_ZN8drizzled8internal19my_b_flush_io_cacheEPNS0_11st_io_cacheEi
1577
   fun:_ZN8drizzled8filesortEPNS_7SessionEPNS_5TableEPNS_13st_sort_fieldEjPNS_9optimizer9SqlSelectEmbPm
1578
   fun:_ZN8drizzled17create_sort_indexEPNS_7SessionEPNS_4JOINEPNS_8order_stEmmb
1579
   fun:_ZN8drizzled4JOIN4execEv
1580
   fun:_ZN8drizzled12mysql_selectEPNS_7SessionEPPPNS_4ItemEPNS_9TableListEjRNS_4ListIS2_EES3_jPNS_8order_stESC_S3_mPNS_13select_resultEPNS_15Select_Lex_UnitEPNS_10Select_LexE
1581
   fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEm
1582
   fun:_ZN8drizzled21execute_sqlcom_selectEPNS_7SessionEPNS_9TableListE
1583
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1273.12.11 by Monty Taylor
Fixed valgrind suppressions.
1584
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
1585
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
1586
   fun:_ZN8drizzled7Session16executeStatementEv
1587
   fun:_ZN8drizzled7Session3runEv
1588
   fun:session_thread
1589
   fun:start_thread
1590
}
1591
1592
{
1593
   ptr_compare_0 craziness 
1594
   Memcheck:Cond
1595
   fun:_ZN8drizzled8internalL13ptr_compare_0EPmPPhS3_
1596
   fun:_ZN8drizzled8internal9my_qsort2EPvmmPFiPKvS3_S3_ES1_
1597
   fun:_ZN8drizzled8internal18my_string_ptr_sortEPhjm
1598
   fun:_ZN8drizzled8filesortEPNS_7SessionEPNS_5TableEPNS_13st_sort_fieldEjPNS_9optimizer9SqlSelectEmbPm
1599
   fun:_ZN8drizzled17create_sort_indexEPNS_7SessionEPNS_4JOINEPNS_8order_stEmmb
1600
   fun:_ZN8drizzled4JOIN4execEv
1601
   fun:_ZN8drizzled12mysql_selectEPNS_7SessionEPPPNS_4ItemEPNS_9TableListEjRNS_4ListIS2_EES3_jPNS_8order_stESC_S3_mPNS_13select_resultEPNS_15Select_Lex_UnitEPNS_10Select_LexE
1602
   fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEm
1603
   fun:_ZN8drizzled21execute_sqlcom_selectEPNS_7SessionEPNS_9TableListE
1604
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1273.12.11 by Monty Taylor
Fixed valgrind suppressions.
1605
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
1606
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
1607
   fun:_ZN8drizzled7Session16executeStatementEv
1608
   fun:_ZN8drizzled7Session3runEv
1609
   fun:session_thread
1610
   fun:start_thread
1611
}
1612
1613
{
1614
   Badness inside of libc.
1615
   Memcheck:Leak
1616
   fun:malloc
1617
   obj:/lib/ld-2.9.so
1618
   obj:/lib/ld-2.9.so
1619
   obj:/lib/ld-2.9.so
1620
   obj:/lib/ld-2.9.so
1621
   obj:/lib/ld-2.9.so
1622
   obj:/lib/libc-2.9.so
1623
   obj:/lib/ld-2.9.so
1624
   fun:__libc_dlopen_mode
1625
   fun:__nss_lookup_function
1626
   obj:/lib/libc-2.9.so
1627
   fun:getaddrinfo
1628
   obj:*
1629
   obj:*
1630
   obj:*
1631
   obj:*
1632
}
1633
1634
{
1635
   More crap in innodb heap.
1636
   Memcheck:Leak
1637
   fun:malloc
1638
   fun:mem_heap_create_block
1639
   fun:mem_heap_add_block
1640
   fun:dict_mem_table_create
1641
   fun:_ZN14InnobaseEngine13doCreateTableEPN8drizzled7SessionEPKcRNS0_5TableERNS0_7message5TableE
1642
   fun:_ZN8drizzled6plugin13StorageEngine11createTableERNS_7SessionERNS_15TableIdentifierEbRNS_7message5TableEb
1643
   fun:_ZN8drizzled16rea_create_tableEPNS_7SessionERNS_15TableIdentifierEPNS_7message5TableEPNS_24st_ha_create_informationERNS_4ListINS_11CreateFieldEEEjPNS_6st_keyE
1644
   fun:_ZN8drizzled26mysql_create_table_no_lockEPNS_7SessionERNS_15TableIdentifierEPNS_24st_ha_create_informationEPNS_7message5TableEPNS_9AlterInfoEbjb
1645
   fun:_ZN8drizzled18mysql_create_tableEPNS_7SessionERNS_15TableIdentifierEPNS_24st_ha_create_informationEPNS_7message5TableEPNS_9AlterInfoEbjb
1646
   fun:_ZN8drizzled9statement11CreateTable7executeEv
1647
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1273.12.11 by Monty Taylor
Fixed valgrind suppressions.
1648
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
1649
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
1650
   fun:_ZN8drizzled7Session16executeStatementEv
1651
   fun:_ZN8drizzled7Session3runEv
1652
   obj:*
1653
}