jemalloc / jemalloc/jemalloc

jemalloc 5.1.0 fails in unit tests with gcc8 and profiling enabled on armv7

Open
#1,312 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
11.2k
Forks
1.6k
Avg merge
4d 8h
Merged PRs (30d)
13

Description

jemalloc fails in tests with gcc8 and profiling enabled (-enable-prof option).
Last line of test is:

=== test/unit/arena_reset ===

jemalloc passes all the tests if:

  • CC is gcc7 instead of gcc8 (with profiling enabled)
  • CC is gcc8 but profiling is disabled

A bugzilla report is available here, with the build log: https://bugzilla.opensuse.org/show_bug.cgi?id=1105633

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the unit test sequence ending at test/unit/arena_reset and reproduce the failure on armv7 using gcc8 with profiling enabled; compare it with gcc7 or profiling disabled. Use the linked Bugzilla report and build log to identify the failing behavior, then confirm that the affected unit tests pass under the reported configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
compilers, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.