Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault if trying to use jemalloc #16653

Open
reisaraujo-miguel opened this issue Jun 28, 2021 · 0 comments
Open

Segfault if trying to use jemalloc #16653

reisaraujo-miguel opened this issue Jun 28, 2021 · 0 comments

Comments

@reisaraujo-miguel
Copy link

Description

I was trying to replace the default malloc of my Fedora 34 Workstation system by adding /usr/lib64/libjemalloc.so.2 and /usr/lib64/libjemalloc.so to my /etc/ld.so.preload file. But when I tried to launch Brave I received this error message:
image

Steps to Reproduce

  1. install jemalloc sudo dnf install jemalloc
  2. create a /etc/ld.so.preload file and add /usr/lib64/libjemalloc.so and /usr/lib64/libjemalloc.so.2 to it, separated by spaces
  3. launch brave-browser from the terminal

Actual result:

Crash dump id: 2d824400-8ce9-8106-0000-000000000000
/usr/bin/brave-browser: line 48: 24021 Segmentation fault (core dumped) "$HERE/brave" "$@"

Expected result:

Browser launches without problem and have /usr/lib64/libjemalloc.so.2 listed on /poc/<pid>/maps

Reproduces how often:

Easily reproduced

Brave version (brave://version info)

Brave: 1.26.67 Chromium: 91.0.4472.114 (Official Build) (64-bit)
Revision: 4bb19460e8d88c3446b360b0df8fd991fee49c0b-refs/branch-heads/4472@{#1496}
OS: Linux (Fedora 34 Workstation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants