JeffersonLab / japan-MOLLER

Just Another Parity ANalyzer --- Development for MOLLER
3 stars 9 forks source link

qwparity crash on macOS #5

Closed hansenjo closed 5 months ago

hansenjo commented 7 months ago

macOS 14.3 ROOT 6.30/02 (C++17) Xcode 15.2 (Apple clang 15.0.0)

build/qwmockdatagenerator -r 4 -e 1:20000 --config qwparity_simple.conf --detectors mock_newdets.map --data .
build/qwparity -r 4 --config qwparity_simple.conf --detectors mock_newdets.map --data-handler mock_datahandlers.map --data . --rootfiles .
...
Parameter file: ./Parity/prminput/blinder.0-.map
What is the blindable CREX target position (-1 means we're using the PREX positions)? -1
Blinding parameters have been calculated.
QwBlinder::InitTestValues(): A total of 10 test values have been calculated successfully.
Fatal in <operator new>: with std::align_val_t is not implemented yet
aborting
[/usr/local/ROOT/6.30-02_cxx17/lib/libCore.6.30.02.so] ErrorHandler (no debug info)
[/usr/local/ROOT/6.30-02_cxx17/lib/libCore.6.30.02.so] Fatal(char const*, char const*, ...) (no debug info)
[/usr/local/ROOT/6.30-02_cxx17/lib/libNew.6.30.02.so] operator new(unsigned long, std::align_val_t) (no debug info)
[/usr/local/ROOT/6.30-02_cxx17/lib/libCling.6.30.02.so] std::__1::pair<llvm::StringMapIterator<llvm::cl::Option*>, bool> llvm::StringMap<llvm::cl::Option*, llvm::MallocAllocator>::try_emplace<llvm::cl::Option*>(llvm::StringRef, llvm::cl::Option*&&) (no debug info)
...

This works on Linux.

hansenjo commented 7 months ago

Perhaps of interest: https://root-forum.cern.ch/t/aborting-with-std-align-val-t-is-not-implemented-yet-rhel-9-2/55989/17