Closed Bug 976950 Opened 11 years ago Closed 10 years ago

Reenable jemalloc and add soname-synonyms when running valgrind on FxOS

Categories

(Firefox OS Graveyard :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(b2g-v2.1 fixed)

RESOLVED FIXED
2.0 S6 (18july)
Tracking Status
b2g-v2.1 --- fixed

People

(Reporter: qdot, Assigned: erahm)

References

Details

(Whiteboard: [systemsfe] [p=2])

Attachments

(2 files)

From Mike Hommey on dev.platform: "[--disable-jemalloc] shouldn't be needed anymore with --soname-synonyms=somalloc=NONE on the valgrind command line." So we should change our build files and run_valgrind script to reflect this.
Setting dependencies for the moment, but may just end up with this dup'd against Bug 977156 in the end
Depends on: 977156, 977067
Vlad, can you try running valgrind+jemalloc with LD_PRELOAD=/system/lib/libc.so? (although i'm not sure if the b2g start script sets or resets LD_PRELOAD)
I successfully ran valgrind + jemalloc (+ DMD) + b2g. I modified |gonk-misc/default-gecko-config| to remove |ac_add_options --disable-jemalloc| from the B2G_VALGRIND portion. I then modified |run-valgrind.sh| with the config from bug 977067 comment 29 and managed to get a session going.
This removes the --disable-jemalloc flag from valgrind build..
Attachment #8452832 - Flags: review?(mh+mozilla)
Assignee: kyle → erahm
Status: NEW → ASSIGNED
Attachment #8452834 - Flags: review?(kyle)
Attachment #8452832 - Flags: review?(mh+mozilla) → review+
Comment on attachment 8452834 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/B2G/pull/365 See comments on github, I think one of the paths is missing a slash. Other than that, looks good.
Attachment #8452834 - Flags: review?(kyle) → review+
(In reply to Kyle Machulis [:kmachulis] [:qdot] from comment #8) > Comment on attachment 8452834 [details] [review] > Link to Github pull-request: https://github.com/mozilla-b2g/B2G/pull/365 > > See comments on github, I think one of the paths is missing a slash. Other > than that, looks good. Updated the PR with the missing '/'.
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 2.0 S6 (18july)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: