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

Update rpmalloc #4752

Closed
shlyakpavel opened this issue Jan 3, 2019 · 15 comments · Fixed by #5696
Closed

Update rpmalloc #4752

shlyakpavel opened this issue Jan 3, 2019 · 15 comments · Fixed by #5696
Assignees
Labels
Milestone

Comments

@shlyakpavel
Copy link
Contributor

Hello. I have found some problems related to rpmalloc_thread_collect working improperly. However, it is fixed on both rpmalloc develop and master branches
It would be nice if you merged the up to date version of the code :)
Have a nice day!

@shlyakpavel
Copy link
Contributor Author

Calf seems to be outdated as well...

@tresf
Copy link
Member

tresf commented Jan 4, 2019

Calf seems to be outdated as well...

Calf submodule is master branch only but it's a special LADSPA fork and won't merge directly. The fork is located here: https://github.com/LMMS/veal. Feel free to submit a PR. @JohannesLorenz is the maintainer of that fork.

It would be nice if you merged the up to date version of the code ... [to fix] ... some problems related to rpmalloc_thread_collect working improperly

👍 We'll take a look, thank you!

@tresf tresf added the bug label Jan 4, 2019
@tresf tresf added this to the 1.2.0 milestone Jan 4, 2019
@JohannesLorenz
Copy link
Contributor

As no one has asked to update rpmalloc, I'll update if from 1.3.0 to 1.3.1 and start in 5 days if there's no veto.

Considering CALF, this can not be tagged as 1.2.0, since CALf is no submodule in 1.2.0. We'll update the LADSPA submodules anyways before releasing 1.3.0 (or discard them with LV2), so it's not useful opening an issue for that now.

@zonkmachine
Copy link
Member

OK. I assigned you to the issue and since no one has said anything I just assume you can go ahead and work on it right away.

@JohannesLorenz
Copy link
Contributor

Just to explain why we re-opened that. I made an update, but the CI for 14.04 failed. rpmalloc 1.3.1 uses features which gcc 4.8 (the 14.04 compiler) does not support due to a compiler bug (4.7 and 4.9 are not affected).

I see multiple options:

  • 🚀 Discard 14.04 for 1.2 completely (maybe use 16.04 or 18.04), as any support for 14.04 runs out on April 2019.
  • 👀 Somehow patch 14.04 to user gcc 4.9 or higher
  • 🎉 Refuse to update rpmalloc for 1.2

Voting time!

@tresf
Copy link
Member

tresf commented Feb 9, 2019

This is a tough topic to vote on because each decision has its own ramifications. Sorry, I have more questions than answers...

  • What are the major ramifications of leaving stable-1.2 on 14.04 and keeping our current version of rpmalloc? We need less changes to the stable-1.2 branch, not more and @lukas-w has already started refactoring the memory management in master.
  • I've used gcc 4.9 on 14.04 without any major issues, are there any anticipated problems (e.g. such as with the AppImage?) If not, this seems like a completely reasonable approach, assuming there are major ramifications (depends on bullet 1)
  • Again, not updating depends on the severity of not updating rpmalloc.

@tresf
Copy link
Member

tresf commented Feb 9, 2019

  • Use 16.04 (support for 12.04 runs out in April) - This decision frightens me a bit because of our reliance on the trusty PPAs for the Windows builds but may actually be the best since we still haven't released stable-1.2 and at the current rate will need to support it (even on life support) past April from a critical patch perspective.

@JohannesLorenz
Copy link
Contributor

I'm for 🚀 btw:

  • Using an operating system that's not updated anymore makes you totally vulnerable to security issues. Using such a system is a fault, and we should not support faults. I'd even vote for LMMS refusing to build on 14.04 on purpose (after support end). No offense.
  • We're going to drop 14.04 anyways. The longer we support it, the longer we forbid new standards, like C++14, which will keep our software quality from increasing.

@tresf
Copy link
Member

tresf commented Feb 9, 2019

@JohannesLorenz yes, but switching away from 14.04 too early can also cause other issues (such as this one: probonopd/linuxdeployqt#340). 🤦‍♂️

@JohannesLorenz
Copy link
Contributor

I agree to @tresf that the severity of not updating rpmalloc must be specified. @shlyakpavel What exactly are your issues? What do you mean by "problems related to rpmalloc_thread_collect working improperly"?

@dvzrv
Copy link

dvzrv commented Feb 22, 2019

You can install higher versions of gcc on 14.04 though and generally 14.04 reaches EOL in April. I would not put my money on it. At all :)

@jasp00
Copy link
Member

jasp00 commented Feb 22, 2019

If we want to release quickly, I propose to drop this bug from milestone 1.2.0 until these problems related to rpmalloc_thread_collect are explained.

@shlyakpavel
Copy link
Contributor Author

@jasp00 I don't feel like I will explain them since it was too long ago and I don't remember exactly

@lukas-w
Copy link
Member

lukas-w commented Feb 26, 2019

I agree with moving to 1.3 then since we don't even have a reproducible or confirmed bug. We don't have to do everything in 1.2, there can be a 1.2.1.

@lukas-w lukas-w modified the milestones: 1.2.0, 1.3.0 Feb 26, 2019
JohannesLorenz added a commit to JohannesLorenz/lmms that referenced this issue Oct 3, 2020
Fixes LMMS#4752
Fixes LMMS#4806 (at least, this is what we think)
Helps LMMS#5694
@JohannesLorenz
Copy link
Contributor

This will now be handled in PR #5696 .

JohannesLorenz added a commit to JohannesLorenz/lmms that referenced this issue Oct 4, 2020
Fixes LMMS#4752
Fixes LMMS#4806 (at least, this is what we think)
Helps LMMS#5694
JohannesLorenz added a commit that referenced this issue Oct 5, 2020
This PR updates the remote URL and content of rpmalloc.

Fixes #4752
Fixes #4806 (assumably)
Helps #5694

You must now run
```
git submodule sync --recursive
```
once to reflect this change.
sdasda7777 pushed a commit to sdasda7777/lmms that referenced this issue Jun 28, 2022
sdasda7777 pushed a commit to sdasda7777/lmms that referenced this issue Jun 28, 2022
This PR updates the remote URL and content of rpmalloc.

Fixes LMMS#4752
Fixes LMMS#4806 (assumably)
Helps LMMS#5694

You must now run
```
git submodule sync --recursive
```
once to reflect this change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants