Fork me on GitHub

Opened 8 years ago

Last modified 8 years ago

#982 new Bug

Segmentation Fault in PileUp example

Reported by: Michael Hutcheon Owned by:
Priority: major Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

Hi,
I'm trying to run Delphes with PileUp and have been running into a segmentation Fault. I am using delphes 3.3.2 on scientific linux 6 with root v6-06-00, and can run delphes without PileUp just fine. The segmentation fault occurs both with my own .pileup files as well as the example .pileup file (although I don't think delphes is getting to the stage where it needs these files). I have rebuilt delphes several times with the same result.

I have performed a clean build of delphes (following https://cp3.irmp.ucl.ac.be/projects/delphes/wiki/WorkBook/QuickTour) and attempted to run the examples detailed on this page: https://cp3.irmp.ucl.ac.be/projects/delphes/wiki/WorkBook/PileUp
Attached is a txt file with the full error report that results.

Attachments (2)

delphesError.txt (5.4 KB ) - added by Michael Hutcheon 8 years ago.
delphesError(Display).txt (6.5 KB ) - added by Michael Hutcheon 8 years ago.

Download all attachments as: .zip

Change History (6)

by Michael Hutcheon, 8 years ago

Attachment: delphesError.txt added

comment:1 by Michael Hutcheon, 8 years ago

My initial digging leads me to believe that the error may occur on line 64 of DelphesTF2.cc: if(TF2::GetFormula()->Compile(buffer) != 0). It appears that TF2::GetFormula() returns a nullptr, causing the segfault. Any help would be greatly appreciated, cheers Michael.

comment:2 by Michael Hutcheon, 8 years ago

Under inspection of the git reposotory, I have noticed a difference between the version I downloaded from this site and the version on github. I have built the github version and it seems to be working (at least it gets further than before). The difference was indeed in the DelphesTF2.cc file. Perhaps the download link is old? Thanks, Michael.

comment:3 by Michele Selvaggi, 8 years ago

Yes it has been fixed now. We'll make a new release soon.

in reply to:  3 comment:4 by Michael Hutcheon, 8 years ago

A further problem has arisen now that I am building from the github version. The EventDisplay.C example from https://cp3.irmp.ucl.ac.be/projects/delphes/wiki/WorkBook/EventDisplay now causes a segmentation fault. I have attached the error stack that results. Cheers, Michael.

by Michael Hutcheon, 8 years ago

Attachment: delphesError(Display).txt added
Note: See TracTickets for help on using tickets.