MATLAB Coder crashes when opened in Ubuntu 18.04

Whenever I try to open the matlab coder from MATLAB, the MATLAB will crash and gives this error
Gtk-Message: 12:36:13.523: Failed to load module "overlay-scrollbar"
[0527/123639.510619:ERROR:gl_utils.cc(319)] [.WebGL-0x25dc130]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
I am using MATLAB R2022b, the Ubuntu version is 18.04.6 and the GNU version is gcc 11.4. Can somebody help explain this error?

댓글 수: 1

Haziq
Haziq 2024년 5월 27일
편집: Haziq 2024년 5월 27일
Ok I already figured it out. It seems it crashed because of a bug in the third-party GNU C library on Linux. To work around this I execute this command in matlab load_sl_glibc_patch before openning the coder.

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

답변 (1개)

Richard McCormack
Richard McCormack 2024년 5월 28일

0 개 추천

Hi Haziq,
Thanks for determining that it is a glibc issue.
For posterity, the details about that issue (including workarounds) can be found in this bug report:
Thanks for using MATLAB Coder :)

카테고리

도움말 센터File Exchange에서 MATLAB Coder에 대해 자세히 알아보기

제품

릴리스

R2022b

질문:

2024년 5월 27일

답변:

2024년 5월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by