Hi Florian, Others, Any ideas/suggestions? Thank you
On Tue, Aug 25, 2015 at 10:24 AM, Roel Van de Paar < [email protected]> wrote: > Hi Florian, > > Thank you for the reply. My reply inline. > > On Tue, Aug 25, 2015 at 5:13 AM, Florian Weimer <[email protected]> wrote: > >> * Roel Van de Paar: >> >> > What happens if jemalloc is LD_PRELOAD'ed for an executable where such >> > executable uses a .so library, which in turn is statically linked with >> > jemalloc? >> >> That depends on what kind of symbols the libary exports. What does >> “eu-readelf -s” or “readelf -W -s” show? If jemalloc symbols are >> listed there, quite bad things can happen. > > > [roel@localhost > Percona-Server-5.6.25-rel73.2-f9f2b02.Linux.x86_64-debug]$ readelf -W -s > ./lib/mysql/plugin/ha_tokudb.so | grep jemalloc > 219: 000000000048ed90 4 OBJECT LOCAL DEFAULT 27 > _ZL21tokudb_check_jemalloc > 220: 000000000048d4e0 64 OBJECT LOCAL DEFAULT 26 > _ZL27mysql_sysvar_check_jemalloc > 833: 0000000000000000 0 FILE LOCAL DEFAULT ABS jemalloc.pic.o > 840: 000000000009d710 94 FUNC LOCAL DEFAULT 11 > jemalloc_constructor > 8370: 000000000009d0d0 90 FUNC LOCAL DEFAULT 11 > je_jemalloc_prefork > 8494: 000000000009d010 89 FUNC LOCAL DEFAULT 11 > je_jemalloc_postfork_child > 8659: 000000000009d070 89 FUNC LOCAL DEFAULT 11 > je_jemalloc_postfork_parent > > Are these jemalloc symbols? > > Also, anyone any idea on the other questions too? > > -- > > Kind Regards, > God Bless, > -- > Roel Van de Paar, CMDBA/CMDEV Senior QA Lead, Percona > Tel: +61 2 8004 1288 (UTC+10) > Mob: +61 427 141 635 (UTC+10) > Skype: percona.rvandepaar > http://www.percona.com/services.html > > Looking for Replication with Data Consistency? > Try Percona XtraDB Cluster > <http://www.percona.com/software/percona-xtradb-cluster>! > -- Kind Regards, God Bless, -- Roel Van de Paar, CMDBA/CMDEV Senior QA Lead, Percona Tel: +61 2 8004 1288 (UTC+10) Mob: +61 427 141 635 (UTC+10) Skype: percona.rvandepaar http://www.percona.com/services.html Looking for Replication with Data Consistency? Try Percona XtraDB Cluster <http://www.percona.com/software/percona-xtradb-cluster>!
_______________________________________________ jemalloc-discuss mailing list [email protected] http://www.canonware.com/mailman/listinfo/jemalloc-discuss
