Hello Geant4 Forum, I hope you’re doing well!
I’m working with a Geant4 application where Geant4 was installed using conda (v10.6.2). The application seemed to build successfully with make, but when I try to run the application, nothing happens. I used valgrind and got the following output (full output in the attached file):
==22391== Memcheck, a memory error detector ==22391== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==22391== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info ==22391== Command: ./CENNS -m run_marley.mac ==22391== SEED: 1602889905 ==22391== Invalid write of size 8 ==22391== at 0x58C21EE: G4RunManager::G4RunManager() (in /home/erinecon/software/anaconda3/envs/my_root_env/lib/libG4run.so) ==22391== by 0x12C31C: main (in /home/erinecon/cenns10geant4-high_energy/CENNS) ==22391== Address 0x1421c3b0 is 32 bytes before an unallocated block of size 961,552 in arena "client" ==22391==
I verified that I can compile and run example B1 using the conda Geant4, and I call the RunManager in the same way as B1.