~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/valgrind.supp

  • Committer: Monty Taylor
  • Date: 2010-04-22 02:46:23 UTC
  • mto: (1497.3.4 enable-dtrace)
  • mto: This revision was merged to the branch mainline in revision 1527.
  • Revision ID: mordred@inaugust.com-20100422024623-4urw8fi8eraci08p
Don't overwrite the pandora_vc_revinfo file if we don't have new
authoratative information.

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
 
  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
 
  dlpreload memory leak
34
 
  Memcheck:Leak
35
 
  ...
36
 
  fun:do_preload
37
 
  fun:dl_main
38
 
  ...
39
 
}
40
 
 
41
 
{
42
 
  dl_main issue
43
 
  Memcheck:Cond
44
 
  ...
45
 
  fun:dl_main
46
 
  ...
47
 
}
48
 
 
49
 
# Masking an issue in system tzset call
50
 
{
51
 
  tzset() on debian reports issues
52
 
  Memcheck:Cond
53
 
  ...
54
 
  fun:tzset
55
 
  fun:_ZN8drizzled21init_common_variablesEPKciPPcPS1_
56
 
  ...
57
 
}
58
 
{
59
 
  tzset() on debian reports issues
60
 
  Memcheck:Addr8
61
 
  ...
62
 
  fun:tzset
63
 
  fun:_ZN8drizzled21init_common_variablesEPKciPPcPS1_
64
 
  ...
65
 
}
66
 
{
67
 
  tzset() on debian reports issues
68
 
  Memcheck:Addr4
69
 
  ...
70
 
  fun:tzset
71
 
  fun:_ZN8drizzled21init_common_variablesEPKciPPcPS1_
72
 
  ...
73
 
}
74
 
{
75
 
  tzset() on debian reports issues
76
 
  Memcheck:Addr8
77
 
  ...
78
 
  fun:_ZN8drizzled21init_common_variablesEPKciPPcPS1_
79
 
  fun:main
80
 
}
81
 
{
82
 
  tzset() on debian reports issues
83
 
  Memcheck:Addr4
84
 
  ...
85
 
  fun:_ZN8drizzled21init_common_variablesEPKciPPcPS1_
86
 
  fun:main
87
 
}
88
 
 
89
 
 
90
 
 
91
 
# Masking static allocation issues in InnoDB
92
 
{
93
 
   InnoDB Unclean Startup
94
 
   Memcheck:Cond
95
 
   ...
96
 
   fun:innobase_start_or_create_for_mysql
97
 
   ...
98
 
}
99
 
 
100
 
{
101
 
   InnoDB Unclean Startup
102
 
   Memcheck:Leak
103
 
   fun:*alloc
104
 
   ...
105
 
   fun:innobase_start_or_create_for_mysql
106
 
   ...
107
 
}
108
 
 
109
 
{
110
 
   InnoDB Unclean Startup
111
 
   Memcheck:Cond
112
 
   ...
113
 
   fun:srv_master_thread
114
 
   ...
115
 
}
116
 
 
117
 
{
118
 
   InnoDB Unclean Startup
119
 
   Memcheck:Leak
120
 
   fun:malloc
121
 
   ...
122
 
   fun:srv_master_thread
123
 
   ...
 
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_initRN8drizzled6plugin7ContextE
 
798
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
 
799
   fun:_ZN8drizzled11plugin_initERNS_6plugin8RegistryEPiPPcb
 
800
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
 
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_initRN8drizzled6plugin7ContextE
 
811
   fun:_ZN8drizzled11plugin_initERNS_6plugin8RegistryEPiPPcb
 
812
   fun:_ZN8drizzled22init_server_componentsERNS_6plugin8RegistryE
 
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_initRN8drizzled6plugin7ContextE
 
823
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
 
824
   fun:_ZN8drizzled11plugin_initERNS_6plugin8RegistryEPiPPcb
 
825
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
 
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_initRN8drizzled6plugin7ContextE
 
835
   fun:_ZN8drizzled11plugin_initERNS_6plugin8RegistryEPiPPcb
 
836
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
 
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_initRN8drizzled6plugin7ContextE
 
849
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
 
850
   fun:_ZN8drizzled11plugin_initERNS_6plugin8RegistryEPiPPcb
 
851
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
 
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_initRN8drizzled6plugin7ContextE
 
864
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
 
865
   fun:_ZN8drizzled11plugin_initERNS_6plugin8RegistryEPiPPcb
 
866
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
 
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_initRN8drizzled6plugin7ContextE
 
880
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
 
881
   fun:_ZN8drizzled11plugin_initERNS_6plugin8RegistryEPiPPcb
 
882
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
 
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_initRN8drizzled6plugin7ContextE
 
900
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
 
901
   fun:_ZN8drizzled11plugin_initERNS_6plugin8RegistryEPiPPcb
 
902
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
 
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_initRN8drizzled6plugin7ContextE
 
950
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
 
951
   fun:_ZN8drizzled11plugin_initERNS_6plugin8RegistryEPiPPcb
 
952
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
 
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_initRN8drizzled6plugin7ContextE
 
965
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
 
966
   fun:_ZN8drizzled11plugin_initERNS_6plugin8RegistryEPiPPcb
 
967
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
 
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_initRN8drizzled6plugin7ContextE
 
984
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_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_initRN8drizzled6plugin7ContextE
 
1169
   fun:_ZN8drizzled11plugin_initERNS_6plugin8RegistryEPiPPcb
 
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_initRN8drizzled6plugin7ContextE
 
1201
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_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_6plugin8RegistryEPiPPcb
 
1321
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
 
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:_ZN8drizzled6plugin7Library11loadLibraryERKSs
 
1333
   fun:_ZN8drizzled6plugin8Registry10addLibraryERKSs
 
1334
   ...
 
1335
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
 
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_6plugin8RegistryEPiPPcb
 
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_6plugin8RegistryEPiPPcb
 
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_6plugin8RegistryEPiPPcb
 
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_6plugin8RegistryEPiPPcb
 
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_6plugin8RegistryEPiPPcb
 
1382
   fun:_ZL22init_server_componentsRN8drizzled6plugin7ContextE
 
1383
   fun:main
 
1384
}
 
1385
 
 
1386
{
 
1387
   Leak in dlopen()
 
1388
   Memcheck:Leak
 
1389
   fun:calloc
 
1390
   ...
 
1391
   fun:dlopen
 
1392
   fun:_ZN8drizzled6plugin7Library11loadLibraryERKSs
 
1393
   fun:_ZN8drizzled6plugin8Registry10addLibraryERKSs
 
1394
}
 
1395
 
 
1396
 
 
1397
{
 
1398
   Leak in dlopen()
 
1399
   Memcheck:Leak
 
1400
   fun:malloc
 
1401
   fun:add_to_global
 
1402
   ...
 
1403
   fun:_ZN8drizzled6plugin7Library11loadLibraryERKSs
 
1404
   fun:_ZN8drizzled6plugin8Registry10addLibraryERKSs
 
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:_ZN8drizzled6plugin7Library11loadLibraryERKSs
 
1429
   fun:_ZN8drizzled6plugin8Registry10addLibraryERKSs
 
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:_ZN8drizzled6plugin7Library11loadLibraryERKSs
 
1446
   fun:_ZN8drizzled6plugin8Registry10addLibraryERKSs
 
1447
   fun:_ZN8drizzled11plugin_initERNS_6plugin8RegistryEPiPPcb
 
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:_ZN8drizzled6plugin7Library11loadLibraryERKSs
 
1481
   fun:_ZN8drizzled6plugin8Registry10addLibraryERKSs
 
1482
   fun:_ZN8drizzled11plugin_initERNS_6plugin8RegistryEPiPPcb
 
1483
   fun:_ZN8drizzled22init_server_componentsERNS_6plugin8RegistryE
 
1484
   fun:main
 
1485
}
 
1486
 
 
1487
 
 
1488
{
 
1489
   Suppress dlclose() because we can't use it
 
1490
   Memcheck:Leak
 
1491
   fun:malloc
 
1492
   ...
 
1493
   fun:dlopen_doit
 
1494
   ...
 
1495
   fun:_ZN8drizzled6plugin7Library11loadLibraryERKSs
 
1496
   fun:_ZN8drizzled6plugin8Registry10addLibraryERKSs
 
1497
   fun:_ZN8drizzled11plugin_initERNS_6plugin8RegistryEPiPPcb
 
1498
   fun:_ZN8drizzled22init_server_componentsERNS_6plugin8RegistryE
 
1499
   fun:main
 
1500
}
 
1501
 
 
1502
{
 
1503
   InnoDB static issue   
 
1504
   Memcheck:Param
 
1505
   write(buf)
 
1506
   ...
 
1507
   fun:new_do_write
 
1508
   ...
 
1509
   fun:rewind
 
1510
   fun:row_ins_foreign_report_add_err
 
1511
   fun:row_ins_check_foreign_constraint
 
1512
   fun:row_ins_index_entry
 
1513
   fun:row_ins_step
 
1514
   fun:row_insert_for_mysql
 
1515
   fun:_ZN11ha_innobase9write_rowEPh
 
1516
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
 
1517
   fun:_ZN8drizzled12write_recordEPNS_7SessionEPNS_5TableEPNS_12st_copy_infoE
 
1518
}
 
1519
 
 
1520
{
 
1521
   InnoDB Heap Stuff
 
1522
   Memcheck:Param
 
1523
   write(buf)
 
1524
   ...
 
1525
   fun:new_do_write
 
1526
   ...
 
1527
   fun:rewind
 
1528
   fun:row_ins_foreign_report_err
 
1529
   fun:row_ins_check_foreign_constraint
 
1530
   fun:row_upd_check_references_constraints
 
1531
   fun:row_upd_clust_step
 
1532
   fun:row_upd_step
 
1533
   fun:row_update_for_mysql
 
1534
   fun:_ZN11ha_innobase10update_rowEPKhPh
 
1535
   fun:_ZN8drizzled6Cursor13ha_update_rowEPKhPh
 
1536
}
 
1537
 
 
1538
{
 
1539
   Innodb write syscall issue
 
1540
   Memcheck:Param
 
1541
   write(buf)
 
1542
   obj:/lib/libc-2.10.1.so
 
1543
   ...
 
1544
   fun:rewind
 
1545
   fun:row_ins_foreign_report_err
 
1546
   fun:row_ins_check_foreign_constraint
 
1547
   fun:row_upd_check_references_constraints
 
1548
   fun:row_upd_clust_step
 
1549
   fun:row_upd_step
 
1550
   fun:row_update_for_mysql
 
1551
   fun:_ZN11ha_innobase10update_rowEPKhPh
 
1552
   fun:_ZN8drizzled6Cursor13ha_update_rowEPKhPh
 
1553
   fun:_ZN8drizzled12mysql_updateEPNS_7SessionEPNS_9TableListERNS_4ListINS_4ItemEEES7_PS5_jPNS_8order_stEmNS_15enum_duplicatesEb
 
1554
   fun:_ZN8drizzled9statement6Update7executeEv
 
1555
}
 
1556
 
 
1557
{
 
1558
   More pwrite64 goo
 
1559
   Memcheck:Param
 
1560
   pwrite64(buf)
 
1561
   fun:pwrite64
 
1562
   fun:_ZL8do_flushP11azio_streami
 
1563
   fun:azflush
 
1564
   ...
 
1565
   fun:_ZN8drizzled7Session3runEv
 
1566
   fun:session_thread
 
1567
}
 
1568
 
 
1569
{
 
1570
   InnoDB Static
 
1571
   Memcheck:Leak
 
1572
   fun:malloc
 
1573
   fun:mem_area_alloc
 
1574
   fun:mem_heap_create_block
 
1575
   fun:trx_undo_mem_create
 
1576
   fun:trx_undo_assign_undo
 
1577
   fun:trx_undo_report_row_operation
 
1578
   fun:btr_cur_optimistic_insert
 
1579
   fun:row_ins_index_entry_low
 
1580
   fun:row_ins_index_entry
 
1581
   fun:row_ins_step
 
1582
   fun:que_run_threads
 
1583
   fun:row_create_table_for_mysql
 
1584
   fun:_ZN14InnobaseEngine13doCreateTableERN8drizzled7SessionERNS0_5TableERNS0_15TableIdentifierERNS0_7message5TableE
 
1585
   fun:_ZN8drizzled6plugin13StorageEngine11createTableERNS_7SessionERNS_15TableIdentifierEbRNS_7message5TableE
 
1586
   fun:_ZN8drizzled16rea_create_tableEPNS_7SessionERNS_15TableIdentifierERNS_7message5TableEPNS_24st_ha_create_informationERNS_4ListINS_11CreateFieldEEEjPNS_6st_keyE
 
1587
   fun:_ZN8drizzled26mysql_create_table_no_lockEPNS_7SessionERNS_15TableIdentifierEPNS_24st_ha_create_informationERNS_7message5TableEPNS_9AlterInfoEbjb
 
1588
}
 
1589
 
 
1590
{
 
1591
   InnoDB
 
1592
   Memcheck:Leak
 
1593
   fun:malloc
 
1594
   fun:mem_area_alloc
 
1595
   fun:mem_heap_create_block
 
1596
   fun:trx_undo_mem_create
 
1597
   fun:trx_undo_assign_undo
 
1598
   fun:trx_undo_report_row_operation
 
1599
   fun:btr_cur_upd_lock_and_undo
 
1600
   fun:btr_cur_pessimistic_update
 
1601
   fun:row_ins_index_entry_low
 
1602
   fun:row_ins_step
 
1603
   fun:que_run_threads
 
1604
   fun:que_eval_sql
 
1605
   fun:dict_foreign_eval_sql
 
1606
   fun:dict_create_add_foreigns_to_dictionary
 
1607
   fun:dict_create_foreign_constraints_low
 
1608
   fun:dict_create_foreign_constraints
 
1609
}
 
1610
 
 
1611
 
 
1612
 
 
1613
{
 
1614
   Trapping dlclose() issues
 
1615
   Memcheck:Leak
 
1616
   fun:malloc
 
1617
   fun:local_strdup
 
1618
   fun:_dl_map_object
 
1619
   fun:openaux
 
1620
   fun:_dl_catch_error
 
1621
   fun:_dl_map_object_deps
 
1622
   fun:dl_open_worker
 
1623
   fun:_dl_catch_error
 
1624
   fun:_dl_open
 
1625
   fun:do_dlopen
 
1626
   fun:_dl_catch_error
 
1627
   fun:dlerror_run
 
1628
   fun:__libc_dlopen_mode
 
1629
   fun:__nss_lookup_function
 
1630
   fun:__nss_lookup
 
1631
   fun:__nss_passwd_lookup2
 
1632
}
 
1633
 
 
1634
{
 
1635
   InnoDB Static Issue
 
1636
   Memcheck:Leak
 
1637
   fun:malloc
 
1638
   fun:mem_area_alloc
 
1639
   fun:mem_heap_create_block
 
1640
   fun:thr_local_create
 
1641
   fun:srv_master_thread
 
1642
   fun:start_thread
 
1643
   fun:clone
 
1644
}
 
1645
 
 
1646
{
 
1647
   Trapping dlclose()
 
1648
   Memcheck:Leak
 
1649
   fun:malloc
 
1650
   ...
 
1651
   fun:_dl_open
 
1652
   fun:dlopen_doit
 
1653
   ...
 
1654
   fun:_ZN8drizzled6plugin7Library11loadLibraryERKSs
 
1655
   fun:_ZN8drizzled6plugin8Registry10addLibraryERKSs
 
1656
   fun:_ZN8drizzled11plugin_initERNS_6plugin8RegistryEPiPPcb
 
1657
   fun:_ZN8drizzled22init_server_componentsERNS_6plugin8RegistryE
 
1658
   fun:main
 
1659
}
 
1660
 
 
1661
{
 
1662
   <insert_a_suppression_name_here>
 
1663
   Memcheck:Leak
 
1664
   fun:malloc
 
1665
   fun:_dl_scope_free
 
1666
   fun:_dl_close_worker
 
1667
   fun:_dl_close
 
1668
   fun:do_dlclose
 
1669
   fun:_dl_catch_error
 
1670
   fun:dlerror_run
 
1671
   obj:/lib/tls/i686/cmov/libc-2.10.1.so
 
1672
   obj:/lib/tls/i686/cmov/libc-2.10.1.so
 
1673
   fun:_vgnU_freeres
 
1674
   fun:_Exit
 
1675
   fun:exit
 
1676
   fun:(below main)
 
1677
}
 
1678
 
 
1679
{
 
1680
   InnoDB heap mem issues
 
1681
   Memcheck:Leak
 
1682
   fun:malloc
 
1683
   fun:mem_area_alloc
 
1684
   fun:mem_heap_create_block
 
1685
   fun:trx_undo_mem_create
 
1686
   fun:trx_undo_assign_undo
 
1687
   fun:trx_undo_report_row_operation
 
1688
   fun:btr_cur_update_in_place
 
1689
   fun:btr_cur_optimistic_update
 
1690
   fun:row_ins_index_entry_low
 
1691
   fun:row_ins_index_entry
 
1692
   fun:row_ins_step
 
1693
   fun:que_run_threads
 
1694
   fun:row_create_table_for_mysql
 
1695
   fun:_ZN14InnobaseEngine13doCreateTableERN8drizzled7SessionERNS0_5TableERNS0_15TableIdentifierERNS0_7message5TableE
 
1696
   fun:_ZN8drizzled6plugin13StorageEngine11createTableERNS_7SessionERNS_15TableIdentifierEbRNS_7message5TableE
 
1697
   fun:_ZN8drizzled16rea_create_tableEPNS_7SessionERNS_15TableIdentifierERNS_7message5TableEPNS_24st_ha_create_informationERNS_4ListINS_11CreateFieldEEEjPNS_6st_keyE
 
1698
}
 
1699
 
 
1700
{
 
1701
   InnoDB heap mem
 
1702
   Memcheck:Leak
 
1703
   fun:malloc
 
1704
   fun:mem_area_alloc
 
1705
   fun:mem_heap_create_block
 
1706
   fun:trx_undo_mem_create
 
1707
   fun:trx_undo_assign_undo
 
1708
   fun:trx_undo_report_row_operation
 
1709
   fun:btr_cur_optimistic_insert
 
1710
   fun:btr_cur_pessimistic_insert
 
1711
   fun:row_ins_index_entry_low
 
1712
   fun:row_ins_step
 
1713
   fun:row_insert_for_mysql
 
1714
   fun:_ZN11ha_innobase9write_rowEPh
 
1715
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
 
1716
   fun:_ZN8drizzled12write_recordEPNS_7SessionEPNS_5TableEPNS_12st_copy_infoE
 
1717
   fun:_ZN8drizzled12mysql_insertEPNS_7SessionEPNS_9TableListERNS_4ListINS_4ItemEEERNS4_IS6_EES7_S7_NS_15enum_duplicatesEb
 
1718
   fun:_ZN8drizzled9statement6Insert7executeEv
 
1719
}
 
1720
 
 
1721
{
 
1722
   Trapping dlclose()
 
1723
   Memcheck:Leak
 
1724
   fun:malloc
 
1725
   ...
 
1726
   fun:_dl_open
 
1727
   fun:dlopen_doit
 
1728
   ...
 
1729
   fun:_ZN8drizzled6plugin7Library11loadLibraryERKSs
 
1730
   fun:_ZN8drizzled6plugin8Registry10addLibraryERKSs
 
1731
   fun:_ZN8drizzled11plugin_initERNS_6plugin8RegistryEPiPPcb
 
1732
   fun:_ZN8drizzled22init_server_componentsERNS_6plugin8RegistryE
 
1733
   fun:main
 
1734
}
 
1735
 
 
1736
{
 
1737
   InnoDB Heap Issue
 
1738
   Memcheck:Leak
 
1739
   fun:malloc
 
1740
   fun:mem_area_alloc
 
1741
   fun:mem_heap_create_block
 
1742
   fun:trx_undo_mem_create
 
1743
   fun:trx_undo_assign_undo
 
1744
   fun:trx_undo_report_row_operation
 
1745
   fun:btr_cur_optimistic_insert
 
1746
   fun:row_ins_index_entry_low
 
1747
   fun:row_ins_index_entry
 
1748
   fun:row_ins_step
 
1749
   fun:row_insert_for_mysql
 
1750
   fun:_ZN11ha_innobase9write_rowEPh
 
1751
   fun:_ZN8drizzled6Cursor12ha_write_rowEPh
 
1752
   fun:_ZN8drizzled12write_recordEPNS_7SessionEPNS_5TableEPNS_12st_copy_infoE
 
1753
   fun:_ZN8drizzled12mysql_insertEPNS_7SessionEPNS_9TableListERNS_4ListINS_4ItemEEERNS4_IS6_EES7_S7_NS_15enum_duplicatesEb
 
1754
   fun:_ZN8drizzled9statement6Insert7executeEv
 
1755
}
 
1756
 
 
1757
 
 
1758
{
 
1759
   InnoDB Heap Issue.
 
1760
   Memcheck:Leak
 
1761
   fun:malloc
 
1762
   fun:mem_area_alloc
 
1763
   fun:mem_heap_create_block
 
1764
   fun:trx_undo_mem_create
 
1765
   fun:trx_undo_assign_undo
 
1766
   fun:trx_undo_report_row_operation
 
1767
   fun:btr_cur_del_mark_set_clust_rec
 
1768
   fun:row_upd_clust_step
 
1769
   fun:row_upd_step
 
1770
   fun:que_run_threads
 
1771
   fun:que_eval_sql
 
1772
   fun:row_rename_table_for_mysql
 
1773
   fun:_ZN14InnobaseEngine13doRenameTableERN8drizzled7SessionERNS0_15TableIdentifierES4_
 
1774
   fun:_ZN8drizzled18mysql_rename_tableEPNS_6plugin13StorageEngineERNS_15TableIdentifierES4_j
 
1775
   fun:_ZN8drizzledL20internal_alter_tableEPNS_7SessionEPNS_5TableERNS_15TableIdentifierES5_PNS_24st_ha_create_informationERNS_7message5TableEPNS_9TableListEPNS_9AlterInfoEjPNS_8order_stEb
 
1776
   fun:_ZN8drizzled11alter_tableEPNS_7SessionERNS_15TableIdentifierES3_PNS_24st_ha_create_informationERNS_7message5TableEPNS_9TableListEPNS_9AlterInfoEjPNS_8order_stEb
 
1777
}
 
1778
 
 
1779
 
 
1780
{
 
1781
   Weird std::String leak errors.
 
1782
   Memcheck:Leak
 
1783
   fun:_Znwm
 
1784
   fun:_ZNSs4_Rep9_S_createEmmRKSaIcE
 
1785
   obj:/usr/lib/libstdc++.so.6.0.10
 
1786
   fun:_ZNSsC1EPKcRKSaIcE
 
1787
   obj:*
 
1788
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
 
1789
   fun:_ZN8drizzled11plugin_initERNS_6plugin8RegistryEPiPPcb
 
1790
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
 
1791
   fun:main
 
1792
}
 
1793
 
 
1794
{
 
1795
   Valgrind has issues tracking the deallocation of plugin objects.
 
1796
   Memcheck:Leak
 
1797
   fun:malloc
 
1798
   ...
 
1799
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
 
1800
   fun:_ZN8drizzled11plugin_initERNS_6plugin8RegistryEPiPPcb
 
1801
   fun:_ZN8drizzled22init_server_componentsERNS_6plugin8RegistryE
 
1802
   fun:main
 
1803
}
 
1804
 
 
1805
{
 
1806
   Valgrind has issues tracking the deallocation of plugin objects.
 
1807
   Memcheck:Leak
 
1808
   fun:_ZnwmRKSt9nothrow_t
 
1809
   ...
 
1810
   fun:_ZN8drizzledL17plugin_initializeERNS_6plugin8RegistryEPNS0_6ModuleE
 
1811
   fun:_ZN8drizzled11plugin_initERNS_6plugin8RegistryEPiPPcb
 
1812
   fun:_ZN8drizzledL22init_server_componentsERNS_6plugin8RegistryE
 
1813
   fun:main
 
1814
}
 
1815
 
 
1816
{
 
1817
   Leak in dlclose()
 
1818
   Memcheck:Leak
 
1819
   fun:malloc
 
1820
   ...
 
1821
   fun:dlclose
 
1822
   fun:_ZN8drizzled6plugin7LibraryD1Ev
 
1823
   fun:_ZN8drizzled6plugin8RegistryD1Ev
 
1824
   fun:_ZN8drizzled6plugin8Registry8shutdownEv
 
1825
   fun:main
 
1826
}
 
1827
 
 
1828
{
 
1829
   dlclose()
 
1830
   Memcheck:Leak
 
1831
   fun:malloc
 
1832
   ...
 
1833
   fun:dlopen
 
1834
   fun:_ZN8drizzled6plugin7Library11loadLibraryERKSs
 
1835
   fun:_ZN8drizzled6plugin8Registry10addLibraryERKSs
 
1836
}
 
1837
 
 
1838
{
 
1839
   dlopen()
 
1840
   Memcheck:Leak
 
1841
   fun:malloc
 
1842
   ...
 
1843
   fun:dlopen
 
1844
   fun:_ZN8drizzled6plugin7Library11loadLibraryERKSs
 
1845
   fun:_ZN8drizzled6plugin8Registry10addLibraryERKSs
 
1846
   fun:_ZL16plugin_load_listRN8drizzled6plugin8RegistryEP11st_mem_rootPiPPcSs
 
1847
}
 
1848
 
 
1849
{
 
1850
   static var in getpwnam
 
1851
   Memcheck:Leak
 
1852
   fun:malloc
 
1853
   fun:nss_parse_service_list
 
1854
   fun:__nss_database_lookup
 
1855
   obj:*
 
1856
   obj:*
 
1857
   fun:getpwnam_r@@GLIBC_2.2.5
 
1858
   fun:getpwnam
 
1859
   fun:main
 
1860
}
 
1861
 
 
1862
{
 
1863
   pthread_cancel_init issue.
 
1864
   Memcheck:Leak
 
1865
   fun:malloc
 
1866
   ...
 
1867
   fun:pthread_cancel_init
 
1868
   fun:_Unwind_ForcedUnwind
 
1869
   fun:__pthread_unwind
 
1870
   fun:pthread_exit
 
1871
   fun:os_thread_exit
 
1872
   fun:trx_rollback_or_clean_all_recovered
 
1873
   fun:start_thread
 
1874
   fun:clone
 
1875
}
 
1876
 
 
1877
{
 
1878
   pwrite64 issue
 
1879
   Memcheck:Param
 
1880
   pwrite64(buf)
 
1881
   ...
 
1882
   fun:azclose
 
1883
   fun:_ZN12ArchiveShareD1Ev
 
1884
   fun:_ZN10ha_archive10free_shareEv
 
1885
   fun:_ZN10ha_archive5closeEv
 
1886
   ...
 
1887
   fun:session_thread
 
1888
   fun:start_thread
 
1889
}
 
1890
 
 
1891
{
 
1892
   More azio stuff.
 
1893
   Memcheck:Param
 
1894
   pwrite64(buf)
 
1895
   fun:pwrite64
 
1896
   fun:_ZL8do_flushP11azio_streami
 
1897
   fun:azclose
 
1898
   fun:_ZN12ArchiveShareD1Ev
 
1899
   fun:_ZN10ha_archive10free_shareEv
 
1900
   fun:_ZN10ha_archive5closeEv
 
1901
   fun:_ZN8drizzled5Table8closefrmEb
 
1902
   fun:_ZN8drizzled5Table18intern_close_tableEv
 
1903
   fun:_ZN8drizzledL20internal_alter_tableEPNS_7SessionEPNS_5TableERNS_15TableIdentifierES5_PNS_24st_ha_create_informationERNS_7message5TableEPNS_9TableListEPNS_9AlterInfoEjPNS_8order_stEb
 
1904
   fun:_ZN8drizzled11alter_tableEPNS_7SessionERNS_15TableIdentifierES3_PNS_24st_ha_create_informationERNS_7message5TableEPNS_9TableListEPNS_9AlterInfoEjPNS_8order_stEb
 
1905
   fun:_ZN8drizzled9statement10AlterTable7executeEv
 
1906
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
 
1907
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcj
 
1908
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
 
1909
   fun:_ZN8drizzled7Session16executeStatementEv
 
1910
   fun:_ZN8drizzled7Session3runEv
 
1911
}
 
1912
 
 
1913
{
 
1914
   More azio stuff
 
1915
   Memcheck:Cond
 
1916
   fun:deflate
 
1917
   fun:_ZL8do_flushP11azio_streami
 
1918
   fun:azflush
 
1919
   fun:_ZN10ha_archive4infoEj
 
1920
   fun:_ZN8drizzledL20make_join_statisticsEPNS_4JOINEPNS_9TableListEPNS_4ItemEPNS_16st_dynamic_arrayE
 
1921
   fun:_ZN8drizzled4JOIN8optimizeEv
 
1922
   fun:_ZN8drizzled12mysql_selectEPNS_7SessionEPPPNS_4ItemEPNS_9TableListEjRNS_4ListIS2_EES3_jPNS_8order_stESC_S3_yPNS_13select_resultEPNS_15Select_Lex_UnitEPNS_10Select_LexE
 
1923
   fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEy
 
1924
   fun:_ZN8drizzled21execute_sqlcom_selectEPNS_7SessionEPNS_9TableListE
 
1925
   fun:_ZN8drizzled9statement6Select7executeEv
 
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
   fun:session_thread
 
1932
}
 
1933
 
 
1934
 
 
1935
{
 
1936
   pwrite64 issue
 
1937
   Memcheck:Param
 
1938
   pwrite64(buf)
 
1939
   ...
 
1940
   fun:azflush
 
1941
   fun:_ZN10ha_archive4infoEj
 
1942
   fun:_ZN8drizzledL20make_join_statisticsEPNS_4JOINEPNS_9TableListEPNS_4ItemEPNS_16st_dynamic_arrayE
 
1943
   fun:_ZN8drizzled4JOIN8optimizeEv
 
1944
   fun:_ZN8drizzled12mysql_selectEPNS_7SessionEPPPNS_4ItemEPNS_9TableListEjRNS_4ListIS2_EES3_jPNS_8order_stESC_S3_mPNS_13select_resultEPNS_15Select_Lex_UnitEPNS_10Select_LexE
 
1945
   fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEm
 
1946
   fun:_ZN8drizzled21execute_sqlcom_selectEPNS_7SessionEPNS_9TableListE
 
1947
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
 
1948
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
 
1949
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
 
1950
   fun:_ZN8drizzled7Session16executeStatementEv
 
1951
   fun:_ZN8drizzled7Session3runEv
 
1952
   fun:session_thread
 
1953
   fun:start_thread
 
1954
}
 
1955
 
 
1956
{
 
1957
   pthread issue
 
1958
   Memcheck:Param
 
1959
   write(buf)
 
1960
   ...
 
1961
   fun:_ZN8drizzled8internal8my_writeEiPKhmi
 
1962
   fun:_ZN8drizzled8internal19my_b_flush_io_cacheEPNS0_11st_io_cacheEi
 
1963
   fun:_ZN8drizzled8filesortEPNS_7SessionEPNS_5TableEPNS_13st_sort_fieldEjPNS_9optimizer9SqlSelectEmbPm
 
1964
   fun:_ZN8drizzled17create_sort_indexEPNS_7SessionEPNS_4JOINEPNS_8order_stEmmb
 
1965
   fun:_ZN8drizzled4JOIN4execEv
 
1966
   fun:_ZN8drizzled30subselect_single_select_engine4execEv
 
1967
   fun:_ZN8drizzled14Item_subselect4execEv
 
1968
   fun:_ZN8drizzled24Item_singlerow_subselect7val_strEPNS_6StringE
 
1969
   fun:_ZN8drizzled14Arg_comparator14compare_stringEv
 
1970
   fun:_ZN8drizzled12Item_func_eq7val_intEv
 
1971
   fun:_ZN8drizzled15remove_eq_condsEPNS_7SessionEPNS_4ItemEPNS2_11cond_resultE
 
1972
   fun:_ZN8drizzled13optimize_condEPNS_4JOINEPNS_4ItemEPNS_4ListINS_9TableListEEEPNS2_11cond_resultE
 
1973
   fun:_ZN8drizzled4JOIN8optimizeEv
 
1974
   fun:_ZN8drizzled12mysql_selectEPNS_7SessionEPPPNS_4ItemEPNS_9TableListEjRNS_4ListIS2_EES3_jPNS_8order_stESC_S3_mPNS_13select_resultEPNS_15Select_Lex_UnitEPNS_10Select_LexE
 
1975
   fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEm
 
1976
}
 
1977
 
 
1978
{
 
1979
   pthread issue
 
1980
   Memcheck:Param
 
1981
   write(buf)
 
1982
   ...
 
1983
   fun:_ZN8drizzled8internal8my_writeEiPKhmi
 
1984
   fun:_ZN8drizzled8internal19my_b_flush_io_cacheEPNS0_11st_io_cacheEi
 
1985
   fun:_ZN8drizzled8internalL11_my_b_writeEPNS0_11st_io_cacheEPKhm
 
1986
   fun:_ZN8drizzledL10write_keysEPNS_13st_sort_paramEPPhjPNS_8internal11st_io_cacheES6_
 
1987
   fun:_ZN8drizzled8filesortEPNS_7SessionEPNS_5TableEPNS_13st_sort_fieldEjPNS_9optimizer9SqlSelectEmbPm
 
1988
   fun:_ZN8drizzled17create_sort_indexEPNS_7SessionEPNS_4JOINEPNS_8order_stEmmb
 
1989
   fun:_ZN8drizzled4JOIN4execEv
 
1990
   fun:_ZN8drizzled12mysql_selectEPNS_7SessionEPPPNS_4ItemEPNS_9TableListEjRNS_4ListIS2_EES3_jPNS_8order_stESC_S3_mPNS_13select_resultEPNS_15Select_Lex_UnitEPNS_10Select_LexE
 
1991
   fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEm
 
1992
   fun:_ZN8drizzled21execute_sqlcom_selectEPNS_7SessionEPNS_9TableListE
 
1993
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
 
1994
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
 
1995
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
 
1996
   fun:_ZN8drizzled7Session16executeStatementEv
 
1997
   fun:_ZN8drizzled7Session3runEv
 
1998
}
 
1999
 
 
2000
{
 
2001
   Heap Engine panic issue
 
2002
   Memcheck:Addr8
 
2003
   fun:_Z8hp_panicN8drizzled17ha_panic_functionE
 
2004
   fun:_ZN10HeapEngineD0Ev
 
2005
   fun:_ZN8drizzled6plugin8RegistryD1Ev
 
2006
   fun:_ZN8drizzled6plugin8Registry8shutdownEv
 
2007
   fun:main
 
2008
}
 
2009
 
 
2010
{
 
2011
   my_write
 
2012
   Memcheck:Param
 
2013
   write(buf)
 
2014
   ...
 
2015
   fun:_ZN8drizzled8internal8my_writeEiPKhmi
 
2016
   fun:_ZN8drizzled8internal19my_b_flush_io_cacheEPNS0_11st_io_cacheEi
 
2017
   fun:_ZN8drizzled8filesortEPNS_7SessionEPNS_5TableEPNS_13st_sort_fieldEjPNS_9optimizer9SqlSelectEmbPm
 
2018
   fun:_ZN8drizzled17create_sort_indexEPNS_7SessionEPNS_4JOINEPNS_8order_stEmmb
 
2019
   fun:_ZN8drizzled4JOIN4execEv
 
2020
   fun:_ZN8drizzled12mysql_selectEPNS_7SessionEPPPNS_4ItemEPNS_9TableListEjRNS_4ListIS2_EES3_jPNS_8order_stESC_S3_mPNS_13select_resultEPNS_15Select_Lex_UnitEPNS_10Select_LexE
 
2021
   fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEm
 
2022
   fun:_ZN8drizzled21execute_sqlcom_selectEPNS_7SessionEPNS_9TableListE
 
2023
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
 
2024
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
 
2025
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
 
2026
   fun:_ZN8drizzled7Session16executeStatementEv
 
2027
   fun:_ZN8drizzled7Session3runEv
 
2028
   fun:session_thread
 
2029
   fun:start_thread
 
2030
}
 
2031
 
 
2032
{
 
2033
   ptr_compare_0 craziness 
 
2034
   Memcheck:Cond
 
2035
   fun:_ZN8drizzled8internalL13ptr_compare_0EPmPPhS3_
 
2036
   fun:_ZN8drizzled8internal9my_qsort2EPvmmPFiPKvS3_S3_ES1_
 
2037
   fun:_ZN8drizzled8internal18my_string_ptr_sortEPhjm
 
2038
   fun:_ZN8drizzled8filesortEPNS_7SessionEPNS_5TableEPNS_13st_sort_fieldEjPNS_9optimizer9SqlSelectEmbPm
 
2039
   fun:_ZN8drizzled17create_sort_indexEPNS_7SessionEPNS_4JOINEPNS_8order_stEmmb
 
2040
   fun:_ZN8drizzled4JOIN4execEv
 
2041
   fun:_ZN8drizzled12mysql_selectEPNS_7SessionEPPPNS_4ItemEPNS_9TableListEjRNS_4ListIS2_EES3_jPNS_8order_stESC_S3_mPNS_13select_resultEPNS_15Select_Lex_UnitEPNS_10Select_LexE
 
2042
   fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEm
 
2043
   fun:_ZN8drizzled21execute_sqlcom_selectEPNS_7SessionEPNS_9TableListE
 
2044
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
 
2045
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
 
2046
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
 
2047
   fun:_ZN8drizzled7Session16executeStatementEv
 
2048
   fun:_ZN8drizzled7Session3runEv
 
2049
   fun:session_thread
 
2050
   fun:start_thread
 
2051
}
 
2052
 
 
2053
{
 
2054
   Badness inside of libc.
 
2055
   Memcheck:Leak
 
2056
   fun:malloc
 
2057
   obj:/lib/ld-2.9.so
 
2058
   obj:/lib/ld-2.9.so
 
2059
   obj:/lib/ld-2.9.so
 
2060
   obj:/lib/ld-2.9.so
 
2061
   obj:/lib/ld-2.9.so
 
2062
   obj:/lib/libc-2.9.so
 
2063
   obj:/lib/ld-2.9.so
 
2064
   fun:__libc_dlopen_mode
 
2065
   fun:__nss_lookup_function
 
2066
   obj:/lib/libc-2.9.so
 
2067
   fun:getaddrinfo
 
2068
   obj:*
 
2069
   obj:*
 
2070
   obj:*
 
2071
   obj:*
 
2072
}
 
2073
 
 
2074
{
 
2075
   More crap in innodb heap.
 
2076
   Memcheck:Leak
 
2077
   fun:malloc
 
2078
   fun:mem_heap_create_block
 
2079
   fun:mem_heap_add_block
 
2080
   fun:dict_mem_table_create
 
2081
   fun:_ZN14InnobaseEngine13doCreateTableEPN8drizzled7SessionEPKcRNS0_5TableERNS0_7message5TableE
 
2082
   fun:_ZN8drizzled6plugin13StorageEngine11createTableERNS_7SessionERNS_15TableIdentifierEbRNS_7message5TableEb
 
2083
   fun:_ZN8drizzled16rea_create_tableEPNS_7SessionERNS_15TableIdentifierEPNS_7message5TableEPNS_24st_ha_create_informationERNS_4ListINS_11CreateFieldEEEjPNS_6st_keyE
 
2084
   fun:_ZN8drizzled26mysql_create_table_no_lockEPNS_7SessionERNS_15TableIdentifierEPNS_24st_ha_create_informationEPNS_7message5TableEPNS_9AlterInfoEbjb
 
2085
   fun:_ZN8drizzled18mysql_create_tableEPNS_7SessionERNS_15TableIdentifierEPNS_24st_ha_create_informationEPNS_7message5TableEPNS_9AlterInfoEbjb
 
2086
   fun:_ZN8drizzled9statement11CreateTable7executeEv
 
2087
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
 
2088
   fun:_ZN8drizzled11mysql_parseEPNS_7SessionEPKcjPS3_
 
2089
   fun:_ZN8drizzled16dispatch_commandENS_19enum_server_commandEPNS_7SessionEPcj
 
2090
   fun:_ZN8drizzled7Session16executeStatementEv
 
2091
   fun:_ZN8drizzled7Session3runEv
 
2092
   obj:*
 
2093
}
 
2094
 
 
2095
{
 
2096
   Innodb Heap Alloc block
 
2097
   Memcheck:Leak
 
2098
   fun:malloc
 
2099
   fun:mem_heap_create_block
 
2100
   fun:trx_undo_mem_create
 
2101
   fun:trx_undo_assign_undo
 
2102
   fun:trx_undo_report_row_operation
 
2103
   fun:btr_cur_update_in_place
 
2104
   fun:btr_cur_optimistic_update
 
2105
   fun:row_upd_clust_rec
 
2106
   fun:row_upd_clust_step
 
2107
   fun:row_upd_step
 
2108
   fun:row_update_for_mysql
 
2109
   fun:_ZN11ha_innobase10update_rowEPKhPh
 
2110
   fun:_ZN8drizzled6Cursor13ha_update_rowEPKhPh
 
2111
   fun:_ZN8drizzled12mysql_updateEPNS_7SessionEPNS_9TableListERNS_4ListINS_4ItemEEES7_PS5_jPNS_8order_stEmNS_15enum_duplicatesEb
 
2112
   fun:_ZN8drizzled9statement6Update7executeEv
 
2113
   fun:_ZN8drizzledL21mysql_execute_commandEPNS_7SessionE
 
2114
}
 
2115
 
 
2116
 
 
2117
{
 
2118
   This is bunk and is going away anyway.
 
2119
   Memcheck:Cond
 
2120
   fun:_ZN8drizzledL17construct_optionsEPNS_6memory4RootEPNS_6plugin6ModuleEPNS_6optionE
 
2121
   fun:_ZN8drizzledL19test_plugin_optionsEPNS_6memory4RootEPNS_6plugin6ModuleEPiPPc
 
2122
   fun:_ZN8drizzled11plugin_initERNS_6plugin8RegistryEPiPPcb
 
2123
   fun:_ZN8drizzled22init_server_componentsERNS_6plugin8RegistryE
 
2124
   fun:main
124
2125
}
125
2126
 
126
2127
{
130
2131
   fun:mem_heap_create_block
131
2132
   ...
132
2133
}
133
 
 
134
 
{
135
 
   InnoDB Insert Row
136
 
   Memcheck:Cond
137
 
   ...
138
 
   fun:row_insert_for_mysql
139
 
   ...
140
 
}
141
 
{
142
 
   InnoDB Insert Row
143
 
   Memcheck:Value4
144
 
   ...
145
 
   fun:row_insert_for_mysql
146
 
   ...
147
 
}
148
 
{
149
 
   InnoDB Insert Row
150
 
   Memcheck:Value8
151
 
   ...
152
 
   fun:row_insert_for_mysql
153
 
   ...
154
 
}
155
 
{
156
 
   InnoDB Insert Row
157
 
   Memcheck:Leak
158
 
   ...
159
 
   fun:row_insert_for_mysql
160
 
   ...
161
 
}
162
 
{
163
 
   InnoDB Insert Row
164
 
   Memcheck:Param
165
 
   ...
166
 
   fun:row_insert_for_mysql
167
 
   ...
168
 
}
169
 
{
170
 
   InnoDB Insert Row
171
 
   Memcheck:Param
172
 
   write(buf)
173
 
   ...
174
 
   fun:row_insert_for_mysql
175
 
   ...
176
 
}
177
 
 
178
 
{
179
 
   InnoDB Create Table
180
 
   Memcheck:Cond
181
 
   ...
182
 
   fun:row_create_table_for_mysql
183
 
   ...
184
 
}
185
 
{
186
 
   InnoDB Create Table
187
 
   Memcheck:Leak
188
 
   ...
189
 
   fun:row_create_table_for_mysql
190
 
   ...
191
 
}
192
 
 
193
 
{
194
 
   InnoDB Drop Table
195
 
   Memcheck:Cond
196
 
   ...
197
 
   fun:row_drop_table_for_mysql
198
 
   ...
199
 
}
200
 
{
201
 
   InnoDB Drop Table
202
 
   Memcheck:Leak
203
 
   ...
204
 
   fun:row_drop_table_for_mysql
205
 
   ...
206
 
}
207
 
 
208
 
 
209
 
{
210
 
   HailDB Inherited some issues from InnoDB
211
 
   Memcheck:Cond
212
 
   fun:rw_lock_x_lock_func
213
 
   ...
214
 
   fun:innobase_start_or_create
215
 
   fun:_ZL20embedded_innodb_initRN8drizzled6module7ContextE
216
 
   fun:_ZN8drizzled15plugin_finalizeERNS_6module8RegistryE
217
 
   fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE
218
 
   fun:main
219
 
}
220
 
 
221
 
{
222
 
   HailDB Inherited some issues from InnoDB
223
 
   Memcheck:Cond
224
 
   fun:rw_lock_x_lock_func
225
 
   ...
226
 
}
227
 
 
228
 
 
229
 
# Masking Leaks in System Libraries
230
 
{
231
 
   libnss static allocation
232
 
   Memcheck:Leak
233
 
   ...
234
 
   fun:getpwnam
235
 
   ...
236
 
}
237
 
 
238
 
{
239
 
  Static buffer created on gcrypt library initialization. Not a leak.
240
 
  Memcheck:Leak
241
 
  fun:malloc
242
 
  ...
243
 
  obj:*libgcrypt.so.*
244
 
  fun:_ZL10initializeRN8drizzled6module7ContextE
245
 
  ...
246
 
}
247
 
 
248
 
{
249
 
   Static buffer in pcre. Not a leak.
250
 
   Memcheck:Leak
251
 
   fun:malloc
252
 
   fun:pcre_compile2
253
 
   ...
254
 
}
255
 
 
256
 
{
257
 
   azflush issue in libazio
258
 
   Memcheck:Param
259
 
   pwrite64(buf)
260
 
   ...
261
 
   fun:azflush
262
 
   ...
263
 
}
264
 
{
265
 
   azflush issue in libazio
266
 
   Memcheck:Cond
267
 
   fun:deflate
268
 
   ...
269
 
   fun:azflush
270
 
   ...
271
 
}
272
 
 
273
 
{
274
 
   azclose issue in libazio
275
 
   Memcheck:Param
276
 
   pwrite64(buf)
277
 
   ...
278
 
   fun:azclose
279
 
   ...
280
 
}
281
 
{
282
 
   azclose issue in libazio
283
 
   Memcheck:Cond
284
 
   fun:deflate
285
 
   ...
286
 
   fun:azclose
287
 
   ...
288
 
}
289
 
 
290
 
{
291
 
   azwrite_row issue in libazio
292
 
   Memcheck:Cond
293
 
   fun:memcpy
294
 
   ...
295
 
   fun:deflate
296
 
   fun:azwrite_row
297
 
   ...
298
 
}
299
 
{
300
 
   azwrite_row issue in libazio
301
 
   Memcheck:Value8
302
 
   fun:memcpy
303
 
   ...
304
 
   fun:deflate
305
 
   fun:azwrite_row
306
 
   ...
307
 
}
308
 
{
309
 
   azwrite_row issue in libazio
310
 
   Memcheck:Value4
311
 
   fun:memcpy
312
 
   ...
313
 
   fun:deflate
314
 
   fun:azwrite_row
315
 
   ...
316
 
}
317
 
 
318
 
 
319
 
{
320
 
   MyISAM pwrite issue. Teh Suck.
321
 
   Memcheck:Param
322
 
   pwrite64(buf)
323
 
   fun:pwrite64
324
 
   fun:_Z15key_cache_writePN8drizzled12st_key_cacheEiyiPhjji
325
 
   ...
326
 
}
327
 
{
328
 
   MyISAM pwrite issue. Teh Suck.
329
 
   Memcheck:Param
330
 
   pwrite64(buf)
331
 
   fun:pwrite64
332
 
   fun:_Z15key_cache_writePN8drizzled12st_key_cacheEimiPhjji
333
 
   ...
334
 
}
335
 
{
336
 
   MyISAM pwrite issue. Teh Suck.
337
 
   Memcheck:Param
338
 
   pwrite64(buf)
339
 
   ...
340
 
   fun:_Z15key_cache_writePN8drizzled12st_key_cacheEimiPhjji
341
 
  ...
342
 
}
343
 
 
344
 
# Things we don't like in Drizzle
345
 
 
346
 
{
347
 
   This whole codebase is going away, so suppress this annoyance.
348
 
   Memcheck:Cond
349
 
   fun:_ZN8drizzledL17construct_optionsEPNS_6memory4RootEPNS_6module6ModuleEPNS_6optionE
350
 
   fun:_ZN8drizzledL19test_plugin_optionsEPNS_6memory4RootEPNS_6module6ModuleEPiPPcRN5boost15program_options19options_descriptionE
351
 
   fun:_ZN8drizzledL16plugin_load_listERNS_6module8RegistryEPNS_6memory4RootEPiPPcRKSt3setISsSt4lessISsESaISsEERN5boost15program_options19options_descriptionEb
352
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcRN5boost15program_options19options_descriptionE
353
 
   fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE
354
 
   fun:main
355
 
}
356
 
 
357
 
 
358
 
# https://bugs.launchpad.net/drizzle/+bug/582486
359
 
{
360
 
   Bug 582486 - Conditional jump or move depends on uninitialised value
361
 
   Memcheck:Value8
362
 
   ...
363
 
   fun:_ZN8drizzled10mysql_loadEPNS_7SessionEPNS_13file_exchangeEPNS_9TableListERNS_4ListINS_4ItemEEES9_S9_NS_15enum_duplicatesEb
364
 
   ...
365
 
}
366
 
{
367
 
   Bug 582486 - Conditional jump or move depends on uninitialised value
368
 
   Memcheck:Value4
369
 
   ...
370
 
   fun:_ZN8drizzled10mysql_loadEPNS_7SessionEPNS_13file_exchangeEPNS_9TableListERNS_4ListINS_4ItemEEES9_S9_NS_15enum_duplicatesEb
371
 
   ...
372
 
}
373
 
{
374
 
   Bug 582486 - Conditional jump or move depends on uninitialised value
375
 
   Memcheck:Cond
376
 
   ...
377
 
   fun:_ZN8drizzled10mysql_loadEPNS_7SessionEPNS_13file_exchangeEPNS_9TableListERNS_4ListINS_4ItemEEES9_S9_NS_15enum_duplicatesEb
378
 
   ...
379
 
}
380
 
 
381
 
# https://bugs.launchpad.net/drizzle/+bug/582495
382
 
{
383
 
   Bug 582495 - Syscall param write(buf) points to uninitialised byte(s)
384
 
   Memcheck:Param
385
 
   write(buf)
386
 
   ...
387
 
   fun:_ZN8drizzled8internal8my_writeEiPKhmi
388
 
   ...
389
 
   fun:_ZN8drizzled8filesortEPNS_7SessionEPNS_5TableEPNS_13st_sort_fieldEjPNS_9optimizer9SqlSelectEmbPm
390
 
   ...
391
 
}
392
 
{
393
 
   Bug 582495 - Syscall param write(buf) points to uninitialised byte(s)
394
 
   Memcheck:Param
395
 
   write(buf)
396
 
   ...
397
 
   fun:_ZN8drizzled8internal8my_writeEiPKhmi
398
 
   ...
399
 
   fun:_ZN8drizzled8filesortEPNS_7SessionEPNS_5TableEPNS_13st_sort_fieldEjPNS_9optimizer9SqlSelectEybPy
400
 
   ...
401
 
}
402
 
 
403
 
# https://bugs.launchpad.net/drizzle/+bug/582498
404
 
{
405
 
   Bug 582498 - Invalid read of size 8
406
 
   Memcheck:Addr8
407
 
   fun:_Z8hp_panicN8drizzled17ha_panic_functionE
408
 
   fun:_ZN10HeapEngineD0Ev
409
 
   ...
410
 
}
411
 
{
412
 
   Bug 582498 - Invalid read of size 4
413
 
   Memcheck:Addr4
414
 
   fun:_Z8hp_panicN8drizzled17ha_panic_functionE
415
 
   fun:_ZN10HeapEngineD0Ev
416
 
   ...
417
 
}
418
 
 
419
 
# https://bugs.launchpad.net/drizzle/+bug/582526
420
 
{
421
 
   Possibly lack of deallocation of a thread
422
 
   Memcheck:Leak
423
 
   fun:calloc
424
 
   ...
425
 
   fun:pthread_create*
426
 
   fun:_Z34initTransactionLogBackgroundWorkerv
427
 
   ...
428
 
}
429
 
 
430
 
# Issues with boost::thread
431
 
{
432
 
  Boost::thread issues. Not a problem - static init issues.
433
 
  Memcheck:Leak
434
 
  ...
435
 
  fun:_ZN5boost6detail16add_new_tss_nodeEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPv
436
 
  fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
437
 
  fun:_ZN8drizzled8internal14my_thread_initEv
438
 
  fun:_ZN8drizzled8internal21my_thread_global_initEv
439
 
  fun:_ZN8drizzled8internal7my_initEv
440
 
  fun:main
441
 
}
442
 
 
443
 
{
444
 
  Boost::thread issues. Not a problem - static init issues.
445
 
  Memcheck:Leak
446
 
  fun:_Znwm
447
 
  fun:_ZNSt8_Rb_treeIPKvSt4pairIKS1_N5boost6detail13tss_data_nodeEESt10_Select1stIS7_ESt4lessIS1_ESaIS7_EE10_M_insert_EPKSt18_Rb_tree_node_baseSG_RKS7_
448
 
  fun:_ZN5boost6detail16add_new_tss_nodeEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPv
449
 
  fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
450
 
  fun:_ZN5boost19thread_specific_ptrIN8drizzled8internal16st_my_thread_varEED1Ev
451
 
  ...
452
 
}
453
 
{
454
 
  Boost::thread issues. Not a problem - static init issues.
455
 
  Memcheck:Leak
456
 
  ...
457
 
  fun:_ZN5boost6detail23get_current_thread_dataEv
458
 
  fun:_ZN5boost6detail13find_tss_dataEPKv
459
 
  fun:_ZN5boost6detail12get_tss_dataEPKv
460
 
  fun:_ZN8drizzled8internal14my_thread_initEv
461
 
  fun:_ZN8drizzled8internal21my_thread_global_initEv
462
 
  fun:_ZN8drizzled8internal7my_initEv
463
 
  ...
464
 
}
465
 
{
466
 
  Boost::thread issues. Not a problem - static init issues.
467
 
  Memcheck:Leak
468
 
  ...
469
 
  fun:_ZN5boost19thread_specific_ptrIPN8drizzled6memory4RootEED1Ev
470
 
  fun:__run_exit_handlers
471
 
  fun:exit
472
 
  ...
473
 
}
474
 
{
475
 
  Boost::thread issues. Not a problem - static init issues.
476
 
  Memcheck:Leak
477
 
  ...
478
 
  fun:_ZN5boost19thread_specific_ptr*
479
 
  fun:__run_exit_handlers
480
 
  fun:exit
481
 
  ...
482
 
}
483
 
{
484
 
  Boost::thread issues. Not a problem - static init issues.
485
 
  Memcheck:Leak
486
 
  fun:_Znwm
487
 
  ...
488
 
  fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
489
 
   fun:_ZN8drizzled8internal14my_thread_initEv
490
 
   fun:_ZN8drizzled8internal21my_thread_global_initEv
491
 
   fun:_ZN8drizzled8internal7my_initEv
492
 
   fun:main
493
 
}
494
 
{
495
 
  Boost::thread issues. Not a problem - static init issues.
496
 
   Memcheck:Leak
497
 
   fun:_Znwj
498
 
   ...
499
 
   fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
500
 
   fun:_ZN8drizzled8internal14my_thread_initEv
501
 
   fun:_ZN8drizzled8internal21my_thread_global_initEv
502
 
   fun:_ZN8drizzled8internal7my_initEv
503
 
   fun:main
504
 
}
505
 
{
506
 
  Boost::thread issues. Not a problem - static init issues.
507
 
   Memcheck:Leak
508
 
   fun:_Znwm
509
 
   fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
510
 
   fun:_ZN8drizzled7Session12storeGlobalsEv
511
 
   fun:_ZN8drizzled21drizzle_rm_tmp_tablesEv
512
 
   fun:main
513
 
}
514
 
{
515
 
  Boost::thread issues. Not a problem - static init issues.
516
 
   Memcheck:Leak
517
 
   fun:_Znwj
518
 
   fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
519
 
   fun:_ZN8drizzled7Session12storeGlobalsEv
520
 
   fun:_ZN8drizzled21drizzle_rm_tmp_tablesEv
521
 
   fun:main
522
 
}
523