|Message: Variable geometry between runs.||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
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.
thank you in advance,
*** 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:||Outline Depth:||Add message:|