Segfault preloading jemalloc with apache on Ubuntu 12.04

Bug #1152793 reported by agent 8131
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jemalloc (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I had read good things about jemalloc so I decided to try it out on an Ubuntu 12.04 system.

apt-get install libjemalloc1

set /etc/ld.so.preload to /usr/lib/libjemalloc.so.1

restart apache

Apache crashed quickly and this was in the logs:

[477629.499581] show_signal_msg: 2 callbacks suppressed
[477629.499586] apache2[20748]: segfault at 7fa399400000 ip 00007fa3979e6e01 sp 00007fff142a63d0 error 4 in libjemalloc.so.1[7fa3979e3000+18000]

Revision history for this message
agent 8131 (agent-8131) wrote :

By "set /etc/ld.so.preload to /usr/lib/libjemalloc.so.1" I mean set the contents of /etc/ld.so.preload to "/usr/lib/libjemalloc.so.1"

Revision history for this message
Patrick Domack (patrickdk) wrote :

This bug is not going be solvable as is.

I have loaded jemalloc into apache2 on 12.04.2, and have no issues.

It could be a apache module your loading that is having issues, or something outside of apache maybe.

using ld.so.preload to do this, affects EVERY program on your system, I haven't checked, but if any program uses any malloc function that is non-standard, you will have issues if jemalloc doesn't also support them.

I am loading it usind LD_PRELOAD in /etc/apache2/envvars

Changed in jemalloc (Ubuntu):
status: New → Invalid
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.