Irregular segmentation violation


_ROOT Version: 6.14.02
_Platform: Ubuntu
Compiler: Not Provided


Dear all,

I am having some trouble running a slightly differentiated version of the pythia8.C macro provided in the root tutorials. The problem I am having, is that the macro runs fine half of the time, but returns a segmentation error provided with the following lines the other half of the time:

#6 0x00007feaccb17a68 in Pythia8::ProcessLevel::nextOne(Pythia8::Event&) () from /home/loek/Documents/pythia8235/lib/libpythia8.so
#7 0x00007feaccb18fad in Pythia8::ProcessLevel::next(Pythia8::Event&) () from /home/loek/Documents/pythia8235/lib/libpythia8.so
#8 0x00007feaccb2b12c in Pythia8::Pythia::next() () from /home/loek/Documents/pythia8235/lib/libpythia8.so
#9 0x00007feaccf9237d in TPythia8::GenerateEvent (this=0x5615a7787070) at /home/loek/Documents/root61402/montecarlo/pythia8/src/TPythia8.cxx:186
#10 0x00007feadad72b5f in ?? ()
#11 0x0000000000000011 in ?? ()
#12 0x0000000000000000 in ?? ()

In the error above, /home/loek/Documents/pythia8235 is the installation location of pythia 8235.

Whether or not the macro is ran smoothly seems completely random. I can start up root, run the macro and find out that it is ran properly, close root, start it up again and run the macro a second time and this time get the error mentioned above.

Does anyone know what the cause of this problem might be?

Best regards,

Loek Meijers

Try PYTHIA 8.1 (note: after building your new pythia8, you have to rebuild your ROOT from scratch again).

1 Like

This seems to have done the trick, thanks a lot!

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