Need Help - Ubuntu 20.1 wine has sbrk() errors when installing

Questions about Wine on Linux
Locked
Stubkan
Newbie
Newbie
Posts: 3
Joined: Thu Jul 07, 2022 3:56 pm

Need Help - Ubuntu 20.1 wine has sbrk() errors when installing

Post by Stubkan »

Hi,

Ive got an issue with wine / winetricks - I need to get dotnet48 into a prefix, and discovered that sbrk() process errors stop it every time. It says this;

Code: Select all

sbrk() failure while processing tunables
I'm running Mint (Essentially Ubuntu 20.04) - I have tried reinstalling, installing different versions of wine, wine stable, wine development, updating winetricks, updating drivers, using wine prefix, proton, GE-proton, different install methods, different prefix settings. Everything is the latest version it can be - although glibc (which is where the sbrk() error comes from) is a few versions behind, due to Ubuntu 20.04 being built on that.

I've crossed out hardware faults by running memtest86 and swapping memory sticks out since sbrk is a memory fault - I made a persistent liveusb of my stock system matching the package versions and can install dotnet into a prefix on that. So it is, I guess, likely to be a software fault in my system.

The interesting thing about this sbrk() error is that it appears to randomly change, each time I try to install dotnet, it sends me different error codes, happens differently etc. Here are some error dumps.

Attempt to install dotnet into proton 7.0 prefix
https://user-images.githubusercontent.c ... 3e2c7c.png

Attempt to install into regular wine prefix gives a large wall of sbrk() errors
https://user-images.githubusercontent.c ... 0613d9.png

Attempt to install via winetricks GUI
https://user-images.githubusercontent.c ... ee5a17.png

Sometimes setting up a wine prefix can cause it;
https://user-images.githubusercontent.c ... 699f31.png

I really want to find what is causing this stupid thing, I can't find mention anywhere on the internet of anyone ever having this error message coming up, so asking for help appears to be all I can do. I hope this makes sense to somebody.

This may be helpful to someone, though it is greek to me. The error is in glibc though it may be something else triggering it;
https://sourceware.org/git/?p=glibc.git ... 4632929145
https://sourceware.org/git/?p=glibc.git ... 91b76fcf0b
invisible kid
Level 5
Level 5
Posts: 368
Joined: Tue Dec 24, 2019 3:23 pm

Re: Need Help - Ubuntu 20.1 wine has sbrk() errors when installing

Post by invisible kid »

Could the memory be bad?
Stubkan
Newbie
Newbie
Posts: 3
Joined: Thu Jul 07, 2022 3:56 pm

Re: Need Help - Ubuntu 20.1 wine has sbrk() errors when installing

Post by Stubkan »

I've crossed out hardware faults by running memtest86 and swapping memory sticks out since sbrk is a memory fault - I made a persistent liveusb of my stock system matching the package versions and can install dotnet into a prefix on that. So it is, I guess, likely to be a software fault in my system.
Stubkan
Newbie
Newbie
Posts: 3
Joined: Thu Jul 07, 2022 3:56 pm

Re: Need Help - Ubuntu 20.1 wine has sbrk() errors when installing

Post by Stubkan »

This was happening because some dummkopf put an environment variable in ~/.profile that modified glibc values

export GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2

Removed the line, and it works now
Locked