Root quiting with output while running simulations with PYTHIA

Greetings,
I am writing to see if others have experienced the same type of occurrences while running root executable on MacOs 15.1. I have a simulations involving PYTHIA, filling root histograms, etc, that runs for millions of events on prior versions of MacOs and on several flavors of LINUX. The memory footprint is stable and there are no obvious memory leaks. Yet, on 15.1, root quits without reporting any memory issues, segfault, etc after 78000 events. It just quits… Nothing else. No output. We have seen this happen on a laptop and a desktop running the new M3 Apple chip. Short of doing work with a debugger, It is really unclear what might be going on. Have others observed similar weird behavior with the new OS. One more note: PYTHIA compiled in standalone appears to be running fine. It is only when it is incorporated with root that it fails in this bizarre way. This suggest some incompatibility of the root code with the new OS but I am not too sure how to investigate this… Any suggestions? As usual - thanks for your great help and support.

Please fill also the fields below. Note that root -b -q will tell you this info, and starting from 6.28/06 upwards, you can call .forum bug from the ROOT prompt to pre-populate a topic.

ROOT Version: 6.23
Platform: MacOS Sequoia 15.1
Compiler: Apple clang version 16.0.0 (clang-1600.0.26.4)


Hi,

It is a bit hard to say. My suggestion could be to try the same setup on another platform, for example any Linux flavour, or to debug the program with LLDB, which is extremely useful to catch this kind of problems (as GDB is on Linux).
I hope this helps a bit.

Cheers,
Danilo

Hello

Thanks for responding. We already tried running on other platforms. The code runs fine on older MacOs and on different linux platforms.

I guess we will have to try a debugger…

C

Hi,

Sorry to hear it did not work and you tried on other platforms. Give a try to LLDB, it’s a good debugger and will probably help you a lot…

Cheers,
D

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