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

James Monk jmonk at hep.ucl.ac.uk
Sun Aug 10 17:33:15 BST 2008


Hi everyone,

I also see this problem on the Debrecen thin client machines running  
some version of Debian.  It's hard to debug here because there have  
been other instances of libraries being corrupted, but it doesn't look  
like an slc5 only issue.  Lars also reported seeing some sort of seg- 
fault on his laptop (can you comment Lars - does it go away with a  
cout?).  I have never experienced this on my own laptop.

cheers,

James

On 8 Aug 2008, at 17:15, Holger Schulz wrote:

> 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
>
> _______________________________________________
> Rivet mailing list
> Rivet at projects.hepforge.org
> http://www.hepforge.org/lists/listinfo/rivet



More information about the Rivet mailing list