List:Falcon Storage Engine« Previous MessageNext Message »
From:Rafal Somla Date:October 23 2008 9:17am
Subject:Re: Valgrind warning in Falcon code.
View as plain text  
Hi Hakan,

I did this:

1. Updated my clone of main 6.0 to match the current tree.
2. Compiled the tree using BUILD/compile-pentium64-valgrind-max
3. Run "./mtr --suite=falcon"
4. Run "./mtr --valgrind --suite=falcon falcon_bug_22089

And observed this:

* I could run the falcon suite in step 3 - the tests run and pass normally.
* After doing step 4 I can see the valgrind stack in var/log/master.err. Here it 
comes again:

> ==5343== 
> ==5343== 16 bytes in 1 blocks are still reachable in loss record 1 of 3
> ==5343==    at 0x4904B35: malloc (vg_replace_malloc.c:149)
> ==5343==    by 0x33D49B0251: __cxa_get_globals (in /usr/lib64/libstdc++.so.6.0.7)
> ==5343==    by 0x33D49AFE94: __cxa_allocate_exception (in
> /usr/lib64/libstdc++.so.6.0.7)
> ==5343==    by 0x8C390D: checkExceptionSupport() (ha_falcon.cpp:167)
> ==5343==    by 0x8C3999: StorageInterface::falcon_init(void*) (ha_falcon.cpp:182)
> ==5343==    by 0x784CFC: ha_initialize_handlerton(st_plugin_int*) (handler.cc:440)
> ==5343==    by 0x81D949: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1006)
> ==5343==    by 0x823442: plugin_init(int*, char**, int) (sql_plugin.cc:1213)
> ==5343==    by 0x6890FE: init_server_components() (mysqld.cc:4094)
> ==5343==    by 0x68A786: main (mysqld.cc:4576)
> ==5343== 
> ==5343== LEAK SUMMARY:
> ==5343==    definitely lost: 0 bytes in 0 blocks.
> ==5343==      possibly lost: 0 bytes in 0 blocks.
> ==5343==    still reachable: 16 bytes in 1 blocks.
> ==5343==         suppressed: 3,048 bytes in 12 blocks.

Rafal
Thread
Re: Valgrind warning in Falcon code.Hakan Kuecuekyilmaz22 Oct
  • Re: Valgrind warning in Falcon code.Rafal Somla22 Oct
    • Re: Valgrind warning in Falcon code.Hakan Kuecuekyilmaz22 Oct
      • Re: Valgrind warning in Falcon code.Rafal Somla23 Oct