Problem with visualizing the detector or running the simulation

OK. Great. Next step: run with a debugger:
gdb ./hpge
and when it crashes type where. Let us know the traceback output.