rocky linux 9.4 Segmentation fault (core dumped)

54 views
Skip to first unread message

Robert Kolbeins

unread,
May 17, 2024, 8:02:38 AM5/17/24
to gaffer-dev
/opt/gaffer-1.4.3.0-linux-gcc11

I get this error launching gaffer
  File "/opt/gaffer-1.4.3.0-linux-gcc11/bin/__gaffer.py", line 170, in <module>
    app = loadApp( appName )
  File "/opt/gaffer-1.4.3.0-linux-gcc11/bin/__gaffer.py", line 83, in loadApp
    return appLoader.load( appName )()
  File "/opt/gaffer-1.4.3.0-linux-gcc11/python/IECore/ClassLoader.py", line 163, in load
    spec.loader.exec_module( module )
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/gaffer-1.4.3.0-linux-gcc11/apps/gui/gui-1.py", line 45, in <module>
    import GafferUI
  File "/opt/gaffer-1.4.3.0-linux-gcc11/python/GafferUI/__init__.py", line 125, in <module>
    from ._GafferUI import *
ImportError: libGLU.so.1: cannot open shared object file: No such file or directory

If I install mesa-libGLU.x86_64

I get Segmentation fault (core dumped)

Anyone else having issues ?
Thanks,
R


Murray Stevenson

unread,
May 17, 2024, 5:30:59 PM5/17/24
to gaffer-dev
Hi Robert,

The segmentation fault is likely due to some glibc changes in the RHEL/Rocky/Alma 9.4 update causing the Jemalloc memory allocator we use to crash on startup. There's a related issue on GitHub here: https://github.com/GafferHQ/gaffer/issues/5856.

The good news is we already have a fix in place for this which will be released in Gaffer 1.4.4.0 next week. Until then you can try running with Jemalloc disabled by setting the `GAFFER_JEMALLOC=0` environment variable before running Gaffer. If Gaffer still crashes after setting `GAFFER_JEMALLOC=0` then it's likely a different issue and we'd need a stack trace to debug it further.

Cheers,

Murray

Robert Kolbeins

unread,
May 19, 2024, 4:51:10 AM5/19/24
to gaffe...@googlegroups.com
Hi Murray
That solved the crash
Many thanks,
R

--
You received this message because you are subscribed to the Google Groups "gaffer-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaffer-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gaffer-dev/bc16e1c2-6c65-4044-8a83-3396a84d0724n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages