[Rivet] Rivet/AGILe segfault - inserted cout, now it works

Holger Schulz holger.schulz at physik.hu-berlin.de
Fri Aug 8 16:15:31 BST 2008


Holger Schulz wrote:
> Hi,
>
> I have problems installing rivet/agile on a SL5 64bit  gcc 4.1.2 system.
>
> For the installation I use the latest bootstrap script in 
> Developermode and ignoring AFS,
> so I had to do some slight modifications regarding the HEPMCPATH, 
> BOOSTINCPATH
> and so on.
> Everything installs more or less smoothly, but then calling 'rivetgun 
> -h' immediately segfaults.
>
> Here is the gdb backtrace:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00002ad2802fad7d in AGILe::Loader::findGenLib ()
>   from 
> /afs/ifh.de/group/atlas/users/scratch/hschulz/Software/lib/libAGILe.so.2
> (gdb) bt
> #0  0x00002ad2802fad7d in AGILe::Loader::findGenLib ()
>   from 
> /afs/ifh.de/group/atlas/users/scratch/hschulz/Software/lib/libAGILe.so.2
> #1  0x00002ad2802fc4cd in AGILe::Loader::_getAllGenLibInfo ()
>   from 
> /afs/ifh.de/group/atlas/users/scratch/hschulz/Software/lib/libAGILe.so.2
> #2  0x00002ad280301e43 in AGILe::Loader::getAvailableGens ()
>   from 
> /afs/ifh.de/group/atlas/users/scratch/hschulz/Software/lib/libAGILe.so.2
> #3  0x000000000041043e in Rivet::Commandline::parseArgs ()
> #4  0x0000000000408ede in main ()
>
>
> Could this be a compiler issue? I successfully installed the whole 
> package
> in the same way as described above on a slc4_ia32_gcc34 system.
> I did not use the 'nasty fragile hack' mentioned in the bootstrap script.
>
> Any ideas?
>
> Cheers,
> Holger
>
>
>
Hi,

I inserted a cout in the function AGILe::Loader::findGenLib ()
and now the segfault is gone, removing the cout again
yields a segfault.
So there seems to be some sort of memory issue.


Holger



More information about the Rivet mailing list