Crash on TASImage::GetPixmap()

Dear ROOT support,

I know that this issue has already been discussed. I also encounter this error in my GUI code that is loading some icons using GPicturePool::GetPicture()

*** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/Users/dudouet/Softs/root/install/root-6-36-00/lib/libASImage.so] TASImage::GetPixmap() (no debug info)
[/Users/dudouet/Softs/root/install/root-6-36-00/lib/libGui.so] TGPicturePool::GetPicture(char const*) (no debug info)
[/Users/dudouet/Softs/Cubix/test_install/lib/libCubixGui.dylib] CXMainWindow::Init() (no debug info)

I am on macos Sequoia 15.5 and have this issue only since I installed the last root 6-36 version. I fixed it adding in my compilation line: -Dbuiltin_gif=ON -Dbuiltin_png=On

But is that a wanted behavior or will it be fixed ? The number of builtin option to have a working ROOT start to be long. In my case I need to use: -Dbuiltin_glew=ON -Dbuiltin_vdt=ON -Dproof=ON -Dmathmore=ON -Dxrootd=OFF -Dbuiltin_xrootd=OFF -Dbuiltin_gif=ON -Dbuiltin_png=On

Thanks in advance for you support

Regards

Jérémie

The builtin flag is needed for a given package when a non compatible version of this package is installed locally outside ROOT. This seems to be the case on your mac. Personnally on my mac I simply do:

cd build
cmake ../root
make -j8

I am installing ROOT master on macOS 15.5

because I guess you have installed all the dependancies as it should locally. I already have been contacted by many users that have the same issue in few days. What has changed in this new ROOT version for causing an error with images ?

With the procedure I showed before (ie the default one) I have the following flags:

 % root-config --features
cxx17 asimage asimage_tiff builtin_clang builtin_cling builtin_davix 
builtin_freetype builtin_ftgl builtin_gl2ps builtin_glew builtin_llvm 
builtin_nlohmannjson builtin_openui5 builtin_vdt builtin_xrootd 
builtin_xxhash clad cocoa dataframe davix gdml geom http imt 
libcxx opengl pyroot roofit root7 rpath runtime_cxxmodules shared 
spectrum sqlite ssl tmva tmva-cudnn tpython use_gsl_cblas vdt 
webgui xml xrootd

I do not have builtin_gif nor builtin_png. Which means the gif and png libs installed on my system are fine. In your case it seems these two libraries are not correct. That’s why you need these flags. Nothing changed in TASImage recently.

I see the problem, thanks. The issue is that macOS keeps pushing new versions of the system and Xcode, but the software installed via Homebrew is not upgraded accordingly. This can easily lead to inconsistent states, which sometimes require switching to built-in modes when compiling ROOT. Thanks again for the clarification.

Jérémie

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.