Segmentation Fault, Geant4-ROOT interface?

Hi,

My Geant4 scripts compile fine and produce an expected ROOT file when ./example myrun.mac is executed. However, when I just use the OGL interface with .\example and execute \run\beamOn 10 it gives me the attached segmentation error and the UI window crashes.

In case when I execute \run\beamOn 1 and then execute \run\beamOn 10 then everything is fine! Any idea what may be the reason? I have used these scripts a few years back (with old Geant4 and ROOT versions) and everything was fine back then?

Current versions:
Geant4: 10.07
ROOT: 6.22/08
geant4_root_error.txt (7.4 KB)