필터 지우기
필터 지우기

How do I resolve a corrupted double-linked list issue when running MATLAB on Linux?

조회 수: 88 (최근 30일)
Jin Hung
Jin Hung 2024년 6월 19일
댓글: Jin Hung 2024년 7월 2일 9:42
MATLAB is running on Linux. When I execute a MATLAB script using "/usr/local/bin/matlab -nodisplay -nosplash -singleCompThread -batch <matlab_code.m" , I occasionally receive the following error message (details are in the attachment):
Error in `/root/.MathWorks/ServiceHost/-mw_shared_installs/v2024.6.0.6/bin/glnxa64/MathWorksServiceHost': corrupted double-linked list: 0x0000000001f54570 ***
How can I resolve this issue?
  댓글 수: 2
Sourabh
Sourabh 2024년 6월 20일
Which version of MATLAB are you using? Also, it will be helpful to have a sample code file which I can use to try and reproduce this issue at my end.
Jin Hung
Jin Hung 2024년 6월 21일
편집: Jin Hung 2024년 6월 21일
@Sourabh Thanks for your help. The MATLAB version is R2024a Update 2 (24.1.0.2578822). the sample code files are attached. Thanks you.

댓글을 달려면 로그인하십시오.

답변 (1개)

Himanshu
Himanshu 2024년 7월 2일 9:14
Hi Jin Hung,
I see that you are trying to resolve an issue related to a corrupted double-linked list that occurs when running a MATLAB script on a Linux system.
To resolve the corrupted double-linked list issue when running MATLAB on Linux, it is important to understand that this error might be caused by the "glibc 2.19" library. I faced a similar issue and I fixed it by upgrading to the "glibc 2.21" version. Therefore, if you are using a Linux operating system with "glibc 2.19", you should consider updating your operating system to a version that includes "glibc 2.21" or later to resolve the issue.
To check your current "glibc" version installed on your system, you can run the following command in the terminal:
ldd --version
If you prefer not to upgrade your entire operating system, you can manually upgrade "glibc". However, this process can be complex and may affect system stability. It is generally recommended to upgrade the OS instead.
After upgrading, run your MATLAB script again using the command:
/usr/local/bin/matlab -nodisplay -nosplash -singleCompThread -batch <matlab_code.m
I hope this helps.
  댓글 수: 1
Jin Hung
Jin Hung 2024년 7월 2일 9:42
@Himanshu Thank you for the information. My current glibc version is 'ldd (GNU libc) 2.17' on CentOS Linux 7 (Core) with VMware. Do you think upgrading to glibc version 2.21 could resolve the issue? I will contact the VM administrator to check if upgrading the operating system is possible. Thanks.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by