Closed
Bug 1167444
Opened 10 years ago
Closed 9 years ago
Crashes with google perftools malloc library
Categories
(Core :: Memory Allocator, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: yuri, Unassigned)
Details
(Keywords: crash, stackwanted)
User Agent: Mozilla/5.0 (X11; FreeBSD amd64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36
Steps to reproduce:
$ LD_PRELOAD=/usr/local/lib/libtcmalloc_minimal.so /usr/local/bin/firefox
(process:78731): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
FoxyProxy settingsDir: /home/yuri/.mozilla/firefox/vtvx426v.Default User/foxyproxy.xml
FoxyProxy settingsDir: /home/yuri/.mozilla/firefox/vtvx426v.Default User/foxyproxy.xml
src/tcmalloc.cc:278] Attempt to free invalid pointer 0x82ae300a0
Abort trap
Actual results:
Attempt to free invalid pointer
Expected results:
It seems like this is a very easy way to fix some memory problem.
Updated•10 years ago
|
Severity: normal → critical
Keywords: crash,
stackwanted
Updated•9 years ago
|
Component: Untriaged → Memory Allocator
Product: Firefox → Core
Comment 1•9 years ago
|
||
LD_PRELOADING an alternative allocator is not expected to work, because of the close-ish integration with jemalloc. If you want to play with other allocators, you need to play by the rules, build Firefox with --enable-replace-malloc (that's not enabled on release builds, but is enabled on nightly), and create a replace-malloc library containing tcmalloc. Old instructions are on http://glandium.org/blog/?p=2848.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•