I have since some time ago a problem with Yast: the main menu starts ok but not the specific applications. When calling from the command line I can see there is apparently an error related to Ruby and libjemalloc. For example:
# yast2 users
<internal:/usr/lib64/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require': /lib64/libjemalloc.so.2: cannot allocate memory in static TLS block - /usr/lib64/ruby/gems/3.1.0/gems/io-wait-0.2.3/lib/io/wait.so (LoadError)
from <internal:/usr/lib64/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /usr/lib64/ruby/3.1.0/socket.rb:4:in `<top (required)>'
from <internal:/usr/lib64/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/usr/lib64/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /usr/lib/YaST2/bin/y2start:9:in `<main>'
This same thing occurs with other yast subcommands.
I see this is mentioned in at least one issue in bugzilla (see here) but in relation to vim, not yast. I can’t see or understand if the problem has been solved or how.
What is going on here? How can I sort this out?
Using Tumbleweed on a 64 bit machine.
More info that can be useful:
# zypper if libjemalloc2
Loading repository data...
Reading installed packages...
Information for package libjemalloc2:
-------------------------------------
Repository : Main Repository (OSS)
Name : libjemalloc2
Version : 5.3.0-1.2
Arch : x86_64
Vendor : openSUSE
Installed Size : 894.8 KiB
Installed : Yes
Status : up-to-date
Source package : jemalloc-5.3.0-1.2.src
Upstream URL : http://jemalloc.net/
Summary : General-purpose scalable concurrent malloc implementation
Description :
General-purpose scalable concurrent malloc(3) implementation.
This distribution is the stand-alone "portable" version of jemalloc.
# zypper if ruby
Loading repository data...
Reading installed packages...
Information for package ruby:
-----------------------------
Repository : Main Repository (OSS)
Name : ruby
Version : 3.1-1.4
Arch : x86_64
Vendor : openSUSE
Installed Size : 84 B
Installed : Yes (automatically)
Status : up-to-date
Source package : ruby-3.1-1.4.src
Upstream URL : http://www.ruby-lang.org/
Summary : An Interpreted Object-Oriented Scripting Language
Description :
Ruby is an interpreted scripting language for quick and easy
object-oriented programming. It has many features for processing text
files and performing system management tasks (as in Perl). It is
simple, straight-forward, and extensible.
* Ruby features:
- Simple Syntax
- *Normal* Object-Oriented features (class, method calls, for
example)
- *Advanced* Object-Oriented features(Mix-in, Singleton-method, for
example)
- Operator Overloading
- Exception Handling
- Iterators and Closures
- Garbage Collection
- Dynamic Loading of Object Files (on some architectures)
- Highly Portable (works on many UNIX machines; DOS, Windows, Mac,
BeOS, and more)