Hi all, after upgrade to lastest Macos system,
I cannot open gui for root, neither TBrowse and TCanvas works!
I’ve try to use the binary nightly version 6.29 or building from source(6.26-6.28), not works.
as 13.3.0 works fine but 13.3.1 has too many bugs, it seems APPLE done some secure changes.
root [0] new TBrowser
root.exe(29254,0x16d62f000) malloc: *** error for object 0x600002e1a980: pointer being freed was not allocated
root.exe(29254,0x16d62f000) malloc: *** set a breakpoint in malloc_error_break to debug
Is anyone meets the same problem.
by the way, the homebrew precompiled version root works, but this version have several bugs due to the system library changes by APPLE,
[ 20%] Generating G__CorsikaROOT_t.cxx, libCorsikaROOT_t_rdict.pcm, libCorsikaROOT_t.rootmap
In file included from input_line_1:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include/c++/v1/new:93:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include/c++/v1/cstdlib:135:9: error: no member named 'at_quick_exit' in the global namespace
using ::at_quick_exit _LIBCPP_USING_IF_EXISTS;
~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include/c++/v1/cstdlib:136:9: error: no member named 'quick_exit' in the global namespace
using ::quick_exit _LIBCPP_USING_IF_EXISTS;
~~^
In file included from input_line_1:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include/c++/v1/new:94:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include/c++/v1/exception:85:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include/c++/v1/type_traits:485:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include/c++/v1/__type_traits/is_pod.h:29:38: error: no template named 'is_trivially_default_constructible'; did you mean
'is_nothrow_default_constructible'?
: public integral_constant<bool, is_trivially_default_constructibl...
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include/c++/v1/__type_traits/is_nothrow_default_constructible.h:22:50: note: 'is_nothrow_default_constructible' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_nothrow_default_co...
This seems to be caused by a broken / inconsistent build. 6.26 is not expected to work. How did you build ROOT, did you copy files around / fix something yourself to make the build succeed?
nobody meet the same problem? cannot open gui with cocoa
root [0] new TBrowser
root.exe(29254,0x16d62f000) malloc: *** error for object 0x600002e1a980: pointer being freed was not allocated
root.exe(29254,0x16d62f000) malloc: *** set a breakpoint in malloc_error_break to debug
(had to switch some builtin_X options on), and will try.
I do not really need a TBrowser, so would be fine with the Browser option, but I have DD4hep geoPlugin also using the root viewer, and this crashes similarly than if trying to use the ROOT6 type TBrowser. I have tried with 6.28.02 so far (did not work), will keep you posted.
------------------------------------------------------------------
| Welcome to ROOT 6.29/01 https://root.cern |
| (c) 1995-2022, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for macosxarm64 on Apr 27 2023, 13:58:17 |
| From heads/master@v6-29-01-1251-g3e712217df |
| With Apple clang version 14.0.3 (clang-1403.0.22.14.1) |
| Try '.help'/'.?', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------
root [0] TBrowser a
root.exe(19591,0x1dc455b40) malloc: Heap corruption detected, free list is damaged at 0x600001d0fbd0
*** Incorrect guard value: 0
root.exe(19591,0x1dc455b40) malloc: *** set a breakpoint in malloc_error_break to debug
Thanks for your reports. This is now fixed in master and v6-28-00-patches (and thus part of the latest nightly builds); it will be part of 6.28/04 which is about to be released.