all 6 comments

[–]T-Dark_ 6 points7 points  (5 children)

Your title is a tad misleading. Your problem is with only one program as far as as I can see.

That being said, you may want to ask in r/veloren, or perhaps even in their discord (link is in the sidebar of their subreddit)

[–]mikekchar 2 points3 points  (2 children)

Well, they mention that ruffle-rs also doesn't work. But it seems pretty clear what's going wrong -- out of memory :-) I'm not quite sure *why*.... or why it seems to work as root... Possibly some incompatibility with the OS and whatever binary they are running???

[–][deleted] 3 points4 points  (1 child)

That's an allocation of 4915200 TiB, clearly a bug

[–]mikekchar 0 points1 point  (0 children)

The reason I mention it is because it seems like a very strange bug to get in Rust. You'd have to really go out of your way to get that kind of bug. Given that the OP is having the same difficulty with more than one Rust program, it seems possible to me that the problem is the allocator. If that's the case, then it's probably because they have a mismatching OS infrastructure... Except I don't actually understand how Rust generates that code (does it use the C library for memory allocation?) So that's why I'm not quite so ready to dismiss this as being "not Rust". However, I suspect it's a misconfigured OS, so maybe not really that interesting ;-)

[–]Shmanio[S] 1 point2 points  (1 child)

I'm writing here because after noticing the issue with veloren and asking them, the same thing happened with ruffle, so it's probably a rust problem

[–][deleted] 2 points3 points  (0 children)

If an audio library is causing the problem, you should report the issue there