Specifying --malloc-lib can produce 2 LD_PRELOADs

Bug #1382069 reported by Tim Callaghan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
High
Tomislav Plavcic
5.1
Invalid
Undecided
Unassigned
5.5
Invalid
Undecided
Unassigned
5.6
Fix Released
High
Tomislav Plavcic

Bug Description

If I specify --malloc-lib to use the bundled jemalloc (I'm using tarballs), and the system has jemalloc installed (I have it in /usr/lib/x86_64-linux-gnu/libjemalloc.so) I end up with a server starting with 2 jemalloc entries in LD_PRELOAD, seems like the --malloc-lib should override checking for installed jemalloc.

Here is the output of mysqld_safe:

141016 10:03:55 mysqld_safe Adding '/usr/lib/x86_64-linux-gnu/libjemalloc.so.1' to LD_PRELOAD for mysqld
141016 10:03:56 mysqld_safe Adding '/home/tcallaghan/data/dbtest/lib/mysql/libjemalloc.so' to LD_PRELOAD for mysqld

Tags: pkg tokudb

Related branches

tags: added: pkg tokudb
Changed in percona-server:
importance: Medium → High
assignee: nobody → Tomislav Plavcic (tplavcic)
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-828

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.