Failed to load module "canberra-gtk-module" without simulink

41 Ansichten (letzte 30 Tage)
Per Jørgensen
Per Jørgensen am 21 Nov. 2023
Kommentiert: Per Jørgensen am 4 Jan. 2024
Hi,
I get the following error occasionally in Matlab R2023b update 3 without using simulink on OpenSUSE
Failed to load module "canberra-gtk-module"
Inconsistency detected by ld.so: ../elf/dl-tls.c: 556: _dl_allocate_tls_init: Assertion `listp != NULL' failed!
There is a bugfix regarding Simulink, but it doesn't seem to work without it
How can I call load_sl_glibc_patch without Simulink?
  2 Kommentare
Brad Holder
Brad Holder am 2 Jan. 2024
just type exactly that into matlab.
In all of my live scripts I have one of the first few lines being
load_sl_glibc_patch
Per Jørgensen
Per Jørgensen am 4 Jan. 2024
I think you need to have simulink installed for that command, I don't have it on my computer

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Sanju
Sanju am 28 Nov. 2023
The "load_sl_glibc_patch" function is designed exclusively for Simulink and is used to load a patch for the GNU C Library required by Simulink. If you're not utilizing Simulink, there is no need to invoke this function.
If you are using Simulink, the “load_sl_glibc_patch” function is called automatically when you start Simulink, and you do not need to call it explicitly, Because the "load_sl_glibc_patch" function is tailored to Simulink, it cannot be called without Simulink.
There isn't a direct or documented way to call "load_sl_glibc_patch" without Simulink. This function is internally structured for addressing specific concerns within the Simulink environment, and it's not intended for general use outside of that context.
Hope this Helps!
Thanks.
  1 Kommentar
Per Jørgensen
Per Jørgensen am 30 Nov. 2023
Well I need a solution to the matlab crashing issue without operating system updates. currently I can't type more than 5 characters before matlab crashes. is it related to a system beep, then I could perhaps disable all sounds...

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by