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

Troy/image processor ext #205

Merged
merged 21 commits into from
Jun 23, 2024
Merged

Troy/image processor ext #205

merged 21 commits into from
Jun 23, 2024

Conversation

TroyKomodo
Copy link
Member

Proposed changes

Describe the big picture of what you want to change here, to help the maintainers understand why we should accept this pull request. Be sure to link to the issue if it fixes a bug or resolves a feature request.

Types of changes

What types of changes does your code introduce to Scuffle?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING doc
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules

Further comments

If this is a relatively large or complex change, you may want to start the discussion by explaining why you chose the solution you did, what alternatives you considered, etc.

@TroyKomodo TroyKomodo marked this pull request as draft February 2, 2024 12:58
@TroyKomodo TroyKomodo marked this pull request as ready for review February 2, 2024 16:48
@TroyKomodo TroyKomodo changed the base branch from feature/website to foundations May 4, 2024 01:57
lennartkloock and others added 4 commits May 25, 2024 18:30
We have observed strange behavior with jemalloc causing segfaults within
the image processor library. We ran the library with libasan and
valgrind (both incompatiable with jemalloc) and we could not find any
leaks or invalid memory access or double frees. However when we use
jemalloc we have issues and sometimes it segfaults always deep inside
jemalloc code. Since we cannot debug this with valgrind / libasan its
impossible to figure out if its a problem in our code (more likely) or
jemalloc (unlikely but possible), given that the bug only comes up when
we use jemalloc its likely a difference in strictness of the allocator
and something we are doing is wrong but the system allocator doesnt care
but jemalloc does.

This issue is also only present when we link directly to jemalloc + use
jemalloc as the global rust allocator (so it might be an issue in the
tikv-jemalloc crate). When we use jemalloc via `LD_PRELOAD` the issue
isnt there.
@TroyKomodo TroyKomodo merged commit 042cb07 into foundations Jun 23, 2024
1 of 4 checks passed
@TroyKomodo TroyKomodo deleted the troy/image-processor-ext branch June 23, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants