Message: Simulation crashes Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Simulation crashes  

Forum: Run Management
Date: 12 Apr, 2011
From: Davinder Siwal <Davinder Siwal>

Hiii Geant4 Users

I am running my simulation programme for a LYSO scintillator with version geant4.9.4 . It was previously showing bad allocation error

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

No when I debugg it using gdb then it is showing the following message

----------------> Begin of Event:12656 Interaction Process Name =phot

Number of optical photons by Scintillation Process :13620 Number of optical photons by Cerenkov Process :0 Total optical photons produce in this event: 13620 Total no. of hits in Scintillator = 2 Total no. of Gamma Vertex in this Event = 1 Gamma vertex Position: (0,0,2.56354) No. of photon Absorbed = 5778 No. of Photons Absorb at LYSO/glass Boundary = 2819 Total PhotoCathode Hits = 4576 Total energy deposited by this event = 511 keV photons absorb in casing = 0

Memory is released from PhotoCathode Pointer !!!!!

----------------->End of event: 12656

----------------> Begin of Event:12657
Interaction Process Name =compt
Interaction Process Name =compt
Interaction Process Name =phot
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

Program received signal SIGABRT, Aborted. 0x00a4f424 in __kernel_vsyscall () Missing separate debuginfos, use: debuginfo-install glibc-2.11.2-3.i686 libICE-1.0.6-1.fc12.i686 libSM-1.1.0-7.fc12.i686 libX11-1.3-1.fc12.i686 libXau-1.0.5-1.fc12.i686 libXaw-1.0.6-4.fc12.i686 libXdamage-1.1.2-1.fc12.i686 libXext-1.1-2.fc12.i686 libXfixes-4.0.4-1.fc12.i686 libXi-1.3-2.fc12.i686 libXmu-1.0.5-1.fc12.i686 libXpm-3.5.8-2.fc12.i686 libXt-1.0.7-1.fc12.i686 libXxf86vm-1.1.0-1.fc12.i686 libdrm-2.4.18-2.fc12.i686 libgcc-4.4.4-10.fc12.i686 libstdc++-4.4.4-10.fc12.i686 libuuid-2.16.2-9.fc12.i686 libxcb-1.5-1.fc12.i686 mesa-libGL-7.7-4.fc12.i686 mesa-libGLU-7.7-4.fc12.i686 ncurses-libs-5.7-3.20090207.fc12.i686 nss-softokn-freebl-3.12.8-1.fc12.i686 zlib-1.2.3-23.fc12.i686 (gdb)

I am running my code by throwing 511Kev Gammas for 100000 no. of events

Can anybody tell me what going to be wrong

 Add Message Add Message
to: "Simulation crashes "

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]