Message: Segmentation Fault during event processing Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Sad Segmentation Fault during event processing 

Forum: Event and Track Management
Date: 10 Nov, 2011
From: Cristian Bungau <Cristian Bungau>


I have this segmentation fault, which I cannot figure out where it is coming from or how to fix it. I would be very grateful for any advice:

---> Begin of event: 200

--------- Ranecu engine status ---------
 Initial seed (index) = 0
 Current couple of seeds = 2000697723, 1121377363
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

Program received signal SIGABRT, Aborted. 0xb7fdf424 in __kernel_vsyscall ()

(gdb) backtrace
#0  0xb7fdf424 in __kernel_vsyscall ()
#1  0xb5014c8f in raise () from /lib/i386-linux-gnu/
#2  0xb50182b5 in abort () from /lib/i386-linux-gnu/
#3  0xb52324ed in __gnu_cxx::__verbose_terminate_handler() ()
   from /usr/lib/i386-linux-gnu/
#4  0xb5230283 in ?? () from /usr/lib/i386-linux-gnu/
#5  0xb52302bf in std::terminate() ()
   from /usr/lib/i386-linux-gnu/
#6  0xb523040e in __cxa_throw () from /usr/lib/i386-linux-gnu/
#7  0xb5230a2f in operator new(unsigned int) ()
   from /usr/lib/i386-linux-gnu/
#8  0xb6720573 in std::vector<G4VTrajectory*, std::allocator<G4VTrajectory*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<G4VTrajectory**, std::vector<G4VTrajectory*, std::allocator<G4VTrajectory*> > >, G4VTrajectory* const&) ()
   from /home/adriana/geant4/geant4.9.5.b01/lib/Linux-g++/
#9  0xb671f8e3 in G4EventManager::DoProcessing(G4Event*) ()
   from /home/adriana/geant4/geant4.9.5.b01/lib/Linux-g++/
#10 0xb671fcfa in G4EventManager::ProcessOneEvent(G4Event*) ()
   from /home/adriana/geant4/geant4.9.5.b01/lib/Linux-g++/
#11 0xb7a395db in G4RunManager::DoEventLoop(int, char const*, int) ()
   from /home/adriana/geant4/geant4.9.5.b01/lib/Linux-g++/
#12 0xb7a390c3 in G4RunManager::BeamOn(int, char const*, int) ()
   from /home/adriana/geant4/geant4.9.5.b01/lib/Linux-g++/
---Type <return> to continue, or q <return> to quit---

Thank you,

Best regards,


 Add Message Add Message
to: "Segmentation Fault during event processing"

 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 ]