Message: Variable geometry between runs. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Variable geometry between runs.  

Forum: Geometry
Date: 02 May, 2008
From: Aram <ateymura@yahoo.com>

Hi All,

I am trying to change my geometry between runs through a messenger class.

If I change (delete/recreate/change dimensions) parts of geometry that do not have daughter volumes I have no problem.

If I (delete/recreate) parts of geometry that have daughter volumes everything seems to work fine but when I exit the GEANT4 session my program segfaults (the error message is bellow).

I have checked I believe I am recursively deleting all the parts of the geometry that I want to modify and then recreating it. But cannot seem to find the source of the segmentation violation.

Any ideas?

thank you in advance,

Aram.

*** Break *** segmentation violation ... ... ... ========== STACKS OF ALL THREADS ==========

Thread 2 (process 29117 thread 0x2307):

#0  0x96b5abce in __semwait_signal ()
#1  0x96b85ee6 in _pthread_cond_wait ()
#2  0x96b858cd in pthread_cond_wait$UNIX2003 ()
#3  0x92d5f332 in glvmDoWork ()
#4  0x96b84c55 in _pthread_start ()
#5  0x96b84b12 in thread_start ()

Thread 1 (process 29117 thread 0x10b):

#0  0x96bc14b5 in wait4 ()
#1  0x96be1181 in system ()
#2  0x00ab7d88 in TUnixSystem::StackTrace ()
#3  0x00abb55d in TUnixSystem::DispatchSignals ()
#4  0x00abb6ab in SigHandler ()
#5  <signal handler called>
#6  0x002c2a23 in G4PhysicalVolumeStore::DeRegister ()
#7  0x002ce168 in G4VPhysicalVolume::~G4VPhysicalVolume ()
#8  0x00270438 in G4PVPlacement::~G4PVPlacement ()
#9  0x0000d16f in hind::~hind ()
#10 0x00005b73 in HINDArray::~HINDArray ()
#11 0x00004409 in DetectorConstruction::~DetectorConstruction ()
#12 0x000f78d7 in G4RunManager::~G4RunManager ()
#13 0x00002fe3 in main ()

WARNING - Attempt to delete the physical volume store while geometry closed !

WARNING - Attempt to delete the logical volume store while geometry closed !

WARNING - Attempt to delete the solid store while geometry closed !

WARNING - Attempt to delete the region store while geometry closed !

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

 Add Message Add Message
to: "Variable geometry between runs. "

 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 ]