~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/valgrind.supp

  • Committer: Brian Aker
  • Date: 2010-05-21 23:35:31 UTC
  • mfrom: (1530.5.12 force-gcc44)
  • Revision ID: brian@gaz-20100521233531-2jko7lisa8jt1ph3
Merge Monty (pandora).

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# Suppress some common (not fatal) errors in system libraries found by valgrind
3
3
#
4
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
 
{
27
 
   pthread_exit memory loss 1
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
 
 
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:_ZN8drizzled7Session3runEv
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:_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
316
 
}
317
 
 
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
356
 
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
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
376
 
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
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
 
}
392
 
 
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
 
}
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
 
 
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
 
 
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
 
{
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_initRN8drizzled6module7ContextE
798
 
   fun:_ZN8drizzledL17plugin_initializeERNS_6module8RegistryEPNS0_6ModuleE
799
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
800
 
   fun:_ZN8drizzledL22init_server_componentsERNS_6module8RegistryE
801
 
   fun:main
802
 
}
803
 
 
804
 
{
805
 
   I hate bunny rabbits
806
 
   Memcheck:Leak
807
 
   fun:malloc
808
 
   ...
809
 
   fun:innobase_start_or_create_for_mysql
810
 
   fun:_ZL13innobase_initRN8drizzled6module7ContextE
811
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
812
 
   fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE
813
 
   fun:main
814
 
}
815
 
 
816
 
{
817
 
   Innodb Garbage
818
 
   Memcheck:Leak
819
 
   fun:malloc
820
 
   ...
821
 
   fun:innobase_start_or_create_for_mysql
822
 
   fun:_ZL13innobase_initRN8drizzled6module7ContextE
823
 
   fun:_ZN8drizzledL17plugin_initializeERNS_6module8RegistryEPNS0_6ModuleE
824
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
825
 
   fun:_ZN8drizzledL22init_server_componentsERNS_6module8RegistryE
826
 
   fun:main
827
 
}
828
 
{
829
 
   Innodb Garbage
830
 
   Memcheck:Leak
831
 
   fun:malloc
832
 
   ...
833
 
   fun:innobase_start_or_create_for_mysql
834
 
   fun:_ZL13innobase_initRN8drizzled6module7ContextE
835
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
836
 
   fun:_ZN8drizzledL22init_server_componentsERNS_6module8RegistryE
837
 
   fun:main
838
 
}
839
 
{
840
 
   Innodb Garbage
841
 
   Memcheck:Leak
842
 
   fun:malloc
843
 
   fun:ut_malloc_low
844
 
   fun:ut_malloc
845
 
   fun:os_aio_array_create
846
 
   fun:os_aio_init
847
 
   fun:innobase_start_or_create_for_mysql
848
 
   fun:_ZL13innobase_initRN8drizzled6module7ContextE
849
 
   fun:_ZN8drizzledL17plugin_initializeERNS_6module8RegistryEPNS0_6ModuleE
850
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
851
 
   fun:_ZN8drizzledL22init_server_componentsERNS_6module8RegistryE
852
 
   fun:main
853
 
}
854
 
{
855
 
   Innodb Garbage
856
 
   Memcheck:Leak
857
 
   fun:malloc
858
 
   fun:ut_malloc_low
859
 
   fun:ut_malloc
860
 
   fun:os_aio_array_create
861
 
   fun:os_aio_init
862
 
   fun:innobase_start_or_create_for_mysql
863
 
   fun:_ZL13innobase_initRN8drizzled6module7ContextE
864
 
   fun:_ZN8drizzledL17plugin_initializeERNS_6module8RegistryEPNS0_6ModuleE
865
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
866
 
   fun:_ZN8drizzledL22init_server_componentsERNS_6module8RegistryE
867
 
   fun:main
868
 
}
869
 
{
870
 
   Innodb Garbage
871
 
   Memcheck:Leak
872
 
   fun:malloc
873
 
   fun:ut_malloc_low
874
 
   fun:mem_pool_create
875
 
   fun:mem_init
876
 
   fun:srv_general_init
877
 
   fun:srv_boot
878
 
   fun:innobase_start_or_create_for_mysql
879
 
   fun:_ZL13innobase_initRN8drizzled6module7ContextE
880
 
   fun:_ZN8drizzledL17plugin_initializeERNS_6module8RegistryEPNS0_6ModuleE
881
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
882
 
   fun:_ZN8drizzledL22init_server_componentsERNS_6module8RegistryE
883
 
   fun:main
884
 
}
885
 
{
886
 
   Innodb Garbage
887
 
   Memcheck:Leak
888
 
   fun:malloc
889
 
   fun:ut_malloc_low
890
 
   fun:ut_malloc
891
 
   fun:yyalloc
892
 
   fun:yyensure_buffer_stack
893
 
   fun:yylex
894
 
   fun:yyparse
895
 
   fun:pars_sql
896
 
   fun:que_eval_sql
897
 
   fun:dict_create_or_check_foreign_constraint_tables
898
 
   fun:innobase_start_or_create_for_mysql
899
 
   fun:_ZL13innobase_initRN8drizzled6module7ContextE
900
 
   fun:_ZN8drizzledL17plugin_initializeERNS_6module8RegistryEPNS0_6ModuleE
901
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
902
 
   fun:_ZN8drizzledL22init_server_componentsERNS_6module8RegistryE
903
 
   fun:main
904
 
}
905
 
{
906
 
   Innodb Garbage
907
 
   Memcheck:Cond
908
 
   fun:rw_lock_set_writer_id_and_recursion_flag
909
 
   fun:rw_lock_x_lock_low
910
 
   fun:rw_lock_x_lock_func
911
 
   fun:btr_search_check_free_space_in_heap
912
 
   fun:btr_search_update_hash_on_insert
913
 
   fun:btr_cur_optimistic_insert
914
 
   fun:row_ins_index_entry_low
915
 
   fun:row_ins_index_entry
916
 
   fun:row_ins_index_entry_step
917
 
   fun:row_ins
918
 
   fun:row_ins_step
919
 
   fun:que_thr_step
920
 
   fun:que_run_threads_low
921
 
   fun:que_run_threads
922
 
   fun:que_eval_sql
923
 
   fun:dict_create_or_check_foreign_constraint_tables
924
 
}
925
 
{
926
 
   Innodb Garbage
927
 
   Memcheck:Cond
928
 
   fun:rw_lock_set_writer_id_and_recursion_flag
929
 
   fun:rw_lock_x_lock_low
930
 
   fun:rw_lock_x_lock_func
931
 
   fun:trx_purge
932
 
   fun:srv_master_thread
933
 
   fun:start_thread
934
 
   fun:clone
935
 
}
936
 
{
937
 
   Innodb Garbage
938
 
   Memcheck:Cond
939
 
   fun:rw_lock_set_writer_id_and_recursion_flag
940
 
   fun:rw_lock_x_lock_low
941
 
   fun:rw_lock_x_lock_func
942
 
   fun:log_group_checkpoint
943
 
   fun:log_groups_write_checkpoint_info
944
 
   fun:log_checkpoint
945
 
   fun:log_fsp_current_free_limit_set_and_checkpoint
946
 
   fun:fsp_fill_free_list
947
 
   fun:fsp_header_init
948
 
   fun:innobase_start_or_create_for_mysql
949
 
   fun:_ZL13innobase_initRN8drizzled6module7ContextE
950
 
   fun:_ZN8drizzledL17plugin_initializeERNS_6module8RegistryEPNS0_6ModuleE
951
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
952
 
   fun:_ZN8drizzledL22init_server_componentsERNS_6module8RegistryE
953
 
   fun:main
954
 
}
955
 
{
956
 
   Innodb garbage
957
 
   Memcheck:Cond
958
 
   fun:rw_lock_set_writer_id_and_recursion_flag
959
 
   fun:rw_lock_x_lock_low
960
 
   fun:rw_lock_x_lock_func
961
 
   fun:mtr_x_lock_func
962
 
   fun:fsp_header_init
963
 
   fun:innobase_start_or_create_for_mysql
964
 
   fun:_ZL13innobase_initRN8drizzled6module7ContextE
965
 
   fun:_ZN8drizzledL17plugin_initializeERNS_6module8RegistryEPNS0_6ModuleE
966
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
967
 
   fun:_ZN8drizzledL22init_server_componentsERNS_6module8RegistryE
968
 
   fun:main
969
 
}
970
 
{
971
 
   thr_local_hash static initialization
972
 
   Memcheck:Leak
973
 
   fun:malloc
974
 
   fun:mem_area_alloc
975
 
   fun:mem_heap_create_block
976
 
   fun:mem_heap_create_func
977
 
   fun:mem_alloc_func
978
 
   fun:hash0_create
979
 
   fun:thr_local_init
980
 
   fun:srv_general_init
981
 
   fun:srv_boot
982
 
   fun:innobase_start_or_create_for_mysql
983
 
   fun:_ZL13innobase_initRN8drizzled6module7ContextE
984
 
   fun:_ZN8drizzledL17plugin_initializeERNS_6module8RegistryEPNS0_6ModuleE
985
 
   fun:_Z11plugin_initPiPPci
986
 
   fun:_ZL22init_server_componentsv
987
 
   fun:main
988
 
}
989
 
 
990
 
{
991
 
   thr_local_hash static initialization
992
 
   Memcheck:Leak
993
 
   fun:malloc
994
 
   fun:mem_heap_create_block
995
 
   ...
996
 
   fun:_ZL13innobase_initR14PluginRegistry
997
 
   fun:_Z11plugin_initPiPPci
998
 
   fun:_ZL22init_server_componentsv
999
 
   fun:main
1000
 
}
1001
 
 
1002
 
{
1003
 
   thr_local_hash static initialization
1004
 
   Memcheck:Leak
1005
 
   fun:malloc
1006
 
   fun:ut_malloc_low
1007
 
   ...
1008
 
   fun:_ZL13innobase_initR14PluginRegistry
1009
 
   fun:_Z11plugin_initPiPPci
1010
 
   fun:_ZL22init_server_componentsv
1011
 
   fun:main
1012
 
}
1013
 
 
1014
 
{
1015
 
   InnoDB Garbage
1016
 
   Memcheck:Value8
1017
 
   ...
1018
 
   fun:ut_print_buf
1019
 
   fun:dtuple_print
1020
 
   fun:row_ins_foreign_report_add_err
1021
 
   fun:row_ins_check_foreign_constraint
1022
 
   fun:row_ins_index_entry
1023
 
   fun:row_ins_step
1024
 
   fun:row_insert_for_mysql
1025
 
   fun:_ZN11ha_innobase9write_rowEPh
1026
 
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
1027
 
   fun:_ZN8drizzled12write_recordEPNS_7SessionEPNS_5TableEPNS_12st_copy_infoE
1028
 
   fun:_ZN8drizzled12mysql_insertEPNS_7SessionEPNS_9TableListERNS_4ListINS_4ItemEEERNS4_IS6_EES7_S7_NS_15enum_duplicatesEb
1029
 
   fun:_ZN8drizzled9statement6Insert7executeEv
1030
 
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1031
 
}
1032
 
 
1033
 
{
1034
 
   32bit InnoDB garbage
1035
 
   Memcheck:Value4
1036
 
   ...
1037
 
   fun:ut_print_buf
1038
 
   fun:dtuple_print
1039
 
   fun:row_ins_foreign_report_add_err
1040
 
   fun:row_ins_check_foreign_constraint
1041
 
   fun:row_ins_index_entry
1042
 
   fun:row_ins_step
1043
 
   fun:row_insert_for_mysql
1044
 
   fun:_ZN11ha_innobase9write_rowEPh
1045
 
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
1046
 
   fun:_ZN8drizzled12write_recordEPNS_7SessionEPNS_5TableEPNS_12st_copy_infoE
1047
 
   fun:_ZN8drizzled12mysql_insertEPNS_7SessionEPNS_9TableListERNS_4ListINS_4ItemEEERNS4_IS6_EES7_S7_NS_15enum_duplicatesEb
1048
 
   fun:_ZN8drizzled9statement6Insert7executeEv
1049
 
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1050
 
}
1051
 
 
1052
 
 
1053
 
{
1054
 
   InnoDB makes babies cry
1055
 
   Memcheck:Cond
1056
 
   ...
1057
 
   fun:dtuple_print
1058
 
   fun:row_ins_foreign_report_add_err
1059
 
   fun:row_ins_check_foreign_constraint
1060
 
   fun:row_ins_index_entry
1061
 
   fun:row_ins_step
1062
 
   fun:row_insert_for_mysql
1063
 
   fun:_ZN11ha_innobase9write_rowEPh
1064
 
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
1065
 
   fun:_ZN8drizzled12write_recordEPNS_7SessionEPNS_5TableEPNS_12st_copy_infoE
1066
 
   fun:_ZN8drizzled12mysql_insertEPNS_7SessionEPNS_9TableListERNS_4ListINS_4ItemEEERNS4_IS6_EES7_S7_NS_15enum_duplicatesEb
1067
 
   fun:_ZN8drizzled9statement6Insert7executeEv
1068
 
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1069
 
}
1070
 
 
1071
 
{
1072
 
   InnoDB Issue
1073
 
   Memcheck:Param
1074
 
   ...
1075
 
   fun:row_insert_for_mysql
1076
 
   fun:_ZN11ha_innobase9write_rowEPh
1077
 
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
1078
 
   fun:_ZN8drizzled12write_recordEPNS_7SessionEPNS_5TableEPNS_12st_copy_infoE
1079
 
}
1080
 
 
1081
 
{
1082
 
   Static leak fun in innodb
1083
 
   Memcheck:Leak
1084
 
   fun:malloc
1085
 
   fun:mem_area_alloc
1086
 
   fun:mem_heap_create_block
1087
 
   fun:trx_undo_mem_create
1088
 
   fun:trx_undo_assign_undo
1089
 
   fun:trx_undo_report_row_operation
1090
 
   fun:btr_cur_pessimistic_insert
1091
 
   fun:row_ins_index_entry_low
1092
 
   fun:row_ins_step
1093
 
   fun:row_insert_for_mysql
1094
 
   fun:_ZN11ha_innobase9write_rowEPh
1095
 
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
1096
 
   ...
1097
 
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1098
 
}
1099
 
 
1100
 
{
1101
 
   Static leak fun in innodb
1102
 
   Memcheck:Leak
1103
 
   fun:malloc
1104
 
   fun:mem_heap_create_block
1105
 
   fun:trx_undo_mem_create
1106
 
   fun:trx_undo_assign_undo
1107
 
   fun:trx_undo_report_row_operation
1108
 
   fun:btr_cur_del_mark_set_clust_rec
1109
 
   fun:row_upd_clust_step
1110
 
   fun:row_upd_step
1111
 
   fun:que_run_threads
1112
 
   fun:que_eval_sql
1113
 
   fun:row_rename_table_for_mysql
1114
 
   fun:_ZN14InnobaseEngine13doRenameTableEPN8drizzled7SessionEPKcS4_
1115
 
   fun:_ZN8drizzled18mysql_rename_tableEPNS_6plugin13StorageEngineEPKcS4_S4_S4_j
1116
 
   fun:_ZN8drizzled11alter_tableEPNS_7SessionEPcS2_PNS_24st_ha_create_informationEPNS_7message5TableEPNS_9TableListEPNS_9AlterInfoEjPNS_8order_stEb
1117
 
   fun:_ZN8drizzled9statement10AlterTable7executeEv
1118
 
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1119
 
}
1120
 
 
1121
 
 
1122
 
{
1123
 
   More InnoDB Garbage
1124
 
   Memcheck:Cond
1125
 
   ...
1126
 
   fun:ut_print_buf
1127
 
   fun:dtuple_print
1128
 
   fun:row_ins_foreign_report_add_err
1129
 
   fun:row_ins_check_foreign_constraint
1130
 
   fun:row_ins_index_entry
1131
 
   fun:row_ins_step
1132
 
   fun:row_insert_for_mysql
1133
 
   fun:_ZN11ha_innobase9write_rowEPh
1134
 
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
1135
 
   fun:_ZN8drizzled12write_recordEPNS_7SessionEPNS_5TableEPNS_12st_copy_infoE
1136
 
   fun:_ZN8drizzled12mysql_insertEPNS_7SessionEPNS_9TableListERNS_4ListINS_4ItemEEERNS4_IS6_EES7_S7_NS_15enum_duplicatesEb
1137
 
   fun:_ZN8drizzled9statement6Insert7executeEv
1138
 
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1139
 
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
1140
 
}
1141
 
 
1142
 
{
1143
 
   InnoDB Craptasticness
1144
 
   Memcheck:Value8
1145
 
   ...
1146
 
   fun:row_ins_foreign_report_add_err
1147
 
   fun:row_ins_check_foreign_constraint
1148
 
   fun:row_ins_index_entry
1149
 
   fun:row_ins_step
1150
 
   fun:row_insert_for_mysql
1151
 
   fun:_ZN11ha_innobase9write_rowEPh
1152
 
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
1153
 
   fun:_ZN8drizzled12write_recordEPNS_7SessionEPNS_5TableEPNS_12st_copy_infoE
1154
 
   fun:_ZN8drizzled12mysql_insertEPNS_7SessionEPNS_9TableListERNS_4ListINS_4ItemEEERNS4_IS6_EES7_S7_NS_15enum_duplicatesEb
1155
 
   fun:_ZN8drizzled9statement6Insert7executeEv
1156
 
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1157
 
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
1158
 
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
1159
 
   fun:_ZN8drizzled7Session16executeStatementEv
1160
 
}
1161
 
 
1162
 
 
1163
 
{
1164
 
   InnoDB plugin startup evil
1165
 
   Memcheck:Leak
1166
 
   ...
1167
 
   fun:innobase_start_or_create_for_mysql
1168
 
   fun:_ZL13innobase_initRN8drizzled6module7ContextE
1169
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
1170
 
   fun:main
1171
 
}
1172
 
 
1173
 
 
1174
 
{
1175
 
   pthread thing
1176
 
   Memcheck:Leak
1177
 
   fun:malloc
1178
 
   ...
1179
 
   fun:pthread_cancel_init
1180
 
   fun:_Unwind_ForcedUnwind
1181
 
   fun:__pthread_unwind
1182
 
   fun:pthread_exit
1183
 
   ...
1184
 
   fun:start_thread
1185
 
   fun:clone
1186
 
}
1187
 
 
1188
 
 
1189
 
{
1190
 
   mem_comm_pool static initialization
1191
 
   Memcheck:Leak
1192
 
   fun:malloc
1193
 
   fun:ut_malloc_low
1194
 
   fun:ut_malloc
1195
 
   fun:mem_pool_create
1196
 
   fun:mem_init
1197
 
   fun:srv_general_init
1198
 
   fun:srv_boot
1199
 
   fun:innobase_start_or_create_for_mysql
1200
 
   fun:_ZL13innobase_initRN8drizzled6module7ContextE
1201
 
   fun:_ZN8drizzledL17plugin_initializeERNS_6module8RegistryEPNS0_6ModuleE
1202
 
   fun:_Z11plugin_initPiPPci
1203
 
   fun:_ZL22init_server_componentsv
1204
 
   fun:main
1205
 
}
1206
 
 
1207
 
#
1208
 
# InnoDB uses a yacc-based lexer which holds its yyval variable in
1209
 
# static space. This variable is of type pointer to que_t.  This
1210
 
# static variable is realloc()'d when a larger number of que_t's (AST nodes)
1211
 
# is needed.
1212
 
#
1213
 
# This static allocation results in false positives for reachable
1214
 
# memory at server (or actually plugin) shutdown.  Therefore, we correct
1215
 
# with the following suppressions.
1216
 
#
1217
 
 
1218
 
{
1219
 
   InnoDB parser static allocation 1
1220
 
   Memcheck:Leak
1221
 
   fun:realloc
1222
 
   fun:ut_realloc
1223
 
   fun:string_append
1224
 
   fun:yylex
1225
 
   fun:yyparse
1226
 
   fun:pars_sql
1227
 
}
1228
 
 
1229
 
{
1230
 
   InnoDB Parser allocation 2
1231
 
   Memcheck:Leak
1232
 
   fun:realloc
1233
 
   fun:string_append
1234
 
   fun:yylex
1235
 
   fun:yyparse
1236
 
   fun:pars_sql
1237
 
}
1238
 
 
1239
 
 
1240
 
#
1241
 
# LIBC's nss_parse_service_list() and tsearch(), which are used by various syscalls
1242
 
# like getpwnam() malloc's some pointers in static space. We suppress
1243
 
# this false positive here...
1244
 
#
1245
 
 
1246
 
{
1247
 
   nss_parse_service_list static allocation
1248
 
   Memcheck:Leak
1249
 
   fun:malloc
1250
 
   ...
1251
 
   fun:getpwnam
1252
 
}
1253
 
 
1254
 
{
1255
 
   tsearch static allocation
1256
 
   Memcheck:Leak
1257
 
   fun:malloc
1258
 
   ...
1259
 
   fun:getpwnam
1260
 
   fun:_ZL10check_userPKc
1261
 
   fun:main
1262
 
}
1263
 
 
1264
 
 
1265
 
#
1266
 
# PCRE initializes compiled regular expression objects into
1267
 
# static space, and therefore show up as memory leaks.  These
1268
 
# are false positives and are handled by the PCRE library. There
1269
 
# is no way to manually free pcre_compile()d returned pointers.
1270
 
#
1271
 
 
1272
 
{
1273
 
   pcre static initialization correction
1274
 
   Memcheck:Leak
1275
 
   fun:malloc
1276
 
   fun:pcre_compile2
1277
 
   fun:_ZN8drizzled14TemporalFormatC1EPKc
1278
 
   fun:_Z21init_temporal_formatsv
1279
 
   fun:_ZL21init_common_variablesPKciPPcPS0_
1280
 
   fun:main
1281
 
}
1282
 
 
1283
 
{
1284
 
   Leak inside of libcurl. Nothing we can really do about it.
1285
 
   Memcheck:Leak
1286
 
   fun:realloc
1287
 
   fun:CRYPTO_realloc
1288
 
   fun:lh_insert
1289
 
}
1290
 
 
1291
 
{
1292
 
   Another leak in libcrypto
1293
 
   Memcheck:Leak
1294
 
   fun:malloc
1295
 
   fun:CRYPTO_malloc
1296
 
   fun:lh_new
1297
 
}
1298
 
 
1299
 
 
1300
 
{
1301
 
   A leak in pcre
1302
 
   Memcheck:Leak
1303
 
   fun:malloc
1304
 
   fun:pcre_compile2
1305
 
}
1306
 
 
1307
 
{
1308
 
   nss leak
1309
 
   Memcheck:Leak
1310
 
   fun:malloc
1311
 
   obj:/lib/libc-2.9.so
1312
 
   fun:__nss_database_lookup
1313
 
}
1314
 
 
1315
 
{
1316
 
   Leak in dlopen from glibc (it's not a growing leak) see ./elf/dl-open.c
1317
 
   Memcheck:Leak
1318
 
   fun:dlopen
1319
 
   ...
1320
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
1321
 
   fun:_ZN8drizzledL22init_server_componentsERNS_6module8RegistryE
1322
 
   fun:main
1323
 
}
1324
 
 
1325
 
{
1326
 
   Catching more dlopen leaks
1327
 
   Memcheck:Leak
1328
 
   fun:malloc
1329
 
   fun:add_to_global
1330
 
   fun:dl_open_worker
1331
 
   ...
1332
 
   fun:_ZN8drizzled6module7Library11loadLibraryERKSsb
1333
 
   fun:_ZN8drizzled6module8Registry10addLibraryERKSsb
1334
 
   ...
1335
 
   fun:_ZN8drizzledL22init_server_componentsERNS_6module8RegistryE
1336
 
   fun:main
1337
 
}
1338
 
{
1339
 
   Leak in dlopen from glibc (it's not a growing leak) see ./elf/dl-open.c
1340
 
   Memcheck:Leak
1341
 
   fun:dlopen
1342
 
   ...
1343
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
1344
 
}
1345
 
 
1346
 
{
1347
 
   Leak in dlopen from glibc (it's not a growing leak) see ./elf/dl-open.c
1348
 
   Memcheck:Leak
1349
 
   fun:dlopen
1350
 
   ...
1351
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
1352
 
   fun:main
1353
 
}
1354
 
 
1355
 
{
1356
 
   Leak in dlopen from glibc (it's not a growing leak) see ./elf/dl-open.c
1357
 
   Memcheck:Leak
1358
 
   fun:malloc
1359
 
   ...
1360
 
   fun:dlopen
1361
 
   ...
1362
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
1363
 
}
1364
 
 
1365
 
{
1366
 
   Leak in dlopen from glibc (it's not a growing leak) see ./elf/dl-open.c
1367
 
   Memcheck:Leak
1368
 
   fun:malloc
1369
 
   ...
1370
 
   fun:dlopen
1371
 
   ...
1372
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
1373
 
   fun:main
1374
 
}
1375
 
 
1376
 
{
1377
 
   Leak in dlopen from glibc (it's not a growing leak) see ./elf/dl-open.c
1378
 
   Memcheck:Leak
1379
 
   fun:dlopen
1380
 
   ...
1381
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
1382
 
   fun:_ZL22init_server_componentsRN8drizzled6module7ContextE
1383
 
   fun:main
1384
 
}
1385
 
 
1386
 
{
1387
 
   Leak in dlopen()
1388
 
   Memcheck:Leak
1389
 
   fun:calloc
1390
 
   ...
1391
 
   fun:dlopen
1392
 
   fun:_ZN8drizzled6module7Library11loadLibraryERKSsb
1393
 
   fun:_ZN8drizzled6module8Registry10addLibraryERKSsb
1394
 
}
1395
 
 
1396
 
 
1397
 
{
1398
 
   Leak in dlopen()
1399
 
   Memcheck:Leak
1400
 
   fun:malloc
1401
 
   fun:add_to_global
1402
 
   ...
1403
 
   fun:_ZN8drizzled6module7Library11loadLibraryERKSsb
1404
 
   fun:_ZN8drizzled6module8Registry10addLibraryERKSsb
1405
 
   ...
1406
 
   fun:main
1407
 
}
1408
 
 
1409
 
{
1410
 
   Suppress dlclose() because we can't use it
1411
 
   Memcheck:Leak
1412
 
   fun:malloc
1413
 
   fun:_dl_close_worker
1414
 
   fun:_dl_close
1415
 
   ...
1416
 
   fun:exit
1417
 
   ...
1418
 
}
1419
 
 
1420
 
{
1421
 
   Suppress dlclose() because we can't use it
1422
 
   Memcheck:Leak
1423
 
   fun:malloc
1424
 
   fun:expand_dynamic_string_token
1425
 
   fun:_dl_map_object
1426
 
   fun:dl_open_worker
1427
 
   ...
1428
 
   fun:_ZN8drizzled6module7Library11loadLibraryERKSsb
1429
 
   fun:_ZN8drizzled6module8Registry10addLibraryERKSsb
1430
 
   ...
1431
 
   fun:main
1432
 
}
1433
 
 
1434
 
{
1435
 
   Suppress dlclose() because we can't use it
1436
 
   Memcheck:Leak
1437
 
   fun:malloc
1438
 
   fun:local_strdup
1439
 
   fun:_dl_map_object
1440
 
   fun:openaux
1441
 
   fun:_dl_catch_error
1442
 
   fun:_dl_map_object_deps
1443
 
   fun:dl_open_worker
1444
 
   ...
1445
 
   fun:_ZN8drizzled6module7Library11loadLibraryERKSsb
1446
 
   fun:_ZN8drizzled6module8Registry10addLibraryERKSsb
1447
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
1448
 
}
1449
 
 
1450
 
{
1451
 
   Suppress dlclose() because we can't use it
1452
 
   Memcheck:Leak
1453
 
   fun:malloc
1454
 
   fun:_dl_scope_free
1455
 
   fun:_dl_close_worker
1456
 
   fun:_dl_close
1457
 
   fun:_dl_catch_error
1458
 
   fun:__libc_dlclose
1459
 
   obj:/lib/libc-2.10.1.so
1460
 
   obj:/lib/libc-2.10.1.so
1461
 
   fun:_vgnU_freeres
1462
 
   fun:exit
1463
 
   fun:(below main)
1464
 
}
1465
 
 
1466
 
 
1467
 
{
1468
 
   Suppress dlclose() because we can't use it
1469
 
   Memcheck:Leak
1470
 
   fun:malloc
1471
 
   fun:_dl_lookup_symbol_x
1472
 
   fun:_dl_relocate_object
1473
 
   fun:dl_open_worker
1474
 
   fun:_dl_catch_error
1475
 
   fun:_dl_open
1476
 
   fun:dlopen_doit
1477
 
   fun:_dl_catch_error
1478
 
   fun:_dlerror_run
1479
 
   fun:dlopen@@GLIBC_2.2.5
1480
 
   fun:_ZN8drizzled6module7Library11loadLibraryERKSsb
1481
 
   fun:_ZN8drizzled6module8Registry10addLibraryERKSsb
1482
 
   fun:_ZN8drizzledL16plugin_load_listERNS_6module8RegistryEPNS_6memory4RootEPiPPcRKSt3setISsSt4lessISsESaISsEEb
1483
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
1484
 
   fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE
1485
 
   fun:main
1486
 
}
1487
 
 
1488
 
 
1489
 
{
1490
 
   Suppress dlclose() because we can't use it
1491
 
   Memcheck:Leak
1492
 
   fun:malloc
1493
 
   ...
1494
 
   fun:dlopen_doit
1495
 
   ...
1496
 
   fun:_ZN8drizzled6module7Library11loadLibraryERKSsb
1497
 
   fun:_ZN8drizzled6module8Registry10addLibraryERKSsb
1498
 
   fun:_ZN8drizzledL16plugin_load_listERNS_6module8RegistryEPNS_6memory4RootEPiPPcRKSt3setISsSt4lessISsESaISsEEb
1499
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
1500
 
   fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE
1501
 
   fun:main
1502
 
}
1503
 
 
1504
 
{
1505
 
   Suppress dlclose() because we can't use it
1506
 
   Memcheck:Leak
1507
 
   fun:malloc
1508
 
   ...
1509
 
   fun:dlopen_doit
1510
 
   ...
1511
 
   fun:_ZN8drizzled6module7Library11loadLibraryERKSsb
1512
 
   fun:_ZN8drizzled6module8Registry10addLibraryERKSsb
1513
 
   fun:_ZN8drizzledL16plugin_load_listERNS_6module8RegistryEPNS_6memory4RootEPiPPcRKSt3setISsSt4lessISsESaISsEEb
1514
 
}
1515
 
 
1516
 
{
1517
 
   InnoDB static issue   
1518
 
   Memcheck:Param
1519
 
   write(buf)
1520
 
   ...
1521
 
   fun:new_do_write
1522
 
   ...
1523
 
   fun:rewind
1524
 
   fun:row_ins_foreign_report_add_err
1525
 
   fun:row_ins_check_foreign_constraint
1526
 
   fun:row_ins_index_entry
1527
 
   fun:row_ins_step
1528
 
   fun:row_insert_for_mysql
1529
 
   fun:_ZN11ha_innobase9write_rowEPh
1530
 
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
1531
 
   fun:_ZN8drizzled12write_recordEPNS_7SessionEPNS_5TableEPNS_12st_copy_infoE
1532
 
}
1533
 
 
1534
 
{
1535
 
   InnoDB Heap Stuff
1536
 
   Memcheck:Param
1537
 
   write(buf)
1538
 
   ...
1539
 
   fun:new_do_write
1540
 
   ...
1541
 
   fun:rewind
1542
 
   fun:row_ins_foreign_report_err
1543
 
   fun:row_ins_check_foreign_constraint
1544
 
   fun:row_upd_check_references_constraints
1545
 
   fun:row_upd_clust_step
1546
 
   fun:row_upd_step
1547
 
   fun:row_update_for_mysql
1548
 
   fun:_ZN11ha_innobase10update_rowEPKhPh
1549
 
   fun:_ZN8drizzled6Cursor13ha_update_rowEPKhPh
1550
 
}
1551
 
 
1552
 
{
1553
 
   Innodb write syscall issue
1554
 
   Memcheck:Param
1555
 
   write(buf)
1556
 
   obj:/lib/libc-2.10.1.so
1557
 
   ...
1558
 
   fun:rewind
1559
 
   fun:row_ins_foreign_report_err
1560
 
   fun:row_ins_check_foreign_constraint
1561
 
   fun:row_upd_check_references_constraints
1562
 
   fun:row_upd_clust_step
1563
 
   fun:row_upd_step
1564
 
   fun:row_update_for_mysql
1565
 
   fun:_ZN11ha_innobase10update_rowEPKhPh
1566
 
   fun:_ZN8drizzled6Cursor13ha_update_rowEPKhPh
1567
 
   fun:_ZN8drizzled12mysql_updateEPNS_7SessionEPNS_9TableListERNS_4ListINS_4ItemEEES7_PS5_jPNS_8order_stEmNS_15enum_duplicatesEb
1568
 
   fun:_ZN8drizzled9statement6Update7executeEv
1569
 
}
1570
 
 
1571
 
{
1572
 
   More pwrite64 goo
1573
 
   Memcheck:Param
1574
 
   pwrite64(buf)
1575
 
   fun:pwrite64
1576
 
   fun:_ZL8do_flushP11azio_streami
1577
 
   fun:azflush
1578
 
   ...
1579
 
   fun:_ZN8drizzled7Session3runEv
1580
 
   fun:session_thread
1581
 
}
1582
 
 
1583
 
{
1584
 
   InnoDB Static
1585
 
   Memcheck:Leak
1586
 
   fun:malloc
1587
 
   fun:mem_area_alloc
1588
 
   fun:mem_heap_create_block
1589
 
   fun:trx_undo_mem_create
1590
 
   fun:trx_undo_assign_undo
1591
 
   fun:trx_undo_report_row_operation
1592
 
   fun:btr_cur_optimistic_insert
1593
 
   fun:row_ins_index_entry_low
1594
 
   fun:row_ins_index_entry
1595
 
   fun:row_ins_step
1596
 
   fun:que_run_threads
1597
 
   fun:row_create_table_for_mysql
1598
 
   fun:_ZN14InnobaseEngine13doCreateTableERN8drizzled7SessionERNS0_5TableERNS0_15TableIdentifierERNS0_7message5TableE
1599
 
   fun:_ZN8drizzled6plugin13StorageEngine11createTableERNS_7SessionERNS_15TableIdentifierEbRNS_7message5TableE
1600
 
   fun:_ZN8drizzled16rea_create_tableEPNS_7SessionERNS_15TableIdentifierERNS_7message5TableEPNS_24st_ha_create_informationERNS_4ListINS_11CreateFieldEEEjPNS_6st_keyE
1601
 
   fun:_ZN8drizzled26mysql_create_table_no_lockEPNS_7SessionERNS_15TableIdentifierEPNS_24st_ha_create_informationERNS_7message5TableEPNS_9AlterInfoEbjb
1602
 
}
1603
 
 
1604
 
{
1605
 
   InnoDB
1606
 
   Memcheck:Leak
1607
 
   fun:malloc
1608
 
   fun:mem_area_alloc
1609
 
   fun:mem_heap_create_block
1610
 
   fun:trx_undo_mem_create
1611
 
   fun:trx_undo_assign_undo
1612
 
   fun:trx_undo_report_row_operation
1613
 
   fun:btr_cur_upd_lock_and_undo
1614
 
   fun:btr_cur_pessimistic_update
1615
 
   fun:row_ins_index_entry_low
1616
 
   fun:row_ins_step
1617
 
   fun:que_run_threads
1618
 
   fun:que_eval_sql
1619
 
   fun:dict_foreign_eval_sql
1620
 
   fun:dict_create_add_foreigns_to_dictionary
1621
 
   fun:dict_create_foreign_constraints_low
1622
 
   fun:dict_create_foreign_constraints
1623
 
}
1624
 
 
1625
 
 
1626
 
 
1627
 
{
1628
 
   Trapping dlclose() issues
1629
 
   Memcheck:Leak
1630
 
   fun:malloc
1631
 
   fun:local_strdup
1632
 
   fun:_dl_map_object
1633
 
   fun:openaux
1634
 
   fun:_dl_catch_error
1635
 
   fun:_dl_map_object_deps
1636
 
   fun:dl_open_worker
1637
 
   fun:_dl_catch_error
1638
 
   fun:_dl_open
1639
 
   fun:do_dlopen
1640
 
   fun:_dl_catch_error
1641
 
   fun:dlerror_run
1642
 
   fun:__libc_dlopen_mode
1643
 
   fun:__nss_lookup_function
1644
 
   fun:__nss_lookup
1645
 
   fun:__nss_passwd_lookup2
1646
 
}
1647
 
 
1648
 
{
1649
 
   InnoDB Static Issue
1650
 
   Memcheck:Leak
1651
 
   fun:malloc
1652
 
   fun:mem_area_alloc
1653
 
   fun:mem_heap_create_block
1654
 
   fun:thr_local_create
1655
 
   fun:srv_master_thread
1656
 
   fun:start_thread
1657
 
   fun:clone
1658
 
}
1659
 
 
1660
 
{
1661
 
   Trapping dlclose()
1662
 
   Memcheck:Leak
1663
 
   fun:malloc
1664
 
   ...
1665
 
   fun:_dl_open
1666
 
   fun:dlopen_doit
1667
 
   ...
1668
 
   fun:_ZN8drizzled6module7Library11loadLibraryERKSsb
1669
 
   fun:_ZN8drizzled6module8Registry10addLibraryERKSsb
1670
 
   fun:_ZN8drizzledL16plugin_load_listERNS_6module8RegistryEPNS_6memory4RootEPiPPcRKSt3setISsSt4lessISsESaISsEEb
1671
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
1672
 
   fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE
1673
 
   fun:main
1674
 
}
1675
 
 
1676
 
{
1677
 
   <insert_a_suppression_name_here>
1678
 
   Memcheck:Leak
1679
 
   fun:malloc
1680
 
   fun:_dl_scope_free
1681
 
   fun:_dl_close_worker
1682
 
   fun:_dl_close
1683
 
   fun:do_dlclose
1684
 
   fun:_dl_catch_error
1685
 
   fun:dlerror_run
1686
 
   obj:/lib/tls/i686/cmov/libc-2.10.1.so
1687
 
   obj:/lib/tls/i686/cmov/libc-2.10.1.so
1688
 
   fun:_vgnU_freeres
1689
 
   fun:_Exit
1690
 
   fun:exit
1691
 
   fun:(below main)
1692
 
}
1693
 
 
1694
 
{
1695
 
   InnoDB heap mem issues
1696
 
   Memcheck:Leak
1697
 
   fun:malloc
1698
 
   fun:mem_area_alloc
1699
 
   fun:mem_heap_create_block
1700
 
   fun:trx_undo_mem_create
1701
 
   fun:trx_undo_assign_undo
1702
 
   fun:trx_undo_report_row_operation
1703
 
   fun:btr_cur_update_in_place
1704
 
   fun:btr_cur_optimistic_update
1705
 
   fun:row_ins_index_entry_low
1706
 
   fun:row_ins_index_entry
1707
 
   fun:row_ins_step
1708
 
   fun:que_run_threads
1709
 
   fun:row_create_table_for_mysql
1710
 
   fun:_ZN14InnobaseEngine13doCreateTableERN8drizzled7SessionERNS0_5TableERNS0_15TableIdentifierERNS0_7message5TableE
1711
 
   fun:_ZN8drizzled6plugin13StorageEngine11createTableERNS_7SessionERNS_15TableIdentifierEbRNS_7message5TableE
1712
 
   fun:_ZN8drizzled16rea_create_tableEPNS_7SessionERNS_15TableIdentifierERNS_7message5TableEPNS_24st_ha_create_informationERNS_4ListINS_11CreateFieldEEEjPNS_6st_keyE
1713
 
}
1714
 
 
1715
 
{
1716
 
   InnoDB heap mem
1717
 
   Memcheck:Leak
1718
 
   fun:malloc
1719
 
   fun:mem_area_alloc
1720
 
   fun:mem_heap_create_block
1721
 
   fun:trx_undo_mem_create
1722
 
   fun:trx_undo_assign_undo
1723
 
   fun:trx_undo_report_row_operation
1724
 
   fun:btr_cur_optimistic_insert
1725
 
   fun:btr_cur_pessimistic_insert
1726
 
   fun:row_ins_index_entry_low
1727
 
   fun:row_ins_step
1728
 
   fun:row_insert_for_mysql
1729
 
   fun:_ZN11ha_innobase9write_rowEPh
1730
 
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
1731
 
   fun:_ZN8drizzled12write_recordEPNS_7SessionEPNS_5TableEPNS_12st_copy_infoE
1732
 
   fun:_ZN8drizzled12mysql_insertEPNS_7SessionEPNS_9TableListERNS_4ListINS_4ItemEEERNS4_IS6_EES7_S7_NS_15enum_duplicatesEb
1733
 
   fun:_ZN8drizzled9statement6Insert7executeEv
1734
 
}
1735
 
 
1736
 
{
1737
 
   Trapping dlclose()
1738
 
   Memcheck:Leak
1739
 
   fun:malloc
1740
 
   ...
1741
 
   fun:_dl_open
1742
 
   fun:dlopen_doit
1743
 
   ...
1744
 
   fun:_ZN8drizzled6module7Library11loadLibraryERKSsb
1745
 
   fun:_ZN8drizzled6module8Registry10addLibraryERKSsb
1746
 
   fun:_ZN8drizzledL16plugin_load_listERNS_6module8RegistryEPNS_6memory4RootEPiPPcRKSt3setISsSt4lessISsESaISsEEb
1747
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
1748
 
   fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE
1749
 
   fun:main
1750
 
}
1751
 
 
1752
 
{
1753
 
   InnoDB Heap Issue
1754
 
   Memcheck:Leak
1755
 
   fun:malloc
1756
 
   fun:mem_area_alloc
1757
 
   fun:mem_heap_create_block
1758
 
   fun:trx_undo_mem_create
1759
 
   fun:trx_undo_assign_undo
1760
 
   fun:trx_undo_report_row_operation
1761
 
   fun:btr_cur_optimistic_insert
1762
 
   fun:row_ins_index_entry_low
1763
 
   fun:row_ins_index_entry
1764
 
   fun:row_ins_step
1765
 
   fun:row_insert_for_mysql
1766
 
   fun:_ZN11ha_innobase9write_rowEPh
1767
 
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
1768
 
   fun:_ZN8drizzled12write_recordEPNS_7SessionEPNS_5TableEPNS_12st_copy_infoE
1769
 
   fun:_ZN8drizzled12mysql_insertEPNS_7SessionEPNS_9TableListERNS_4ListINS_4ItemEEERNS4_IS6_EES7_S7_NS_15enum_duplicatesEb
1770
 
   fun:_ZN8drizzled9statement6Insert7executeEv
1771
 
}
1772
 
 
1773
 
 
1774
 
{
1775
 
   InnoDB Heap Issue.
1776
 
   Memcheck:Leak
1777
 
   fun:malloc
1778
 
   fun:mem_area_alloc
1779
 
   fun:mem_heap_create_block
1780
 
   fun:trx_undo_mem_create
1781
 
   fun:trx_undo_assign_undo
1782
 
   fun:trx_undo_report_row_operation
1783
 
   fun:btr_cur_del_mark_set_clust_rec
1784
 
   fun:row_upd_clust_step
1785
 
   fun:row_upd_step
1786
 
   fun:que_run_threads
1787
 
   fun:que_eval_sql
1788
 
   fun:row_rename_table_for_mysql
1789
 
   fun:_ZN14InnobaseEngine13doRenameTableERN8drizzled7SessionERNS0_15TableIdentifierES4_
1790
 
   fun:_ZN8drizzled18mysql_rename_tableEPNS_6plugin13StorageEngineERNS_15TableIdentifierES4_j
1791
 
   fun:_ZN8drizzledL20internal_alter_tableEPNS_7SessionEPNS_5TableERNS_15TableIdentifierES5_PNS_24st_ha_create_informationERNS_7message5TableEPNS_9TableListEPNS_9AlterInfoEjPNS_8order_stEb
1792
 
   fun:_ZN8drizzled11alter_tableEPNS_7SessionERNS_15TableIdentifierES3_PNS_24st_ha_create_informationERNS_7message5TableEPNS_9TableListEPNS_9AlterInfoEjPNS_8order_stEb
1793
 
}
1794
 
 
1795
 
 
1796
 
{
1797
 
   Weird std::String leak errors.
1798
 
   Memcheck:Leak
1799
 
   fun:_Znwm
1800
 
   fun:_ZNSs4_Rep9_S_createEmmRKSaIcE
1801
 
   obj:/usr/lib/libstdc++.so.6.0.10
1802
 
   fun:_ZNSsC1EPKcRKSaIcE
1803
 
   obj:*
1804
 
   fun:_ZN8drizzledL17plugin_initializeERNS_6module8RegistryEPNS0_6ModuleE
1805
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
1806
 
   fun:_ZN8drizzledL22init_server_componentsERNS_6module8RegistryE
1807
 
   fun:main
1808
 
}
1809
 
 
1810
 
{
1811
 
   Valgrind has issues tracking the deallocation of plugin objects.
1812
 
   Memcheck:Leak
1813
 
   fun:malloc
1814
 
   ...
1815
 
   fun:_ZN8drizzledL17plugin_initializeERNS_6module8RegistryEPNS0_6ModuleE
1816
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
1817
 
   fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE
1818
 
   fun:main
1819
 
}
1820
 
 
1821
 
{
1822
 
   Valgrind has issues tracking the deallocation of plugin objects.
1823
 
   Memcheck:Leak
1824
 
   fun:_ZnwmRKSt9nothrow_t
1825
 
   ...
1826
 
   fun:_ZN8drizzledL17plugin_initializeERNS_6module8RegistryEPNS0_6ModuleE
1827
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
1828
 
   fun:_ZN8drizzledL22init_server_componentsERNS_6module8RegistryE
1829
 
   fun:main
1830
 
}
1831
 
 
1832
 
{
1833
 
   Leak in dlclose()
1834
 
   Memcheck:Leak
1835
 
   fun:malloc
1836
 
   ...
1837
 
   fun:dlclose
1838
 
   fun:_ZN8drizzled6module7LibraryD1Ev
1839
 
   fun:_ZN8drizzled6module8RegistryD1Ev
1840
 
   fun:_ZN8drizzled6module8Registry8shutdownEv
1841
 
   fun:main
1842
 
}
1843
 
 
1844
 
{
1845
 
   dlclose()
1846
 
   Memcheck:Leak
1847
 
   fun:malloc
1848
 
   ...
1849
 
   fun:dlopen
1850
 
   fun:_ZN8drizzled6module7Library11loadLibraryERKSsb
1851
 
   fun:_ZN8drizzled6module8Registry10addLibraryERKSsb
1852
 
}
1853
 
 
1854
 
{
1855
 
   dlopen()
1856
 
   Memcheck:Leak
1857
 
   fun:malloc
1858
 
   ...
1859
 
   fun:dlopen
1860
 
   fun:_ZN8drizzled6module7Library11loadLibraryERKSsb
1861
 
   fun:_ZN8drizzled6module8Registry10addLibraryERKSsb
1862
 
   fun:_ZN8drizzledL16plugin_load_listERNS_6module8RegistryEPNS_6memory4RootEPiPPcRKSt3setISsSt4lessISsESaISsEEb
1863
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
1864
 
   fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE
1865
 
   fun:main
1866
 
 
1867
 
}
1868
 
 
1869
 
{
1870
 
   static var in getpwnam
1871
 
   Memcheck:Leak
1872
 
   fun:malloc
1873
 
   fun:nss_parse_service_list
1874
 
   fun:__nss_database_lookup
1875
 
   obj:*
1876
 
   obj:*
1877
 
   fun:getpwnam_r@@GLIBC_2.2.5
1878
 
   fun:getpwnam
1879
 
   fun:main
1880
 
}
1881
 
 
1882
 
{
1883
 
   pthread_cancel_init issue.
1884
 
   Memcheck:Leak
1885
 
   fun:malloc
1886
 
   ...
1887
 
   fun:pthread_cancel_init
1888
 
   fun:_Unwind_ForcedUnwind
1889
 
   fun:__pthread_unwind
1890
 
   fun:pthread_exit
1891
 
   fun:os_thread_exit
1892
 
   fun:trx_rollback_or_clean_all_recovered
1893
 
   fun:start_thread
1894
 
   fun:clone
1895
 
}
1896
 
 
1897
 
{
1898
 
   pwrite64 issue
1899
 
   Memcheck:Param
1900
 
   pwrite64(buf)
1901
 
   ...
1902
 
   fun:azclose
1903
 
   fun:_ZN12ArchiveShareD1Ev
1904
 
   fun:_ZN10ha_archive10free_shareEv
1905
 
   fun:_ZN10ha_archive5closeEv
1906
 
   ...
1907
 
   fun:session_thread
1908
 
   fun:start_thread
1909
 
}
1910
 
 
1911
 
{
1912
 
   More azio stuff.
1913
 
   Memcheck:Param
1914
 
   pwrite64(buf)
1915
 
   fun:pwrite64
1916
 
   fun:_ZL8do_flushP11azio_streami
1917
 
   fun:azclose
1918
 
   fun:_ZN12ArchiveShareD1Ev
1919
 
   fun:_ZN10ha_archive10free_shareEv
1920
 
   fun:_ZN10ha_archive5closeEv
1921
 
   fun:_ZN8drizzled5Table8closefrmEb
1922
 
   fun:_ZN8drizzled5Table18intern_close_tableEv
1923
 
   fun:_ZN8drizzledL20internal_alter_tableEPNS_7SessionEPNS_5TableERNS_15TableIdentifierES5_PNS_24st_ha_create_informationERNS_7message5TableEPNS_9TableListEPNS_9AlterInfoEjPNS_8order_stEb
1924
 
   fun:_ZN8drizzled11alter_tableEPNS_7SessionERNS_15TableIdentifierES3_PNS_24st_ha_create_informationERNS_7message5TableEPNS_9TableListEPNS_9AlterInfoEjPNS_8order_stEb
1925
 
   fun:_ZN8drizzled9statement10AlterTable7executeEv
1926
 
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1927
 
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcj
1928
 
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
1929
 
   fun:_ZN8drizzled7Session16executeStatementEv
1930
 
   fun:_ZN8drizzled7Session3runEv
1931
 
}
1932
 
 
1933
 
{
1934
 
   More azio stuff
1935
 
   Memcheck:Cond
1936
 
   fun:deflate
1937
 
   fun:_ZL8do_flushP11azio_streami
1938
 
   fun:azflush
1939
 
   fun:_ZN10ha_archive4infoEj
1940
 
   fun:_ZN8drizzledL20make_join_statisticsEPNS_4JOINEPNS_9TableListEPNS_4ItemEPNS_16st_dynamic_arrayE
1941
 
   fun:_ZN8drizzled4JOIN8optimizeEv
1942
 
   fun:_ZN8drizzled12mysql_selectEPNS_7SessionEPPPNS_4ItemEPNS_9TableListEjRNS_4ListIS2_EES3_jPNS_8order_stESC_S3_yPNS_13select_resultEPNS_15Select_Lex_UnitEPNS_10Select_LexE
1943
 
   fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEy
1944
 
   fun:_ZN8drizzled21execute_sqlcom_selectEPNS_7SessionEPNS_9TableListE
1945
 
   fun:_ZN8drizzled9statement6Select7executeEv
1946
 
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1947
 
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcj
1948
 
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
1949
 
   fun:_ZN8drizzled7Session16executeStatementEv
1950
 
   fun:_ZN8drizzled7Session3runEv
1951
 
   fun:session_thread
1952
 
}
1953
 
 
1954
 
 
1955
 
{
1956
 
   pwrite64 issue
1957
 
   Memcheck:Param
1958
 
   pwrite64(buf)
1959
 
   ...
1960
 
   fun:azflush
1961
 
   fun:_ZN10ha_archive4infoEj
1962
 
   fun:_ZN8drizzledL20make_join_statisticsEPNS_4JOINEPNS_9TableListEPNS_4ItemEPNS_16st_dynamic_arrayE
1963
 
   fun:_ZN8drizzled4JOIN8optimizeEv
1964
 
   fun:_ZN8drizzled12mysql_selectEPNS_7SessionEPPPNS_4ItemEPNS_9TableListEjRNS_4ListIS2_EES3_jPNS_8order_stESC_S3_mPNS_13select_resultEPNS_15Select_Lex_UnitEPNS_10Select_LexE
1965
 
   fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEm
1966
 
   fun:_ZN8drizzled21execute_sqlcom_selectEPNS_7SessionEPNS_9TableListE
1967
 
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
1968
 
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
1969
 
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
1970
 
   fun:_ZN8drizzled7Session16executeStatementEv
1971
 
   fun:_ZN8drizzled7Session3runEv
1972
 
   fun:session_thread
1973
 
   fun:start_thread
1974
 
}
1975
 
 
1976
 
{
1977
 
   pthread issue
1978
 
   Memcheck:Param
1979
 
   write(buf)
1980
 
   ...
1981
 
   fun:_ZN8drizzled8internal8my_writeEiPKhmi
1982
 
   fun:_ZN8drizzled8internal19my_b_flush_io_cacheEPNS0_11st_io_cacheEi
1983
 
   fun:_ZN8drizzled8filesortEPNS_7SessionEPNS_5TableEPNS_13st_sort_fieldEjPNS_9optimizer9SqlSelectEmbPm
1984
 
   fun:_ZN8drizzled17create_sort_indexEPNS_7SessionEPNS_4JOINEPNS_8order_stEmmb
1985
 
   fun:_ZN8drizzled4JOIN4execEv
1986
 
   fun:_ZN8drizzled30subselect_single_select_engine4execEv
1987
 
   fun:_ZN8drizzled14Item_subselect4execEv
1988
 
   fun:_ZN8drizzled24Item_singlerow_subselect7val_strEPNS_6StringE
1989
 
   fun:_ZN8drizzled14Arg_comparator14compare_stringEv
1990
 
   fun:_ZN8drizzled12Item_func_eq7val_intEv
1991
 
   fun:_ZN8drizzled15remove_eq_condsEPNS_7SessionEPNS_4ItemEPNS2_11cond_resultE
1992
 
   fun:_ZN8drizzled13optimize_condEPNS_4JOINEPNS_4ItemEPNS_4ListINS_9TableListEEEPNS2_11cond_resultE
1993
 
   fun:_ZN8drizzled4JOIN8optimizeEv
1994
 
   fun:_ZN8drizzled12mysql_selectEPNS_7SessionEPPPNS_4ItemEPNS_9TableListEjRNS_4ListIS2_EES3_jPNS_8order_stESC_S3_mPNS_13select_resultEPNS_15Select_Lex_UnitEPNS_10Select_LexE
1995
 
   fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEm
1996
 
}
1997
 
 
1998
 
{
1999
 
   pthread issue
2000
 
   Memcheck:Param
2001
 
   write(buf)
2002
 
   ...
2003
 
   fun:_ZN8drizzled8internal8my_writeEiPKhmi
2004
 
   fun:_ZN8drizzled8internal19my_b_flush_io_cacheEPNS0_11st_io_cacheEi
2005
 
   fun:_ZN8drizzled8internalL11_my_b_writeEPNS0_11st_io_cacheEPKhm
2006
 
   fun:_ZN8drizzledL10write_keysEPNS_13st_sort_paramEPPhjPNS_8internal11st_io_cacheES6_
2007
 
   fun:_ZN8drizzled8filesortEPNS_7SessionEPNS_5TableEPNS_13st_sort_fieldEjPNS_9optimizer9SqlSelectEmbPm
2008
 
   fun:_ZN8drizzled17create_sort_indexEPNS_7SessionEPNS_4JOINEPNS_8order_stEmmb
2009
 
   fun:_ZN8drizzled4JOIN4execEv
2010
 
   fun:_ZN8drizzled12mysql_selectEPNS_7SessionEPPPNS_4ItemEPNS_9TableListEjRNS_4ListIS2_EES3_jPNS_8order_stESC_S3_mPNS_13select_resultEPNS_15Select_Lex_UnitEPNS_10Select_LexE
2011
 
   fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEm
2012
 
   fun:_ZN8drizzled21execute_sqlcom_selectEPNS_7SessionEPNS_9TableListE
2013
 
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
2014
 
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
2015
 
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
2016
 
   fun:_ZN8drizzled7Session16executeStatementEv
2017
 
   fun:_ZN8drizzled7Session3runEv
2018
 
}
2019
 
 
2020
 
{
2021
 
   Heap Engine panic issue
2022
 
   Memcheck:Addr8
2023
 
   fun:_Z8hp_panicN8drizzled17ha_panic_functionE
2024
 
   fun:_ZN10HeapEngineD0Ev
2025
 
   fun:_ZN8drizzled6module8RegistryD1Ev
2026
 
   fun:_ZN8drizzled6module8Registry8shutdownEv
2027
 
   fun:main
2028
 
}
2029
 
 
2030
 
{
2031
 
   my_write
2032
 
   Memcheck:Param
2033
 
   write(buf)
2034
 
   ...
2035
 
   fun:_ZN8drizzled8internal8my_writeEiPKhmi
2036
 
   fun:_ZN8drizzled8internal19my_b_flush_io_cacheEPNS0_11st_io_cacheEi
2037
 
   fun:_ZN8drizzled8filesortEPNS_7SessionEPNS_5TableEPNS_13st_sort_fieldEjPNS_9optimizer9SqlSelectEmbPm
2038
 
   fun:_ZN8drizzled17create_sort_indexEPNS_7SessionEPNS_4JOINEPNS_8order_stEmmb
2039
 
   fun:_ZN8drizzled4JOIN4execEv
2040
 
   fun:_ZN8drizzled12mysql_selectEPNS_7SessionEPPPNS_4ItemEPNS_9TableListEjRNS_4ListIS2_EES3_jPNS_8order_stESC_S3_mPNS_13select_resultEPNS_15Select_Lex_UnitEPNS_10Select_LexE
2041
 
   fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEm
2042
 
   fun:_ZN8drizzled21execute_sqlcom_selectEPNS_7SessionEPNS_9TableListE
2043
 
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
2044
 
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
2045
 
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
2046
 
   fun:_ZN8drizzled7Session16executeStatementEv
2047
 
   fun:_ZN8drizzled7Session3runEv
2048
 
   fun:session_thread
2049
 
   fun:start_thread
2050
 
}
2051
 
 
2052
 
{
2053
 
   ptr_compare_0 craziness 
2054
 
   Memcheck:Cond
2055
 
   fun:_ZN8drizzled8internalL13ptr_compare_0EPmPPhS3_
2056
 
   fun:_ZN8drizzled8internal9my_qsort2EPvmmPFiPKvS3_S3_ES1_
2057
 
   fun:_ZN8drizzled8internal18my_string_ptr_sortEPhjm
2058
 
   fun:_ZN8drizzled8filesortEPNS_7SessionEPNS_5TableEPNS_13st_sort_fieldEjPNS_9optimizer9SqlSelectEmbPm
2059
 
   fun:_ZN8drizzled17create_sort_indexEPNS_7SessionEPNS_4JOINEPNS_8order_stEmmb
2060
 
   fun:_ZN8drizzled4JOIN4execEv
2061
 
   fun:_ZN8drizzled12mysql_selectEPNS_7SessionEPPPNS_4ItemEPNS_9TableListEjRNS_4ListIS2_EES3_jPNS_8order_stESC_S3_mPNS_13select_resultEPNS_15Select_Lex_UnitEPNS_10Select_LexE
2062
 
   fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEm
2063
 
   fun:_ZN8drizzled21execute_sqlcom_selectEPNS_7SessionEPNS_9TableListE
2064
 
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
2065
 
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
2066
 
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
2067
 
   fun:_ZN8drizzled7Session16executeStatementEv
2068
 
   fun:_ZN8drizzled7Session3runEv
2069
 
   fun:session_thread
2070
 
   fun:start_thread
2071
 
}
2072
 
 
2073
 
{
2074
 
   Badness inside of libc.
2075
 
   Memcheck:Leak
2076
 
   fun:malloc
2077
 
   obj:/lib/ld-2.9.so
2078
 
   obj:/lib/ld-2.9.so
2079
 
   obj:/lib/ld-2.9.so
2080
 
   obj:/lib/ld-2.9.so
2081
 
   obj:/lib/ld-2.9.so
2082
 
   obj:/lib/libc-2.9.so
2083
 
   obj:/lib/ld-2.9.so
2084
 
   fun:__libc_dlopen_mode
2085
 
   fun:__nss_lookup_function
2086
 
   obj:/lib/libc-2.9.so
2087
 
   fun:getaddrinfo
2088
 
   obj:*
2089
 
   obj:*
2090
 
   obj:*
2091
 
   obj:*
2092
 
}
2093
 
 
2094
 
{
2095
 
   More crap in innodb heap.
2096
 
   Memcheck:Leak
2097
 
   fun:malloc
2098
 
   fun:mem_heap_create_block
2099
 
   fun:mem_heap_add_block
2100
 
   fun:dict_mem_table_create
2101
 
   fun:_ZN14InnobaseEngine13doCreateTableEPN8drizzled7SessionEPKcRNS0_5TableERNS0_7message5TableE
2102
 
   fun:_ZN8drizzled6plugin13StorageEngine11createTableERNS_7SessionERNS_15TableIdentifierEbRNS_7message5TableEb
2103
 
   fun:_ZN8drizzled16rea_create_tableEPNS_7SessionERNS_15TableIdentifierEPNS_7message5TableEPNS_24st_ha_create_informationERNS_4ListINS_11CreateFieldEEEjPNS_6st_keyE
2104
 
   fun:_ZN8drizzled26mysql_create_table_no_lockEPNS_7SessionERNS_15TableIdentifierEPNS_24st_ha_create_informationEPNS_7message5TableEPNS_9AlterInfoEbjb
2105
 
   fun:_ZN8drizzled18mysql_create_tableEPNS_7SessionERNS_15TableIdentifierEPNS_24st_ha_create_informationEPNS_7message5TableEPNS_9AlterInfoEbjb
2106
 
   fun:_ZN8drizzled9statement11CreateTable7executeEv
2107
 
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
2108
 
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
2109
 
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
2110
 
   fun:_ZN8drizzled7Session16executeStatementEv
2111
 
   fun:_ZN8drizzled7Session3runEv
2112
 
   obj:*
2113
 
}
2114
 
 
2115
 
{
2116
 
   Innodb Heap Alloc block
2117
 
   Memcheck:Leak
2118
 
   fun:malloc
2119
 
   fun:mem_heap_create_block
2120
 
   fun:trx_undo_mem_create
2121
 
   fun:trx_undo_assign_undo
2122
 
   fun:trx_undo_report_row_operation
2123
 
   fun:btr_cur_update_in_place
2124
 
   fun:btr_cur_optimistic_update
2125
 
   fun:row_upd_clust_rec
2126
 
   fun:row_upd_clust_step
2127
 
   fun:row_upd_step
2128
 
   fun:row_update_for_mysql
2129
 
   fun:_ZN11ha_innobase10update_rowEPKhPh
2130
 
   fun:_ZN8drizzled6Cursor13ha_update_rowEPKhPh
2131
 
   fun:_ZN8drizzled12mysql_updateEPNS_7SessionEPNS_9TableListERNS_4ListINS_4ItemEEES7_PS5_jPNS_8order_stEmNS_15enum_duplicatesEb
2132
 
   fun:_ZN8drizzled9statement6Update7executeEv
2133
 
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
2134
 
}
2135
 
 
2136
 
 
2137
 
{
2138
 
   This is bunk and is going away anyway.
2139
 
   Memcheck:Cond
2140
 
   fun:_ZN8drizzledL17construct_optionsEPNS_6memory4RootEPNS_6module6ModuleEPNS_6optionE
2141
 
   fun:_ZN8drizzledL19test_plugin_optionsEPNS_6memory4RootEPNS_6module6ModuleEPiPPc
2142
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
2143
 
   fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE
2144
 
   fun:main
2145
 
}
2146
 
 
2147
 
{
2148
 
   This is bunk and is going away anyway.
2149
 
   Memcheck:Cond
2150
 
   fun:_ZN8drizzledL17construct_optionsEPNS_6memory4RootEPNS_6module6ModuleEPNS_6optionE
2151
 
   fun:_ZN8drizzledL19test_plugin_optionsEPNS_6memory4RootEPNS_6module6ModuleEPiPPc
2152
 
   fun:_ZN8drizzledL16plugin_load_listERNS_6module8RegistryEPNS_6memory4RootEPiPPcRKSt3setISsSt4lessISsESaISsEEb
2153
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
2154
 
   fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE
2155
 
   fun:main
2156
 
}
 
5
{
 
6
  dlopen memory leak
 
7
  Memcheck:Leak
 
8
  fun:*alloc
 
9
  ...
 
10
  fun:*dlopen*
 
11
  ...
 
12
}
 
13
 
 
14
{
 
15
  dlerror memory leak
 
16
  Memcheck:Leak
 
17
  fun:*alloc
 
18
  ...
 
19
  fun:*dlerror*
 
20
  ...
 
21
}
 
22
 
 
23
{
 
24
  dlclose memory leak
 
25
  Memcheck:Leak
 
26
  fun:*alloc
 
27
  ...
 
28
  fun:*dl_close*
 
29
  ...
 
30
}
 
31
 
 
32
 
 
33
# Masking static allocation issues in InnoDB
 
34
{
 
35
   InnoDB Unclean Startup
 
36
   Memcheck:Cond
 
37
   ...
 
38
   fun:innobase_start_or_create_for_mysql
 
39
   ...
 
40
}
 
41
 
 
42
{
 
43
   InnoDB Unclean Startup
 
44
   Memcheck:Leak
 
45
   fun:*alloc
 
46
   ...
 
47
   fun:innobase_start_or_create_for_mysql
 
48
   ...
 
49
}
 
50
 
 
51
{
 
52
   InnoDB Unclean Startup
 
53
   Memcheck:Cond
 
54
   ...
 
55
   fun:srv_master_thread
 
56
   ...
 
57
}
 
58
 
 
59
{
 
60
   InnoDB Unclean Startup
 
61
   Memcheck:Leak
 
62
   fun:malloc
 
63
   ...
 
64
   fun:srv_master_thread
 
65
   ...
 
66
}
 
67
 
2157
68
{
2158
69
   InnoDB allocing out of its internal heap is always confusing to valgrind
2159
70
   Memcheck:Leak
2163
74
}
2164
75
 
2165
76
{
 
77
   InnoDB Insert Row
 
78
   Memcheck:Cond
 
79
   ...
 
80
   fun:row_insert_for_mysql
 
81
   ...
 
82
}
 
83
{
 
84
   InnoDB Insert Row
 
85
   Memcheck:Value8
 
86
   ...
 
87
   fun:row_insert_for_mysql
 
88
   ...
 
89
}
 
90
{
 
91
   InnoDB Insert Row
 
92
   Memcheck:Leak
 
93
   ...
 
94
   fun:row_insert_for_mysql
 
95
   ...
 
96
}
 
97
{
 
98
   InnoDB Insert Row
 
99
   Memcheck:Param
 
100
   ...
 
101
   fun:row_insert_for_mysql
 
102
   ...
 
103
}
 
104
{
 
105
   InnoDB Insert Row
 
106
   Memcheck:Param
 
107
   write(buf)
 
108
   ...
 
109
   fun:row_insert_for_mysql
 
110
   ...
 
111
}
 
112
 
 
113
{
 
114
   InnoDB Create Table
 
115
   Memcheck:Cond
 
116
   ...
 
117
   fun:row_create_table_for_mysql
 
118
   ...
 
119
}
 
120
{
 
121
   InnoDB Create Table
 
122
   Memcheck:Leak
 
123
   ...
 
124
   fun:row_create_table_for_mysql
 
125
   ...
 
126
}
 
127
 
 
128
{
 
129
   InnoDB Drop Table
 
130
   Memcheck:Cond
 
131
   ...
 
132
   fun:row_drop_table_for_mysql
 
133
   ...
 
134
}
 
135
{
 
136
   InnoDB Drop Table
 
137
   Memcheck:Leak
 
138
   ...
 
139
   fun:row_drop_table_for_mysql
 
140
   ...
 
141
}
 
142
 
 
143
 
 
144
 
 
145
 
 
146
# Masking Leaks in System Libraries
 
147
{
 
148
   libnss static allocation
 
149
   Memcheck:Leak
 
150
   ...
 
151
   fun:getpwnam
 
152
   ...
 
153
}
 
154
 
 
155
{
2166
156
  Static buffer created on gcrypt library initialization. Not a leak.
2167
157
  Memcheck:Leak
2168
158
  fun:malloc
2169
159
  ...
2170
160
  obj:*libgcrypt.so.*
2171
161
  fun:_ZL10initializeRN8drizzled6module7ContextE
2172
 
  fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
2173
 
  fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE
2174
 
  fun:main
 
162
  ...
 
163
}
 
164
 
 
165
{
 
166
   Static buffer in pcre. Not a leak.
 
167
   Memcheck:Leak
 
168
   fun:malloc
 
169
   fun:pcre_compile2
 
170
   ...
 
171
}
 
172
 
 
173
{
 
174
   azflush issue in libazio
 
175
   Memcheck:Param
 
176
   pwrite64(buf)
 
177
   ...
 
178
   fun:azflush
 
179
   ...
 
180
}
 
181
{
 
182
   azflush issue in libazio
 
183
   Memcheck:Cond
 
184
   fun:deflate
 
185
   ...
 
186
   fun:azflush
 
187
   ...
 
188
}
 
189
 
 
190
{
 
191
   azclose issue in libazio
 
192
   Memcheck:Param
 
193
   pwrite64(buf)
 
194
   ...
 
195
   fun:azclose
 
196
   ...
 
197
}
 
198
{
 
199
   azclose issue in libazio
 
200
   Memcheck:Cond
 
201
   fun:deflate
 
202
   ...
 
203
   fun:azclose
 
204
   ...
 
205
}
 
206
 
 
207
{
 
208
   azwrite_row issue in libazio
 
209
   Memcheck:Cond
 
210
   fun:memcpy
 
211
   ...
 
212
   fun:deflate
 
213
   fun:azwrite_row
 
214
   ...
 
215
}
 
216
{
 
217
   azwrite_row issue in libazio
 
218
   Memcheck:Value8
 
219
   fun:memcpy
 
220
   ...
 
221
   fun:deflate
 
222
   fun:azwrite_row
 
223
   ...
 
224
}
 
225
{
 
226
   azwrite_row issue in libazio
 
227
   Memcheck:Value4
 
228
   fun:memcpy
 
229
   ...
 
230
   fun:deflate
 
231
   fun:azwrite_row
 
232
   ...
 
233
}
 
234
 
 
235
 
 
236
# Things we don't like in Drizzle
 
237
 
 
238
{
 
239
   This whole codebase is going away, so suppress this annoyance.
 
240
   Memcheck:Cond
 
241
   fun:_ZN8drizzledL17construct_optionsEPNS_6memory4RootEPNS_6module6ModuleEPNS_6optionE
 
242
   fun:_ZN8drizzledL19test_plugin_optionsEPNS_6memory4RootEPNS_6module6ModuleEPiPPc
 
243
   fun:_ZN8drizzledL16plugin_load_listERNS_6module8RegistryEPNS_6memory4RootEPiPPcRKSt3setISsSt4lessISsESaISsEEb
 
244
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb
 
245
   fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE
 
246
   fun:main
 
247
}
 
248
 
 
249
 
 
250
# https://bugs.launchpad.net/drizzle/+bug/582486
 
251
{
 
252
   Bug 582486 - Conditional jump or move depends on uninitialised value
 
253
   Memcheck:Value8
 
254
   ...
 
255
   fun:_ZN8drizzled10mysql_loadEPNS_7SessionEPNS_13file_exchangeEPNS_9TableListERNS_4ListINS_4ItemEEES9_S9_NS_15enum_duplicatesEb
 
256
   ...
 
257
}
 
258
{
 
259
   Bug 582486 - Conditional jump or move depends on uninitialised value
 
260
   Memcheck:Value4
 
261
   ...
 
262
   fun:_ZN8drizzled10mysql_loadEPNS_7SessionEPNS_13file_exchangeEPNS_9TableListERNS_4ListINS_4ItemEEES9_S9_NS_15enum_duplicatesEb
 
263
   ...
 
264
}
 
265
{
 
266
   Bug 582486 - Conditional jump or move depends on uninitialised value
 
267
   Memcheck:Cond
 
268
   ...
 
269
   fun:_ZN8drizzled10mysql_loadEPNS_7SessionEPNS_13file_exchangeEPNS_9TableListERNS_4ListINS_4ItemEEES9_S9_NS_15enum_duplicatesEb
 
270
   ...
 
271
}
 
272
 
 
273
# https://bugs.launchpad.net/drizzle/+bug/582495
 
274
{
 
275
   Bug 582495 - Syscall param write(buf) points to uninitialised byte(s)
 
276
   Memcheck:Param
 
277
   write(buf)
 
278
   ...
 
279
   fun:_ZN8drizzled8internal8my_writeEiPKhmi
 
280
   ...
 
281
   fun:_ZN8drizzled8filesortEPNS_7SessionEPNS_5TableEPNS_13st_sort_fieldEjPNS_9optimizer9SqlSelectEmbPm
 
282
   ...
 
283
}
 
284
 
 
285
# https://bugs.launchpad.net/drizzle/+bug/582498
 
286
{
 
287
   Bug 582498 - Invalid read of size 8
 
288
   Memcheck:Addr8
 
289
   fun:_Z8hp_panicN8drizzled17ha_panic_functionE
 
290
   fun:_ZN10HeapEngineD0Ev
 
291
   ...
 
292
}
 
293
{
 
294
   Bug 582498 - Invalid read of size 4
 
295
   Memcheck:Addr4
 
296
   fun:_Z8hp_panicN8drizzled17ha_panic_functionE
 
297
   fun:_ZN10HeapEngineD0Ev
 
298
   ...
 
299
}
 
300
 
 
301
# https://bugs.launchpad.net/drizzle/+bug/582526
 
302
{
 
303
   Possibly lack of deallocation of a thread
 
304
   Memcheck:Leak
 
305
   fun:calloc
 
306
   ...
 
307
   fun:pthread_create*
 
308
   fun:_Z34initTransactionLogBackgroundWorkerv
 
309
   ...
2175
310
}
2176
311